class ActiveRecord::ConnectionAdapters::PostgreSQL::TableDefinition
Private Instance Methods
integer_like_primary_key_type(type, options)
click to toggle source
# File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 179 def integer_like_primary_key_type(type, options) if type == :bigint || options[:limit] == 8 :bigserial else :serial end end