It looks like reverse does reverse the individual commands, but if you chain a migration (.create.addForeignKey().addIndex()) and then reverse, it runs the Actions in the same order, causing the migration to fail (since the table will be dropped and then keys/indexes to try to be subsequently dropped).
Is there anyway to change the behavior to match an actual reversal?
It looks like reverse does reverse the individual commands, but if you chain a migration (.create.addForeignKey().addIndex()) and then reverse, it runs the Actions in the same order, causing the migration to fail (since the table will be dropped and then keys/indexes to try to be subsequently dropped).
Is there anyway to change the behavior to match an actual reversal?