diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2019-03-13 10:31:54 +0000 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2019-03-13 10:31:54 +0000 |
commit | 7de57cfe33ec8717a51997cf85bd1702da322dab (patch) | |
tree | d1bf3a341120ed51461bf562904a622cf55b460e /activerecord/lib | |
parent | 5ab0c1a8ccbaff92cf239aecb78c1537fd6ce1be (diff) | |
download | rails-7de57cfe33ec8717a51997cf85bd1702da322dab.tar.gz rails-7de57cfe33ec8717a51997cf85bd1702da322dab.tar.bz2 rails-7de57cfe33ec8717a51997cf85bd1702da322dab.zip |
[skip ci] Rails 5.1+ supports bigint primary key
Follow up #35573
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/relation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb index ab50972e06..ac37f73b76 100644 --- a/activerecord/lib/active_record/relation.rb +++ b/activerecord/lib/active_record/relation.rb @@ -199,7 +199,7 @@ module ActiveRecord # * It relies on exception handling to handle control flow, which may be marginally slower. # * The primary key may auto-increment on each create, even if it fails. This can accelerate # the problem of running out of integers, if the underlying table is still stuck on a primary - # key of type int (note: All Rails apps since 5.0+ have defaulted to bigint, which is not liable + # key of type int (note: All Rails apps since 5.1+ have defaulted to bigint, which is not liable # to this problem). # # This method will return a record if all given attributes are covered by unique constraints |