diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-10-03 05:36:12 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-10-03 05:36:12 +0900 |
commit | 30b498036fe35ff9acb698dbc7364e289161113d (patch) | |
tree | 2fcfa4146fbdbd66e62697bf7ba05c7b213002bc /railties/test | |
parent | a92fa726003880f5d28367459ddaf134c44b1697 (diff) | |
download | rails-30b498036fe35ff9acb698dbc7364e289161113d.tar.gz rails-30b498036fe35ff9acb698dbc7364e289161113d.tar.bz2 rails-30b498036fe35ff9acb698dbc7364e289161113d.zip |
Fix `add_index` to normalize column names and options
Currently does not work the following code.
```ruby
add_index(:people, ["last_name", "first_name"], order: { last_name: :desc, first_name: :asc })
```
Normalize column names and options to fix the issue.
Diffstat (limited to 'railties/test')
0 files changed, 0 insertions, 0 deletions