Module: SchemaPlusPgIndexes::ActiveRecord::ConnectionAdapters::PostgresqlAdapter
- Defined in:
- lib/schema_plus_pg_indexes/active_record/connection_adapters/postgresql_adapter.rb
Instance Method Summary collapse
-
#add_index(*args) ⇒ Object
SchemaPlusPgIndexes allows the column_names paramter to be left off.
Instance Method Details
#add_index(*args) ⇒ Object
SchemaPlusPgIndexes allows the column_names paramter to be left off
9 10 11 12 13 |
# File 'lib/schema_plus_pg_indexes/active_record/connection_adapters/postgresql_adapter.rb', line 9 def add_index(*args) = args. table_name, column_names = args super table_name, column_names, end |