Hi, I'm having an issue trying to create a baselin...
# orm-help
h
Hi, I'm having an issue trying to create a baseline migration.. it seems to fail because prisma thinks the schema is out of sync with the db (odd because prisma was used to create and administer the db everywhere) So I tried a
prisma db pull
which updated the schema a bit and added a
name:
property to my
unique:
attributes. For example (from git diff):
Copy code
-  @@unique([credentialSetLabel, orderId])
+  @@unique([credentialSetLabel, orderId], name: "Sweep.credentialSetLabel_orderId_unique")
This causes an issue with the vs code extension which now says
Copy code
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