Skip to content

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)#

View source

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.

View source

#dry_run? : Bool#

Whether to log the SQL the migrations would execute instead of executing it, and leave the metadata storage unchanged.

View source

#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.

View source

#no_migration_exception? : Bool#

Whether an empty plan isn't an error, such as when the database is already at the requested version.

View source

#time_all_queries=(time_all_queries : Bool)#

Whether to log every query the migrations execute, with how long it took.

View source

#time_all_queries? : Bool#

Whether to log every query the migrations execute, with how long it took.

View source