diff options
author | David Heinemeier Hansson <david@envy8-2.local> | 2008-04-29 16:43:23 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@envy8-2.local> | 2008-04-29 16:43:23 -0500 |
commit | 0780563ae7b2df74613550f1438d13459cb10b1f (patch) | |
tree | 2aa200c2754805df7266059614e9fa241ed2467f /activerecord | |
parent | 9a80e97d58610895d62bfc158ede4c4358582819 (diff) | |
download | rails-0780563ae7b2df74613550f1438d13459cb10b1f.tar.gz rails-0780563ae7b2df74613550f1438d13459cb10b1f.tar.bz2 rails-0780563ae7b2df74613550f1438d13459cb10b1f.zip |
Default integer need not specify a limit [#20371 state:resolved] (matthuhiggins)
Diffstat (limited to 'activerecord')
-rwxr-xr-x | activerecord/lib/active_record/connection_adapters/mysql_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb index 2cc4157d16..0bee34cdf1 100755 --- a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb @@ -196,7 +196,7 @@ module ActiveRecord :primary_key => "int(11) DEFAULT NULL auto_increment PRIMARY KEY", :string => { :name => "varchar", :limit => 255 }, :text => { :name => "text" }, - :integer => { :name => "int", :limit => 11 }, + :integer => { :name => "int"}, :float => { :name => "float" }, :decimal => { :name => "decimal" }, :datetime => { :name => "datetime" }, |