rails/rails — pull request #14126 by schuetzm (2014-02-20 17:58:38+00:00)
Title: Make `:index` in migrations work with all column types

There is already an option `:index` in `TableDefinition#references` which creates an index for the foreign key column. For consistency, the same should be available for all column types:

````
t.string :my_column, index: true
````