khareta
07/17/2021, 4:44 PMBusinessLocation.userId_unique
to userId_UNIQUE
, but received this:
ALTER TABLE `BusinessLocation` RENAME INDEX `userId_UNIQUE` TO `BusinessLocation.userId_unique`;
Please note that the initial migration was create-only
and this is the second one, also create-only
. nothing applied yet to db.Ryan
07/19/2021, 7:00 AMschema.prisma
as well like this?
@@unique(name: "userId_UNIQUE")
khareta
07/24/2021, 10:56 AMkhareta
07/24/2021, 10:57 AMkhareta
07/24/2021, 11:24 AM