Method: SQL::TableCreator#column

Defined in:
lib/dm-migrations/sql/table_creator.rb

#column(name, type, opts = {}) ⇒ Object



24
25
26
# File 'lib/dm-migrations/sql/table_creator.rb', line 24

def column(name, type, opts = {})
  @columns << Column.new(@adapter, name, type, opts)
end