diff options
author | Vipul A M <vipulnsward@gmail.com> | 2019-03-13 16:06:49 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-13 16:06:49 +0530 |
commit | 1557d8f96f5c95647c5e9e3d135663d0e7886954 (patch) | |
tree | 40e3c523892a0bf4fa6b95e4bc6db18f32501485 /activerecord/lib | |
parent | 9f02a8f89b55269892beb16d2aa29b22e193b41e (diff) | |
parent | 7de57cfe33ec8717a51997cf85bd1702da322dab (diff) | |
download | rails-1557d8f96f5c95647c5e9e3d135663d0e7886954.tar.gz rails-1557d8f96f5c95647c5e9e3d135663d0e7886954.tar.bz2 rails-1557d8f96f5c95647c5e9e3d135663d0e7886954.zip |
Merge pull request #35601 from yahonda/bigint_support
[skip ci] Rails 5.1+ supports bigint primary key
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 |