Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('tbl_user_tracking_id_seq'::regclass) |
|
|
Primary key |
|
| daily_tracker_id | int4 | 10 | √ | null |
|
|
FK: public.tbl_daily_tracker.id (or similar daily summary table) |
|
| employee_id | varchar | 500 | null |
|
|
FK: public.tbl_employee.employeeid |
||
| date | timestamp | 29,6 | null |
|
|
Format: Timestamp |
||
| latitude | varchar | 30 | √ | null |
|
|
Format: String (Decimal degrees as string) |
|
| longitude | varchar | 30 | √ | null |
|
|
Format: String (Decimal degrees as string) |
|
| punch_type | varchar | 10 | null |
|
|
Format: String |
||
| createdby | varchar | 50 | √ | null |
|
|
||
| createddate | timestamp | 29,6 | √ | null |
|
|
||
| modifiedby | varchar | 50 | √ | null |
|
|
||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
||
| networking | varchar | 100 | √ | null |
|
|
Format: String (Time duration or calculated hours) |
|
| siteid | varchar | 100 | √ | null |
|
|
Format: String |
|
| punchfrom | int4 | 10 | √ | null |
|
|
Format: Integer |
|
| batterystatus | varchar | 50 | √ | null |
|
|
Format: String |
|
| expensetracking | varchar | 50 | √ | null |
|
|
Format: String (JSON or structured data) |
|
| locationname | varchar | 500 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_user_tracking_pk__tbl_user_tracking | Primary key | Asc | id |
| tbl_user_tracking_idx_employee_punchtype_date_tbl_user_tracking | Performance | Asc/Asc/Asc | employee_id + punch_type + date |