Method: Sequel::Schema::AlterTableGenerator#add_full_text_index
- Defined in:
- lib/sequel/database/schema_generator.rb
#add_full_text_index(columns, opts = OPTS) ⇒ Object
Add a full text index on the given columns. See CreateTableGenerator#full_text_index for available options.
471 472 473 |
# File 'lib/sequel/database/schema_generator.rb', line 471 def add_full_text_index(columns, opts = OPTS) add_index(columns, {:type=>:full_text}.merge!(opts)) end |