Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int8 | 19 | √ | null |
|
|
|||||
| label | varchar | 255 | null |
|
|
||||||
| created_date | timestamptz | 35,6 | null |
|
|
||||||
| is_archived | bool | 1 | false |
|
|
||||||
| selected_field_ids | jsonb | 2147483647 | null |
|
|
||||||
| collectors | jsonb | 2147483647 | null |
|
|
||||||
| created_by_id | int4 | 10 | null |
|
|
||||||
| object_type_id | int4 | 10 | √ | null |
|
|
|||||
| sesar_code | varchar | 5 | √ | null |
|
|
|||||
| team_owner_id | int8 | 19 | √ | null |
|
|
|||||
| user_owner_id | int4 | 10 | √ | null |
|
|
|||||
| cruise_field_prgrms | jsonb | 2147483647 | null |
|
|
||||||
| platforms | jsonb | 2147483647 | null |
|
|
||||||
| launch_platforms | jsonb | 2147483647 | null |
|
|
||||||
| current_archives | jsonb | 2147483647 | null |
|
|
||||||
| original_archives | jsonb | 2147483647 | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| batch_template_pkey | Primary key | Asc | id |
| batch_templ_created_af9cfa_idx | Performance | Asc | created_by_id |
| batch_templ_team_ow_0e659b_idx | Performance | Asc | team_owner_id |
| batch_templ_user_ow_0e10bc_idx | Performance | Asc | user_owner_id |
| batch_template_created_by_id_9fd630cb | Performance | Asc | created_by_id |
| batch_template_object_type_id_b694ef23 | Performance | Asc | object_type_id |
| batch_template_sesar_code_e0db3cbe | Performance | Asc | sesar_code |
| batch_template_sesar_code_e0db3cbe_like | Performance | Asc | sesar_code |
| batch_template_team_owner_id_8d2c8c7f | Performance | Asc | team_owner_id |
| batch_template_user_owner_id_ac1bbabd | Performance | Asc | user_owner_id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| bt_exactly_one_owner | (((team_owner_id IS NULL) AND (user_owner_id IS NOT NULL)) OR ((team_owner_id IS NOT NULL) AND (user_owner_id IS NULL))) |

