Problem
Adding indexes should be done concurrently in postgres
Prisma generates indexes in the migration.
Indexes concurrently can't be added in a transaction
I run the migration manually by hand and comment out the add indexes while running prisma migrate deploy
Afterwards Prisma deploy will say
WARNING The following migrations have been modified since they were applied:
Suggested solution
One solution could be:
Output the checksum so that I can update it manually
Problem
Adding indexes should be done concurrently in postgres
Prisma generates indexes in the migration.
Indexes concurrently can't be added in a transaction
I run the migration manually by hand and comment out the add indexes while running
prisma migrate deployAfterwards Prisma deploy will say
Suggested solution
One solution could be:
Output the checksum so that I can update it manually