Can't set nullable field back to null in drizzle-studio

drizzle-studio does not allow me to set an int column to null even when choosing NULL from the dropdown. It defaults to a 0 which then throws an error upon saving.
1 Reply
Barrabasz
BarrabaszOP11mo ago
Also, when going into the queries tab and trying to run a query manually, it just throws a Something went wrong. Please check your query. There are no logs in the terminal and browser logs show this:
ReferenceError: index is not defined
at x.eval (eval at <anonymous> (index.js:828:27), <anonymous>:33:30)
at H1r (index.js:785:102163)
at C (index-a7075a70.js:1:2189)
at eval (eval at <anonymous> (index.js:828:27), <anonymous>:108:20)
at index.js:835:9
at runSelectedDrizzleQuery (index.js:299:950)
at Object.click (index.js:781:1363)
at HTMLDivElement.<anonymous> (index.js:230:23196)
at HTMLDivElement.s (index.js:35:1798)
(anonymous) @ index.js:21
ReferenceError: index is not defined
at x.eval (eval at <anonymous> (index.js:828:27), <anonymous>:33:30)
at H1r (index.js:785:102163)
at C (index-a7075a70.js:1:2189)
at eval (eval at <anonymous> (index.js:828:27), <anonymous>:108:20)
at index.js:835:9
at runSelectedDrizzleQuery (index.js:299:950)
at Object.click (index.js:781:1363)
at HTMLDivElement.<anonymous> (index.js:230:23196)
at HTMLDivElement.s (index.js:35:1798)
(anonymous) @ index.js:21
Want results from more Discord servers?
Add your server