Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('tbl_workscheduleallocation_history_id_seq'::regclass) |
|
|
Primary key for the history record |
||||
| employeeid | varchar | 50 | √ | null |
|
|
FK: public.tbl_employee.id |
||||
| shiftid | int8 | 19 | √ | null |
|
|
FK: public.tbl_shift.id |
||||
| workscheduleid | int8 | 19 | √ | null |
|
|
FK: public.tbl_attendance_workschedule.id |
||||
| startdate | date | 13 | √ | null |
|
|
The effective date when the work schedule assignment began for the employee. |
||||
| enddate | date | 13 | √ | null |
|
|
The effective date when the work schedule assignment ended for the employee. |
||||
| createdby | varchar | 50 | √ | null |
|
|
FK: public.tbl_userlogin.id |
||||
| createddate | timestamp | 29,6 | √ | null |
|
|
Timestamp of when the historical record was generated (i.e., when the change occurred) |
||||
| modifiedby | varchar | 50 | √ | null |
|
|
FK: public.tbl_userlogin.id |
||||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
Timestamp of when the historical record was last modified. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_workscheduleallocation_history_pk_tbl_workscheduleallocatio | Primary key | Asc | id |


