Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('tbl_user_tracking_olddata_id_seq'::regclass) |
|
|
Primary key |
|
| daily_tracker_id | int4 | 10 | √ | null |
|
|
FK: public.tbl_daily_tracker.id (historical reference) |
|
| employee_id | varchar | 500 | null |
|
|
FK: public.tbl_employee.employeeid |
||
| date | timestamp | 29,6 | null |
|
|
Format: Timestamp |
||
| latitude | numeric | 0 | null |
|
|
Format: BigDecimal (Decimal degrees) |
||
| longitude | numeric | 0 | null |
|
|
Format: BigDecimal (Decimal degrees) |
||
| 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 |
|
| siteid | varchar | 100 | √ | null |
|
|
Format: String |
|
| batterystatus | varchar | 100 | √ | null |
|
|
Format: String |
|
| expensetracking | varchar | 50 | √ | null |
|
|
Format: String (JSON or structured data) |
|
| punchfrom | int4 | 10 | √ | null |
|
|
Format: Integer |
|
| locationname | varchar | 500 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_user_tracking_olddata_pk__tbl_user_tracking_olddata | Primary key | Asc | id |
| tbl_user_tracking_olddata_idx_employee_punchtype_date_tbl_user_ | Performance | Asc/Asc/Asc | employee_id + punch_type + date |