Skip to content

class Athena::ORM::Migrations::Commands::MigrationStatusInfosHelper
inherits Reference #

Renders the status of the migrations, as shown by AORM::Migrations::Commands::Status and AORM::Migrations::Commands::List.

Constructors#

Methods#

#list_versions(versions : Enumerable(AORM::Migrations::Version), output : ACON::Output::Interface) : Nil#

Renders a table of versions, with whether each was executed, when, how long it took, and its description.

View source

#show_migrations_info(output : ACON::Output::Interface) : Nil#

Renders a table of the configuration, the current, previous, next and latest versions, and the number of executed, available and new migrations.

View source