Drizzle not null issue

Hi guys I just wanna ask about the issue I encountered when I set field notnull(screenshot below) .


Whenever I put a not null regardless if what field its still showing an error (screenshot 2) , but if I remove the notNull it works fine . Even changing the fields on the update query still has that error even though the field exists .
image.png
image.png
Was this page helpful?