class Drift::Migrator
- Drift::Migrator
- Reference
- Object
Defined in:
drift/migrator.crConstructors
Class Method Summary
Instance Method Summary
- #after_apply(&proc : AfterCallback)
- #after_rollback(&proc : AfterCallback)
- #applied : Array(MigrationEntry)
- #applied?(id : Int64) : Bool
- #applied_ids
- #apply(id : Int64)
- #apply(*ids : Int64)
- #apply!
- #apply_plan
- #before_apply(&proc : BeforeCallback)
- #before_rollback(&proc : BeforeCallback)
- #context : Context
- #db : DB::Database | DB::Connection
- #pending?
- #prepare!
- #prepared? : Bool
- #reset!
- #reset_plan
- #rollback(id : Int64)
- #rollback(ids : Array(Int64))
- #rollback(*ids : Int64)
- #rollback_plan