method

index

Importance_1
v5.2.3 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::TableDefinition
index(column_name, options = {}) public

Adds index options to the indexes hash, keyed by column name This is primarily used to track indexes that need to be created after the table

index(:account_id, name: 'index_projects_on_account_id')
Show source
Register or log in to add new notes.