N
Neon6mo ago
wise-white

"Please add a primary key column to your table to update or delete rows"

I'm getting the post title as an error message in the Neon web view when trying to edit or delete rows from the "Tables" view. I've never had an issue with this before today. The DB is created from an Elixir Phoenix project. I haven't not changed my DB. Has something in the Neon web view changed that is now causing this error?
7 Replies
wise-white
wise-whiteOP6mo ago
Appears to be happening across all my DB instances that have been created from Phoenix projects (using Ecto).
wise-white
wise-whiteOP6mo ago
No description
No description
fascinating-indigo
fascinating-indigo6mo ago
I'm getting the same issue, using Prisma + Vercel my schema has @id marked on the id column and it Neon it has the index, but it's not specified as a primary key on the column?
No description
national-gold
national-gold6mo ago
I recently started getting the same error. Its happening across Neon instances I have setup for work and my side project, so inclined to think a bug
extended-salmon
extended-salmon6mo ago
Been getting the same issue, using Neon's own UI
rare-sapphire
rare-sapphire6mo ago
Also getting the same issue when using the UI
No description
metropolitan-bronze
metropolitan-bronze6mo ago
Hi, This is a bug in the console it seems. It should work with SQL directly. Sorry for the inconvenience. WIll look into getting it fixed

Did you find this page helpful?