TypeError unless column is notNull
gave the following error.
Object literal may only specify known properties, and <column> does not exist in type:
schema.ts:
Once I add the
.notNull()
the error is gone, am I doning something wrong?
Thanks.3 Replies
i am facing the same issue when i add a default()
I am getting the same error. Any resolution?
Why are you trying to insert a passwordHash when it isn't a column on your table?
At least it's not in code you provided