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#
.new(configuration : AORM::Migrations::Configuration, storage_configuration : AORM::Migrations::Metadata::Storage::TableMetadataStorageConfiguration, connection : AORM::Connection, alias_resolver : AORM::Migrations::Version::AliasResolver, migration_plan_calculator : AORM::Migrations::Version::MigrationPlanCalculator, status_calculator : AORM::Migrations::Version::MigrationStatusCalculator, metadata_storage : AORM::Migrations::Metadata::Storage::Interface)#
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.
#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.