Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('okr.key_results_id_seq'::regclass) |
|
|
||||||||||||||||||||||||
| name | text | 2147483647 | null |
|
|
|||||||||||||||||||||||||
| description | text | 2147483647 | √ | null |
|
|
||||||||||||||||||||||||
| progress_rate | int4 | 10 | √ | null |
|
|
||||||||||||||||||||||||
| target_value | float8 | 17,17 | √ | null |
|
|
||||||||||||||||||||||||
| actual_value | float8 | 17,17 | √ | null |
|
|
||||||||||||||||||||||||
| unit | varchar | 255 | √ | null |
|
|
||||||||||||||||||||||||
| result | text | 2147483647 | √ | null |
|
|
||||||||||||||||||||||||
| expired_date | date | 13 | √ | null |
|
|
||||||||||||||||||||||||
| okr_node_id | int8 | 19 | null |
|
|
|||||||||||||||||||||||||
| organization_id | int8 | 19 | null |
|
|
|||||||||||||||||||||||||
| disabled_at | timestamptz | 35,6 | √ | null |
|
|
||||||||||||||||||||||||
| created_at | timestamptz | 35,6 | null |
|
|
|||||||||||||||||||||||||
| updated_at | timestamptz | 35,6 | null |
|
|
|||||||||||||||||||||||||
| display_order | int4 | 10 | null |
|
|
|||||||||||||||||||||||||
| update_type | "okr"."key_result_update_type" | 2147483647 | 'AUTOMATE'::okr.key_result_update_type |
|
|
|||||||||||||||||||||||||
| plain_text | text | 2147483647 | √ | null |
|
|
||||||||||||||||||||||||
| initial_value | float8 | 17,17 | 0 |
|
|
|||||||||||||||||||||||||
| updated_progress_rate_at | timestamptz | 35,6 | √ | null |
|
|
||||||||||||||||||||||||
| is_auto_aggregate | bool | 1 | null |
|
|
|||||||||||||||||||||||||
| weight | int4 | 10 | √ | null |
|
|
||||||||||||||||||||||||
| target_setting | "okr"."target_setting_type" | 2147483647 | 'NONE'::okr.target_setting_type |
|
|
|||||||||||||||||||||||||
| is_description_changed | bool | 1 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| key_results_pkey | Primary key | Asc | id |
| idx_key_results_on_disabled_at | Performance | Asc | disabled_at |
| idx_key_results_on_okr_node_id | Performance | Asc | okr_node_id |
| idx_key_results_on_organization_id | Performance | Asc | organization_id |