Ralph::Schema::DatabaseIndex
Represents a database index
Constructors
Instance methods
clone
Sourcecolumns
Columns included in the index (in order)
condition
Partial index condition (PostgreSQL)
copy_with(name _name = @name, table _table = @table, columns _columns = @columns, unique _unique = @unique, type _type = @type, condition _condition = @condition)
Sourcename
Index name
table
Table the index belongs to
type
Index type (e.g., :btree, :hash, :gin, :gist) - nil for default
unique
Whether this is a unique index