Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| report_id | int8 | 19 | null |
|
|
||||||
| system_metric_id | int4 | 10 | null |
|
|
||||||
| target | int4 | 10 | √ | null |
|
|
|||||
| system_value | int4 | 10 | √ | null |
|
|
Value collected via Terraware data. Null before value is submitted. |
||||
| system_time | timestamptz | 35,6 | √ | null |
|
|
System value recorded time. If null, the value is not recorded yet and a live query of Terraware data should be used instead. |
||||
| override_value | int4 | 10 | √ | null |
|
|
Value inputted by accelerator admin to override system value. Null for no overrides. |
||||
| projects_comments | text | 2147483647 | √ | null |
|
|
|||||
| progress_notes | text | 2147483647 | √ | null |
|
|
|||||
| modified_by | int8 | 19 | null |
|
|
||||||
| modified_time | timestamptz | 35,6 | null |
|
|
||||||
| status_id | int4 | 10 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| report_system_metrics_pkey | Primary key | Asc/Asc | report_id + system_metric_id |
| report_system_metrics_system_metric_id_idx | Performance | Asc | system_metric_id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| system_time | (((system_value IS NULL) AND (system_time IS NULL)) OR ((system_value IS NOT NULL) AND (system_time IS NOT NULL))) |