diff options
author | Arthur Nogueira Neves <github@arthurnn.com> | 2015-09-15 23:06:28 -0400 |
---|---|---|
committer | Arthur Nogueira Neves <github@arthurnn.com> | 2015-09-15 23:06:28 -0400 |
commit | 93181210234411b9a918cca481422eabebe5400e (patch) | |
tree | d0fd6ce28ed60900f4de91288626b01008d08cc5 /activerecord/lib | |
parent | 9347538312ba796ac698f06068b213ed17924e08 (diff) | |
parent | b1e53c0779b19682bb6b67663a9d0e6783ed0c3a (diff) | |
download | rails-93181210234411b9a918cca481422eabebe5400e.tar.gz rails-93181210234411b9a918cca481422eabebe5400e.tar.bz2 rails-93181210234411b9a918cca481422eabebe5400e.zip |
Merge pull request #21640 from yahonda/doc_remove_default_null
[ci skip] Remove `DEFAULT NULL` from examples
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index 08803303cf..16aefc94ab 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -158,7 +158,7 @@ module ActiveRecord # generates: # # CREATE TABLE suppliers ( - # id int(11) DEFAULT NULL auto_increment PRIMARY KEY + # id int(11) auto_increment PRIMARY KEY # ) ENGINE=InnoDB DEFAULT CHARSET=utf8 # # ====== Rename the primary key column @@ -170,7 +170,7 @@ module ActiveRecord # generates: # # CREATE TABLE objects ( - # guid int(11) DEFAULT NULL auto_increment PRIMARY KEY, + # guid int(11) auto_increment PRIMARY KEY, # name varchar(80) # ) # |