change(column_name, type, options = {}) public

Changes the column’s definition according to the new options. See TableDefinition#column for details of the options you can use.

Examples
t.change(:name, :string, :limit => 80)
t.change(:description, :text)
Show source
Register or log in to add new notes.