hart
12/18/2021, 2:15 AMprisma db pull
which updated the schema a bit and added a name:
property to my unique:
attributes. For example (from git diff):
- @@unique([credentialSetLabel, orderId])
+ @@unique([credentialSetLabel, orderId], name: "Sweep.credentialSetLabel_orderId_unique")
This causes an issue with the vs code extension which now says
Error validating model "SweepMarket": The `name` property within the `@@unique` attribute only allows for the following characters: `_a-zA-Z0-9`.
but prisma validate
says the schema file is valid.
I'm using sqlite for the db.. anyone have an idea how I can make things work enough to be able to make/apply migrations? Also, I'm thinking this is a bug in the VS code extension but couldn't find anything in their github