masto
DTDrizzle Team
•Created by masto on 9/27/2024 in #help
Drizzle Studio incompatibility with generatedAlwaysAsIdentity
Basically, https://discord.com/channels/1043890932593987624/1124768693549797416/1279077540266250334
If I define my primary key with
.generatedAlwaysAsIdentity()
, it seems like I can't add any records in Drizzle Studio because it tries to set the value of the column. This results in an error: cannot insert a non-DEFAULT value into column "id"
But I'm 0 days old when it comes to Drizzle, so maybe I'm missing something?9 replies