Skip to content

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#

Methods#

#direction : AORM::Migrations::Version::Direction#

Returns whether the migrations are to be applied or reverted.

View source

#first : AORM::Migrations::Metadata::MigrationPlan#

Returns the first planned migration.

Raises AORM::Migrations::Exception::NoMigrationsFoundWithCriteria if there are none.

View source

#items : Array(AORM::Migrations::Metadata::MigrationPlan)#

Returns the planned migrations.

View source

#last : AORM::Migrations::Metadata::MigrationPlan#

Returns the last planned migration.

Raises AORM::Migrations::Exception::NoMigrationsFoundWithCriteria if there are none.

View source

#size : Int32#

Returns the number of planned migrations.

View source