method

column

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

Adds a new column to the named table.

t.column(:name, :string)

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

Show source
Register or log in to add new notes.