To see all available options for these commands, use the
flag, for example
piccolo migrations forwards --help.
When the migration is run, the forwards function is executed. To do this:
piccolo migrations forwards my_app
To reverse the migration, run this:
piccolo migrations backwards 2018-09-04T19:44:09
You can try going forwards and backwards a few times to make sure it works as expected.
You can easily check which migrations have and haven’t ran using the following:
piccolo migrations check