Yan Solo
PPrisma
•Created by Yan Solo on 9/23/2024 in #help-and-questions
Deploying migrations
Hi guys,
Hoping someone can sanity check me on this. Currently in the process of trying to figure out how to run migrations in production - my prod DB is a fork of my local DB, so it will have records from previous migrations that I ran in development.
I no longer have access to those original migration files (they weren't committed to git). What's the best way to proceed here? I ran migrate dev in my local environment and it generated a single migration file, but I'm obviously a bit hesitant to just run migrate deploy in my pipeline considering my setup.
Any pointers would be massively appreciated!
Thank you
3 replies