dhe128
PPrisma
•Created by dhe128 on 10/16/2024 in #help-and-questions
How to line wrap prisma cli output?
2 replies
PPrisma
•Created by dhe128 on 8/24/2024 in #help-and-questions
Error: P3005 The database schema is not empty.
I want to initialize prisma in an existing supabase project. All schemas in
datasource db.schemas
are empty, and public._prisma_migrations
does not exist.
I have the initial migration in migrations/0_init/migration.sql
, generated via https://www.prisma.io/docs/orm/prisma-migrate/workflows/baselining
I'm getting Error: P3005 The database schema is not empty.
with either prisma migrate dev
and prisma migrate deploy
. In addition prisma migrate reset
also has the same error.
How do I get the db into a state where I can deploy the initial migration?9 replies