module Ktistec::Database::Migration
Overview
Common interface for all migrations.
Defined in:
framework/database.crInstance Method Summary
-
#add_column(table, column, definition, index = nil)
Adds a column to the table.
-
#columns(table)
Returns the table's columns.
-
#down(filename = __FILE__, &proc : Operation)
Reverts the migration.
-
#indexes(table)
Returns the table's indexes.
-
#remove_column(table, column)
Removes a column from the table.
-
#up(filename = __FILE__, &proc : Operation)
Applies the migration.