ojoaoguilherme
Explore posts from serversI need help on deploying my development database to production without losing any data
I mistakenly ran the command
npx prisma migrate dev
on my production env but did not accept when the message says that it would result in resting the database
Basically what I have been doing until now is developing all our backend and database migrations on a development branch and merging them in production branch and applying the migration to production env with npx prisma db push
but know when I ran npx prisma migrate dev
it would reset the database, and I am afraid of running npx prisma db push
and not even give me the change of canceling if it resets my database
this is the message
19 replies