class ActiveRecord::ConnectionAdapters::SQLite3::TableDefinition
Public Instance Methods
references(*args, **options)
click to toggle source
Calls superclass method
ActiveRecord::ConnectionAdapters::TableDefinition#references
# File lib/active_record/connection_adapters/sqlite3/schema_definitions.rb, line 7 def references(*args, **options) super(*args, type: :integer, **options) end
Also aliased as: belongs_to
Private Instance Methods
integer_like_primary_key_type(type, options)
click to toggle source
# File lib/active_record/connection_adapters/sqlite3/schema_definitions.rb, line 13 def integer_like_primary_key_type(type, options) :primary_key end