Hello,
I’m making simple restaurant presentation website and from admin panel you can specify work time.
I’ve made table like this:
+-----------+-------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+-------------+------+-----+---------+-------+
| day_from | varchar(10) | NO | | NULL | |
| day_to | varchar(10) | NO | | NULL | |
| time_from | varchar(10) | NO | | NULL | |
| time_to | varchar(10) | NO | | NULL | |
+-----------+-------------+------+-----+---------+-------+
And now I have problem with updating this table, what should I use as PK? Can someone help me how to design this table?
Best regards,
@marklenon95