Hello people,
I really would like you to help me with some thing I need to solve.
I have an app that do automated deployment of django apps, that also can update existing deployments. So I need to revert my database to last state if something went wrong.
So, my question is, how can I revert all the migrations that were applied after run the migrate command?
It can have more than one migration and in different apps, so how can I know where to go back and how to leave the database in the previous state without having to do a backup of database and a restore? (some databases can have a lot of registers). How can I make a restore point of my migrations or indicate django to go back in my database scheme?
Thanks in advance for the help you can provide me.
--
"La utopía sirve para caminar"
Fernando Birri