staff-availability-planning-resources
efacdb_full ยท App/admin miscellany
Columns
Full schema, no data mutation.| # | Name | Type | Key | Nullable | Default | Comment |
|---|
| 1 | resource-id | bigint | PRI | NO | - | - |
| 2 | linked-username | varchar(120) | UNI | YES | - | - |
| 3 | display-name | varchar(220) | - | NO | - | - |
| 4 | assigned-team-leader | varchar(120) | MUL | YES | - | - |
| 5 | start-date | date | MUL | NO | - | - |
| 6 | end-date | date | - | YES | - | - |
| 7 | capacity-factor | decimal(6,3) | - | NO | 1.000 | - |
| 8 | is-new-joiner | tinyint(1) | - | NO | 0 | - |
| 9 | weekday-start-time | time | - | YES | - | - |
| 10 | weekday-end-time | time | - | YES | - | - |
| 11 | weekday-break-start-time | time | - | YES | - | - |
| 12 | weekday-break-end-time | time | - | YES | - | - |
| 13 | weekday-hours | decimal(7,2) | - | NO | 0.00 | - |
| 14 | weekday-break-min | int | - | NO | 0 | - |
| 15 | stores-pct | decimal(6,2) | - | NO | 20.00 | - |
| 16 | hc-assy-pct | decimal(6,2) | - | NO | 20.00 | - |
| 17 | ww-assy-pct | decimal(6,2) | - | NO | 20.00 | - |
| 18 | sheet-metal-pct | decimal(6,2) | - | NO | 20.00 | - |
| 19 | welding-pct | decimal(6,2) | - | NO | 20.00 | - |
| 20 | machine-shop-pct | decimal(6,2) | - | NO | 0.00 | - |
| 21 | notes | text | - | YES | - | - |
| 22 | created-by | varchar(120) | - | YES | - | - |
| 23 | created-at | timestamp | - | NO | CURRENT_TIMESTAMP | - |
| 24 | updated-at | timestamp | - | NO | CURRENT_TIMESTAMP | - |
Indexes
| Name | Unique | Columns |
|---|
| PRIMARY | Yes | resource-id |
| ux-staff-availability-linked-username | Yes | linked-username |
| ix-staff-availability-planning-resources-assigned-team-leader | No | assigned-team-leader |
| ix-staff-availability-planning-resources-start-end | No | start-date, end-date |
Foreign Keys
EFACS has few enforced keys; many relationships are conventional.| Column | References |
|---|
| No enforced foreign keys found for this table. |