diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-10-08 09:15:37 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-10-10 11:53:22 +0900 |
commit | 5025fd3a99c68f95bdd6fd43f382c62e9653236b (patch) | |
tree | 4dfbc554f4a66855b112aa971a904d2352a90c30 /activerecord/test/cases/migration/rename_table_test.rb | |
parent | 02989ee38f8cc5e82e7106ff8689d4635b016f40 (diff) | |
download | rails-5025fd3a99c68f95bdd6fd43f382c62e9653236b.tar.gz rails-5025fd3a99c68f95bdd6fd43f382c62e9653236b.tar.bz2 rails-5025fd3a99c68f95bdd6fd43f382c62e9653236b.zip |
Dump index options to pretty format
```ruby
# Before
t.index ["firm_id", "type", "rating"], name: "company_index", order: {"rating"=>:desc}, using: :btree
# After
t.index ["firm_id", "type", "rating"], name: "company_index", order: { rating: :desc }, using: :btree
```
Diffstat (limited to 'activerecord/test/cases/migration/rename_table_test.rb')
0 files changed, 0 insertions, 0 deletions