batch_template

-1 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id int8 19 √ null
batch_history.batch_template_id batch_history_batch_template_id_8ceda8c4_fk_batch_template_id R
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
sesar_user.id batch_template_created_by_id_9fd630cb_fk_sesar_user_id R
object_type_id int4 10 √ null
object_type.id batch_template_object_type_id_b694ef23_fk_object_type_id R
sesar_code varchar 5 √ null
sesar_code.sesar_code batch_template_sesar_code_e0db3cbe_fk_sesar_code_sesar_code R
team_owner_id int8 19 √ null
team.id batch_template_team_owner_id_8d2c8c7f_fk_team_id R
user_owner_id int4 10 √ null
sesar_user.id batch_template_user_owner_id_ac1bbabd_fk_sesar_user_id R
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)))

Relationships