Class: ActiveRecord::ConnectionAdapters::Materialize::TableDefinition
- Inherits:
-
TableDefinition
- Object
- TableDefinition
- ActiveRecord::ConnectionAdapters::Materialize::TableDefinition
- Includes:
- ColumnMethods
- Defined in:
- lib/active_record/connection_adapters/materialize/schema_definitions.rb
Instance Attribute Summary collapse
-
#unlogged ⇒ Object
readonly
Returns the value of attribute unlogged.
Instance Method Summary collapse
-
#initialize ⇒ TableDefinition
constructor
A new instance of TableDefinition.
Methods included from ColumnMethods
Constructor Details
#initialize ⇒ TableDefinition
Returns a new instance of TableDefinition.
186 187 188 189 |
# File 'lib/active_record/connection_adapters/materialize/schema_definitions.rb', line 186 def initialize(*, **) super @unlogged = ActiveRecord::ConnectionAdapters::MaterializeAdapter.create_unlogged_tables end |
Instance Attribute Details
#unlogged ⇒ Object (readonly)
Returns the value of attribute unlogged.
184 185 186 |
# File 'lib/active_record/connection_adapters/materialize/schema_definitions.rb', line 184 def unlogged @unlogged end |