g index
:speedboat: Instant concurrent index migrations for Rails
rails g index users email
Also works with multi-column indexes
rails g index deliveries store_id delivered_at
Installation
Add this line to your application’s Gemfile:
gem 'gindex', group: :development
And then execute:
bundle
TODO
- add
:name
option to long index names
Contributing
Everyone is encouraged to help improve this project. Here are a few ways you can help:
- Report bugs
- Fix bugs and submit pull requests
- Write, clarify, or fix documentation
- Suggest or add new features