yehia
yehia
Explore posts from servers
DTDrizzle Team
Created by yehia on 7/12/2024 in #help
Not null must have default value as well?
Can you show me the error
13 replies
DTDrizzle Team
Created by yehia on 7/12/2024 in #help
Not null must have default value as well?
Why not
13 replies
DTDrizzle Team
Created by yehia on 7/12/2024 in #help
Not null must have default value as well?
After having these types I use them like this
await db.insert(schema.users).values({ name: 'Andrew' } as schema.InsertUsers);
await db.insert(schema.users).values({ name: 'Andrew' } as schema.InsertUsers);
13 replies
DTDrizzle Team
Created by yehia on 7/12/2024 in #help
Not null must have default value as well?
13 replies
DTDrizzle Team
Created by yehia on 7/12/2024 in #help
Not null must have default value as well?
You're totally right and this is expected behavior. It may be something with my particular setup with NestJS. I'll see if there's something there
13 replies
DTDrizzle Team
Created by yehia on 7/12/2024 in #help
Not null must have default value as well?
Yeah I'm getting this error even when I pass values in on insert for email/password_hash so that's what's confusing. I don't want email/password_hash to have default values, I want them to be not null and I pass their values in on insert
13 replies
TTCTheo's Typesafe Cult
Created by yehia on 7/16/2023 in #questions
Sending emails
Yeah I have a google workspace account so I have an email that's attached to my business's domain. You raised a great point about analytics, not sure if google have that in the console. Templating might be a selling point aswell.
6 replies
TTCTheo's Typesafe Cult
Created by yehia on 7/16/2023 in #questions
Sending emails
(Also a google workspace customer if that has any relevance)
6 replies