I have a database where I need to have a Meeting Table where that table has a date of type Date. I need to prevent users to insert dates that are holidays our weekends into that table. What is the best approach for this?
This is my schema:
User
user_id
cellphone
name
role_id
Role
role_id
role_type (Veterinário,Assistent,Client)
Meeting
meeting_id
date (day+ hour) Unique Key //need holiday and weekends prevention here
user_id_Vet
user_id_Client