staff-availability-snapshot-days

efacdb_full ยท Backups, snapshots and deleted-row stores
Back to EFACS Browser
Type
BASE TABLE
Rows est.
52
Size
0.14 MB
Updated
-

Columns

Full schema, no data mutation.
#NameTypeKeyNullableDefaultComment
1day-idbigintPRINO--
2snapshot-idbigintMULNO--
3resource-refvarchar(160)MULNO--
4resource-namevarchar(220)-NO--
5linked-usernamevarchar(120)-YES--
6work-datedateMULNO--
7base-hoursdecimal(7,2)-NO0.00-
8break-hoursdecimal(7,2)-NO0.00-
9holiday-hoursdecimal(7,2)-NO0.00-
10sickness-hoursdecimal(7,2)-NO0.00-
11training-hoursdecimal(7,2)-NO0.00-
12management-hoursdecimal(7,2)-NO0.00-
13admin-hoursdecimal(7,2)-NO0.00-
14other-hoursdecimal(7,2)-NO0.00-
15unavailable-hoursdecimal(7,2)-NO0.00-
16net-available-hoursdecimal(7,2)-NO0.00-
17stores-pre-hoursdecimal(7,2)-NO0.00-
18stores-post-hoursdecimal(7,2)-NO0.00-
19hc-assy-pre-hoursdecimal(7,2)-NO0.00-
20hc-assy-post-hoursdecimal(7,2)-NO0.00-
21ww-assy-pre-hoursdecimal(7,2)-NO0.00-
22ww-assy-post-hoursdecimal(7,2)-NO0.00-
23sheet-metal-pre-hoursdecimal(7,2)-NO0.00-
24sheet-metal-post-hoursdecimal(7,2)-NO0.00-
25welding-pre-hoursdecimal(7,2)-NO0.00-
26welding-post-hoursdecimal(7,2)-NO0.00-
27machine-shop-pre-hoursdecimal(7,2)-NO0.00-
28machine-shop-post-hoursdecimal(7,2)-NO0.00-
29source-statusvarchar(24)-NOmatched-
30source-hashchar(32)-NO--
31raw-jsonlongtext-YES--
32created-attimestamp-NOCURRENT_TIMESTAMP-

Indexes

NameUniqueColumns
PRIMARYYesday-id
ux-staff-availability-snapshot-resource-dayYessnapshot-id, resource-ref, work-date
ix-staff-availability-snapshot-days-dateNowork-date
ix-staff-availability-snapshot-days-resource-dateNoresource-ref, work-date

Foreign Keys

EFACS has few enforced keys; many relationships are conventional.
ColumnReferences
No enforced foreign keys found for this table.