Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
id | int4 | 10 | √ | null |
|
|
The unique id of the form data |
||||
json_data | jsonb | 2147483647 | '{}'::jsonb |
|
|
The json form data of the project information form. See schema |
|||||
last_edited_page | varchar | 100 | √ | null |
|
|
Column saving the key of the last edited form page |
||||
form_data_status_type_id | varchar | 1000 | √ | 'pending'::character varying |
|
|
Column referencing the form data status type, defaults to draft |
||||
created_by | int4 | 10 | √ | null |
|
|
created by user id |
||||
created_at | timestamptz | 35,6 | now() |
|
|
created at timestamp |
|||||
updated_by | int4 | 10 | √ | null |
|
|
updated by user id |
||||
updated_at | timestamptz | 35,6 | now() |
|
|
updated at timestamp |
|||||
archived_by | int4 | 10 | √ | null |
|
|
archived by user id |
||||
archived_at | timestamptz | 35,6 | √ | null |
|
|
archived at timestamp |
||||
form_schema_id | int4 | 10 | √ | null |
|
|
Schema for the respective form_data |
||||
reason_for_change | varchar | 1000 | √ | null |
|
|
Column to track analysts reason for changing form data |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
form_data_pkey | Primary key | Asc | id |
ccbc_public_form_data_archived_by_foreign_key | Performance | Asc | archived_by |
ccbc_public_form_data_created_by_foreign_key | Performance | Asc | created_by |
ccbc_public_form_data_updated_by_foreign_key | Performance | Asc | updated_by |