I want to design a db schema concerning a schedule.
I. I can use all fields in the same table, for example:
id | shop_id | mo (varchar) | tu (varchar) | we | th | fr | sa | su
1 | 1 | 08:00-12:00 | ...
II. or I can use more tables one for schedule
with structure:
id | shop_id | mo_id | tu_id | we_id | th_id | fr_id | sa_id | su_id
and then one table for each day... for ex: monday
with structure:
id | form_time | to_time
III. or I can use one table for schedule
with structure:
id | shop_id | weekday_id
and then only one table for weekdays
with structure:
id | day | form_time | to_time
Which structure of these 3 structures you think is better in performance?