Method: ActiveRecord::ConnectionAdapters::TableDefinition#initialize

Defined in:
lib/active_record/connection_adapters/abstract/schema_definitions.rb

#initialize(types, name, temporary, options) ⇒ TableDefinition

Returns a new instance of TableDefinition.



54
55
56
57
58
59
60
61
# File 'lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 54

def initialize(types, name, temporary, options)
  @columns_hash = {}
  @indexes = {}
  @native = types
  @temporary = temporary
  @options = options
  @name = name
end