yehia
Explore posts from serversDTDrizzle Team
•Created by yehia on 7/12/2024 in #help
Not null must have default value as well?
Noob question. Does a "not null" value have to have a default value? For some reason it seems like the case. This insert snippet is not working. and giving me a
Object literal may only specify known properties, and email does not exist in type
and Object literal may only specify known properties, and first_name does not exist in type
When I comment out phone and email from my schema/make them both nullable/add a default value it doesn't give me this error.
schema.ts
13 replies