Class: ActiveRecord::ConnectionAdapters::PostgreSQL::TableDefinition
- Inherits:
-
TableDefinition
- Object
- TableDefinition
- ActiveRecord::ConnectionAdapters::PostgreSQL::TableDefinition
- Includes:
- ColumnMethods
- Defined in:
- lib/active_record/connection_adapters/postgresql/schema_definitions.rb
Instance Attribute Summary
Attributes inherited from TableDefinition
#as, #comment, #foreign_keys, #indexes, #name, #options, #temporary
Instance Method Summary collapse
Methods included from ColumnMethods
#bigserial, #bit, #bit_varying, #box, #cidr, #circle, #citext, #daterange, #hstore, #inet, #int4range, #int8range, #json, #jsonb, #line, #lseg, #ltree, #macaddr, #money, #numrange, #path, #point, #polygon, #primary_key, #serial, #tsrange, #tstzrange, #tsvector, #uuid, #xml
Methods inherited from TableDefinition
#[], #column, #columns, #foreign_key, #index, #initialize, #primary_keys, #references, #remove_column, #timestamps
Methods included from ColumnMethods
Constructor Details
This class inherits a constructor from ActiveRecord::ConnectionAdapters::TableDefinition
Instance Method Details
#new_column_definition(name, type, options) ⇒ Object
:nodoc:
162 163 164 165 166 |
# File 'lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 162 def new_column_definition(name, type, ) # :nodoc: column = super column.array = [:array] column end |