Skip to content

struct Athena::ORM::Migrations::Metadata::ExecutedMigration
inherits Struct #

A migration that has been executed, as recorded by the metadata storage.

Constructors#

.new(version : AORM::Migrations::Version, executed_at : Time | Nil = nil, execution_time : Time::Span | Nil = nil)#

View source

Methods#

#executed_at : Time | ::Nil#

Returns the time the migration was executed at, if it was recorded.

View source

#execution_time : Time::Span | ::Nil#

Returns how long executing the migration took, if it was recorded.

View source

#version : AORM::Migrations::Version#

Returns the version of the migration.

View source