mirror of https://github.com/rails/rails
Merge pull request #11359 from willnet/patch-1
Update 'Active Record Migrations' guide [ci skip]
This commit is contained in:
commit
4be2003778
|
@ -841,7 +841,6 @@ class AddFlagToProduct < ActiveRecord::Migration
|
|||
reversible do |dir|
|
||||
dir.up { Product.update_all flag: false }
|
||||
end
|
||||
Product.update_all flag: false
|
||||
end
|
||||
end
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue