PrismaStudio Obscures Error with Database Having First Row/Record as Duplicate of Column/Field Names #1227
Labels
bug/1-unconfirmed
Bug should have enough information for reproduction, but confirmation has not happened yet.
kind/bug
A reported bug.
team/client
Issue for team Client.
topic: studio
Bug description
When I ran
node prisma.js
, I received the following error:Initially, I thought that the PrismaClient was mistakenly treating my Column/Field Names as a row/record of values.
Instead, it turns out that my Database did, in fact, have a first row/record populated with TEXT/String values replicating the Column/Field Names rather than valid values such as an INTEGER/Int value for the "age" field.
However, before I went to double-check in DB Browser for SQLite, what I saw in Prisma Studio actually confused me further as it didn't show this first problematic row:
How to reproduce
Expected behavior
I expect Prisma Studio to show me the problematic row/record rather than obscure it
Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: