class Interro::Migration

Defined in:

migration.cr

Constant Summary

QueryLog = ::Log.for("sql", level: :info)

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, added_at : Time, up : String, down : String) #

[View source]
def self.new(name : String, added_at : Time) #

[View source]

Instance Method Detail

def added_at : Time #

[View source]
def down(env = ENV) #

[View source]
def down=(down : String) #

[View source]
def down_sql(env) #

[View source]
def execute(sql : String, *args, **kwargs) #

[View source]
def name : String #

[View source]
def up(env = ENV) #

[View source]
def up=(up : String) #

[View source]
def up_sql(env) #

[View source]