Permalink
Browse files

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

  • Loading branch information...
jeremy committed Jul 14, 2008
1 parent 4e323f6 commit c760dbfd3117562c6f27170a213f586e3ba2b794
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 c760dbf

Please sign in to comment.