Flowdock
remove_columns(table_name, *column_names, type: nil, **options) public

Removes the given columns from the table definition.

remove_columns(:suppliers, :qualification, :experience)

type and other column options can be passed to make migration reversible.

remove_columns(:suppliers, :qualification, :experience, type: :string, null: false)
Show source
Register or log in to add new notes.