Method: Sequel::Database#drop_column
- Defined in:
- lib/sequel/database/schema_methods.rb
#drop_column(table, *args) ⇒ Object
Removes a column from the specified table:
DB.drop_column :items, :category
See alter_table.
93 94 95 |
# File 'lib/sequel/database/schema_methods.rb', line 93 def drop_column(table, *args) alter_table(table) {drop_column(*args)} end |