class Avram::Migrator::Runner
Extended Modules
Defined in:
avram/migrator/runner.cr
Constant Summary
-
MIGRATIONS_TABLE_NAME =
"migrations"
Constructors
Class Method Summary
Instance Method Summary
Constructor Detail
def self.
new(quiet :
Bool =
false)
#
Class Method Detail
def self.
create_db(quiet? :
Bool =
false)
#
def self.
dump_db(dump_to :
String =
"db/structure.sql", quiet :
Bool =
false)
#
def self.
restore_db(restore_file :
String, quiet :
Bool =
false)
#
def self.
setup_migration_tracking_tables
#
Instance Method Detail
def
rollback_to(last_version :
Int64)
#
def
run_pending_migrations
#