Migrating from Prisma gradually
We're in the middle of migrating away from Prisma to Drizzle which we just found out that Drizzle has its own naming convention for
To avoid surprises for this migration, we'd like to keep Prisma constraint names, I looked into the
At the same time, the current generated constraint name is longer than Postgres's allowed length. How can we workaround this?
FOREIGN KEY CONSTRAINT. To avoid surprises for this migration, we'd like to keep Prisma constraint names, I looked into the
reference() type definitions, it seems that we don't have a way to customise the FOREIGN KEY CONSTRAINT name, is that correct?At the same time, the current generated constraint name is longer than Postgres's allowed length. How can we workaround this?