Permalink
Browse files

PostgreSQL: don't dump :limit => 4 for integers

  • Loading branch information...
1 parent b44be6a commit e8c5859a0de12a044f69b776adabfd33dadf754d @jeremy jeremy committed Jul 14, 2008
Showing with 0 additions and 1 deletion.
  1. +0 −1 activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -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

0 comments on commit e8c5859

Please sign in to comment.