README.md in gindex-0.1.2 vs README.md in gindex-0.2.0
- old
+ new
@@ -1,15 +1,27 @@
# g index
:speedboat: Instant **concurrent** index migrations for Rails
-```ruby
+```sh
rails g index users email
```
-Also works with multi-column indexes
+generates:
```ruby
+class AddIndexOnEmailToUsers < ActiveRecord::Migration[6.0]
+ disable_ddl_transaction!
+
+ def change
+ add_index :users, [:email], algorithm: :concurrently
+ end
+end
+```
+
+Also works with multi-column indexes
+
+```sh
rails g index deliveries store_id delivered_at
```
## Installation