Class: ActiveRecord::ConnectionAdapters::SQLite3::TableDefinition
- Inherits:
-
TableDefinition
- Object
- TableDefinition
- ActiveRecord::ConnectionAdapters::SQLite3::TableDefinition
- Includes:
- ColumnMethods
- Defined in:
- lib/active_record/connection_adapters/sqlite3/schema_definitions.rb
Instance Attribute Summary
Attributes inherited from TableDefinition
#as, #comment, #foreign_keys, #indexes, #name, #options, #temporary
Instance Method Summary collapse
- #references(*args, **options) ⇒ Object (also: #belongs_to)
Methods included from ColumnMethods
Methods inherited from TableDefinition
#[], #column, #columns, #foreign_key, #index, #initialize, #new_column_definition, #primary_keys, #remove_column, #timestamps
Methods included from ColumnMethods
Constructor Details
This class inherits a constructor from ActiveRecord::ConnectionAdapters::TableDefinition
Instance Method Details
#references(*args, **options) ⇒ Object Also known as: belongs_to
17 18 19 |
# File 'lib/active_record/connection_adapters/sqlite3/schema_definitions.rb', line 17 def references(*args, **) super(*args, type: :integer, **) end |