Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit e8c5859a0de12a044f69b776adabfd33dadf754d 1 parent b44be6a
Jeremy Kemper jeremy authored
1  activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.