aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/README.rdoc
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-10-29 00:39:21 +0900
committerGitHub <noreply@github.com>2017-10-29 00:39:21 +0900
commit8479b79a0a4dad21a36e69a4502ff7414c250949 (patch)
tree456b57cf830ec6b26b149570055fa9c22630531f /activerecord/README.rdoc
parente4eaf8faae03f31b110aee0baefcf7fb48536f5b (diff)
parentaa0865a8f07f889006a8b2ab1849aad6ab5f8fea (diff)
downloadrails-8479b79a0a4dad21a36e69a4502ff7414c250949.tar.gz
rails-8479b79a0a4dad21a36e69a4502ff7414c250949.tar.bz2
rails-8479b79a0a4dad21a36e69a4502ff7414c250949.zip
Merge pull request #31007 from suginoy/doc_integer_bigint
[ci skip]Update the documentation about the primary key type
Diffstat (limited to 'activerecord/README.rdoc')
-rw-r--r--activerecord/README.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/README.rdoc b/activerecord/README.rdoc
index ae53ecd177..ba83a9adb2 100644
--- a/activerecord/README.rdoc
+++ b/activerecord/README.rdoc
@@ -26,7 +26,7 @@ The Product class is automatically mapped to the table named "products",
which might look like this:
CREATE TABLE products (
- id int NOT NULL auto_increment,
+ id bigint NOT NULL auto_increment,
name varchar(255),
PRIMARY KEY (id)
);