class Jennifer::Migration::TableBuilder::CreateIndex
- Jennifer::Migration::TableBuilder::CreateIndex
- Jennifer::Migration::TableBuilder::Base
- Reference
- Object
Defined in:
jennifer/migration/table_builder/create_index.crConstructors
Instance Method Summary
-
#explain
Returns string presentation of invoked changes.
- #fields : Array(Symbol)
- #index_name : String
- #lengths : Hash(Symbol, Int32)
- #orders : Hash(Symbol, Symbol)
-
#process
Invokes current command.
- #type : Symbol?
Instance methods inherited from class Jennifer::Migration::TableBuilder::Base
adapter : Adapter::Base
adapter,
column_exists?(*args, **options)column_exists?(*args, **options, &) column_exists?, explain explain, index_exists?(*args, **options)
index_exists?(*args, **options, &) index_exists?, name : String name, process process, process_commands process_commands, schema_processor(*args, **options)
schema_processor(*args, **options, &) schema_processor, table_exists?(*args, **options)
table_exists?(*args, **options, &) table_exists?
Constructor methods inherited from class Jennifer::Migration::TableBuilder::Base
new(adapter, name : String | Symbol)
new
Constructor Detail
def self.new(adapter, table_name : String, index_name, fields : Array, type : Symbol?, lengths, orders)
#
Instance Method Detail
def explain
#
Description copied from class Jennifer::Migration::TableBuilder::Base
Returns string presentation of invoked changes.
def process
#
Description copied from class Jennifer::Migration::TableBuilder::Base
Invokes current command.