class Athena::ORM::Migrations::MigratorConfiguration
inherits Reference
#
Configures how AORM::Migrations::Migrator executes a plan.
Constructors#
.new(dry_run : Bool = false, time_all_queries : Bool = false, no_migration_exception : Bool = false)#
Methods#
#dry_run=(dry_run : Bool)#
Whether to log the SQL the migrations would execute instead of executing it, and leave the metadata storage unchanged.
#dry_run? : Bool#
Whether to log the SQL the migrations would execute instead of executing it, and leave the metadata storage unchanged.
#no_migration_exception=(no_migration_exception : Bool)#
Whether an empty plan isn't an error, such as when the database is already at the requested version.
#no_migration_exception? : Bool#
Whether an empty plan isn't an error, such as when the database is already at the requested version.
#time_all_queries=(time_all_queries : Bool)#
Whether to log every query the migrations execute, with how long it took.
#time_all_queries? : Bool#
Whether to log every query the migrations execute, with how long it took.