module

Avram::Migrator::IndexStatementHelpers

Instance methods

add_index(column : Symbol, unique = false, using : Symbol = :btree)

Generates raw sql for adding an index to a table column. Accepts 'unique' and 'using' options.

Source
index_added?(index : String, column : Symbol)

Returns false unless matching index exists. Ignores UNIQUE

Source

Nested types