aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
diff options
context:
space:
mode:
authorJeremy Daer <jeremydaer@gmail.com>2015-09-19 15:53:42 -0700
committerJeremy Daer <jeremydaer@gmail.com>2015-09-19 15:53:42 -0700
commit96a0475d10e7a7d95d938518183c581f29cd9045 (patch)
tree43ea7d557323564a46e335c9ab51c44dd6a3eae6 /activerecord/lib/active_record/associations.rb
parent4726efa127a804f6d765b6268b3ff9e68f69f72d (diff)
parentf7a35cc5cfb1f970cdea58fb9b47e06c57f532f9 (diff)
downloadrails-96a0475d10e7a7d95d938518183c581f29cd9045.tar.gz
rails-96a0475d10e7a7d95d938518183c581f29cd9045.tar.bz2
rails-96a0475d10e7a7d95d938518183c581f29cd9045.zip
Merge pull request #21607 from kamipo/remove_unnecessary_display_width
Remove unnecessary display width
Diffstat (limited to 'activerecord/lib/active_record/associations.rb')
-rw-r--r--activerecord/lib/active_record/associations.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb
index 65eb6fba27..cf3e63b4a3 100644
--- a/activerecord/lib/active_record/associations.rb
+++ b/activerecord/lib/active_record/associations.rb
@@ -446,14 +446,14 @@ module ActiveRecord
# The tables for these classes could look something like:
#
# CREATE TABLE users (
- # id int(11) NOT NULL auto_increment,
- # account_id int(11) default NULL,
+ # id int NOT NULL auto_increment,
+ # account_id int default NULL,
# name varchar default NULL,
# PRIMARY KEY (id)
# )
#
# CREATE TABLE accounts (
- # id int(11) NOT NULL auto_increment,
+ # id int NOT NULL auto_increment,
# name varchar default NULL,
# PRIMARY KEY (id)
# )