Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_okr_objectives_history_id_seq'::regclass) |
|
|
Primary key |
||||
| objective_id | int8 | 19 | null |
|
|
FK: public.tbl_okr_objectives.id |
|||||
| objective_name | varchar | 200 | null |
|
|
The name or high-level goal statement of the Objective at the time of the event. |
|||||
| period_type | varchar | 20 | √ | null |
|
|
The duration type for the Objective (e.g., MONTHLY, QUARTERLY) at the time of the event. |
||||
| start_date | date | 13 | null |
|
|
The start date for the Objective period. |
|||||
| end_date | date | 13 | null |
|
|
The end date for the Objective period. |
|||||
| description | varchar | 1000 | √ | null |
|
|
Detailed description or context for the Objective at the time of the event. |
||||
| target_based_on | varchar | 20 | √ | null |
|
|
How the Objective’s progress is calculated (e.g., based on average KR completion, or based on KR weightage). |
||||
| target_value | numeric | 0 | √ | null |
|
|
The overall target value set for the Objective (often 100 or 1.0). |
||||
| child_target_value | numeric | 0 | √ | null |
|
|
The aggregated value of the contributing Key Results (KRs) linked to this Objective at the time of the event. |
||||
| previous_value | numeric | 0 | √ | null |
|
|
The Objective’s completion value prior to the latest update/check-in that created this history record. |
||||
| completion_percentage | float8 | 17,17 | √ | null |
|
|
The calculated achievement percentage of the Objective (aggregated from KRs) after the update was applied. |
||||
| completion_value | numeric | 0 | √ | null |
|
|
The quantitative completion value of the Objective after the update was applied (usually 0 to 100). |
||||
| department_id | int8 | 19 | √ | null |
|
|
FK: public.tbl_department.id |
||||
| status | varchar | 20 | √ | null |
|
|
The health/status of the Objective after the update was applied (e.g., ON_TRACK, OFF_TRACK). |
||||
| objective_owners | text | 2147483647 | √ | null |
|
|
JSON array of Employee IDs who were jointly accountable for this Objective at the time of the event. |
||||
| createdby | varchar | 50 | √ | null |
|
|
|||||
| createddate | timestamp | 29,6 | √ | null |
|
|
|||||
| modifiedby | varchar | 50 | √ | null |
|
|
|||||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| pk_tbl_okr_objectives_history | Primary key | Asc | id |
