Hello, I'm trying to implement Prisma Migrate for ...
# orm-help
s
Hello, I'm trying to implement Prisma Migrate for an existing Postgres DB and after following the docs on doing
prisma 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?
r
@Schuyler Ankele 👋
prisma 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.