--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Add an index on the given column(s) with the given options to the DDL. The available options are:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":type - The type of index to use (only supported by some databases)"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":unique - Make the index unique, so duplicate values are not allowed."
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":where - Create a partial index (only supported by some databases)"
  type: :BULLET
full_name: Sequel::Schema::Generator#index
is_singleton: false
name: index
params: (columns, opts = {})
visibility: public
