Skip to content

class Athena::ORM::Migrations::Version::MigrationStatusCalculator
inherits Reference #

Compares the available migrations with the executed ones.

Constructors#

Methods#

#executed_unavailable_migrations : AORM::Migrations::Metadata::ExecutedMigrationsList#

Returns the executed migrations that aren't available, such as ones whose type was removed.

View source

#new_migrations : AORM::Migrations::Metadata::AvailableMigrationsList#

Returns the available migrations that haven't been executed, ordered by version.

View source