ambiguous column name: value when running prisma studio
so prisma v7 new studio aggregates data into value column
which makes me unable to use default column name "value" shouldn't all internal column names be with _ or something to not clash common wording?
i was using better-auth whose verification table has value column that stores otp and other value for auth.
github issue here
https://github.com/prisma/prisma/issues/28675
GitHub
Error: ambiguous column name: value when running prisma studio (pri...
Bug description setup better auth 1.4.0 with prisma v7 and genrate schema db push and all and open prisma studio console throws error in studio with "count" as (select cast(coalesce(count...
4 Replies
You're in no rush, so we'll let a dev step in. Enjoy your coffee, or drop into
#ask-ai if you get antsy for a second opinion!Hey 👋
It's a regression, and a fix is already pending review. Sorry. 😢
Oh yep saw the reply on GitHub. Thank you again.
This should be fixed in 7.0.1, which is out now 🙂