location_hours

0 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT 10 √ null

The id of hours entry

locationId INT 10 null

The location id

day INT 10 null

Day of the week 0 to 7 (Sun to Monday)

closed TINYINT 3 0

Whether or not the library is closed on this day

open VARCHAR 10 null

Open hour (24hr format) HH:MM

close VARCHAR 10 null

Close hour (24hr format) HH:MM

notes VARCHAR 255 √ NULL

Indexes

Constraint Name Type Sort Column(s)
location_hours_s_pk Primary key Asc id
location Performance Asc/Asc/Asc locationId + day + open
PRIMARY Must be unique Asc id

Relationships