method

change

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: Table
change(column_name, type, **options) public

Changes the column’s definition according to the new options.

t.change(:name, :string, limit: 80)
t.change(:description, :text)

See TableDefinition#column for details of the options you can use.

Show source
Register or log in to add new notes.