so if this is the command to migrate from an empty database to the schema, what is it to migrate fro

so if this is the command to migrate from an empty database to the schema, what is it to migrate from an existing database to the updated schema? the default prisma migration commands dont seem to work npx prisma migrate diff --script --from-empty --to-schema-datamodel ./prisma/schema.prisma >> migrations/0001_init.sql
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?