application_merge

-1 rows


Description

Tracks the parent ccbc or cbc application selected when a project is merged

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id int4 10 null
parent_application_id int4 10 null
application.id application_merge_parent_application_id_fkey R

Row ID for the parent application (when parent is a ccbc application)

parent_cbc_id int4 10 null
cbc.id application_merge_parent_cbc_id_fkey R

Row ID for the parent CBC (when parent is a cbc application)

child_application_id int4 10 null
application.id application_merge_child_application_id_fkey R

Row ID for the child application

created_by int4 10 null
ccbc_user.id application_merge_created_by_fkey R

created by user id

created_at timestamptz 35,6 now()

created at timestamp

updated_by int4 10 null
ccbc_user.id application_merge_updated_by_fkey R

updated by user id

updated_at timestamptz 35,6 now()

updated at timestamp

archived_by int4 10 null
ccbc_user.id application_merge_archived_by_fkey R

archived by user id

archived_at timestamptz 35,6 null

archived at timestamp

Indexes

Constraint Name Type Sort Column(s)
application_merge_pkey Primary key Asc id
ccbc_public_application_merge_archived_by_foreign_key Performance Asc archived_by
ccbc_public_application_merge_created_by_foreign_key Performance Asc created_by
ccbc_public_application_merge_updated_by_foreign_key Performance Asc updated_by

Relationships