Skip to content

Commit

Permalink
PostgreSQL: don't dump :limit => 4 for integers
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Jul 14, 2008
1 parent 4e323f6 commit c760dbf
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -49,7 +49,6 @@ def initialize(name, default, sql_type = nil, null = true)
private
def extract_limit(sql_type)
case sql_type
when /^integer/i; 4
when /^bigint/i; 8
when /^smallint/i; 2
else super
Expand Down

0 comments on commit c760dbf

Please sign in to comment.