class ActiveRecord::ConnectionAdapters::Materialize::TableDefinition
Attributes
unlogged[R]
Public Class Methods
new(*, **)
click to toggle source
Calls superclass method
# File lib/active_record/connection_adapters/materialize/schema_definitions.rb, line 186 def initialize(*, **) super @unlogged = ActiveRecord::ConnectionAdapters::MaterializeAdapter.create_unlogged_tables end
Private Instance Methods
integer_like_primary_key_type(type, options)
click to toggle source
# File lib/active_record/connection_adapters/materialize/schema_definitions.rb, line 192 def integer_like_primary_key_type(type, options) if type == :bigint || options[:limit] == 8 :bigint else :integer end end