Ty-Lucas Kelley
10/13/2022, 5:14 PMprisma migrate
- was looking around for an option to do a 'dry run' of a migration before it's deployed, but didn't come across anything. Our goal is to be able to validate a migration in development against our production database(s) before that code is ever merged and deployed, so we don't have to wait for it to fail, then go through the process of rolling it back, editing the migration, re-deploying, etc..Nurul
10/14/2022, 6:15 AMTy-Lucas Kelley
10/14/2022, 6:35 AMAustin
10/26/2022, 9:08 PMprisma migrate dev --create-only
. It will still run the migration validations using a shadow database, but it won’t apply the generated SQL.