Common interface for all migrations.
Instance methods
add_column(table, column, definition, index = nil)
Adds a column to the table.
Sourcecolumns(table)
Returns the table's columns.
Sourcedown(filename = __FILE__, &proc : Operation)
Sourceindexes(table)
Returns the table's indexes.
Sourceremove_column(table, column)
Removes a column from the table.
Sourceup(filename = __FILE__, &proc : Operation)
Source