Method: Sequel::Schema::CreateTableGenerator#method_missing

Defined in:
lib/sequel/database/schema_generator.rb

#method_missing(type, name = nil, opts = OPTS) ⇒ Object

Add a column with the given type, name, and opts. See #column for available options.



314
315
316
# File 'lib/sequel/database/schema_generator.rb', line 314

def method_missing(type, name = nil, opts = OPTS)
  name ? column(name, type, opts) : super
end