aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/sqlite3/schema_definitions.rb
Commit message (Collapse)AuthorAgeFilesLines
* `primary_key` and `references` columns should be identical typeRyuta Kamizono2017-02-071-0/+5
| | | | | | | | Follow up to #26266. The default type of `primary_key` and `references` were changed to `bigint` since #26266. But legacy migration and sqlite3 adapter should keep its previous behavior.
* Tweak bigint PK handlingMatthew Draper2017-01-181-1/+1
| | | | | | * Don't force PKs on tables that have explicitly opted out * All integer-like PKs are autoincrement unless they have an explicit default
* Make `:auto_increment` option works on `:bigint`Ryuta Kamizono2016-12-061-1/+1
| | | | Follow up to #27272.
* Make `:auto_increment` to internal primary key optionRyuta Kamizono2016-12-061-0/+23
Using `:auto_increment` option for abstracting the DB-specific auto incremental types. It is worth to ease to implement the compatibility layer.