class ActiveRecord::ConnectionAdapters::PostgreSQL::TableDefinition
Attributes
Public Class Methods
Source
# File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 197 def initialize(*, **) super @unlogged = ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.create_unlogged_tables end
Calls superclass method
ActiveRecord::ConnectionAdapters::TableDefinition::new
Private Instance Methods
Source
# File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 212 def aliased_types(name, fallback) fallback end
Source
# File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 216 def integer_like_primary_key_type(type, options) if type == :bigint || options[:limit] == 8 :bigserial else :serial end end