Subject: Support ENUM or SET validation without custom function?
Will PHP AR support validation of SET and ENUM without creating a custom function or database error?
The reason I'm asking is because in my database I will have Address, Email, Phone, etc which each will have default list of type (home, office, etc) and allow custom names too. I would love any input on the best way to do this.
If ENUM validation is supported then I will not have to create custom validation. If not then I may as well move ENUM to their own table.
Subject: Support ENUM or SET validation without custom function?
Will PHP AR support validation of SET and ENUM without creating a custom function or database error?
The reason I'm asking is because in my database I will have Address, Email, Phone, etc which each will have default list of type (home, office, etc) and allow custom names too. I would love any input on the best way to do this.
If ENUM validation is supported then I will not have to create custom validation. If not then I may as well move ENUM to their own table.