class Runcobo::Tasks::Migrations

Defined in:

tasks/migrations.cr

Constant Summary

TABLE = "schema_migrations"

Constructors

Instance Method Summary

Constructor Detail

def self.new(database : Database, output : IO = STDOUT) #

[View source]

Instance Method Detail

def execute(url : String, directory : Path | Nil, operation : String, options = Options.new) #

[View source]
def files : Array(Path) #

[View source]
def run(url : String, operation : String, options = Options.new) #

[View source]
def stage(directory : Path, path : Path, *, schema_local : Bool = false) #

[View source]
def status(url : String, options = Options.new) #

[View source]