README.md in handcuffs-1.3.0 vs README.md in handcuffs-1.4.0
- old
+ new
@@ -45,11 +45,11 @@
def up
add_index :products, :on_sale, algorithm: :concurrently
end
def down
- remove_column :products, :on_sale
+ remove_index :products, :on_sale
end
end
```
@@ -65,11 +65,11 @@
You can run all migrations using
```bash
rake 'handcuffs:migrate[all]'
```
-This differs from running `rake db:migrate` in that specs will be run in the
-_order that the phases are defined in the handcuffs config_.
+This differs from running `rake db:migrate` in that migrations will be run in
+the _order that the phases are defined in the handcuffs config_.
If you run a handcuffs rake task and any migration does not have a phase
defined, an error will be raised before any migrations are run. To prevent this
error, you can define a default phase for migrations that don't define one.
```ruby