zAR-BIP-staffing-sets
efacdb_full ยท Custom/model/helper tables
Columns
Full schema, no data mutation.| # | Name | Type | Key | Nullable | Default | Comment |
|---|
| 1 | staffingsetid | bigint | PRI | NO | - | - |
| 2 | staffingset-name | varchar(180) | - | NO | - | - |
| 3 | source-type | varchar(40) | - | NO | hr-staffing | - |
| 4 | source-label | varchar(120) | - | NO | from HR staffing snapshot | - |
| 5 | source-snapshot-id | bigint | - | YES | - | - |
| 6 | source-snapshot-date | date | - | YES | - | - |
| 7 | start-date | date | - | YES | - | - |
| 8 | end-date | date | - | YES | - | - |
| 9 | status | varchar(24) | - | NO | importing | - |
| 10 | is-latest | tinyint(1) | MUL | NO | 0 | - |
| 11 | is-bookmarked | tinyint(1) | - | NO | 0 | - |
| 12 | day-row-count | int | - | NO | 0 | - |
| 13 | total-net-available-hours | decimal(12,2) | - | NO | 0.00 | - |
| 14 | notes | text | - | YES | - | - |
| 15 | created-by | varchar(120) | - | YES | - | - |
| 16 | created-at | timestamp | MUL | NO | CURRENT_TIMESTAMP | - |
| 17 | completed-at | datetime | - | YES | - | - |
| 18 | deleted-at | datetime | - | YES | - | - |
| 19 | error-message | text | - | YES | - | - |
Indexes
| Name | Unique | Columns |
|---|
| PRIMARY | Yes | staffingsetid |
| ix-zar-bip-staffing-created | No | created-at |
| ix-zar-bip-staffing-latest | No | is-latest, deleted-at |
Foreign Keys
EFACS has few enforced keys; many relationships are conventional.| Column | References |
|---|
| No enforced foreign keys found for this table. |