class Athena::ORM::Migrations::Metadata::MigrationPlanList
inherits Reference
#
The migrations planned to be executed, in the order they will be, all in the same direction.
Constructors#
.new(items : Array(AORM::Migrations::Metadata::MigrationPlan), direction : AORM::Migrations::Version::Direction)#
Methods#
#direction : AORM::Migrations::Version::Direction#
Returns whether the migrations are to be applied or reverted.
#first : AORM::Migrations::Metadata::MigrationPlan#
Returns the first planned migration.
Raises AORM::Migrations::Exception::NoMigrationsFoundWithCriteria if there are none.
#items : Array(AORM::Migrations::Metadata::MigrationPlan)#
Returns the planned migrations.
#last : AORM::Migrations::Metadata::MigrationPlan#
Returns the last planned migration.
Raises AORM::Migrations::Exception::NoMigrationsFoundWithCriteria if there are none.