Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| library_weekly_closure_id | INT | 10 | √ | null |
|
|
unique identifier |
||||
| library_id | VARCHAR | 10 | null |
|
|
foreign key from the branches table |
|||||
| weekday | SMALLINT | 5 | null |
|
|
day of the week (0=Sunday, 1=Monday, etc) |
|||||
| title | VARCHAR | 50 | '' |
|
|
title of this closing |
|||||
| description | MEDIUMTEXT | 16777215 | null |
|
|
description for this closing |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| library_weekly_closures_s_pk | Primary key | Asc | library_weekly_closure_id |
| library_id_weekday | Must be unique | Asc/Asc | library_id + weekday |
| PRIMARY | Must be unique | Asc | library_weekly_closure_id |

