Hi everyone, I'm trying to create a schema in Drizzle but my SQL knowledge is pretty limited.
I want to have a boolean like isProtected and if this is true then store some other information in other columns. I dont know how to handle a situation like this.
I am curious to know is it possible to create a conditional not null constraint in sql? In otherwords is it possible to create a constraint such that a column B can be null as long column A contain...