class

Takarik::Data::Migration

Inherits Reference < Object

Class methods

connection
Source

Instance methods

add_column(table : String, name : String, type : String, **options)
Source
add_index(table : String, columns : String | Array(String), **options)
Source
create_table(name : String, primary_key : String | PrimaryKeyConfig | PrimaryKeyShorthand | Nil = "id", &)
Source
down
Source
drop_table(name : String)
Source
remove_column(table : String, name : String)
Source
remove_index(table : String, name : String)
Source
run_down
Source
run_up
Source