Skip to content

module Athena::ORM::Migrations::Metadata::Storage::Interface #

Records which migrations have been executed.

Direct including types

Athena::ORM::Migrations::Metadata::Storage::TableMetadataStorage

Methods#

abstract #complete(result : AORM::Migrations::Version::ExecutionResult) : Nil#

Records the migration of result as executed if it was applied, or as no longer executed if it was reverted.

View source

abstract #ensure_initialized : Nil#

Prepares the storage to record executed migrations, such as by creating the table they're recorded in.

View source

abstract #executed_migrations : AORM::Migrations::Metadata::ExecutedMigrationsList#

Returns the migrations that have been executed, ordered by version.

View source