Tables for Shift Schedules [6.0 Appendix]
- Last UpdatedDec 18, 2018
- 1 minute read
The Shift_Attr table was added to the to Shift Schedule tables.
It allows an arbitrary number of user-defined attributes to be assigned to any shift.
Available shift attributes must already be defined in the attr table with an attr_grp value = 13.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
shift_id |
int32 |
Y |
N |
Uniquely identifies the shift. |
|
attr_id |
int32 |
Y |
N |
Identifies the attribute. |
|
attr_value |
string1700 |
N |
Y |
The attribute value for this combination. |
|
notes |
notes |
N |
Y |
Notes for this combination. |
|
last_edit_comment |
string254 |
N |
Y |
Why this record was changed (currently not used). |
|
last_edit_by |
string40 |
N |
Y |
Who last changed this record. |
|
last_edit_at |
tdatetime |
N |
N |
When this record was last changed. |
|
row_id |
ID 0 |
N |
N |
Unique row identifier, for audit trail. |
FK from shift_id to shift. (Cascade delete) [[Reviewers: Please confirm this. But other *_Attr table FKs had this cascade delete statement.]]
FK from attr_id to attr. (Cascade delete)