class

Drift::Migrator

Inherits Reference / Object

Constructors

new(db : DB::Connection | DB::Database, context : Drift::Context)
Source

Class methods

from_path(db, path : String)
Source

Instance methods

after_apply
Source
after_rollback
Source
applied
Source
applied?(id : Int64) : Bool
Source
applied_ids
Source
apply(id : Int64)
Source
apply(*ids : Int64)
Source
apply!
Source
apply_plan
Source
before_apply
Source
before_rollback
Source
context
Source
pending?
Source
prepare!
Source
prepared?
Source
reset!
Source
reset_plan
Source
rollback(id : Int64)
Source
rollback(ids : Array(Int64))
Source
rollback(*ids : Int64)
Source
rollback_plan
Source

Nested types