Skip to content

Commit

Permalink
Default integer need not specify a limit [#20371 state:resolved] (mat…
Browse files Browse the repository at this point in the history
…thuhiggins)
  • Loading branch information
David Heinemeier Hansson committed Apr 29, 2008
1 parent 9a80e97 commit 0780563
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -196,7 +196,7 @@ def native_database_types #:nodoc:
: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" },
Expand Down

0 comments on commit 0780563

Please sign in to comment.