Hey, im using Supabase with a prisma ORM and i have the enum "Subscription" as part of my "User" model. It used to be its own modle wich was connected to the "User" block and the enum is still shown (in the supabase dashboard) as such in the user block but the block itselfe is gone. I tryed it on the webside i host over vercel and strangly is still there when i use it but when i try to use it localy it just says "Invalid prisma.account.findUnique() invocation:
Value 'FreeTier' not found in enum 'Subscription' [Error [GetUserByAccountError]:
Invalid prisma.account.findUnique() invocation:
Value 'FreeTier' not found in enum 'Subscription'] {
code: 'P2023'
}" But thats not all when i tryed to update it from my Laptop (i used my PC the last time i worked on it) it says the connection string is missing (=> it not)
The user is experiencing issues with a Prisma ORM setup in Supabase, where an enum 'Subscription' is not recognized locally, though it works on a Vercel-hosted site. Additionally, there's a connection string error when switching devices. Another user suggests a potential solution involving enumerated types in local databases but acknowledges the issue isn't fully clear.
Doesn't seem directly like a supabase issue but I can offer some advice. If your application is using a replicated local database enumerated types typically do not replicate directly. Usually you create a function in your schema to expose the values of the enumerated type, for example: ``` select array( select unnest(enum_range(null::sales.priortity))::text );