Hey all, I have made a project in the past without migrations, which I now deeply regret. I have since created and setup migrations for this project but now the issue is implementing this with my production environment. For my dev environment I scrapped the entire database making the transition seamless (just without data...)
In my production environment we obviously don't want to delete the databases and the data. We do have backups of the databases, but we would like guidance on how we can implement our new migrations into the production environment. I have made an attempt to do it, however the migrations is giving me errors that the tables already exist (obviously), and when I remove the CREATE TABLE definitions in my migration file, I then get errors with my constraints.
What would be the easiest way to go about this?