Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
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
up
Source