Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_trackingpolicy_history_id_seq'::regclass) |
|
|
Primary key |
|
| trackingpolicyid | int8 | 19 | √ | null |
|
|
FK: public.tbl_trackingPolicy.Id |
|
| policyname | varchar | 100 | √ | null |
|
|
Historical Snapshot: Policy name as it existed at the time of this version. |
|
| members | text | 2147483647 | √ | null |
|
|
Historical Snapshot: Membership rules and eligibility criteria at change time. |
|
| description | varchar | 1000 | √ | null |
|
|
Historical Snapshot: Policy description active during this version period. |
|
| allowexpense | bool | 1 | √ | null |
|
|
Historical Snapshot: Expense allowance setting during this policy version. |
|
| enabletwowheeler | bool | 1 | √ | null |
|
|
Historical Snapshot: Two-wheeler expense eligibility during this period. |
|
| twowheelerrate | float8 | 17,17 | √ | null |
|
|
Historical Snapshot: Two-wheeler reimbursement rate active during this version. |
|
| twowheelerminkm | float8 | 17,17 | √ | null |
|
|
Historical Snapshot: Minimum distance threshold for two-wheeler claims. |
|
| twowheelermaxkm | float8 | 17,17 | √ | null |
|
|
Historical Snapshot: Maximum distance limit for two-wheeler claims. |
|
| enablefourwheeler | bool | 1 | √ | null |
|
|
Historical Snapshot: Four-wheeler expense eligibility during this period. |
|
| fourwheelerrate | float8 | 17,17 | √ | null |
|
|
Historical Snapshot: Four-wheeler reimbursement rate active during this version. |
|
| fourwheelerminkm | float8 | 17,17 | √ | null |
|
|
Historical Snapshot: Minimum distance threshold for four-wheeler claims. |
|
| fourwheelermaxkm | float8 | 17,17 | √ | null |
|
|
Historical Snapshot: Maximum distance limit for four-wheeler claims. |
|
| defaultvehicletype | varchar | 50 | √ | null |
|
|
Historical Snapshot: Default vehicle type preset during this policy version. |
|
| status | varchar | 20 | √ | null |
|
|
Historical Snapshot: Policy status (ACTIVE/INACTIVE) at change time. |
|
| isdefault | bool | 1 | √ | null |
|
|
Historical Snapshot: Default policy status during this version period. |
|
| createdby | varchar | 20 | √ | null |
|
|
||
| createddate | timestamp | 29,6 | √ | null |
|
|
||
| modifiedby | varchar | 20 | √ | null |
|
|
||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_trackingpolicy_history_pk_tbl_trackingpolicy_history | Primary key | Asc | id |