Active Record SQLite3
Adapter Table Definition
Methods
Instance Public methods
change_column(column_name, type, **options)
📝 Source code
# File activerecord/lib/active_record/connection_adapters/sqlite3/schema_definitions.rb, line 8
def change_column(column_name, type, **options)
name = column_name.to_s
@columns_hash[name] = nil
column(name, type, **options)
end
🔎 See on GitHub
references(*args, **options)
Also aliased as: belongs_to
📝 Source code
# File activerecord/lib/active_record/connection_adapters/sqlite3/schema_definitions.rb, line 14
def references(*args, **options)
super(*args, type: :integer, **options)
end
🔎 See on GitHub