Schuyler Ankele
09/14/2021, 9:47 PMprisma db pull
to create the baseline I have a single migration created. Next, I mark the init migration as applied. But then if I run prisma db push
I get an error with drift detected
, with no changes to the schema. If I create a new migration I get the same error and Prisma Migrate insists on resetting the DB. I saw an issue in Github, but it was marked resolved. Has anyone else run into this or resolved it? Am I missing something in the initial setup?Ryan
09/16/2021, 6:02 AMprisma db push
is not what you want do perform when migrating an existing DB. Follow this section in the docs on how to perform this.