Marten::DB::Management::Migrations::Reader
Represents a migrations reader.
The migration reader will process all migrations defined by the available apps and all the migrations that were already applied (ie. recorded) for the existing database in order to build a corresponding directed acyclic graph of migrations.
Constructors
new(connection : Connection::Base | Nil = nil)
SourceInstance methods
applied_migrations
SourceReturns a migration class for a specific app config and migration name.
graph
Sourcelatest_migration(app_config : Apps::Config) : Migration.class | Nil
Returns the latest migration class (if any) for a given app config.
replacements
Source