Class: ActiveRecord::ConnectionAdapters::PostgreSQL::TableDefinition
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
ActiveRecord::ConnectionAdapters::TableDefinition
|
Defined in: | activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb |
Class Method Summary
Instance Attribute Summary
Instance Method Summary
ColumnMethods
- Included
#bigserial, #bit, #bit_varying, #box, #cidr, #circle, #citext, #daterange, #hstore, #inet, #int4range, #int8range, #interval, #jsonb, #line, #lseg, #ltree, #macaddr, #money, #numrange, #oid, #path, #point, #polygon, | |
#primary_key | Defines the primary key field. |
#serial, #tsrange, #tstzrange, #tsvector, #uuid, #xml |
::ActiveRecord::ConnectionAdapters::TableDefinition
- Inherited
#[] | Returns a |
#belongs_to | Alias for TableDefinition#references. |
#column | Instantiates a new column for the table. |
#columns | Returns an array of |
#index | Adds index options to the indexes hash, keyed by column name This is primarily used to track indexes that need to be created after the table. |
#references | Adds a reference. |
#remove_column | remove the column |
#timestamps | Appends |
::ActiveRecord::ConnectionAdapters::ColumnMethods
- Included
#numeric, | |
#primary_key | Appends a primary key definition to the table definition. |
Constructor Details
This class inherits a constructor from ActiveRecord::ConnectionAdapters::TableDefinition