Help users when they need to use pg_dump
: when a baselining is needed for a brownfield project.
#4906
Labels
docs
Documentation creation, updates or corrections
topic: migrate
Issues relating to Prisma Migrate
We mention
pg_dump
indocs/content/300-guides/025-migrate/100-developing-with-prisma-migrate/050-add-prisma-migrate-to-a-project.mdx
Line 93 in 99c5858
In a brownfield project when a user wants to manage their database with Prisma Migrate, a baseline migration is required (because there is an existing database).
pg_dump
can be used to create a reliable baseline migration, examplemigration.sql
dump needs to be edited and this following line removed.If it is not removed, the migration will fail with the following error message:
We could mention this somewhere in our docs.
The text was updated successfully, but these errors were encountered: