class Athena::ORM::Migrations::Version::MigrationStatusCalculator
inherits Reference
#
Compares the available migrations with the executed ones.
Constructors#
.new(migration_plan_calculator : AORM::Migrations::Version::MigrationPlanCalculator, metadata_storage : AORM::Migrations::Metadata::Storage::Interface)#
Methods#
#executed_unavailable_migrations : AORM::Migrations::Metadata::ExecutedMigrationsList#
Returns the executed migrations that aren't available, such as ones whose type was removed.
#new_migrations : AORM::Migrations::Metadata::AvailableMigrationsList#
Returns the available migrations that haven't been executed, ordered by version.