I’m making a database where people book an appointment with doctors.
The problem I’m facing is how to make a timeslot table for the doctors to choose the time they’re free without wasting storage.
The solution I have right now is making a timeslot table where doctors fill the days and hours they’re free, which leads to a lot of unused data (due to people not booking them).
On another note, should I make a timeslot_id and populate the booking table with it? Or what’s the best way to implement that?