xrymbos/nztrain-v2 — comment on commit 56ab2ae67f59db0b5eabd8091f0a7100083b117d
File:  line 0
By ronalchn:

Though the database migrations in this commit are reversible, be careful:

if you have run
rake db:migrate

Then add a new problem set with name "MY PROBLEM SET", allow the group "GROUPY" to access it, and add "Problem A" to "MY PROBLEM SET", add a new problem set "SET 2", and add a problem "Problem B" to "SET 2".

Then if you run rake db:migrate:redo STEP=2

Instead of GROUPY seeing a "MY PROBLEM SET" with "Problem A", and a "SET 2" containing "Problem B",
GROUPY will now see a problem set named "GROUPY", containing "Problem A" and "Problem B".