Class: ActiveRecord::ConnectionAdapters::Redshift::TableDefinition
- Inherits:
-
PostgreSQL::TableDefinition
- Object
- PostgreSQL::TableDefinition
- ActiveRecord::ConnectionAdapters::Redshift::TableDefinition
- Defined in:
- lib/active_record/connection_adapters/redshift/schema_definitions.rb
Instance Method Summary collapse
Instance Method Details
#new_column_definition(name, type, options) ⇒ Object
:nodoc:
10 11 12 13 14 15 16 |
# File 'lib/active_record/connection_adapters/redshift/schema_definitions.rb', line 10 def new_column_definition(name, type, ) # :nodoc: column = super column.distkey = [:distkey] column.sortkey = [:sortkey] column.encode = [:encode] column end |