class Marten::DB::Management::Migrations::Runner

Defined in:

marten/db/management/migrations/runner.cr
marten/db/management/migrations/runner/pre_initial_node.cr
marten/db/management/migrations/runner/progress.cr
marten/db/management/migrations/runner/progress_type.cr

Constant Summary

PRE_INITIAL_MIGRATION_ID = "zero"

Constructors

Instance Method Summary

Constructor Detail

def self.new(connection : Connection::Base) #

[View source]

Instance Method Detail

def execute(app_config : Apps::Config | Nil = nil, migration_name : String | Nil = nil, fake = false) #

[View source]
def execute(app_config : Apps::Config | Nil = nil, migration_name : String | Nil = nil, fake = false, &) #

[View source]
def execution_needed?(app_config : Apps::Config | Nil = nil, migration_name : String | Nil = nil) : Bool #

[View source]
def mark_elligible_replacements_as_applied(&) #

[View source]