Sebastian Gug
10/20/2022, 12:14 AMTakeo Kusama
10/20/2022, 4:52 AMprisma migrate dev
in development db to create new migration files.
If after applying, you must fix db tables manually and marking the migration file applied or rolled back.
Be careful, because itβs tough to fix. You should demonstrate cloned db of your production before applying it to production.
See the thread if you want details.
https://prisma.slack.com/archives/CA491RJH0/p1656410303839809Nurul
10/20/2022, 6:49 AMSquashing migrations can be useful when developing with a branch-based workflow. During a large local development effort on a feature branch you might generate multiple migrations usingLet me know if this works for you.. After the feature is finished, the migration history might contain unnecessary intermediate steps that are unwanted in the final migration history that will be pushed to themigrate dev
branch.main
Sebastian Gug
10/20/2022, 10:18 AMSebastian Gug
10/20/2022, 11:09 AM