Class: ActiveRecord::ConnectionAdapters::SQLite3::TableDefinition

Inherits:
TableDefinition show all
Defined in:
activerecord/lib/active_record/connection_adapters/sqlite3/schema_definitions.rb

Instance Attribute Summary

Attributes inherited from TableDefinition

#as, #comment, #foreign_keys, #if_not_exists, #indexes, #name, #options, #temporary

Instance Method Summary collapse

Methods inherited from TableDefinition

#[], #column, #columns, #foreign_key, #index, #initialize, #new_column_definition, #primary_keys, #remove_column, #timestamps

Methods included from ColumnMethods

#primary_key

Methods included from ActiveSupport::Concern

#append_features, #class_methods, extended, #included, #prepend_features, #prepended

Constructor Details

This class inherits a constructor from ActiveRecord::ConnectionAdapters::TableDefinition

Instance Method Details

#references(*args, **options) ⇒ Object Also known as: belongs_to


7
8
9
# File 'activerecord/lib/active_record/connection_adapters/sqlite3/schema_definitions.rb', line 7

def references(*args, **options)
  super(*args, type: :integer, **options)
end