diff --git a/schemaspy/ccbc_public/columns.html b/schemaspy/ccbc_public/columns.html index f805f0e68c..d480e480f5 100644 --- a/schemaspy/ccbc_public/columns.html +++ b/schemaspy/ccbc_public/columns.html @@ -114,71 +114,71 @@

Columns

"tableName": "application_project_type", "tableFileName": "application_project_type", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { "tableName": "sow_tab_8", "tableFileName": "sow_tab_8", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>sow_id", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "json_data", + "type": "jsonb", + "length": 2147483647, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

ID of the SoW<\/p>" + "defaultValue": "'{}'::jsonb", + "comments": "

The data imported from the Excel filled by the respondent. See schema<\/a><\/p>" }, { "tableName": "intake", "tableFileName": "intake", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { "tableName": "reporting_gcpe", "tableFileName": "reporting_gcpe", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

updated by user id<\/p>" - }, - { - "tableName": "application_milestone_excel_data", - "tableFileName": "application_milestone_excel_data", - "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", + "name": "updated_at", "type": "timestamptz", "length": 35, - "nullable": "√", + "nullable": "", "autoUpdated": "", + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" + }, + { + "tableName": "communities_source_data", + "tableFileName": "communities_source_data", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

Unique ID for the row<\/p>" }, { "tableName": "communities_source_data", @@ -186,41 +186,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "bc_geographic_name", + "name": "geographic_type", "type": "varchar", "length": 1000, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The Geographic Name<\/p>" + "comments": "

The type of the geograhic region<\/p>" }, { "tableName": "cbc_project", "tableFileName": "cbc_project", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "sharepoint_timestamp", - "type": "timestamptz", - "length": 35, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp of the last time the data was updated from sharepoint<\/p>" + "comments": "

created by user id<\/p>" }, { "tableName": "application_analyst_lead", "tableFileName": "application_analyst_lead", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "defaultValue": "null", + "comments": "

archived by user id<\/p>" }, { "tableName": "email_record", @@ -228,13 +228,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "body", + "name": "message_id", "type": "varchar", - "length": 10000, + "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Body of the email<\/p>" + "comments": "

Message ID of the email returned by the email server<\/p>" }, { "tableName": "analyst", @@ -242,32 +242,18 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "name": "active", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "defaultValue": "true", + "comments": "

Boolean column indicating whether the analyst is active or not.<\/p>" }, { "tableName": "application_milestone_excel_data", "tableFileName": "application_milestone_excel_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

updated by user id<\/p>" - }, - { - "tableName": "application", - "tableFileName": "application", - "tableType": "Table", "keyClass": "", "keyTitle": "", "name": "updated_at", @@ -278,66 +264,66 @@

Columns

"defaultValue": "now()", "comments": "

updated at timestamp<\/p>" }, + { + "tableName": "application", + "tableFileName": "application", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

archived by user id<\/p>" + }, { "tableName": "conditional_approval_data", "tableFileName": "conditional_approval_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

updated by user id<\/p>" }, { "tableName": "sow_tab_1", "tableFileName": "sow_tab_1", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

updated by user id<\/p>" }, { "tableName": "application_status_type", "tableFileName": "application_status_type", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "visible_by_applicant", - "type": "bool", - "length": 1, - "nullable": "√", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>status_order", + "type": "int4", + "length": 10, + "nullable": "", "autoUpdated": "", - "defaultValue": "true", - "comments": "

Boolean column used to differentiate internal/external status by indicating whether the status is visible to the applicant or not.<\/p>" + "defaultValue": "null", + "comments": "

The logical order in which the status should be displayed.<\/p>" }, { "tableName": "sow_tab_7", "tableFileName": "sow_tab_7", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

The data imported from the Excel filled by the respondent. See schema<\/a><\/p>" - }, - { - "tableName": "analyst", - "tableFileName": "analyst", - "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", "name": "<\/i>created_by", @@ -354,55 +340,69 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email", - "type": "varchar", - "length": 100, - "nullable": "√", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" + }, + { + "tableName": "cbc_project_communities", + "tableFileName": "cbc_project_communities", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

Analyst’s email address<\/p>" + "comments": "

Unique ID for the row<\/p>" }, { "tableName": "notification", "tableFileName": "notification", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { "tableName": "cbc_project_communities", "tableFileName": "cbc_project_communities", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { "tableName": "assessment_data", "tableFileName": "assessment_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { "tableName": "history_item", @@ -410,27 +410,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "item", + "name": "family_name", "type": "varchar", "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Main object affected by the operation (i.e. status, or file name or RFI type).<\/p>" + "comments": "

First Name of the user who performed the operation.<\/p>" }, { "tableName": "sow_tab_8", "tableFileName": "sow_tab_8", "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

archived at timestamp<\/p>" + }, + { + "tableName": "analyst", + "tableFileName": "analyst", + "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", + "name": "<\/i>created_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

created by user id<\/p>" }, { "tableName": "analyst", @@ -438,17 +452,45 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "family_name", + "name": "given_name", "type": "varchar", "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Analyst’s last name<\/p>" + "comments": "

Analyst’s first name<\/p>" }, { - "tableName": "analyst", - "tableFileName": "analyst", + "tableName": "communities_source_data", + "tableFileName": "communities_source_data", + "tableType": "Table", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>geographic_name_id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The unique Geographic Name Id<\/p>" + }, + { + "tableName": "ccbc_user", + "tableFileName": "ccbc_user", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

updated by user id<\/p>" + }, + { + "tableName": "sow_tab_7", + "tableFileName": "sow_tab_7", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", @@ -458,11 +500,39 @@

Columns

"nullable": "", "autoUpdated": "√", "defaultValue": "null", - "comments": "

Unique ID for the analyst<\/p>" + "comments": "" }, { - "tableName": "communities_source_data", - "tableFileName": "communities_source_data", + "tableName": "application_analyst_lead", + "tableFileName": "application_analyst_lead", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>analyst_id", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

ID of the analyst this analyst lead belongs to<\/p>" + }, + { + "tableName": "application_form_template_9_data", + "tableFileName": "application_form_template_9_data", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

archived at timestamp<\/p>" + }, + { + "tableName": "application", + "tableFileName": "application", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", @@ -472,123 +542,137 @@

Columns

"nullable": "", "autoUpdated": "√", "defaultValue": "null", - "comments": "

Unique ID for the row<\/p>" + "comments": "

Primary key ID for the application<\/p>" }, { - "tableName": "ccbc_user", - "tableFileName": "ccbc_user", + "tableName": "announcement", + "tableFileName": "announcement", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

created by user id<\/p>" + }, + { + "tableName": "application_claims_excel_data", + "tableFileName": "application_claims_excel_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", + "name": "updated_at", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "comments": "

updated at timestamp<\/p>" }, { - "tableName": "form_type", - "tableFileName": "form_type", + "tableName": "application_er", + "tableFileName": "application_er", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", + "name": "ccbc_number", "type": "varchar", - "length": 1000, + "length": 255, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Description of the type of form<\/p>" + "comments": "" }, { - "tableName": "application_analyst_lead", - "tableFileName": "application_analyst_lead", + "tableName": "history_item", + "tableFileName": "history_item", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>application_id", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "external_analyst", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

ID of the application this analyst lead belongs to<\/p>" + "comments": "

User is an external analyst<\/p>" }, { - "tableName": "application_form_template_9_data", - "tableFileName": "application_form_template_9_data", + "tableName": "cbc_data_change_reason", + "tableFileName": "cbc_data_change_reason", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", + "name": "<\/i>updated_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

updated by user id<\/p>" }, { - "tableName": "cbc", - "tableFileName": "cbc", + "tableName": "conditional_approval_data", + "tableFileName": "conditional_approval_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

The foreign key of an application<\/p>" }, { - "tableName": "announcement", - "tableFileName": "announcement", + "tableName": "history_item", + "tableFileName": "history_item", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "json_data", + "name": "record", "type": "jsonb", "length": 2147483647, - "nullable": "", + "nullable": "√", "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

The json form data of the announcement form. See schema<\/a><\/p>" + "defaultValue": "null", + "comments": "

New record in Json format.<\/p>" }, { - "tableName": "application_claims_excel_data", - "tableFileName": "application_claims_excel_data", + "tableName": "cbc_data", + "tableFileName": "cbc_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "name": "<\/i>archived_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

archived by user id<\/p>" }, { - "tableName": "history_item", - "tableFileName": "history_item", + "tableName": "application_gis_assessment_hh", + "tableFileName": "application_gis_assessment_hh", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "session_sub", - "type": "varchar", - "length": 2147483647, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Session sub of the user who performed the operation.<\/p>" + "comments": "

created by user id<\/p>" }, { - "tableName": "cbc_data_change_reason", - "tableFileName": "cbc_data_change_reason", + "tableName": "rfi_data", + "tableFileName": "rfi_data", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -600,37 +684,23 @@

Columns

"defaultValue": "now()", "comments": "

created at timestamp<\/p>" }, - { - "tableName": "conditional_approval_data", - "tableFileName": "conditional_approval_data", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "null", - "comments": "

Unique id for the row<\/p>" - }, { "tableName": "history_item", "tableFileName": "history_item", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "record_id", - "type": "uuid", + "name": "given_name", + "type": "varchar", "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Identifier that uniquely identifies a record by primary key primary key + table_oid<\/a>.<\/p>" + "comments": "

Last Name of the user who performed the operation.<\/p>" }, { - "tableName": "cbc_data", - "tableFileName": "cbc_data", + "tableName": "application_gis_assessment_hh", + "tableFileName": "application_gis_assessment_hh", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -643,50 +713,64 @@

Columns

"comments": "

updated at timestamp<\/p>" }, { - "tableName": "application_gis_assessment_hh", - "tableFileName": "application_gis_assessment_hh", + "tableName": "cbc_project", + "tableFileName": "cbc_project", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "eligible_indigenous", - "type": "float4", - "length": 8, - "nullable": "√", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The number of eligible indigenous households<\/p>" + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" }, { - "tableName": "rfi_data", - "tableFileName": "rfi_data", + "tableName": "application_rd", + "tableFileName": "application_rd", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", + "keyClass": "", + "keyTitle": "", + "name": "application_id", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "" }, { - "tableName": "history_item", - "tableFileName": "history_item", + "tableName": "application_milestone_excel_data", + "tableFileName": "application_milestone_excel_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "family_name", - "type": "varchar", - "length": 2147483647, + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

First Name of the user who performed the operation.<\/p>" + "comments": "

archived at timestamp<\/p>" }, { - "tableName": "application_gis_assessment_hh", - "tableFileName": "application_gis_assessment_hh", + "tableName": "ccbc_user", + "tableFileName": "ccbc_user", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

archived by user id<\/p>" + }, + { + "tableName": "assessment_data", + "tableFileName": "assessment_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -713,8 +797,8 @@

Columns

"comments": "

updated by user id<\/p>" }, { - "tableName": "application_milestone_excel_data", - "tableFileName": "application_milestone_excel_data", + "tableName": "rfi_data", + "tableFileName": "rfi_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -727,50 +811,50 @@

Columns

"comments": "

archived by user id<\/p>" }, { - "tableName": "ccbc_user", - "tableFileName": "ccbc_user", + "tableName": "application_package", + "tableFileName": "application_package", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "updated_at", + "name": "created_at", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "comments": "

created at timestamp<\/p>" }, { - "tableName": "assessment_data", - "tableFileName": "assessment_data", + "tableName": "form_data", + "tableFileName": "form_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, + "name": "json_data", + "type": "jsonb", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "'{}'::jsonb", + "comments": "

The json form data of the project information form. See schema<\/a><\/p>" }, { - "tableName": "cbc_project", - "tableFileName": "cbc_project", + "tableName": "application", + "tableFileName": "application", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", + "name": "updated_at", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "comments": "

updated at timestamp<\/p>" }, { - "tableName": "rfi_data", - "tableFileName": "rfi_data", + "tableName": "sow_tab_8", + "tableFileName": "sow_tab_8", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -783,22 +867,22 @@

Columns

"comments": "

updated at timestamp<\/p>" }, { - "tableName": "application_package", - "tableFileName": "application_package", + "tableName": "cbc_data", + "tableFileName": "cbc_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { - "tableName": "form_data", - "tableFileName": "form_data", + "tableName": "email_record", + "tableFileName": "email_record", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", @@ -808,53 +892,25 @@

Columns

"nullable": "", "autoUpdated": "√", "defaultValue": "null", - "comments": "

The unique id of the form data<\/p>" - }, - { - "tableName": "application", - "tableFileName": "application", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

updated by user id<\/p>" - }, - { - "tableName": "sow_tab_8", - "tableFileName": "sow_tab_8", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

Unique ID for each email sent<\/p>" }, { - "tableName": "cbc_data", - "tableFileName": "cbc_data", + "tableName": "cbc_data_change_reason", + "tableFileName": "cbc_data_change_reason", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "description", + "type": "text", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "

The reason for the change to the cbc_data<\/p>" }, { - "tableName": "project_information_data", - "tableFileName": "project_information_data", + "tableName": "application_gis_assessment_hh", + "tableFileName": "application_gis_assessment_hh", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -867,22 +923,8 @@

Columns

"comments": "

archived at timestamp<\/p>" }, { - "tableName": "cbc_data_change_reason", - "tableFileName": "cbc_data_change_reason", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>cbc_data_id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

ID of the cbc_data this cbc_data_change_reason belongs to<\/p>" - }, - { - "tableName": "application_gis_assessment_hh", - "tableFileName": "application_gis_assessment_hh", + "tableName": "application_internal_description", + "tableFileName": "application_internal_description", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -895,8 +937,8 @@

Columns

"comments": "

archived by user id<\/p>" }, { - "tableName": "application_internal_description", - "tableFileName": "application_internal_description", + "tableName": "ccbc_user", + "tableFileName": "ccbc_user", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -908,61 +950,47 @@

Columns

"defaultValue": "now()", "comments": "

updated at timestamp<\/p>" }, - { - "tableName": "ccbc_user", - "tableFileName": "ccbc_user", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

updated by user id<\/p>" - }, { "tableName": "communities_source_data", "tableFileName": "communities_source_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { "tableName": "application_announced", "tableFileName": "application_announced", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for the application_announced<\/p>" + "comments": "

ID of the application this record belongs to<\/p>" }, { "tableName": "announcement", "tableFileName": "announcement", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "√", + "keyClass": "", + "keyTitle": "", + "name": "ccbc_numbers", + "type": "varchar", + "length": 2147483647, + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique id of the announcement data<\/p>" + "comments": "

List of CCBC number of the projects included in announcement<\/p>" }, { "tableName": "application_claims_data", @@ -970,13 +998,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "name": "history_operation", + "type": "varchar", + "length": 1000, "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "defaultValue": "'created'::character varying", + "comments": "

Column to track if record was created, updated or deleted for history<\/p>" }, { "tableName": "change_request_data", @@ -984,83 +1012,83 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "name": "amendment_number", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "" }, { "tableName": "gapless_counter", "tableFileName": "gapless_counter", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "", + "keyTitle": "", + "name": "counter", "type": "int4", "length": 10, "nullable": "", - "autoUpdated": "√", - "defaultValue": "null", + "autoUpdated": "", + "defaultValue": "0", "comments": "

Primary key for the gapless counter<\/p>" }, { "tableName": "application_community_progress_report_data", "tableFileName": "application_community_progress__3b268028", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "defaultValue": "null", + "comments": "

archived by user id<\/p>" }, { "tableName": "sow_tab_2", "tableFileName": "sow_tab_2", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>sow_id", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for the SoW detailed budget record<\/p>" + "comments": "

ID of the SoW<\/p>" }, { "tableName": "ccbc_user", "tableFileName": "ccbc_user", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "email_address", - "type": "varchar", - "length": 1000, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

User’s email address<\/p>" + "comments": "

created by user id<\/p>" }, { "tableName": "notification", "tableFileName": "notification", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

updated by user id<\/p>" }, { "tableName": "application_announcement", @@ -1068,13 +1096,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "name": "is_primary", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "defaultValue": "false", + "comments": "

Flag to identify either announcement is primary or secondary<\/p>" }, { "tableName": "form", @@ -1082,55 +1110,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "json_schema", - "type": "jsonb", - "length": 2147483647, - "nullable": "", + "name": "description", + "type": "varchar", + "length": 1000, + "nullable": "√", "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

The JSON schema for the respective form<\/p>" + "defaultValue": "null", + "comments": "

Description of the form<\/p>" }, { "tableName": "cbc_data_change_reason", "tableFileName": "cbc_data_change_reason", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "description", - "type": "text", - "length": 2147483647, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The reason for the change to the cbc_data<\/p>" + "comments": "

created by user id<\/p>" }, { "tableName": "attachment", "tableFileName": "attachment", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { "tableName": "ccbc_user", "tableFileName": "ccbc_user", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "√", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>session_sub", + "type": "varchar", + "length": 1000, + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for the user<\/p>" + "comments": "

Universally Unique ID for the user, defined by the single sign-on provider<\/p>" }, { "tableName": "rfi_data", @@ -1138,41 +1166,83 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>rfi_data_status_type_id", - "type": "varchar", - "length": 1000, + "name": "<\/i>created_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", - "defaultValue": "'draft'::character varying", - "comments": "

Column referencing the form data status type, defaults to draft<\/p>" + "defaultValue": "null", + "comments": "

created by user id<\/p>" }, { "tableName": "cbc_project_communities", "tableFileName": "cbc_project_communities", "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

updated by user id<\/p>" + }, + { + "tableName": "application_community_progress_report_data", + "tableFileName": "application_community_progress__3b268028", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, + "name": "json_data", + "type": "jsonb", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "'{}'::jsonb", + "comments": "

The due date, date received and the file information of the Community Progress Report Excel file<\/p>" }, { - "tableName": "application_community_progress_report_data", - "tableFileName": "application_community_progress__3b268028", + "tableName": "application_milestone_excel_data", + "tableFileName": "application_milestone_excel_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>application_id", + "name": "<\/i>created_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

ID of the application this Community Progress Report belongs to<\/p>" + "comments": "

created by user id<\/p>" + }, + { + "tableName": "application_internal_description", + "tableFileName": "application_internal_description", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "null", + "comments": "

Unique id for the row<\/p>" + }, + { + "tableName": "sow_tab_8", + "tableFileName": "sow_tab_8", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

updated by user id<\/p>" }, { "tableName": "application_milestone_excel_data", @@ -1189,22 +1259,8 @@

Columns

"comments": "

The data imported from the excel filled by the respondent<\/p>" }, { - "tableName": "communities_source_data", - "tableFileName": "communities_source_data", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" - }, - { - "tableName": "sow_tab_8", - "tableFileName": "sow_tab_8", + "tableName": "notification", + "tableFileName": "notification", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -1216,20 +1272,6 @@

Columns

"defaultValue": "now()", "comments": "

created at timestamp<\/p>" }, - { - "tableName": "application_milestone_excel_data", - "tableFileName": "application_milestone_excel_data", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>application_id", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

ID of the application this data belongs to<\/p>" - }, { "tableName": "notification", "tableFileName": "notification", @@ -1245,74 +1287,46 @@

Columns

"comments": "

created by user id<\/p>" }, { - "tableName": "notification", - "tableFileName": "notification", + "tableName": "application_pending_change_request", + "tableFileName": "application_pending_change_request", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>email_record_id", + "name": "<\/i>archived_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Column referencing the email record<\/p>" + "comments": "

archived by user id<\/p>" }, { - "tableName": "form_data", - "tableFileName": "form_data", + "tableName": "application_status_type", + "tableFileName": "application_status_type", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "reason_for_change", - "type": "varchar", - "length": 1000, + "name": "visible_by_analyst", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

Column to track analysts reason for changing form data<\/p>" + "defaultValue": "true", + "comments": "

Boolean column used to differentiate internal/external status by indicating whether the status is visible to the analyst or not.<\/p>" }, { - "tableName": "application_pending_change_request", - "tableFileName": "application_pending_change_request", + "tableName": "change_request_data", + "tableFileName": "change_request_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", - "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" - }, - { - "tableName": "application_status_type", - "tableFileName": "application_status_type", - "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>status_order", - "type": "int4", - "length": 10, + "name": "json_data", + "type": "jsonb", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The logical order in which the status should be displayed.<\/p>" - }, - { - "tableName": "change_request_data", - "tableFileName": "change_request_data", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>application_id", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The foreign key of an application<\/p>" + "defaultValue": "'{}'::jsonb", + "comments": "

The json form data of the change request form<\/p>" }, { "tableName": "history_item", @@ -1320,13 +1334,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "record", + "name": "old_record", "type": "jsonb", "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

New record in Json format.<\/p>" + "comments": "

Old record in Json format.<\/p>" }, { "tableName": "cbc_project", @@ -1334,88 +1348,60 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, - "nullable": "", + "name": "sharepoint_timestamp", + "type": "timestamptz", + "length": 35, + "nullable": "√", "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

The data imported from the excel for that cbc project<\/p>" + "defaultValue": "null", + "comments": "

The timestamp of the last time the data was updated from sharepoint<\/p>" }, { "tableName": "application_analyst_lead", "tableFileName": "application_analyst_lead", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" }, { "tableName": "form", "tableFileName": "form", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "description", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>form_type", "type": "varchar", "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Description of the form<\/p>" + "comments": "

The type of form being stored<\/p>" }, { "tableName": "cbc_application_pending_change_request", "tableFileName": "cbc_application_pending_change_request", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

updated by user id<\/p>" }, { "tableName": "record_version", "tableFileName": "record_version", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "table_name", - "type": "name", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The name of the table the record is associated with<\/p>" - }, - { - "tableName": "email_record", - "tableFileName": "email_record", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", - "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" - }, - { - "tableName": "email_record", - "tableFileName": "email_record", - "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", "name": "<\/i>created_by", @@ -1424,11 +1410,11 @@

Columns

"nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "

The user that created the record<\/p>" }, { - "tableName": "analyst", - "tableFileName": "analyst", + "tableName": "email_record", + "tableFileName": "email_record", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -1441,8 +1427,8 @@

Columns

"comments": "

archived by user id<\/p>" }, { - "tableName": "application_internal_description", - "tableFileName": "application_internal_description", + "tableName": "email_record", + "tableFileName": "email_record", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -1455,36 +1441,8 @@

Columns

"comments": "

created at timestamp<\/p>" }, { - "tableName": "form_data_status_type", - "tableFileName": "form_data_status_type", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>name", - "type": "varchar", - "length": 1000, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The name of the status type<\/p>" - }, - { - "tableName": "assessment_type", - "tableFileName": "assessment_type", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>name", - "type": "varchar", - "length": 1000, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Name of and primary key of the type of an assessment<\/p>" - }, - { - "tableName": "reporting_gcpe", - "tableFileName": "reporting_gcpe", + "tableName": "analyst", + "tableFileName": "analyst", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -1497,8 +1455,8 @@

Columns

"comments": "

archived at timestamp<\/p>" }, { - "tableName": "application_package", - "tableFileName": "application_package", + "tableName": "application_internal_description", + "tableFileName": "application_internal_description", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -1511,36 +1469,50 @@

Columns

"comments": "

updated by user id<\/p>" }, { - "tableName": "gis_data", - "tableFileName": "gis_data", + "tableName": "form_data_status_type", + "tableFileName": "form_data_status_type", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "description", + "type": "varchar", + "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "

The description of the status type<\/p>" }, { - "tableName": "cbc_application_pending_change_request", - "tableFileName": "cbc_application_pending_change_request", + "tableName": "assessment_type", + "tableFileName": "assessment_type", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>cbc_id", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "description", + "type": "varchar", + "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

ID of the cbc application this cbc_application_pending_change_request belongs to<\/p>" + "comments": "

Description of the assessment type<\/p>" }, { - "tableName": "form_data", - "tableFileName": "form_data", + "tableName": "announcement", + "tableFileName": "announcement", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "null", + "comments": "

The unique id of the announcement data<\/p>" + }, + { + "tableName": "application_package", + "tableFileName": "application_package", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -1553,88 +1525,130 @@

Columns

"comments": "

updated at timestamp<\/p>" }, { - "tableName": "application_announcement", - "tableFileName": "application_announcement", + "tableName": "gis_data", + "tableFileName": "gis_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { - "tableName": "application_gis_data", - "tableFileName": "application_gis_data", + "tableName": "cbc_application_pending_change_request", + "tableFileName": "cbc_application_pending_change_request", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "is_pending", + "type": "bool", + "length": 1, + "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "defaultValue": "false", + "comments": "

Column defining if the change request pending or not<\/p>" }, { - "tableName": "application_announced", - "tableFileName": "application_announced", + "tableName": "form_data", + "tableFileName": "form_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "name": "<\/i>archived_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

archived by user id<\/p>" }, { - "tableName": "application_community_progress_report_data", - "tableFileName": "application_community_progress__3b268028", + "tableName": "application_announcement", + "tableFileName": "application_announcement", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, "nullable": "", - "autoUpdated": "√", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" + }, + { + "tableName": "application_gis_data", + "tableFileName": "application_gis_data", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for the Community Progress Report<\/p>" + "comments": "

archived at timestamp<\/p>" }, { - "tableName": "application_internal_description", - "tableFileName": "application_internal_description", + "tableName": "application_announced", + "tableFileName": "application_announced", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" + }, + { + "tableName": "application_community_progress_report_data", + "tableFileName": "application_community_progress__3b268028", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "name": "<\/i>application_id", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

ID of the application this Community Progress Report belongs to<\/p>" }, { - "tableName": "sow_tab_8", - "tableFileName": "sow_tab_8", + "tableName": "application_internal_description", + "tableFileName": "application_internal_description", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", + "name": "updated_at", "type": "timestamptz", "length": 35, - "nullable": "√", + "nullable": "", "autoUpdated": "", + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" + }, + { + "tableName": "application_claims_data", + "tableFileName": "application_claims_data", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

Unique id for the claims<\/p>" }, { "tableName": "attachment", @@ -1642,55 +1656,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "file_type", + "name": "file_size", "type": "varchar", "length": 100, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Original uploaded file type<\/p>" + "comments": "

Original uploaded file size<\/p>" }, { "tableName": "cbc_data", "tableFileName": "cbc_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

updated by user id<\/p>" }, { "tableName": "project_information_data", "tableFileName": "project_information_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "defaultValue": "null", + "comments": "

archived by user id<\/p>" }, { "tableName": "form_data", "tableFileName": "form_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "last_edited_page", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>form_data_status_type_id", "type": "varchar", - "length": 100, + "length": 1000, "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

Column saving the key of the last edited form page<\/p>" + "defaultValue": "'pending'::character varying", + "comments": "

Column referencing the form data status type, defaults to draft<\/p>" }, { "tableName": "communities_source_data", @@ -1698,41 +1712,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "latitude", + "name": "longitude", "type": "float8", "length": 17, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The latitude value of the geograhic region<\/p>" + "comments": "

The longitude value of the geograhic region<\/p>" }, { "tableName": "application_announced", "tableFileName": "application_announced", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>application_id", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "announced", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

ID of the application this record belongs to<\/p>" + "defaultValue": "false", + "comments": "

Whether the application has been announced by BC or ISED<\/p>" }, { "tableName": "application_announcement", "tableFileName": "application_announcement", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" }, { "tableName": "record_version", @@ -1740,45 +1754,59 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "record", + "name": "old_record", "type": "jsonb", "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The record in JSON format<\/p>" + "comments": "

The previous version of the record in JSON format<\/p>" }, { "tableName": "sow_tab_2", "tableFileName": "sow_tab_2", "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "json_data", + "type": "jsonb", + "length": 2147483647, + "nullable": "", + "autoUpdated": "", + "defaultValue": "'{}'::jsonb", + "comments": "

The data imported from the Excel filled by the respondent. See schema<\/a><\/p>" + }, + { + "tableName": "intake", + "tableFileName": "intake", + "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>sow_id", + "name": "<\/i>archived_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

ID of the SoW<\/p>" + "comments": "

archived by user id<\/p>" }, { - "tableName": "intake", - "tableFileName": "intake", + "tableName": "attachment", + "tableFileName": "attachment", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "updated_at", + "name": "created_at", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "comments": "

created at timestamp<\/p>" }, { - "tableName": "attachment", - "tableFileName": "attachment", + "tableName": "cbc", + "tableFileName": "cbc", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -1790,51 +1818,23 @@

Columns

"defaultValue": "null", "comments": "

created by user id<\/p>" }, - { - "tableName": "cbc", - "tableFileName": "cbc", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "sharepoint_timestamp", - "type": "timestamptz", - "length": 35, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The timestamp of the last time the data was updated from sharepoint<\/p>" - }, - { - "tableName": "application_internal_description", - "tableFileName": "application_internal_description", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "null", - "comments": "

Unique id for the row<\/p>" - }, { "tableName": "application_internal_description", "tableFileName": "application_internal_description", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>created_by", + "name": "<\/i>application_id", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "

Id of the application the description belongs to<\/p>" }, { - "tableName": "application_form_template_9_data", - "tableFileName": "application_form_template_9_data", + "tableName": "application_internal_description", + "tableFileName": "application_internal_description", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -1847,32 +1847,46 @@

Columns

"comments": "

created at timestamp<\/p>" }, { - "tableName": "history_item", - "tableFileName": "history_item", + "tableName": "application_form_template_9_data", + "tableFileName": "application_form_template_9_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "old_record", - "type": "jsonb", - "length": 2147483647, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Old record in Json format.<\/p>" + "comments": "

updated by user id<\/p>" }, { - "tableName": "record_version", - "tableFileName": "record_version", + "tableName": "history_item", + "tableFileName": "history_item", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "op", - "type": "\"audit\".\"operation\"", + "name": "item", + "type": "varchar", "length": 2147483647, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed on the record (created, updated, deleted)<\/p>" + "comments": "

Main object affected by the operation (i.e. status, or file name or RFI type).<\/p>" + }, + { + "tableName": "record_version", + "tableFileName": "record_version", + "tableType": "Table", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>ts", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

The timestamp of the history record<\/p>" }, { "tableName": "communities_source_data", @@ -1880,13 +1894,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "geographic_type", + "name": "regional_district", "type": "varchar", "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The type of the geograhic region<\/p>" + "comments": "

The regional district of the geograhic region<\/p>" }, { "tableName": "intake", @@ -1894,125 +1908,125 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "text", - "length": 2147483647, + "name": "hidden", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A description of the intake<\/p>" + "defaultValue": "false", + "comments": "

A column to denote whether the intake is visible to the public<\/p>" }, { "tableName": "application", "tableFileName": "application", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

updated by user id<\/p>" }, { "tableName": "application_community_progress_report_data", "tableFileName": "application_community_progress__3b268028", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { "tableName": "application_claims_excel_data", "tableFileName": "application_claims_excel_data", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for the claims excel data<\/p>" + "comments": "

ID of the application this data belongs to<\/p>" }, { "tableName": "application_package", "tableFileName": "application_package", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { "tableName": "form_data", "tableFileName": "form_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

updated by user id<\/p>" }, { "tableName": "record_version", "tableFileName": "record_version", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>old_record_id", - "type": "uuid", + "keyClass": "", + "keyTitle": "", + "name": "op", + "type": "\"audit\".\"operation\"", "length": 2147483647, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the previous version of the record the history record is associated with<\/p>" + "comments": "

The operation performed on the record (created, updated, deleted)<\/p>" }, { "tableName": "notification", "tableFileName": "notification", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>email_record_id", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

Additional data for the notification<\/p>" + "defaultValue": "null", + "comments": "

Column referencing the email record<\/p>" }, { "tableName": "application_community_report_excel_data", "tableFileName": "application_community_report_excel_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

The data imported from the excel filled by the respondent<\/p>" + "defaultValue": "null", + "comments": "

created by user id<\/p>" }, { "tableName": "cbc_project_communities", @@ -2020,13 +2034,13 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>cbc_id", + "name": "<\/i>communities_source_data_id", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The cbc id of the record<\/p>" + "comments": "

The reference to the communities source data id<\/p>" }, { "tableName": "communities_source_data", @@ -2034,41 +2048,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "economic_region", - "type": "varchar", - "length": 1000, + "name": "latitude", + "type": "float8", + "length": 17, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The economic region of the geograhic region<\/p>" + "comments": "

The latitude value of the geograhic region<\/p>" }, { "tableName": "application_internal_description", "tableFileName": "application_internal_description", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { "tableName": "notification", "tableFileName": "notification", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "notification_type", - "type": "varchar", - "length": 1000, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Type of the notification<\/p>" + "comments": "

ID of the application this notification belongs to<\/p>" }, { "tableName": "application_community_progress_report_data", @@ -2076,25 +2090,25 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "name": "excel_data_id", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

The id of the excel data that this record is associated with<\/p>" }, { "tableName": "assessment_data", "tableFileName": "assessment_data", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", "type": "int4", "length": 10, "nullable": "", - "autoUpdated": "√", + "autoUpdated": "", "defaultValue": "null", "comments": "" }, @@ -2102,85 +2116,85 @@

Columns

"tableName": "reporting_gcpe", "tableFileName": "reporting_gcpe", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" + }, + { + "tableName": "application_community_report_excel_data", + "tableFileName": "application_community_report_excel_data", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", "type": "int4", "length": 10, - "nullable": "√", - "autoUpdated": "", + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "

Unique ID for the Community Report excel data<\/p>" }, { - "tableName": "conditional_approval_data", - "tableFileName": "conditional_approval_data", + "tableName": "application_milestone_data", + "tableFileName": "application_milestone_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "name": "excel_data_id", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

The id of the excel data that this record is associated with<\/p>" }, { - "tableName": "application_milestone_data", - "tableFileName": "application_milestone_data", + "tableName": "ccbc_user", + "tableFileName": "ccbc_user", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

The milestone form json data<\/p>" - }, - { - "tableName": "ccbc_user", - "tableFileName": "ccbc_user", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "family_name", + "name": "email_address", "type": "varchar", "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

User’s last name<\/p>" + "comments": "

User’s email address<\/p>" }, { - "tableName": "email_record", - "tableFileName": "email_record", + "tableName": "assessment_data", + "tableFileName": "assessment_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, - "nullable": "√", - "autoUpdated": "", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "" }, { "tableName": "application_sow_data", "tableFileName": "application_sow_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

created by user id<\/p>" }, { "tableName": "application", @@ -2188,13 +2202,13 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>intake_id", + "name": "<\/i>created_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The intake associated with the application, set when it is submitted<\/p>" + "comments": "

created by user id<\/p>" }, { "tableName": "attachment", @@ -2202,60 +2216,32 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>application_id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the project (ccbc_public.application.id) that the attachment was uploaded to<\/p>" - }, - { - "tableName": "application_er", - "tableFileName": "application_er", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "application_id", + "name": "<\/i>application_status_id", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The id of the application_status (ccbc_public.application_status.id) that the attachment references<\/p>" }, { "tableName": "cbc_data", "tableFileName": "cbc_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>project_number", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "json_data", + "type": "jsonb", + "length": 2147483647, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

Column containing the project number the cbc application is from<\/p>" + "defaultValue": "'{}'::jsonb", + "comments": "" }, { "tableName": "project_information_data", "tableFileName": "project_information_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" - }, - { - "tableName": "rfi_data", - "tableFileName": "rfi_data", - "tableType": "Table", "keyClass": "", "keyTitle": "", "name": "created_at", @@ -2266,89 +2252,103 @@

Columns

"defaultValue": "now()", "comments": "

created at timestamp<\/p>" }, + { + "tableName": "rfi_data", + "tableFileName": "rfi_data", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

updated by user id<\/p>" + }, { "tableName": "conditional_approval_data", "tableFileName": "conditional_approval_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "defaultValue": "null", + "comments": "

archived by user id<\/p>" }, { "tableName": "reporting_gcpe", "tableFileName": "reporting_gcpe", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "defaultValue": "null", + "comments": "

archived by user id<\/p>" }, { "tableName": "application_announced", "tableFileName": "application_announced", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "announced", - "type": "bool", - "length": 1, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", - "defaultValue": "false", - "comments": "

Whether the application has been announced by BC or ISED<\/p>" + "defaultValue": "null", + "comments": "

created by user id<\/p>" }, { "tableName": "record_version", "tableFileName": "record_version", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>table_oid", - "type": "oid", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "table_schema", + "type": "name", + "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The oid of the table the record is associated with<\/p>" + "comments": "

The schema of the table the record is associated with<\/p>" }, { "tableName": "application_status_type", "tableFileName": "application_status_type", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>name", + "keyClass": "", + "keyTitle": "", + "name": "description", "type": "varchar", "length": 1000, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Name of and primary key of the status of an application<\/p>" + "comments": "

Description of the status type<\/p>" }, { "tableName": "cbc_data_change_reason", "tableFileName": "cbc_data_change_reason", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { "tableName": "email_record", @@ -2356,27 +2356,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "to_email", + "name": "cc_email", "type": "varchar", "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Email Address(es) of the recipients<\/p>" + "comments": "

Email Address(es) of the CC recipients<\/p>" }, { "tableName": "project_information_data", "tableFileName": "project_information_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>application_id", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "json_data", + "type": "jsonb", + "length": 2147483647, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The foreign key of an application<\/p>" + "defaultValue": "'{}'::jsonb", + "comments": "

The json form data of the project information form. See schema<\/a><\/p>" }, { "tableName": "application_gis_data", @@ -2384,7 +2384,7 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>batch_id", + "name": "<\/i>application_id", "type": "int4", "length": 10, "nullable": "√", @@ -2396,43 +2396,43 @@

Columns

"tableName": "application_milestone_data", "tableFileName": "application_milestone_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { "tableName": "cbc_data", "tableFileName": "cbc_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "sharepoint_timestamp", - "type": "timestamptz", - "length": 35, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

created by user id<\/p>" }, { - "tableName": "intake", - "tableFileName": "intake", + "tableName": "application_pending_change_request", + "tableFileName": "application_pending_change_request", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "rolling_intake", - "type": "bool", - "length": 1, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "false", - "comments": "

A column to denote whether the intake is a rolling intake<\/p>" + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "null", + "comments": "

Unique ID for the application_pending_change_request<\/p>" }, { "tableName": "announcement", @@ -2440,83 +2440,83 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "ccbc_numbers", - "type": "varchar", + "name": "json_data", + "type": "jsonb", "length": 2147483647, - "nullable": "√", + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

List of CCBC number of the projects included in announcement<\/p>" + "defaultValue": "'{}'::jsonb", + "comments": "

The json form data of the announcement form. See schema<\/a><\/p>" }, { "tableName": "application_claims_data", "tableFileName": "application_claims_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>application_id", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "json_data", + "type": "jsonb", + "length": 2147483647, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

Id of the application the claims belongs to<\/p>" + "defaultValue": "'{}'::jsonb", + "comments": "

The claims form json data<\/p>" }, { "tableName": "analyst", "tableFileName": "analyst", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" }, { "tableName": "email_record", "tableFileName": "email_record", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" }, { "tableName": "cbc", "tableFileName": "cbc", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { "tableName": "change_request_data", "tableFileName": "change_request_data", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique id for the row<\/p>" + "comments": "

The foreign key of an application<\/p>" }, { "tableName": "email_record", @@ -2524,13 +2524,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "cc_email", + "name": "subject", "type": "varchar", - "length": 1000, + "length": 10000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Email Address(es) of the CC recipients<\/p>" + "comments": "

Subject of the email<\/p>" }, { "tableName": "application_form_template_9_data", @@ -2538,87 +2538,129 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "json_data", + "name": "errors", "type": "jsonb", "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The data imported from the Excel filled by the applicant<\/p>" + "comments": "

Errors related to Template 9 for that application id<\/p>" }, { "tableName": "notification", "tableFileName": "notification", "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "json_data", + "type": "jsonb", + "length": 2147483647, + "nullable": "", + "autoUpdated": "", + "defaultValue": "'{}'::jsonb", + "comments": "

Additional data for the notification<\/p>" + }, + { + "tableName": "application_pending_change_request", + "tableFileName": "application_pending_change_request", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "is_pending", + "type": "bool", + "length": 1, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "false", + "comments": "

Column defining if the change request pending or not<\/p>" + }, + { + "tableName": "cbc_application_pending_change_request", + "tableFileName": "cbc_application_pending_change_request", + "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>application_id", + "name": "<\/i>cbc_id", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

ID of the application this notification belongs to<\/p>" + "comments": "

ID of the cbc application this cbc_application_pending_change_request belongs to<\/p>" }, { - "tableName": "application_pending_change_request", - "tableFileName": "application_pending_change_request", + "tableName": "communities_source_data", + "tableFileName": "communities_source_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>application_id", + "name": "<\/i>archived_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

ID of the application this application_pending_change_request belongs to<\/p>" + "comments": "

archived by user id<\/p>" }, { - "tableName": "cbc_application_pending_change_request", - "tableFileName": "cbc_application_pending_change_request", + "tableName": "application_milestone_data", + "tableFileName": "application_milestone_data", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for the cbc_application_pending_change_request<\/p>" + "comments": "

archived by user id<\/p>" }, { - "tableName": "communities_source_data", - "tableFileName": "communities_source_data", + "tableName": "change_request_data", + "tableFileName": "change_request_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "updated_at", + "name": "created_at", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "comments": "

created at timestamp<\/p>" }, { - "tableName": "application_milestone_data", - "tableFileName": "application_milestone_data", + "tableName": "ccbc_user", + "tableFileName": "ccbc_user", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "name": "given_name", + "type": "varchar", + "length": 1000, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "defaultValue": "null", + "comments": "

User’s first name<\/p>" }, { - "tableName": "change_request_data", - "tableFileName": "change_request_data", + "tableName": "gis_data", + "tableFileName": "gis_data", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "null", + "comments": "

Primary key and unique identifier<\/p>" + }, + { + "tableName": "application_package", + "tableFileName": "application_package", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -2631,64 +2673,64 @@

Columns

"comments": "

created by user id<\/p>" }, { - "tableName": "ccbc_user", - "tableFileName": "ccbc_user", + "tableName": "application_announcement", + "tableFileName": "application_announcement", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>session_sub", - "type": "varchar", - "length": 1000, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Universally Unique ID for the user, defined by the single sign-on provider<\/p>" + "comments": "

updated by user id<\/p>" }, { - "tableName": "application_community_progress_report_data", - "tableFileName": "application_community_progress__3b268028", + "tableName": "form_data", + "tableFileName": "form_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "history_operation", - "type": "varchar", - "length": 1000, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "'created'::character varying", - "comments": "

History operation<\/p>" + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "null", + "comments": "

The unique id of the form data<\/p>" }, { - "tableName": "application_package", - "tableFileName": "application_package", + "tableName": "email_record", + "tableFileName": "email_record", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "package", - "type": "int4", - "length": 10, + "name": "body", + "type": "varchar", + "length": 10000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The package number the application is assigned to<\/p>" + "comments": "

Body of the email<\/p>" }, { - "tableName": "application_announcement", - "tableFileName": "application_announcement", + "tableName": "sow_tab_7", + "tableFileName": "sow_tab_7", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, + "name": "json_data", + "type": "jsonb", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "'{}'::jsonb", + "comments": "

The data imported from the Excel filled by the respondent. See schema<\/a><\/p>" }, { - "tableName": "application_package", - "tableFileName": "application_package", + "tableName": "cbc_application_pending_change_request", + "tableFileName": "cbc_application_pending_change_request", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -2701,134 +2743,120 @@

Columns

"comments": "

archived at timestamp<\/p>" }, { - "tableName": "email_record", - "tableFileName": "email_record", + "tableName": "notification", + "tableFileName": "notification", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "subject", - "type": "varchar", - "length": 10000, - "nullable": "√", - "autoUpdated": "", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

Subject of the email<\/p>" + "comments": "

Unique ID for each notification<\/p>" }, { - "tableName": "sow_tab_7", - "tableFileName": "sow_tab_7", + "tableName": "application_claims_data", + "tableFileName": "application_claims_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>sow_id", + "name": "<\/i>created_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

created by user id<\/p>" }, { - "tableName": "cbc_application_pending_change_request", - "tableFileName": "cbc_application_pending_change_request", + "tableName": "application_project_type", + "tableFileName": "application_project_type", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", + "name": "<\/i>created_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

created by user id<\/p>" }, { - "tableName": "application_claims_data", - "tableFileName": "application_claims_data", + "tableName": "application_sow_data", + "tableFileName": "application_sow_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "history_operation", - "type": "varchar", - "length": 1000, - "nullable": "√", + "name": "json_data", + "type": "jsonb", + "length": 2147483647, + "nullable": "", "autoUpdated": "", - "defaultValue": "'created'::character varying", - "comments": "

Column to track if record was created, updated or deleted for history<\/p>" + "defaultValue": "'{}'::jsonb", + "comments": "

The data imported from the Excel filled by the respondent. See schema<\/a><\/p>" }, { - "tableName": "application_claims_data", - "tableFileName": "application_claims_data", + "tableName": "application_form_template_9_data", + "tableFileName": "application_form_template_9_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "excel_data_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the excel data that this record is associated with<\/p>" + "comments": "

ID of the application this Template 9 Data belongs to<\/p>" }, { - "tableName": "application_project_type", - "tableFileName": "application_project_type", + "tableName": "application_milestone_data", + "tableFileName": "application_milestone_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "project_type", - "type": "varchar", - "length": 20, - "nullable": "√", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

Column containing the project type of the application<\/p>" + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" }, { - "tableName": "application_sow_data", - "tableFileName": "application_sow_data", + "tableName": "gis_data", + "tableFileName": "gis_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>application_id", + "name": "<\/i>archived_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

ID of the application this SoW belongs to<\/p>" - }, - { - "tableName": "application_form_template_9_data", - "tableFileName": "application_form_template_9_data", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "null", - "comments": "

Unique ID for the Template 9 Data<\/p>" + "comments": "

archived by user id<\/p>" }, { - "tableName": "form_data_status_type", - "tableFileName": "form_data_status_type", + "tableName": "form", + "tableFileName": "form", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "description", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>slug", "type": "varchar", "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The description of the status type<\/p>" + "comments": "

The end url for the form data<\/p>" }, { - "tableName": "application_milestone_data", - "tableFileName": "application_milestone_data", + "tableName": "application_sow_data", + "tableFileName": "application_sow_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -2841,74 +2869,46 @@

Columns

"comments": "

updated by user id<\/p>" }, { - "tableName": "gis_data", - "tableFileName": "gis_data", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", - "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" - }, - { - "tableName": "form", - "tableFileName": "form", + "tableName": "application_pending_change_request", + "tableFileName": "application_pending_change_request", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "null", - "comments": "

Primary key on form<\/p>" - }, - { - "tableName": "application_sow_data", - "tableFileName": "application_sow_data", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

updated by user id<\/p>" }, { - "tableName": "application_pending_change_request", - "tableFileName": "application_pending_change_request", + "tableName": "reporting_gcpe", + "tableFileName": "reporting_gcpe", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, + "name": "report_data", + "type": "jsonb", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

The JSON data used to generate the report, includes the generated file info<\/p>" }, { - "tableName": "reporting_gcpe", - "tableFileName": "reporting_gcpe", + "tableName": "cbc_application_pending_change_request", + "tableFileName": "cbc_application_pending_change_request", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for the row for that report<\/p>" + "comments": "

archived by user id<\/p>" }, { "tableName": "cbc_application_pending_change_request", @@ -2916,17 +2916,17 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "updated_at", + "name": "created_at", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "comments": "

created at timestamp<\/p>" }, { - "tableName": "cbc_application_pending_change_request", - "tableFileName": "cbc_application_pending_change_request", + "tableName": "application_claims_excel_data", + "tableFileName": "application_claims_excel_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -2938,33 +2938,19 @@

Columns

"defaultValue": "null", "comments": "

created by user id<\/p>" }, - { - "tableName": "application_claims_excel_data", - "tableFileName": "application_claims_excel_data", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

The data imported from the excel filled by the respondent<\/p>" - }, { "tableName": "application_gis_assessment_hh", "tableFileName": "application_gis_assessment_hh", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "eligible", + "name": "eligible_indigenous", "type": "float4", "length": 8, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The number of eligible households<\/p>" + "comments": "

The number of eligible indigenous households<\/p>" }, { "tableName": "history_item", @@ -2972,18 +2958,32 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "given_name", + "name": "session_sub", "type": "varchar", "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Last Name of the user who performed the operation.<\/p>" + "comments": "

Session sub of the user who performed the operation.<\/p>" }, { "tableName": "application_announcement", "tableFileName": "application_announcement", "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

archived by user id<\/p>" + }, + { + "tableName": "sow_tab_1", + "tableFileName": "sow_tab_1", + "tableType": "Table", "keyClass": "", "keyTitle": "", "name": "updated_at", @@ -2995,130 +2995,116 @@

Columns

"comments": "

updated at timestamp<\/p>" }, { - "tableName": "sow_tab_1", - "tableFileName": "sow_tab_1", + "tableName": "application_milestone_excel_data", + "tableFileName": "application_milestone_excel_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", "type": "int4", "length": 10, - "nullable": "√", - "autoUpdated": "", + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

Unique ID for the milestone excel data<\/p>" }, { - "tableName": "announcement", - "tableFileName": "announcement", + "tableName": "application_pending_change_request", + "tableFileName": "application_pending_change_request", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", + "name": "updated_at", "type": "timestamptz", "length": 35, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" - }, - { - "tableName": "application_pending_change_request", - "tableFileName": "application_pending_change_request", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, - "nullable": "√", + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" }, { "tableName": "form_type", "tableFileName": "form_type", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>name", + "keyClass": "", + "keyTitle": "", + "name": "description", "type": "varchar", "length": 1000, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Primary key and unique identifier of the type of form<\/p>" + "comments": "

Description of the type of form<\/p>" }, { "tableName": "sow_tab_8", "tableFileName": "sow_tab_8", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>sow_id", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for the SoW Tab 8<\/p>" + "comments": "

ID of the SoW<\/p>" }, { "tableName": "application_pending_change_request", "tableFileName": "application_pending_change_request", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for the application_pending_change_request<\/p>" + "comments": "

ID of the application this application_pending_change_request belongs to<\/p>" }, { - "tableName": "application_analyst_lead", - "tableFileName": "application_analyst_lead", + "tableName": "form_data_status_type", + "tableFileName": "form_data_status_type", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>name", + "type": "varchar", + "length": 1000, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

The name of the status type<\/p>" }, { "tableName": "application", "tableFileName": "application", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "√", + "keyClass": "", + "keyTitle": "", + "name": "ccbc_number", + "type": "varchar", + "length": 1000, + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Primary key ID for the application<\/p>" + "comments": "

Reference number assigned to the application<\/p>" }, { "tableName": "email_record", "tableFileName": "email_record", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

Additional data for the email<\/p>" + "defaultValue": "null", + "comments": "

created by user id<\/p>" }, { "tableName": "analyst", @@ -3126,27 +3112,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "given_name", + "name": "family_name", "type": "varchar", "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Analyst’s first name<\/p>" + "comments": "

Analyst’s last name<\/p>" }, { "tableName": "cbc_data", "tableFileName": "cbc_data", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>cbc_id", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for the cbc_data<\/p>" + "comments": "

ID of the cbc application this cbc_data belongs to<\/p>" }, { "tableName": "application_status_type", @@ -3154,32 +3140,18 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "varchar", - "length": 1000, + "name": "visible_by_applicant", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

Description of the status type<\/p>" + "defaultValue": "true", + "comments": "

Boolean column used to differentiate internal/external status by indicating whether the status is visible to the applicant or not.<\/p>" }, { "tableName": "change_request_data", "tableFileName": "change_request_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", - "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" - }, - { - "tableName": "application_form_template_9_data", - "tableFileName": "application_form_template_9_data", - "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", "name": "<\/i>updated_by", @@ -3190,108 +3162,108 @@

Columns

"defaultValue": "null", "comments": "

updated by user id<\/p>" }, + { + "tableName": "application_form_template_9_data", + "tableFileName": "application_form_template_9_data", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" + }, { "tableName": "cbc_project", "tableFileName": "cbc_project", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { "tableName": "application_status", "tableFileName": "application_status", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { - "tableName": "application_package", - "tableFileName": "application_package", + "tableName": "assessment_type", + "tableFileName": "assessment_type", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, + "name": "<\/i>name", + "type": "varchar", + "length": 1000, "nullable": "", - "autoUpdated": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for the application_package<\/p>" + "comments": "

Name of and primary key of the type of an assessment<\/p>" }, { - "tableName": "application_community_progress_report_data", - "tableFileName": "application_community_progress__3b268028", + "tableName": "application_package", + "tableFileName": "application_package", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "name": "<\/i>application_id", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

The application_id of the application this record is associated with<\/p>" + }, + { + "tableName": "application_community_progress_report_data", + "tableFileName": "application_community_progress__3b268028", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" }, { "tableName": "attachment", "tableFileName": "attachment", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>file", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "description", + "type": "varchar", + "length": 10000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Universally Unique ID for the attachment, created by the fastapi storage micro-service<\/p>" + "comments": "

Description of the attachment<\/p>" }, { "tableName": "cbc_data_change_reason", "tableFileName": "cbc_data_change_reason", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

archived by user id<\/p>" - }, - { - "tableName": "sow_tab_7", - "tableFileName": "sow_tab_7", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" - }, - { - "tableName": "application_gis_data", - "tableFileName": "application_gis_data", - "tableType": "Table", "keyClass": "", "keyTitle": "", "name": "archived_at", @@ -3303,22 +3275,8 @@

Columns

"comments": "

archived at timestamp<\/p>" }, { - "tableName": "application_rd", - "tableFileName": "application_rd", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "rd", - "type": "varchar", - "length": 255, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "" - }, - { - "tableName": "project_information_data", - "tableFileName": "project_information_data", + "tableName": "sow_tab_7", + "tableFileName": "sow_tab_7", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -3331,36 +3289,50 @@

Columns

"comments": "

created at timestamp<\/p>" }, { - "tableName": "application_analyst_lead", - "tableFileName": "application_analyst_lead", + "tableName": "sow_tab_2", + "tableFileName": "sow_tab_2", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "null", + "comments": "

Unique ID for the SoW detailed budget record<\/p>" + }, + { + "tableName": "application_rfi_data", + "tableFileName": "application_rfi_data", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>rfi_data_id", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

The foreign key of a form<\/p>" }, { - "tableName": "application_community_report_excel_data", - "tableFileName": "application_community_report_excel_data", + "tableName": "project_information_data", + "tableFileName": "project_information_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", + "name": "<\/i>updated_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

updated by user id<\/p>" }, { - "tableName": "application_status", - "tableFileName": "application_status", + "tableName": "application_analyst_lead", + "tableFileName": "application_analyst_lead", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -3373,8 +3345,22 @@

Columns

"comments": "

updated by user id<\/p>" }, { - "tableName": "assessment_data", - "tableFileName": "assessment_data", + "tableName": "application_community_report_excel_data", + "tableFileName": "application_community_report_excel_data", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

archived at timestamp<\/p>" + }, + { + "tableName": "application_status", + "tableFileName": "application_status", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -3387,116 +3373,130 @@

Columns

"comments": "

updated at timestamp<\/p>" }, { - "tableName": "application_milestone_data", - "tableFileName": "application_milestone_data", + "tableName": "assessment_data", + "tableFileName": "assessment_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>created_by", + "name": "<\/i>archived_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "

archived by user id<\/p>" + }, + { + "tableName": "application_milestone_data", + "tableFileName": "application_milestone_data", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" + }, + { + "tableName": "application_rd", + "tableFileName": "application_rd", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "ccbc_number", + "type": "varchar", + "length": 255, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" }, { "tableName": "form_data", "tableFileName": "form_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>form_schema_id", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "reason_for_change", + "type": "varchar", + "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Schema for the respective form_data<\/p>" + "comments": "

Column to track analysts reason for changing form data<\/p>" }, { "tableName": "application_claims_data", "tableFileName": "application_claims_data", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique id for the claims<\/p>" + "comments": "

Id of the application the claims belongs to<\/p>" }, { "tableName": "application_status", "tableFileName": "application_status", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { "tableName": "cbc", "tableFileName": "cbc", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>project_number", "type": "int4", "length": 10, "nullable": "", - "autoUpdated": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for the row<\/p>" + "comments": "

The project number, unique for each project<\/p>" }, { "tableName": "rfi_data_status_type", "tableFileName": "rfi_data_status_type", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>name", + "keyClass": "", + "keyTitle": "", + "name": "description", "type": "varchar", "length": 1000, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The name of the status type<\/p>" + "comments": "

The description of the status type<\/p>" }, { "tableName": "sow_tab_2", "tableFileName": "sow_tab_2", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

updated by user id<\/p>" - }, - { - "tableName": "announcement", - "tableFileName": "announcement", - "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", + "name": "updated_at", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "comments": "

updated at timestamp<\/p>" }, { "tableName": "announcement", @@ -3512,75 +3512,89 @@

Columns

"defaultValue": "null", "comments": "

updated by user id<\/p>" }, + { + "tableName": "announcement", + "tableFileName": "announcement", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" + }, { "tableName": "communities_source_data", "tableFileName": "communities_source_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { "tableName": "cbc_data_change_reason", "tableFileName": "cbc_data_change_reason", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" }, { "tableName": "intake", "tableFileName": "intake", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { "tableName": "communities_source_data", "tableFileName": "communities_source_data", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>geographic_name_id", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "bc_geographic_name", + "type": "varchar", + "length": 1000, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique Geographic Name Id<\/p>" + "comments": "

The Geographic Name<\/p>" }, { "tableName": "sow_tab_1", "tableFileName": "sow_tab_1", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>sow_id", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "json_data", + "type": "jsonb", + "length": 2147483647, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "defaultValue": "'{}'::jsonb", + "comments": "

The data imported from the Excel filled by the respondent. See schema<\/a><\/p>" }, { "tableName": "application_form_data", @@ -3588,83 +3602,83 @@

Columns

"tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>form_data_id", + "name": "<\/i>application_id", "type": "int4", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The foreign key of a form<\/p>" + "comments": "

The foreign key of an application<\/p>" }, { "tableName": "application_status", "tableFileName": "application_status", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" - }, - { - "tableName": "ccbc_user", - "tableFileName": "ccbc_user", - "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>created_by", + "name": "<\/i>updated_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "

updated by user id<\/p>" }, { - "tableName": "application_project_type", - "tableFileName": "application_project_type", + "tableName": "ccbc_user", + "tableFileName": "ccbc_user", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", + "name": "created_at", "type": "timestamptz", "length": 35, - "nullable": "√", + "nullable": "", "autoUpdated": "", + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" + }, + { + "tableName": "application_community_progress_report_data", + "tableFileName": "application_community_progress__3b268028", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

Unique ID for the Community Progress Report<\/p>" }, { "tableName": "reporting_gcpe", "tableFileName": "reporting_gcpe", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

updated by user id<\/p>" }, { "tableName": "application_milestone_data", "tableFileName": "application_milestone_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "excel_data_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the excel data that this record is associated with<\/p>" + "comments": "

created by user id<\/p>" }, { "tableName": "history_item", @@ -3672,101 +3686,73 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "op", - "type": "\"audit\".\"operation\"", + "name": "table_name", + "type": "name", "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Type of operation: INSERT/UPDATE/DELETE/TRUNCATE/SNAPSHOT.<\/p>" + "comments": "

Table name.<\/p>" }, { "tableName": "history_item", "tableFileName": "history_item", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>application_id", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Application Id.<\/p>" - }, - { - "tableName": "record_version", - "tableFileName": "record_version", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "bigserial", - "length": 19, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('ccbc_public.record_version_id_seq'::regclass)", - "comments": "

Primary key and unique identifier<\/p>" - }, - { - "tableName": "cbc_data_change_reason", - "tableFileName": "cbc_data_change_reason", - "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "updated_at", + "name": "created_at", "type": "timestamptz", "length": 35, - "nullable": "", + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "defaultValue": "null", + "comments": "

Timestamp of the operation recorded.<\/p>" }, { - "tableName": "conditional_approval_data", - "tableFileName": "conditional_approval_data", + "tableName": "record_version", + "tableFileName": "record_version", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>record_id", + "type": "uuid", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "

The id of the record the history record is associated with<\/p>" }, { - "tableName": "cbc_project_communities", - "tableFileName": "cbc_project_communities", + "tableName": "cbc_data_change_reason", + "tableFileName": "cbc_data_change_reason", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "name": "<\/i>archived_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

archived by user id<\/p>" }, { - "tableName": "attachment", - "tableFileName": "attachment", + "tableName": "conditional_approval_data", + "tableFileName": "conditional_approval_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "file_name", - "type": "varchar", - "length": 1000, - "nullable": "√", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

Original uploaded file name<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { - "tableName": "cbc_project", - "tableFileName": "cbc_project", + "tableName": "cbc_project_communities", + "tableFileName": "cbc_project_communities", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -3779,92 +3765,106 @@

Columns

"comments": "

updated at timestamp<\/p>" }, { - "tableName": "rfi_data", - "tableFileName": "rfi_data", + "tableName": "attachment", + "tableFileName": "attachment", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "file_type", + "type": "varchar", + "length": 100, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

Original uploaded file type<\/p>" + }, + { + "tableName": "cbc_project", + "tableFileName": "cbc_project", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "name": "<\/i>archived_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

archived by user id<\/p>" }, { - "tableName": "application", - "tableFileName": "application", + "tableName": "rfi_data", + "tableFileName": "rfi_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "program", - "type": "text", - "length": 2147483647, + "name": "updated_at", + "type": "timestamptz", + "length": 35, "nullable": "", "autoUpdated": "", - "defaultValue": "'CCBC'::text", - "comments": "

Program type of the project<\/p>" + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" }, { - "tableName": "application_milestone_data", - "tableFileName": "application_milestone_data", + "tableName": "rfi_data_status_type", + "tableFileName": "rfi_data_status_type", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "history_operation", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>name", "type": "varchar", "length": 1000, - "nullable": "√", + "nullable": "", "autoUpdated": "", - "defaultValue": "'created'::character varying", - "comments": "

History operation<\/p>" + "defaultValue": "null", + "comments": "

The name of the status type<\/p>" }, { - "tableName": "sow_tab_8", - "tableFileName": "sow_tab_8", + "tableName": "change_request_data", + "tableFileName": "change_request_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", "type": "int4", "length": 10, - "nullable": "√", - "autoUpdated": "", + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "

Unique id for the row<\/p>" }, { - "tableName": "application_status_type", - "tableFileName": "application_status_type", + "tableName": "sow_tab_8", + "tableFileName": "sow_tab_8", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "visible_by_analyst", - "type": "bool", - "length": 1, - "nullable": "√", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "true", - "comments": "

Boolean column used to differentiate internal/external status by indicating whether the status is visible to the analyst or not.<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { - "tableName": "intake", - "tableFileName": "intake", + "tableName": "history_item", + "tableFileName": "history_item", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>application_id", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

Application Id.<\/p>" }, { - "tableName": "application_package", - "tableFileName": "application_package", + "tableName": "intake", + "tableFileName": "intake", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -3877,8 +3877,8 @@

Columns

"comments": "

updated at timestamp<\/p>" }, { - "tableName": "application_analyst_lead", - "tableFileName": "application_analyst_lead", + "tableName": "application_package", + "tableFileName": "application_package", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -3891,8 +3891,8 @@

Columns

"comments": "

archived by user id<\/p>" }, { - "tableName": "cbc_project_communities", - "tableFileName": "cbc_project_communities", + "tableName": "application_analyst_lead", + "tableFileName": "application_analyst_lead", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -3904,10 +3904,94 @@

Columns

"defaultValue": "null", "comments": "

archived at timestamp<\/p>" }, + { + "tableName": "intake", + "tableFileName": "intake", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "null", + "comments": "

Unique ID for each intake number<\/p>" + }, { "tableName": "communities_source_data", "tableFileName": "communities_source_data", "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" + }, + { + "tableName": "application_sow_data", + "tableFileName": "application_sow_data", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" + }, + { + "tableName": "conditional_approval_data", + "tableFileName": "conditional_approval_data", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" + }, + { + "tableName": "cbc_data_change_reason", + "tableFileName": "cbc_data_change_reason", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "serial", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "nextval('ccbc_public.cbc_data_change_reason_id_seq'::regclass)", + "comments": "

Unique ID for the cbc_data_change_reason<\/p>" + }, + { + "tableName": "assessment_data", + "tableFileName": "assessment_data", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" + }, + { + "tableName": "application_community_report_excel_data", + "tableFileName": "application_community_report_excel_data", + "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", "name": "<\/i>updated_by", @@ -3919,22 +4003,22 @@

Columns

"comments": "

updated by user id<\/p>" }, { - "tableName": "application_sow_data", - "tableFileName": "application_sow_data", + "tableName": "form_data", + "tableFileName": "form_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "name": "<\/i>created_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

created by user id<\/p>" }, { - "tableName": "conditional_approval_data", - "tableFileName": "conditional_approval_data", + "tableName": "application_gis_data", + "tableFileName": "application_gis_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -3947,106 +4031,120 @@

Columns

"comments": "

updated by user id<\/p>" }, { - "tableName": "change_request_data", - "tableFileName": "change_request_data", + "tableName": "conditional_approval_data", + "tableFileName": "conditional_approval_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "amendment_number", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", "type": "int4", "length": 10, - "nullable": "√", - "autoUpdated": "", + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "" + "comments": "

Unique id for the row<\/p>" }, { - "tableName": "application_rd", - "tableFileName": "application_rd", + "tableName": "conditional_approval_data", + "tableFileName": "conditional_approval_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "ccbc_number", + "name": "json_data", + "type": "jsonb", + "length": 2147483647, + "nullable": "", + "autoUpdated": "", + "defaultValue": "'{}'::jsonb", + "comments": "

The json form data of the conditional approval form. See schema<\/a><\/p>" + }, + { + "tableName": "application_status", + "tableFileName": "application_status", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>status", "type": "varchar", - "length": 255, + "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The status of the application<\/p>" }, { - "tableName": "assessment_data", - "tableFileName": "assessment_data", + "tableName": "intake", + "tableFileName": "intake", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "name": "<\/i>created_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

created by user id<\/p>" }, { - "tableName": "application_community_report_excel_data", - "tableFileName": "application_community_report_excel_data", + "tableName": "sow_tab_8", + "tableFileName": "sow_tab_8", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

archived by user id<\/p>" }, { - "tableName": "form_data", - "tableFileName": "form_data", + "tableName": "assessment_data", + "tableFileName": "assessment_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>form_data_status_type_id", + "name": "<\/i>assessment_data_type", "type": "varchar", "length": 1000, "nullable": "√", "autoUpdated": "", - "defaultValue": "'pending'::character varying", - "comments": "

Column referencing the form data status type, defaults to draft<\/p>" + "defaultValue": "null", + "comments": "" }, { - "tableName": "application_gis_data", - "tableFileName": "application_gis_data", + "tableName": "cbc_data", + "tableFileName": "cbc_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", + "name": "sharepoint_timestamp", "type": "timestamptz", "length": 35, - "nullable": "", + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "" }, { - "tableName": "cbc_data_change_reason", - "tableFileName": "cbc_data_change_reason", + "tableName": "application_gis_data", + "tableFileName": "application_gis_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

archived by user id<\/p>" }, { - "tableName": "cbc_application_pending_change_request", - "tableFileName": "cbc_application_pending_change_request", + "tableName": "application_announcement", + "tableFileName": "application_announcement", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4059,176 +4157,148 @@

Columns

"comments": "

archived at timestamp<\/p>" }, { - "tableName": "conditional_approval_data", - "tableFileName": "conditional_approval_data", + "tableName": "reporting_gcpe", + "tableFileName": "reporting_gcpe", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>application_id", + "name": "<\/i>created_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The foreign key of an application<\/p>" + "comments": "

created by user id<\/p>" }, { - "tableName": "application_status", - "tableFileName": "application_status", + "tableName": "application_form_data", + "tableFileName": "application_form_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>application_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>form_data_id", "type": "int4", "length": 10, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

ID of the application this status belongs to<\/p>" + "comments": "

The foreign key of a form<\/p>" }, { - "tableName": "intake", - "tableFileName": "intake", + "tableName": "announcement", + "tableFileName": "announcement", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>application_number_seq_name", - "type": "varchar", - "length": 1000, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The name of the sequence used to generate CCBC ids. It is added via a trigger<\/p>" + "comments": "

archived by user id<\/p>" }, { - "tableName": "sow_tab_8", - "tableFileName": "sow_tab_8", + "tableName": "email_record", + "tableFileName": "email_record", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "updated_at", + "name": "archived_at", "type": "timestamptz", "length": 35, - "nullable": "", - "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" - }, - { - "tableName": "assessment_data", - "tableFileName": "assessment_data", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, - "nullable": "", + "nullable": "√", "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

The json form data of the assessment form. See schema<\/a><\/p>" + "defaultValue": "null", + "comments": "

archived at timestamp<\/p>" }, { - "tableName": "cbc_data", - "tableFileName": "cbc_data", + "tableName": "analyst", + "tableFileName": "analyst", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "" + "defaultValue": "null", + "comments": "

updated by user id<\/p>" }, { - "tableName": "application_gis_data", - "tableFileName": "application_gis_data", + "tableName": "application_community_report_excel_data", + "tableFileName": "application_community_report_excel_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "updated_at", + "name": "created_at", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "comments": "

created at timestamp<\/p>" }, { - "tableName": "application_announcement", - "tableFileName": "application_announcement", + "tableName": "gis_data", + "tableFileName": "gis_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", + "name": "<\/i>created_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

created by user id<\/p>" }, { - "tableName": "reporting_gcpe", - "tableFileName": "reporting_gcpe", + "tableName": "form", + "tableFileName": "form", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "report_data", - "type": "jsonb", - "length": 2147483647, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The JSON data used to generate the report, includes the generated file info<\/p>" - }, - { - "tableName": "rfi_data", - "tableFileName": "rfi_data", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, - "nullable": "√", - "autoUpdated": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

Primary key on form<\/p>" }, { - "tableName": "application_er", - "tableFileName": "application_er", + "tableName": "email_record", + "tableFileName": "email_record", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "ccbc_number", + "name": "to_email", "type": "varchar", - "length": 255, + "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

Email Address(es) of the recipients<\/p>" }, { - "tableName": "announcement", - "tableFileName": "announcement", + "tableName": "application_package", + "tableFileName": "application_package", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "autoUpdated": "√", + "defaultValue": "null", + "comments": "

Unique ID for the application_package<\/p>" }, { - "tableName": "email_record", - "tableFileName": "email_record", + "tableName": "cbc", + "tableFileName": "cbc", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -4241,36 +4311,36 @@

Columns

"comments": "

archived by user id<\/p>" }, { - "tableName": "analyst", - "tableFileName": "analyst", + "tableName": "email_record", + "tableFileName": "email_record", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, + "name": "json_data", + "type": "jsonb", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "'{}'::jsonb", + "comments": "

Additional data for the email<\/p>" }, { - "tableName": "application_community_report_excel_data", - "tableFileName": "application_community_report_excel_data", + "tableName": "gis_data", + "tableFileName": "gis_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>created_by", + "name": "<\/i>updated_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "

updated by user id<\/p>" }, { - "tableName": "gis_data", - "tableFileName": "gis_data", + "tableName": "application_milestone_data", + "tableFileName": "application_milestone_data", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4280,39 +4350,53 @@

Columns

"nullable": "", "autoUpdated": "", "defaultValue": "'{}'::jsonb", - "comments": "

The data imported from the GIS data Excel file. See schema<\/a><\/p>" + "comments": "

The milestone form json data<\/p>" }, { - "tableName": "application_announcement", - "tableFileName": "application_announcement", + "tableName": "cbc_data", + "tableFileName": "cbc_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "history_operation", + "name": "archived_at", + "type": "timestamptz", + "length": 35, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

archived at timestamp<\/p>" + }, + { + "tableName": "application_pending_change_request", + "tableFileName": "application_pending_change_request", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "comment", "type": "varchar", - "length": 1000, + "length": 100, "nullable": "√", "autoUpdated": "", - "defaultValue": "'created'::character varying", - "comments": "

Column describing the operation (created, updated, deleted) for context on the history page<\/p>" + "defaultValue": "null", + "comments": "

Column containing the comment for the change request or completion of the change request<\/p>" }, { - "tableName": "email_record", - "tableFileName": "email_record", + "tableName": "application_community_progress_report_data", + "tableFileName": "application_community_progress__3b268028", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for each email sent<\/p>" + "comments": "

updated by user id<\/p>" }, { - "tableName": "notification", - "tableFileName": "notification", + "tableName": "sow_tab_7", + "tableFileName": "sow_tab_7", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4325,64 +4409,64 @@

Columns

"comments": "

archived at timestamp<\/p>" }, { - "tableName": "cbc", - "tableFileName": "cbc", + "tableName": "communities_source_data", + "tableFileName": "communities_source_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "defaultValue": "null", + "comments": "

created by user id<\/p>" }, { - "tableName": "email_record", - "tableFileName": "email_record", + "tableName": "application_gis_data", + "tableFileName": "application_gis_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "message_id", - "type": "varchar", - "length": 1000, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>batch_id", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Message ID of the email returned by the email server<\/p>" + "comments": "" }, { - "tableName": "gis_data", - "tableFileName": "gis_data", + "tableName": "record_version", + "tableFileName": "record_version", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>old_record_id", + "type": "uuid", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

The id of the previous version of the record the history record is associated with<\/p>" }, { - "tableName": "application_milestone_data", - "tableFileName": "application_milestone_data", + "tableName": "attachment", + "tableFileName": "attachment", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>application_id", + "name": "<\/i>archived_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Id of the application the milestone belongs to<\/p>" + "comments": "

archived by user id<\/p>" }, { - "tableName": "cbc_data", - "tableFileName": "cbc_data", + "tableName": "application_project_type", + "tableFileName": "application_project_type", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -4395,36 +4479,36 @@

Columns

"comments": "

archived by user id<\/p>" }, { - "tableName": "application_pending_change_request", - "tableFileName": "application_pending_change_request", + "tableName": "analyst", + "tableFileName": "analyst", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "is_pending", - "type": "bool", - "length": 1, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", - "defaultValue": "false", - "comments": "

Column defining if the change request pending or not<\/p>" + "defaultValue": "null", + "comments": "

archived by user id<\/p>" }, { - "tableName": "application_community_progress_report_data", - "tableFileName": "application_community_progress__3b268028", + "tableName": "intake", + "tableFileName": "intake", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "name": "hidden_code", + "type": "uuid", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

A column that stores the code used to access the hidden intake. Only used on intakes that are hidden<\/p>" }, { - "tableName": "sow_tab_7", - "tableFileName": "sow_tab_7", + "tableName": "cbc_project_communities", + "tableFileName": "cbc_project_communities", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -4437,148 +4521,120 @@

Columns

"comments": "

archived by user id<\/p>" }, { - "tableName": "communities_source_data", - "tableFileName": "communities_source_data", + "tableName": "cbc_data", + "tableFileName": "cbc_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "map_link", - "type": "varchar", - "length": 1000, + "name": "change_reason", + "type": "text", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

map url of the geograhic region for verification<\/p>" + "comments": "" }, { - "tableName": "application_gis_data", - "tableFileName": "application_gis_data", + "tableName": "application_status_type", + "tableFileName": "application_status_type", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, + "name": "<\/i>name", + "type": "varchar", + "length": 1000, "nullable": "", - "autoUpdated": "√", - "defaultValue": "null", - "comments": "" - }, - { - "tableName": "record_version", - "tableFileName": "record_version", - "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>record_id", - "type": "uuid", - "length": 2147483647, - "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the record the history record is associated with<\/p>" + "comments": "

Name of and primary key of the status of an application<\/p>" }, { - "tableName": "attachment", - "tableFileName": "attachment", + "tableName": "announcement", + "tableFileName": "announcement", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "updated_at", + "name": "archived_at", "type": "timestamptz", "length": 35, - "nullable": "", + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "defaultValue": "null", + "comments": "

archived at timestamp<\/p>" }, { - "tableName": "application_project_type", - "tableFileName": "application_project_type", + "tableName": "cbc_application_pending_change_request", + "tableFileName": "cbc_application_pending_change_request", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "autoUpdated": "√", + "defaultValue": "null", + "comments": "

Unique ID for the cbc_application_pending_change_request<\/p>" }, { - "tableName": "analyst", - "tableFileName": "analyst", + "tableName": "sow_tab_2", + "tableFileName": "sow_tab_2", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "updated_at", + "name": "created_at", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "comments": "

created at timestamp<\/p>" }, { - "tableName": "intake", - "tableFileName": "intake", + "tableName": "application_form_template_9_data", + "tableFileName": "application_form_template_9_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "hidden", - "type": "bool", - "length": 1, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", - "defaultValue": "false", - "comments": "

A column to denote whether the intake is visible to the public<\/p>" + "defaultValue": "null", + "comments": "

created by user id<\/p>" }, { - "tableName": "cbc_project_communities", - "tableFileName": "cbc_project_communities", + "tableName": "attachment", + "tableFileName": "attachment", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>file", + "type": "uuid", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "defaultValue": "null", + "comments": "

Universally Unique ID for the attachment, created by the fastapi storage micro-service<\/p>" }, { - "tableName": "cbc_data", - "tableFileName": "cbc_data", + "tableName": "communities_source_data", + "tableFileName": "communities_source_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "name": "map_link", + "type": "varchar", + "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" - }, - { - "tableName": "application_form_data", - "tableFileName": "application_form_data", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>application_id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The foreign key of an application<\/p>" + "comments": "

map url of the geograhic region for verification<\/p>" }, { - "tableName": "announcement", - "tableFileName": "announcement", + "tableName": "sow_tab_7", + "tableFileName": "sow_tab_7", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -4591,18 +4647,18 @@

Columns

"comments": "

archived by user id<\/p>" }, { - "tableName": "sow_tab_1", - "tableFileName": "sow_tab_1", + "tableName": "rfi_data", + "tableFileName": "rfi_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>rfi_number", + "type": "varchar", + "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

Reference number assigned to the RFI<\/p>" }, { "tableName": "sow_tab_2", @@ -4619,78 +4675,36 @@

Columns

"comments": "

created by user id<\/p>" }, { - "tableName": "application_form_template_9_data", - "tableFileName": "application_form_template_9_data", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "source", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The source of the template 9 data, application or RFI and the date<\/p>" - }, - { - "tableName": "attachment", - "tableFileName": "attachment", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "null", - "comments": "

Unique ID for the attachment<\/p>" - }, - { - "tableName": "communities_source_data", - "tableFileName": "communities_source_data", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "longitude", - "type": "float8", - "length": 17, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The longitude value of the geograhic region<\/p>" - }, - { - "tableName": "sow_tab_7", - "tableFileName": "sow_tab_7", + "tableName": "application_community_progress_report_data", + "tableFileName": "application_community_progress__3b268028", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "updated_at", + "name": "created_at", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "comments": "

created at timestamp<\/p>" }, { - "tableName": "rfi_data", - "tableFileName": "rfi_data", + "tableName": "application_rfi_data", + "tableFileName": "application_rfi_data", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>id", + "name": "<\/i>application_id", "type": "int4", "length": 10, "nullable": "", - "autoUpdated": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique id of the form data<\/p>" + "comments": "

The foreign key of an application<\/p>" }, { - "tableName": "sow_tab_2", - "tableFileName": "sow_tab_2", + "tableName": "rfi_data", + "tableFileName": "rfi_data", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4700,49 +4714,7 @@

Columns

"nullable": "", "autoUpdated": "", "defaultValue": "'{}'::jsonb", - "comments": "

The data imported from the Excel filled by the respondent. See schema<\/a><\/p>" - }, - { - "tableName": "application_community_progress_report_data", - "tableFileName": "application_community_progress__3b268028", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" - }, - { - "tableName": "application_rfi_data", - "tableFileName": "application_rfi_data", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>rfi_data_id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The foreign key of a form<\/p>" - }, - { - "tableName": "rfi_data", - "tableFileName": "rfi_data", - "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>rfi_number", - "type": "varchar", - "length": 1000, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Reference number assigned to the RFI<\/p>" + "comments": "

The json form data of the RFI information form. See schema<\/a><\/p>" }, { "tableName": "ccbc_user", @@ -4750,27 +4722,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "given_name", + "name": "family_name", "type": "varchar", "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

User’s first name<\/p>" + "comments": "

User’s last name<\/p>" }, { "tableName": "application_announced", "tableFileName": "application_announced", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { "tableName": "intake", @@ -4778,46 +4750,32 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "open_timestamp", + "name": "close_timestamp", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Open date and time for an intake number<\/p>" + "comments": "

Close date and time for an intake number<\/p>" }, { "tableName": "application_package", "tableFileName": "application_package", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>application_id", + "keyClass": "", + "keyTitle": "", + "name": "package", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The application_id of the application this record is associated with<\/p>" + "comments": "

The package number the application is assigned to<\/p>" }, { "tableName": "application_claims_excel_data", "tableFileName": "application_claims_excel_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", - "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" - }, - { - "tableName": "reporting_gcpe", - "tableFileName": "reporting_gcpe", - "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", "name": "<\/i>archived_by", @@ -4829,22 +4787,8 @@

Columns

"comments": "

archived by user id<\/p>" }, { - "tableName": "application_rd", - "tableFileName": "application_rd", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "application_id", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "" - }, - { - "tableName": "assessment_data", - "tableFileName": "assessment_data", + "tableName": "reporting_gcpe", + "tableFileName": "reporting_gcpe", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4857,46 +4801,60 @@

Columns

"comments": "

archived at timestamp<\/p>" }, { - "tableName": "cbc_data_change_reason", - "tableFileName": "cbc_data_change_reason", + "tableName": "application_form_template_9_data", + "tableFileName": "application_form_template_9_data", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", "name": "<\/i>id", - "type": "serial", + "type": "int4", "length": 10, "nullable": "", "autoUpdated": "√", - "defaultValue": "nextval('ccbc_public.cbc_data_change_reason_id_seq'::regclass)", - "comments": "

Unique ID for the cbc_data_change_reason<\/p>" + "defaultValue": "null", + "comments": "

Unique ID for the Template 9 Data<\/p>" }, { - "tableName": "gis_data", - "tableFileName": "gis_data", + "tableName": "cbc_data_change_reason", + "tableFileName": "cbc_data_change_reason", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "name": "<\/i>cbc_data_id", "type": "int4", "length": 10, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

ID of the cbc_data this cbc_data_change_reason belongs to<\/p>" + }, + { + "tableName": "gis_data", + "tableFileName": "gis_data", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" }, { "tableName": "intake", "tableFileName": "intake", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>counter_id", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "description", + "type": "text", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The counter_id used by the gapless_counter to generate a gapless intake id<\/p>" + "comments": "

A description of the intake<\/p>" }, { "tableName": "application_form_template_9_data", @@ -4904,27 +4862,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "errors", + "name": "source", "type": "jsonb", "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Errors related to Template 9 for that application id<\/p>" + "comments": "

The source of the template 9 data, application or RFI and the date<\/p>" }, { "tableName": "sow_tab_2", "tableFileName": "sow_tab_2", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

updated by user id<\/p>" }, { "tableName": "application_status", @@ -4932,69 +4890,69 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "name": "change_reason", + "type": "varchar", + "length": 1000, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

Change reason for analyst status change<\/p>" }, { "tableName": "record_version", "tableFileName": "record_version", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user that created the record<\/p>" + "comments": "

The timestamp of when the record was created<\/p>" }, { "tableName": "application_claims_excel_data", "tableFileName": "application_claims_excel_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>application_id", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "json_data", + "type": "jsonb", + "length": 2147483647, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

ID of the application this data belongs to<\/p>" + "defaultValue": "'{}'::jsonb", + "comments": "

The data imported from the excel filled by the respondent<\/p>" }, { "tableName": "notification", "tableFileName": "notification", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "√", + "keyClass": "", + "keyTitle": "", + "name": "notification_type", + "type": "varchar", + "length": 1000, + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for each notification<\/p>" + "comments": "

Type of the notification<\/p>" }, { "tableName": "intake", "tableFileName": "intake", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "open_timestamp", + "type": "timestamptz", + "length": 35, "nullable": "", - "autoUpdated": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for each intake number<\/p>" + "comments": "

Open date and time for an intake number<\/p>" }, { "tableName": "record_version", @@ -5002,59 +4960,87 @@

Columns

"tableType": "Table", "keyClass": "indexedColumn", "keyTitle": "Indexed", - "name": "<\/i>ts", - "type": "timestamptz", - "length": 35, + "name": "<\/i>table_oid", + "type": "oid", + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp of the history record<\/p>" + "defaultValue": "null", + "comments": "

The oid of the table the record is associated with<\/p>" }, { "tableName": "sow_tab_2", "tableFileName": "sow_tab_2", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { "tableName": "cbc", "tableFileName": "cbc", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { "tableName": "application_claims_excel_data", "tableFileName": "application_claims_excel_data", "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

archived at timestamp<\/p>" + }, + { + "tableName": "cbc_project_communities", + "tableFileName": "cbc_project_communities", + "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", + "name": "<\/i>cbc_id", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

The cbc id of the record<\/p>" }, { - "tableName": "cbc_project_communities", - "tableFileName": "cbc_project_communities", + "tableName": "cbc", + "tableFileName": "cbc", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "sharepoint_timestamp", + "type": "timestamptz", + "length": 35, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The timestamp of the last time the data was updated from sharepoint<\/p>" + }, + { + "tableName": "project_information_data", + "tableFileName": "project_information_data", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", @@ -5064,95 +5050,95 @@

Columns

"nullable": "", "autoUpdated": "√", "defaultValue": "null", - "comments": "

Unique ID for the row<\/p>" + "comments": "

Unique id for the row<\/p>" }, { - "tableName": "cbc", - "tableFileName": "cbc", + "tableName": "attachment", + "tableFileName": "attachment", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>project_number", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", "type": "int4", "length": 10, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The project number, unique for each project<\/p>" + "comments": "

updated by user id<\/p>" }, { - "tableName": "assessment_type", - "tableFileName": "assessment_type", + "tableName": "project_information_data", + "tableFileName": "project_information_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "varchar", - "length": 1000, - "nullable": "√", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

Description of the assessment type<\/p>" + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" }, { - "tableName": "attachment", - "tableFileName": "attachment", + "tableName": "application_gis_data", + "tableFileName": "application_gis_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, + "name": "json_data", + "type": "jsonb", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "'{}'::jsonb", + "comments": "

The data imported from the GIS data Excel file. See schema<\/a><\/p>" }, { - "tableName": "project_information_data", - "tableFileName": "project_information_data", + "tableName": "sow_tab_1", + "tableFileName": "sow_tab_1", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { - "tableName": "application_gis_data", - "tableFileName": "application_gis_data", + "tableName": "application_announced", + "tableFileName": "application_announced", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>application_id", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

archived at timestamp<\/p>" }, { - "tableName": "sow_tab_1", - "tableFileName": "sow_tab_1", + "tableName": "gapless_counter", + "tableFileName": "gapless_counter", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", "type": "int4", "length": 10, - "nullable": "√", - "autoUpdated": "", + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

Primary key for the gapless counter<\/p>" }, { - "tableName": "application_announced", - "tableFileName": "application_announced", + "tableName": "application_claims_data", + "tableFileName": "application_claims_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -5165,22 +5151,8 @@

Columns

"comments": "

archived by user id<\/p>" }, { - "tableName": "history_item", - "tableFileName": "history_item", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "external_analyst", - "type": "bool", - "length": 1, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

User is an external analyst<\/p>" - }, - { - "tableName": "application_claims_data", - "tableFileName": "application_claims_data", + "tableName": "cbc", + "tableFileName": "cbc", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -5193,37 +5165,93 @@

Columns

"comments": "

updated at timestamp<\/p>" }, { - "tableName": "cbc", - "tableFileName": "cbc", + "tableName": "form_type", + "tableFileName": "form_type", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>name", + "type": "varchar", + "length": 1000, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

Primary key and unique identifier of the type of form<\/p>" }, { - "tableName": "application_rfi_data", - "tableFileName": "application_rfi_data", + "tableName": "application_sow_data", + "tableFileName": "application_sow_data", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>application_id", + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

archived at timestamp<\/p>" + }, + { + "tableName": "cbc_application_pending_change_request", + "tableFileName": "cbc_application_pending_change_request", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", "type": "int4", "length": 10, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The foreign key of an application<\/p>" + "comments": "

created by user id<\/p>" }, { "tableName": "application_sow_data", "tableFileName": "application_sow_data", "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "is_amendment", + "type": "bool", + "length": 1, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "false", + "comments": "

Column identifying if the record is an amendment<\/p>" + }, + { + "tableName": "announcement", + "tableFileName": "announcement", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" + }, + { + "tableName": "application_announced", + "tableFileName": "application_announced", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "null", + "comments": "

Unique ID for the application_announced<\/p>" + }, + { + "tableName": "application_community_report_excel_data", + "tableFileName": "application_community_report_excel_data", + "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", "name": "<\/i>archived_by", @@ -5235,36 +5263,36 @@

Columns

"comments": "

archived by user id<\/p>" }, { - "tableName": "cbc_application_pending_change_request", - "tableFileName": "cbc_application_pending_change_request", + "tableName": "application_project_type", + "tableFileName": "application_project_type", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "comment", + "name": "project_type", "type": "varchar", - "length": 100, + "length": 20, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Column containing the comment for the change request or completion of the change request<\/p>" + "comments": "

Column containing the project type of the application<\/p>" }, { - "tableName": "application_sow_data", - "tableFileName": "application_sow_data", + "tableName": "application_milestone_excel_data", + "tableFileName": "application_milestone_excel_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "amendment_number", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", - "defaultValue": "0", - "comments": "

The amendment number<\/p>" + "defaultValue": "null", + "comments": "

ID of the application this data belongs to<\/p>" }, { - "tableName": "announcement", - "tableFileName": "announcement", + "tableName": "application_gis_data", + "tableFileName": "application_gis_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -5277,22 +5305,22 @@

Columns

"comments": "

created by user id<\/p>" }, { - "tableName": "application_community_report_excel_data", - "tableFileName": "application_community_report_excel_data", + "tableName": "project_information_data", + "tableFileName": "project_information_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

The foreign key of an application<\/p>" }, { - "tableName": "application_community_report_excel_data", - "tableFileName": "application_community_report_excel_data", + "tableName": "cbc_application_pending_change_request", + "tableFileName": "cbc_application_pending_change_request", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -5305,36 +5333,22 @@

Columns

"comments": "

updated at timestamp<\/p>" }, { - "tableName": "application_project_type", - "tableFileName": "application_project_type", + "tableName": "project_information_data", + "tableFileName": "project_information_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>application_id", + "name": "<\/i>created_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

ID of the application this application_project_type belongs to<\/p>" - }, - { - "tableName": "application_milestone_excel_data", - "tableFileName": "application_milestone_excel_data", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "null", - "comments": "

Unique ID for the milestone excel data<\/p>" + "comments": "

created by user id<\/p>" }, { - "tableName": "application_gis_data", - "tableFileName": "application_gis_data", + "tableName": "gis_data", + "tableFileName": "gis_data", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -5344,11 +5358,25 @@

Columns

"nullable": "", "autoUpdated": "", "defaultValue": "'{}'::jsonb", - "comments": "

The data imported from the GIS data Excel file. See schema<\/a><\/p>" + "comments": "

The data imported from the GIS data Excel file. See schema<\/a><\/p>" }, { - "tableName": "project_information_data", - "tableFileName": "project_information_data", + "tableName": "application_form_template_9_data", + "tableFileName": "application_form_template_9_data", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

archived by user id<\/p>" + }, + { + "tableName": "application_gis_assessment_hh", + "tableFileName": "application_gis_assessment_hh", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", @@ -5358,67 +5386,81 @@

Columns

"nullable": "", "autoUpdated": "√", "defaultValue": "null", - "comments": "

Unique id for the row<\/p>" + "comments": "

Primary key and unique identifier<\/p>" }, { - "tableName": "cbc_application_pending_change_request", - "tableFileName": "cbc_application_pending_change_request", + "tableName": "application_status", + "tableFileName": "application_status", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "name": "<\/i>created_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

created by user id<\/p>" }, { - "tableName": "project_information_data", - "tableFileName": "project_information_data", + "tableName": "notification", + "tableFileName": "notification", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

archived by user id<\/p>" + }, + { + "tableName": "application_gis_assessment_hh", + "tableFileName": "application_gis_assessment_hh", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, - "nullable": "", + "name": "eligible", + "type": "float4", + "length": 8, + "nullable": "√", "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

The json form data of the project information form. See schema<\/a><\/p>" + "defaultValue": "null", + "comments": "

The number of eligible households<\/p>" }, { - "tableName": "gis_data", - "tableFileName": "gis_data", + "tableName": "record_version", + "tableFileName": "record_version", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "√", + "keyClass": "", + "keyTitle": "", + "name": "record", + "type": "jsonb", + "length": 2147483647, + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Primary key and unique identifier<\/p>" + "comments": "

The record in JSON format<\/p>" }, { - "tableName": "application_form_template_9_data", - "tableFileName": "application_form_template_9_data", + "tableName": "intake", + "tableFileName": "intake", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "name": "rolling_intake", + "type": "bool", + "length": 1, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "defaultValue": "false", + "comments": "

A column to denote whether the intake is a rolling intake<\/p>" }, { - "tableName": "application_form_template_9_data", - "tableFileName": "application_form_template_9_data", + "tableName": "cbc_project", + "tableFileName": "cbc_project", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -5431,232 +5473,148 @@

Columns

"comments": "

archived at timestamp<\/p>" }, { - "tableName": "application_status", - "tableFileName": "application_status", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>status", - "type": "varchar", - "length": 1000, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The status of the application<\/p>" - }, - { - "tableName": "notification", - "tableFileName": "notification", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", - "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" - }, - { - "tableName": "application_gis_assessment_hh", - "tableFileName": "application_gis_assessment_hh", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>application_id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The application_id of the application this record is associated with<\/p>" - }, - { - "tableName": "record_version", - "tableFileName": "record_version", + "tableName": "change_request_data", + "tableFileName": "change_request_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", + "name": "archived_at", "type": "timestamptz", "length": 35, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The timestamp of when the record was created<\/p>" - }, - { - "tableName": "intake", - "tableFileName": "intake", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "hidden_code", - "type": "uuid", - "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A column that stores the code used to access the hidden intake. Only used on intakes that are hidden<\/p>" + "comments": "

archived at timestamp<\/p>" }, { - "tableName": "cbc_project", - "tableFileName": "cbc_project", + "tableName": "application_community_report_excel_data", + "tableFileName": "application_community_report_excel_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", + "name": "<\/i>application_id", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

ID of the application this Community Report belongs to<\/p>" }, { - "tableName": "change_request_data", - "tableFileName": "change_request_data", + "tableName": "application_internal_description", + "tableFileName": "application_internal_description", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", + "name": "<\/i>created_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" - }, - { - "tableName": "application_community_report_excel_data", - "tableFileName": "application_community_report_excel_data", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "null", - "comments": "

Unique ID for the Community Report excel data<\/p>" + "comments": "

created by user id<\/p>" }, { - "tableName": "application_internal_description", - "tableFileName": "application_internal_description", + "tableName": "cbc_application_pending_change_request", + "tableFileName": "cbc_application_pending_change_request", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "text", - "length": 2147483647, + "name": "comment", + "type": "varchar", + "length": 100, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The internal description for the given application<\/p>" + "comments": "

Column containing the comment for the change request or completion of the change request<\/p>" }, { - "tableName": "cbc_application_pending_change_request", - "tableFileName": "cbc_application_pending_change_request", + "tableName": "application_rd", + "tableFileName": "application_rd", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "is_pending", - "type": "bool", - "length": 1, + "name": "rd", + "type": "varchar", + "length": 255, "nullable": "√", "autoUpdated": "", - "defaultValue": "false", - "comments": "

Column defining if the change request pending or not<\/p>" + "defaultValue": "null", + "comments": "" }, { "tableName": "application_sow_data", "tableFileName": "application_sow_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { "tableName": "application_claims_data", "tableFileName": "application_claims_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" - }, - { - "tableName": "sow_tab_2", - "tableFileName": "sow_tab_2", - "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "updated_at", + "name": "created_at", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "comments": "

created at timestamp<\/p>" }, { - "tableName": "sow_tab_7", - "tableFileName": "sow_tab_7", + "tableName": "application_er", + "tableFileName": "application_er", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "name": "application_id", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "" }, { - "tableName": "application_gis_data", - "tableFileName": "application_gis_data", + "tableName": "sow_tab_2", + "tableFileName": "sow_tab_2", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "name": "<\/i>archived_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

archived by user id<\/p>" }, { - "tableName": "sow_tab_1", - "tableFileName": "sow_tab_1", + "tableName": "application_project_type", + "tableFileName": "application_project_type", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", "type": "int4", "length": 10, - "nullable": "√", - "autoUpdated": "", + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "

Unique ID for the application_project_type<\/p>" }, { - "tableName": "application_sow_data", - "tableFileName": "application_sow_data", + "tableName": "application_gis_data", + "tableFileName": "application_gis_data", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -5669,8 +5627,22 @@

Columns

"comments": "

updated at timestamp<\/p>" }, { - "tableName": "conditional_approval_data", - "tableFileName": "conditional_approval_data", + "tableName": "sow_tab_1", + "tableFileName": "sow_tab_1", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" + }, + { + "tableName": "application_sow_data", + "tableFileName": "application_sow_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -5683,64 +5655,50 @@

Columns

"comments": "

archived by user id<\/p>" }, { - "tableName": "application_milestone_data", - "tableFileName": "application_milestone_data", + "tableName": "conditional_approval_data", + "tableFileName": "conditional_approval_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", + "name": "archived_at", "type": "timestamptz", "length": 35, - "nullable": "", - "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" - }, - { - "tableName": "intake", - "tableFileName": "intake", - "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>ccbc_intake_number", - "type": "int4", - "length": 10, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique intake number for a set of CCBC IDs<\/p>" + "comments": "

archived at timestamp<\/p>" }, { - "tableName": "application", - "tableFileName": "application", + "tableName": "application_milestone_data", + "tableFileName": "application_milestone_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", + "name": "<\/i>updated_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

updated by user id<\/p>" }, { - "tableName": "application", - "tableFileName": "application", + "tableName": "intake", + "tableFileName": "intake", "tableType": "Table", "keyClass": "indexedColumn", "keyTitle": "Indexed", - "name": "<\/i>owner", + "name": "<\/i>application_number_seq_name", "type": "varchar", "length": 1000, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The owner of the application, identified by its JWT sub<\/p>" + "comments": "

The name of the sequence used to generate CCBC ids. It is added via a trigger<\/p>" }, { - "tableName": "attachment", - "tableFileName": "attachment", + "tableName": "application", + "tableFileName": "application", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -5753,106 +5711,92 @@

Columns

"comments": "

archived at timestamp<\/p>" }, { - "tableName": "application_announcement", - "tableFileName": "application_announcement", + "tableName": "application", + "tableFileName": "application", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "is_primary", - "type": "bool", - "length": 1, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>intake_id", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", - "defaultValue": "false", - "comments": "

Flag to identify either announcement is primary or secondary<\/p>" + "defaultValue": "null", + "comments": "

The intake associated with the application, set when it is submitted<\/p>" }, { - "tableName": "gapless_counter", - "tableFileName": "gapless_counter", + "tableName": "ccbc_user", + "tableFileName": "ccbc_user", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "counter", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", "type": "int4", "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "0", - "comments": "

Primary key for the gapless counter<\/p>" + "autoUpdated": "√", + "defaultValue": "null", + "comments": "

Unique ID for the user<\/p>" }, { - "tableName": "communities_source_data", - "tableFileName": "communities_source_data", + "tableName": "application_announcement", + "tableFileName": "application_announcement", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "regional_district", + "name": "history_operation", "type": "varchar", "length": 1000, "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The regional district of the geograhic region<\/p>" - }, - { - "tableName": "sow_tab_1", - "tableFileName": "sow_tab_1", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", - "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "defaultValue": "'created'::character varying", + "comments": "

Column describing the operation (created, updated, deleted) for context on the history page<\/p>" }, { - "tableName": "ccbc_user", - "tableFileName": "ccbc_user", + "tableName": "application_claims_excel_data", + "tableFileName": "application_claims_excel_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", "type": "int4", "length": 10, - "nullable": "√", - "autoUpdated": "", + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

Unique ID for the claims excel data<\/p>" }, { - "tableName": "application", - "tableFileName": "application", + "tableName": "communities_source_data", + "tableFileName": "communities_source_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "ccbc_number", + "name": "economic_region", "type": "varchar", "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Reference number assigned to the application<\/p>" + "comments": "

The economic region of the geograhic region<\/p>" }, { - "tableName": "assessment_data", - "tableFileName": "assessment_data", + "tableName": "sow_tab_1", + "tableFileName": "sow_tab_1", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>application_id", + "name": "<\/i>archived_by", "type": "int4", "length": 10, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

archived by user id<\/p>" }, { - "tableName": "application_internal_description", - "tableFileName": "application_internal_description", + "tableName": "ccbc_user", + "tableFileName": "ccbc_user", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -5865,22 +5809,22 @@

Columns

"comments": "

archived at timestamp<\/p>" }, { - "tableName": "application_announcement", - "tableFileName": "application_announcement", + "tableName": "application", + "tableFileName": "application", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>announcement_id", - "type": "int4", - "length": 10, + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>owner", + "type": "varchar", + "length": 1000, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The foreign key of a form<\/p>" + "comments": "

The owner of the application, identified by its JWT sub<\/p>" }, { - "tableName": "application_claims_data", - "tableFileName": "application_claims_data", + "tableName": "assessment_data", + "tableFileName": "assessment_data", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -5890,81 +5834,53 @@

Columns

"nullable": "", "autoUpdated": "", "defaultValue": "'{}'::jsonb", - "comments": "

The claims form json data<\/p>" + "comments": "

The json form data of the assessment form. See schema<\/a><\/p>" }, { - "tableName": "rfi_data", - "tableFileName": "rfi_data", + "tableName": "record_version", + "tableFileName": "record_version", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "bigserial", + "length": 19, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "nextval('ccbc_public.record_version_id_seq'::regclass)", + "comments": "

Primary key and unique identifier<\/p>" }, { - "tableName": "application_analyst_lead", - "tableFileName": "application_analyst_lead", + "tableName": "application_announcement", + "tableFileName": "application_announcement", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>analyst_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>application_id", "type": "int4", "length": 10, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

ID of the analyst this analyst lead belongs to<\/p>" + "comments": "

The foreign key of an application<\/p>" }, { - "tableName": "application_sow_data", - "tableFileName": "application_sow_data", + "tableName": "application_claims_data", + "tableFileName": "application_claims_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "is_amendment", - "type": "bool", - "length": 1, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "false", - "comments": "

Column identifying if the record is an amendment<\/p>" - }, - { - "tableName": "change_request_data", - "tableFileName": "change_request_data", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "name": "excel_data_id", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" - }, - { - "tableName": "application_announced", - "tableFileName": "application_announced", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", - "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "comments": "

The id of the excel data that this record is associated with<\/p>" }, { - "tableName": "application_announced", - "tableFileName": "application_announced", + "tableName": "rfi_data", + "tableFileName": "rfi_data", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -5977,22 +5893,8 @@

Columns

"comments": "

archived at timestamp<\/p>" }, { - "tableName": "history_item", - "tableFileName": "history_item", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "table_name", - "type": "name", - "length": 2147483647, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Table name.<\/p>" - }, - { - "tableName": "application_pending_change_request", - "tableFileName": "application_pending_change_request", + "tableName": "application_analyst_lead", + "tableFileName": "application_analyst_lead", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -6005,8 +5907,8 @@

Columns

"comments": "

created by user id<\/p>" }, { - "tableName": "sow_tab_1", - "tableFileName": "sow_tab_1", + "tableName": "rfi_data", + "tableFileName": "rfi_data", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", @@ -6016,25 +5918,25 @@

Columns

"nullable": "", "autoUpdated": "√", "defaultValue": "null", - "comments": "" + "comments": "

The unique id of the form data<\/p>" }, { - "tableName": "cbc", - "tableFileName": "cbc", + "tableName": "change_request_data", + "tableFileName": "change_request_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", + "name": "updated_at", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "comments": "

updated at timestamp<\/p>" }, { - "tableName": "gis_data", - "tableFileName": "gis_data", + "tableName": "application_announced", + "tableFileName": "application_announced", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -6047,64 +5949,64 @@

Columns

"comments": "

archived by user id<\/p>" }, { - "tableName": "attachment", - "tableFileName": "attachment", + "tableName": "cbc_project", + "tableFileName": "cbc_project", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>application_status_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", "type": "int4", "length": 10, - "nullable": "√", - "autoUpdated": "", + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

The id of the application_status (ccbc_public.application_status.id) that the attachment references<\/p>" + "comments": "

Unique ID for the row<\/p>" }, { - "tableName": "application_claims_excel_data", - "tableFileName": "application_claims_excel_data", + "tableName": "history_item", + "tableFileName": "history_item", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "name": "record_id", + "type": "uuid", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

Identifier that uniquely identifies a record by primary key primary key + table_oid<\/a>.<\/p>" }, { - "tableName": "assessment_data", - "tableFileName": "assessment_data", + "tableName": "application_pending_change_request", + "tableFileName": "application_pending_change_request", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { - "tableName": "application_community_report_excel_data", - "tableFileName": "application_community_report_excel_data", + "tableName": "sow_tab_1", + "tableFileName": "sow_tab_1", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>application_id", + "name": "<\/i>sow_id", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

ID of the application this Community Report belongs to<\/p>" + "comments": "" }, { - "tableName": "notification", - "tableFileName": "notification", + "tableName": "cbc", + "tableFileName": "cbc", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -6117,36 +6019,22 @@

Columns

"comments": "

updated by user id<\/p>" }, { - "tableName": "cbc_project_communities", - "tableFileName": "cbc_project_communities", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>communities_source_data_id", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The reference to the communities source data id<\/p>" - }, - { - "tableName": "application_claims_excel_data", - "tableFileName": "application_claims_excel_data", + "tableName": "gis_data", + "tableFileName": "gis_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { - "tableName": "application_gis_data", - "tableFileName": "application_gis_data", + "tableName": "attachment", + "tableFileName": "attachment", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -6159,8 +6047,8 @@

Columns

"comments": "

created by user id<\/p>" }, { - "tableName": "application_sow_data", - "tableFileName": "application_sow_data", + "tableName": "analyst", + "tableFileName": "analyst", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", @@ -6170,25 +6058,11 @@

Columns

"nullable": "", "autoUpdated": "√", "defaultValue": "null", - "comments": "

Unique ID for the SoW<\/p>" - }, - { - "tableName": "application_milestone_excel_data", - "tableFileName": "application_milestone_excel_data", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "

Unique ID for the analyst<\/p>" }, { - "tableName": "application_project_type", - "tableFileName": "application_project_type", + "tableName": "assessment_data", + "tableFileName": "assessment_data", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -6201,18 +6075,32 @@

Columns

"comments": "

created at timestamp<\/p>" }, { - "tableName": "cbc_project", - "tableFileName": "cbc_project", + "tableName": "application_community_report_excel_data", + "tableFileName": "application_community_report_excel_data", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "json_data", + "type": "jsonb", + "length": 2147483647, "nullable": "", - "autoUpdated": "√", - "defaultValue": "null", - "comments": "

Unique ID for the row<\/p>" + "autoUpdated": "", + "defaultValue": "'{}'::jsonb", + "comments": "

The data imported from the excel filled by the respondent<\/p>" + }, + { + "tableName": "notification", + "tableFileName": "notification", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" }, { "tableName": "cbc_project_communities", @@ -6229,22 +6117,22 @@

Columns

"comments": "

created by user id<\/p>" }, { - "tableName": "application_project_type", - "tableFileName": "application_project_type", + "tableName": "application_claims_excel_data", + "tableFileName": "application_claims_excel_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { - "tableName": "application_milestone_excel_data", - "tableFileName": "application_milestone_excel_data", + "tableName": "application_gis_data", + "tableFileName": "application_gis_data", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -6257,64 +6145,64 @@

Columns

"comments": "

created at timestamp<\/p>" }, { - "tableName": "application_gis_assessment_hh", - "tableFileName": "application_gis_assessment_hh", + "tableName": "application_sow_data", + "tableFileName": "application_sow_data", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Primary key and unique identifier<\/p>" + "comments": "

ID of the application this SoW belongs to<\/p>" }, { - "tableName": "sow_tab_8", - "tableFileName": "sow_tab_8", + "tableName": "application_milestone_excel_data", + "tableFileName": "application_milestone_excel_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, + "name": "created_at", + "type": "timestamptz", + "length": 35, "nullable": "", "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

The data imported from the Excel filled by the respondent. See schema<\/a><\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { - "tableName": "gis_data", - "tableFileName": "gis_data", + "tableName": "application_project_type", + "tableFileName": "application_project_type", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

updated by user id<\/p>" }, { - "tableName": "application_package", - "tableFileName": "application_package", + "tableName": "cbc_project", + "tableFileName": "cbc_project", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, + "name": "json_data", + "type": "jsonb", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "'{}'::jsonb", + "comments": "

The data imported from the excel for that cbc project<\/p>" }, { - "tableName": "email_record", - "tableFileName": "email_record", + "tableName": "cbc_project_communities", + "tableFileName": "cbc_project_communities", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -6327,8 +6215,8 @@

Columns

"comments": "

created at timestamp<\/p>" }, { - "tableName": "application_gis_assessment_hh", - "tableFileName": "application_gis_assessment_hh", + "tableName": "application_project_type", + "tableFileName": "application_project_type", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -6341,148 +6229,190 @@

Columns

"comments": "

archived at timestamp<\/p>" }, { - "tableName": "attachment", - "tableFileName": "attachment", + "tableName": "application_milestone_excel_data", + "tableFileName": "application_milestone_excel_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "description", - "type": "varchar", - "length": 10000, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Description of the attachment<\/p>" + "comments": "

updated by user id<\/p>" }, { - "tableName": "application_internal_description", - "tableFileName": "application_internal_description", + "tableName": "application_gis_assessment_hh", + "tableFileName": "application_gis_assessment_hh", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", "name": "<\/i>application_id", "type": "int4", "length": 10, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Id of the application the description belongs to<\/p>" + "comments": "

The application_id of the application this record is associated with<\/p>" }, { - "tableName": "ccbc_user", - "tableFileName": "ccbc_user", + "tableName": "sow_tab_8", + "tableFileName": "sow_tab_8", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

created by user id<\/p>" }, { - "tableName": "form_data", - "tableFileName": "form_data", + "tableName": "sow_tab_8", + "tableFileName": "sow_tab_8", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

The json form data of the project information form. See schema<\/a><\/p>" + "autoUpdated": "√", + "defaultValue": "null", + "comments": "

Unique ID for the SoW Tab 8<\/p>" }, { - "tableName": "application_community_progress_report_data", - "tableFileName": "application_community_progress__3b268028", + "tableName": "application_package", + "tableFileName": "application_package", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "excel_data_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the excel data that this record is associated with<\/p>" + "comments": "

updated by user id<\/p>" }, { - "tableName": "application_claims_data", - "tableFileName": "application_claims_data", + "tableName": "email_record", + "tableFileName": "email_record", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", + "name": "<\/i>updated_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

updated by user id<\/p>" }, { - "tableName": "application", - "tableFileName": "application", + "tableName": "application_sow_data", + "tableFileName": "application_sow_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", "type": "int4", "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "null", + "comments": "

Unique ID for the SoW<\/p>" + }, + { + "tableName": "attachment", + "tableFileName": "attachment", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "file_name", + "type": "varchar", + "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "

Original uploaded file name<\/p>" + }, + { + "tableName": "application_internal_description", + "tableFileName": "application_internal_description", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "description", + "type": "text", + "length": 2147483647, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The internal description for the given application<\/p>" + }, + { + "tableName": "ccbc_user", + "tableFileName": "ccbc_user", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "external_analyst", + "type": "bool", + "length": 1, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

User is an external analyst<\/p>" }, { "tableName": "form_data", "tableFileName": "form_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "last_edited_page", + "type": "varchar", + "length": 100, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

created by user id<\/p>" + "comments": "

Column saving the key of the last edited form page<\/p>" }, { - "tableName": "sow_tab_7", - "tableFileName": "sow_tab_7", + "tableName": "application_community_progress_report_data", + "tableFileName": "application_community_progress__3b268028", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "history_operation", + "type": "varchar", + "length": 1000, "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "defaultValue": "'created'::character varying", + "comments": "

History operation<\/p>" }, { - "tableName": "change_request_data", - "tableFileName": "change_request_data", + "tableName": "application_claims_data", + "tableFileName": "application_claims_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, - "nullable": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, + "nullable": "√", "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

The json form data of the change request form<\/p>" + "defaultValue": "null", + "comments": "

archived at timestamp<\/p>" }, { - "tableName": "application_gis_assessment_hh", - "tableFileName": "application_gis_assessment_hh", + "tableName": "application", + "tableFileName": "application", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -6495,22 +6425,22 @@

Columns

"comments": "

created at timestamp<\/p>" }, { - "tableName": "record_version", - "tableFileName": "record_version", + "tableName": "form_data", + "tableFileName": "form_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "old_record", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The previous version of the record in JSON format<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { - "tableName": "change_request_data", - "tableFileName": "change_request_data", + "tableName": "sow_tab_7", + "tableFileName": "sow_tab_7", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -6523,22 +6453,22 @@

Columns

"comments": "

updated at timestamp<\/p>" }, { - "tableName": "application_project_type", - "tableFileName": "application_project_type", + "tableName": "change_request_data", + "tableFileName": "change_request_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "name": "<\/i>created_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

created by user id<\/p>" }, { - "tableName": "application_claims_data", - "tableFileName": "application_claims_data", + "tableName": "application_gis_assessment_hh", + "tableFileName": "application_gis_assessment_hh", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -6551,36 +6481,22 @@

Columns

"comments": "

updated by user id<\/p>" }, { - "tableName": "application_status", - "tableFileName": "application_status", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "change_reason", - "type": "varchar", - "length": 1000, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Change reason for analyst status change<\/p>" - }, - { - "tableName": "form", - "tableFileName": "form", + "tableName": "cbc_data", + "tableFileName": "cbc_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>form_type", - "type": "varchar", - "length": 1000, - "nullable": "√", - "autoUpdated": "", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

The type of form being stored<\/p>" + "comments": "

Unique ID for the cbc_data<\/p>" }, { - "tableName": "application_pending_change_request", - "tableFileName": "application_pending_change_request", + "tableName": "change_request_data", + "tableFileName": "change_request_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -6593,32 +6509,18 @@

Columns

"comments": "

archived by user id<\/p>" }, { - "tableName": "sow_tab_7", - "tableFileName": "sow_tab_7", + "tableName": "application_project_type", + "tableFileName": "application_project_type", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", + "name": "updated_at", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" - }, - { - "tableName": "cbc_data", - "tableFileName": "cbc_data", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

updated at timestamp<\/p>" }, { "tableName": "application_claims_data", @@ -6626,59 +6528,45 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", + "name": "updated_at", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "comments": "

updated at timestamp<\/p>" }, { - "tableName": "assessment_data", - "tableFileName": "assessment_data", + "tableName": "application_status", + "tableFileName": "application_status", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>assessment_data_type", - "type": "varchar", - "length": 1000, + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

archived by user id<\/p>" }, { - "tableName": "form_data", - "tableFileName": "form_data", + "tableName": "sow_tab_1", + "tableFileName": "sow_tab_1", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", "type": "int4", "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

archived by user id<\/p>" - }, - { - "tableName": "application_claims_excel_data", - "tableFileName": "application_claims_excel_data", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, "nullable": "", - "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "autoUpdated": "√", + "defaultValue": "null", + "comments": "" }, { - "tableName": "intake", - "tableFileName": "intake", + "tableName": "application_pending_change_request", + "tableFileName": "application_pending_change_request", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -6691,64 +6579,50 @@

Columns

"comments": "

archived at timestamp<\/p>" }, { - "tableName": "sow_tab_1", - "tableFileName": "sow_tab_1", + "tableName": "sow_tab_7", + "tableFileName": "sow_tab_7", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

The data imported from the Excel filled by the respondent. See schema<\/a><\/p>" + "defaultValue": "null", + "comments": "

updated by user id<\/p>" }, { - "tableName": "application_announced", - "tableFileName": "application_announced", + "tableName": "cbc_data", + "tableFileName": "cbc_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", + "name": "updated_at", "type": "timestamptz", "length": 35, "nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" - }, - { - "tableName": "form", - "tableFileName": "form", - "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>slug", - "type": "varchar", - "length": 1000, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The end url for the form data<\/p>" + "comments": "

updated at timestamp<\/p>" }, { - "tableName": "application_announcement", - "tableFileName": "application_announcement", + "tableName": "application_claims_data", + "tableFileName": "application_claims_data", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>application_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", "type": "int4", "length": 10, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The foreign key of an application<\/p>" + "comments": "

updated by user id<\/p>" }, { - "tableName": "application_analyst_lead", - "tableFileName": "application_analyst_lead", + "tableName": "assessment_data", + "tableFileName": "assessment_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -6761,8 +6635,8 @@

Columns

"comments": "

created by user id<\/p>" }, { - "tableName": "application", - "tableFileName": "application", + "tableName": "form_data", + "tableFileName": "form_data", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -6775,64 +6649,92 @@

Columns

"comments": "

archived at timestamp<\/p>" }, { - "tableName": "application_form_template_9_data", - "tableFileName": "application_form_template_9_data", + "tableName": "application_claims_excel_data", + "tableFileName": "application_claims_excel_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>application_id", + "name": "<\/i>updated_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

ID of the application this Template 9 Data belongs to<\/p>" + "comments": "

updated by user id<\/p>" }, { - "tableName": "attachment", - "tableFileName": "attachment", + "tableName": "intake", + "tableFileName": "intake", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "name": "<\/i>counter_id", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

The counter_id used by the gapless_counter to generate a gapless intake id<\/p>" }, { - "tableName": "cbc_project", - "tableFileName": "cbc_project", + "tableName": "sow_tab_1", + "tableFileName": "sow_tab_1", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

created by user id<\/p>" }, { - "tableName": "sow_tab_2", - "tableFileName": "sow_tab_2", + "tableName": "application_announced", + "tableFileName": "application_announced", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

updated by user id<\/p>" + }, + { + "tableName": "form", + "tableFileName": "form", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "name": "json_schema", + "type": "jsonb", + "length": 2147483647, + "nullable": "", + "autoUpdated": "", + "defaultValue": "'{}'::jsonb", + "comments": "

The JSON schema for the respective form<\/p>" + }, + { + "tableName": "application_announcement", + "tableFileName": "application_announcement", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

created by user id<\/p>" }, { - "tableName": "communities_source_data", - "tableFileName": "communities_source_data", + "tableName": "application_analyst_lead", + "tableFileName": "application_analyst_lead", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -6845,50 +6747,50 @@

Columns

"comments": "

created at timestamp<\/p>" }, { - "tableName": "application_sow_data", - "tableFileName": "application_sow_data", + "tableName": "application", + "tableFileName": "application", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, - "nullable": "√", + "name": "program", + "type": "text", + "length": 2147483647, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "defaultValue": "'CCBC'::text", + "comments": "

Program type of the project<\/p>" }, { - "tableName": "ccbc_user", - "tableFileName": "ccbc_user", + "tableName": "application_form_template_9_data", + "tableFileName": "application_form_template_9_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "external_analyst", - "type": "bool", - "length": 1, + "name": "json_data", + "type": "jsonb", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

User is an external analyst<\/p>" + "comments": "

The data imported from the Excel filled by the applicant<\/p>" }, { - "tableName": "application_community_progress_report_data", - "tableFileName": "application_community_progress__3b268028", + "tableName": "attachment", + "tableFileName": "attachment", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, + "name": "updated_at", + "type": "timestamptz", + "length": 35, "nullable": "", "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

The due date, date received and the file information of the Community Progress Report Excel file<\/p>" + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" }, { - "tableName": "application_project_type", - "tableFileName": "application_project_type", + "tableName": "application_gis_data", + "tableFileName": "application_gis_data", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", @@ -6898,11 +6800,25 @@

Columns

"nullable": "", "autoUpdated": "√", "defaultValue": "null", - "comments": "

Unique ID for the application_project_type<\/p>" + "comments": "" }, { - "tableName": "application_community_report_excel_data", - "tableFileName": "application_community_report_excel_data", + "tableName": "application_status", + "tableFileName": "application_status", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "null", + "comments": "

Unique ID for the application_status<\/p>" + }, + { + "tableName": "communities_source_data", + "tableFileName": "communities_source_data", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", @@ -6915,22 +6831,64 @@

Columns

"comments": "

updated by user id<\/p>" }, { - "tableName": "form_data", - "tableFileName": "form_data", + "tableName": "application_sow_data", + "tableFileName": "application_sow_data", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "name": "amendment_number", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", + "defaultValue": "0", + "comments": "

The amendment number<\/p>" + }, + { + "tableName": "cbc", + "tableFileName": "cbc", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

Unique ID for the row<\/p>" }, { - "tableName": "application_gis_assessment_hh", - "tableFileName": "application_gis_assessment_hh", + "tableName": "application_community_progress_report_data", + "tableFileName": "application_community_progress__3b268028", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

created by user id<\/p>" + }, + { + "tableName": "application_project_type", + "tableFileName": "application_project_type", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

ID of the application this application_project_type belongs to<\/p>" + }, + { + "tableName": "application_community_report_excel_data", + "tableFileName": "application_community_report_excel_data", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -6943,23 +6901,65 @@

Columns

"comments": "

updated at timestamp<\/p>" }, { - "tableName": "cbc_data", - "tableFileName": "cbc_data", + "tableName": "form_data", + "tableFileName": "form_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "change_reason", - "type": "text", - "length": 2147483647, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>form_schema_id", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

Schema for the respective form_data<\/p>" + }, + { + "tableName": "application_gis_assessment_hh", + "tableFileName": "application_gis_assessment_hh", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

archived by user id<\/p>" + }, + { + "tableName": "attachment", + "tableFileName": "attachment", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "null", + "comments": "

Unique ID for the attachment<\/p>" }, { "tableName": "application_milestone_data", "tableFileName": "application_milestone_data", "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

Id of the application the milestone belongs to<\/p>" + }, + { + "tableName": "application_analyst_lead", + "tableFileName": "application_analyst_lead", + "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", "name": "<\/i>id", @@ -6968,21 +6968,21 @@

Columns

"nullable": "", "autoUpdated": "√", "defaultValue": "null", - "comments": "

Unique id for the milestone<\/p>" + "comments": "

Unique ID for the application_analyst_lead<\/p>" }, { - "tableName": "rfi_data_status_type", - "tableFileName": "rfi_data_status_type", + "tableName": "application_er", + "tableFileName": "application_er", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", + "name": "er", "type": "varchar", - "length": 1000, + "length": 255, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The description of the status type<\/p>" + "comments": "" }, { "tableName": "application_milestone_data", @@ -6990,55 +6990,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, + "name": "history_operation", + "type": "varchar", + "length": 1000, "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "defaultValue": "'created'::character varying", + "comments": "

History operation<\/p>" }, { "tableName": "application_form_template_9_data", "tableFileName": "application_form_template_9_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" - }, - { - "tableName": "application_gis_assessment_hh", - "tableFileName": "application_gis_assessment_hh", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>created_by", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

created by user id<\/p>" + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" }, { - "tableName": "application_er", - "tableFileName": "application_er", + "tableName": "application_gis_assessment_hh", + "tableFileName": "application_gis_assessment_hh", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "er", - "type": "varchar", - "length": 255, - "nullable": "√", + "name": "created_at", + "type": "timestamptz", + "length": 35, + "nullable": "", "autoUpdated": "", + "defaultValue": "now()", + "comments": "

created at timestamp<\/p>" + }, + { + "tableName": "application_milestone_data", + "tableFileName": "application_milestone_data", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "" + "comments": "

Unique id for the milestone<\/p>" }, { "tableName": "history_item", @@ -7046,13 +7046,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, + "name": "op", + "type": "\"audit\".\"operation\"", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Timestamp of the operation recorded.<\/p>" + "comments": "

Type of operation: INSERT/UPDATE/DELETE/TRUNCATE/SNAPSHOT.<\/p>" }, { "tableName": "cbc_data", @@ -7060,39 +7060,39 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>cbc_id", + "name": "<\/i>project_number", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

ID of the cbc application this cbc_data belongs to<\/p>" + "comments": "

Column containing the project number the cbc application is from<\/p>" }, { "tableName": "application_analyst_lead", "tableFileName": "application_analyst_lead", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for the application_analyst_lead<\/p>" + "comments": "

ID of the application this analyst lead belongs to<\/p>" }, { "tableName": "sow_tab_7", "tableFileName": "sow_tab_7", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>sow_id", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", "comments": "" }, @@ -7102,83 +7102,83 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active", - "type": "bool", - "length": 1, + "name": "email", + "type": "varchar", + "length": 100, "nullable": "√", "autoUpdated": "", - "defaultValue": "true", - "comments": "

Boolean column indicating whether the analyst is active or not.<\/p>" + "defaultValue": "null", + "comments": "

Analyst’s email address<\/p>" }, { - "tableName": "application_status", - "tableFileName": "application_status", + "tableName": "application_announcement", + "tableFileName": "application_announcement", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>announcement_id", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "defaultValue": "null", + "comments": "

The foreign key of a form<\/p>" }, { "tableName": "application_milestone_excel_data", "tableFileName": "application_milestone_excel_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "updated_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>archived_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

updated at timestamp<\/p>" + "defaultValue": "null", + "comments": "

archived by user id<\/p>" }, { "tableName": "application_pending_change_request", "tableFileName": "application_pending_change_request", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "comment", - "type": "varchar", - "length": 100, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>created_by", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Column containing the comment for the change request or completion of the change request<\/p>" + "comments": "

created by user id<\/p>" }, { "tableName": "rfi_data", "tableFileName": "rfi_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>rfi_data_status_type_id", + "type": "varchar", + "length": 1000, + "nullable": "√", "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

Column referencing the form data status type, defaults to draft<\/p>" }, { "tableName": "intake", "tableFileName": "intake", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_at", - "type": "timestamptz", - "length": 35, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>updated_by", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

created at timestamp<\/p>" + "defaultValue": "null", + "comments": "

updated by user id<\/p>" }, { "tableName": "record_version", @@ -7186,111 +7186,111 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "table_schema", + "name": "table_name", "type": "name", "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The schema of the table the record is associated with<\/p>" + "comments": "

The name of the table the record is associated with<\/p>" }, { "tableName": "project_information_data", "tableFileName": "project_information_data", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>archived_by", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "archived_at", + "type": "timestamptz", + "length": 35, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

archived by user id<\/p>" + "comments": "

archived at timestamp<\/p>" }, { "tableName": "intake", "tableFileName": "intake", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "close_timestamp", - "type": "timestamptz", - "length": 35, + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>ccbc_intake_number", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Close date and time for an intake number<\/p>" + "comments": "

Unique intake number for a set of CCBC IDs<\/p>" }, { "tableName": "application_status", "tableFileName": "application_status", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique ID for the application_status<\/p>" + "comments": "

ID of the application this status belongs to<\/p>" }, { "tableName": "attachment", "tableFileName": "attachment", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "file_size", - "type": "varchar", - "length": 100, - "nullable": "√", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>application_id", + "type": "int4", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Original uploaded file size<\/p>" + "comments": "

The id of the project (ccbc_public.application.id) that the attachment was uploaded to<\/p>" }, { - "tableName": "application_pending_change_request", - "tableFileName": "application_pending_change_request", + "tableName": "reporting_gcpe", + "tableFileName": "reporting_gcpe", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "archived_at", - "type": "timestamptz", - "length": 35, - "nullable": "√", - "autoUpdated": "", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "√", "defaultValue": "null", - "comments": "

archived at timestamp<\/p>" + "comments": "

Unique ID for the row for that report<\/p>" }, { "tableName": "conditional_approval_data", "tableFileName": "conditional_approval_data", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "json_data", - "type": "jsonb", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "'{}'::jsonb", - "comments": "

The json form data of the conditional approval form. See schema<\/a><\/p>" - }, - { - "tableName": "form_data", - "tableFileName": "form_data", - "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>updated_by", + "name": "<\/i>created_by", "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

updated by user id<\/p>" + "comments": "

created by user id<\/p>" + }, + { + "tableName": "form_data", + "tableFileName": "form_data", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "updated_at", + "type": "timestamptz", + "length": 35, + "nullable": "", + "autoUpdated": "", + "defaultValue": "now()", + "comments": "

updated at timestamp<\/p>" } ]; var config = { diff --git a/schemaspy/ccbc_public/index.html b/schemaspy/ccbc_public/index.html index b849209c94..7d7b8ac127 100644 --- a/schemaspy/ccbc_public/index.html +++ b/schemaspy/ccbc_public/index.html @@ -78,7 +78,7 @@

Tables


SchemaSpy Analysis of ccbc.ccbc_public

-

Generated on Thu Oct 31 22:23 GMT 2024

+

Generated on Thu Oct 31 22:51 GMT 2024

diff --git a/schemaspy/ccbc_public/info-html.txt b/schemaspy/ccbc_public/info-html.txt index d4d189b334..aaad11de1d 100644 --- a/schemaspy/ccbc_public/info-html.txt +++ b/schemaspy/ccbc_public/info-html.txt @@ -1,4 +1,4 @@ -date=2024-10-31 22:23:13+0000 +date=2024-10-31 22:51:17+0000 os=Linux 6.5.0-1025-azure schemaspy-version=6.2.4 schemaspy-build=6.2.4.41 2023-07-21 11:15:12 diff --git a/schemaspy/ccbc_public/tables/record_version.html b/schemaspy/ccbc_public/tables/record_version.html index d0ce82157e..a600f132fc 100644 --- a/schemaspy/ccbc_public/tables/record_version.html +++ b/schemaspy/ccbc_public/tables/record_version.html @@ -418,18 +418,14 @@

Check Constraints

- - record_version_check - (((COALESCE(record_id, old_record_id) IS NOT NULL) OR (op = 'TRUNCATE'::audit.operation))) - - - record_version_check3 - (((op = ANY (ARRAY['UPDATE'::audit.operation, 'DELETE'::audit.operation])) = (old_record_id IS NOT NULL))) - record_version_check1 (((op = ANY (ARRAY['INSERT'::audit.operation, 'UPDATE'::audit.operation])) = (record_id IS NOT NULL))) + + record_version_check + (((COALESCE(record_id, old_record_id) IS NOT NULL) OR (op = 'TRUNCATE'::audit.operation))) + record_version_check4 (((op = ANY (ARRAY['UPDATE'::audit.operation, 'DELETE'::audit.operation])) = (old_record IS NOT NULL))) @@ -438,6 +434,10 @@

Check Constraints

record_version_check2 (((op = ANY (ARRAY['INSERT'::audit.operation, 'UPDATE'::audit.operation])) = (record IS NOT NULL))) + + record_version_check3 + (((op = ANY (ARRAY['UPDATE'::audit.operation, 'DELETE'::audit.operation])) = (old_record_id IS NOT NULL))) + diff --git a/schemaspy/data/announcement.json b/schemaspy/data/announcement.json deleted file mode 100644 index 3f660b983b..0000000000 --- a/schemaspy/data/announcement.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "description": "", - "type": "object", - "required": [ - "announcementType", - "announcementUrl", - "announcementDate" - ], - "properties": { - "announcementType": { - "type": "string", - "enum": [ - "Primary", - "Secondary" - ] - }, - "announcementUrl": { - "type": "string", - "title": "Announcement URL" - }, - "announcementDate": { - "type": "string", - "title": "Announcement date" - }, - "otherProjectsInAnnouncement": { - "type": "string", - "title": "Other projects in announcement" - } - } -} \ No newline at end of file diff --git a/schemaspy/data/conditional_approval_data.json b/schemaspy/data/conditional_approval_data.json deleted file mode 100644 index 80938510ab..0000000000 --- a/schemaspy/data/conditional_approval_data.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "Conditional approval", - "description": "", - "type": "object", - "properties": { - "decision": { - "title": "Minister's decision", - "type": "object", - "required": [ - "ministerDecision", - "ministerDate", - "ministerAnnouncement" - ], - "properties": { - "ministerDecision": { - "type": "string", - "enum": [ - "Approved", - "Not approved", - "Hold" - ] - }, - "ministerDate": { - "type": "string" - }, - "ministerAnnouncement": { - "type": "string", - "enum": [ - "Announce immediately", - "Hold announcement" - ] - } - } - }, - "isedDecisionObj": { - "title": "", - "type": "object", - "required": [ - "isedDecision", - "isedDate", - "isedAnnouncement" - ], - "properties": { - "isedDecision": { - "type": "string", - "enum": [ - "Approved", - "Not approved", - "Hold" - ] - }, - "isedDate": { - "type": "string" - }, - "isedAnnouncement": { - "type": "string", - "enum": [ - "Announce immediately", - "Hold announcement" - ] - } - } - }, - "letterOfApproval": { - "type": "object", - "required": [ - "letterOfApprovalUpload", - "letterOfApprovalDateSent" - ], - "properties": { - "letterOfApprovalUpload": { - "title": " ", - "type": "string" - }, - "letterOfApprovalDateSent": { - "type": "string" - } - } - }, - "response": { - "type": "object", - "required": [ - "applicantResponse", - "statusApplicantSees" - ], - "properties": { - "applicantResponse": { - "type": "string", - "enum": [ - "Accepted", - "Rejected" - ] - }, - "statusApplicantSees": { - "type": "string", - "enum": [ - "Conditionally Approved" - ] - } - } - } - } -} \ No newline at end of file diff --git a/schemaspy/data/gis_data.json b/schemaspy/data/gis_data.json deleted file mode 100644 index 0c19dba32b..0000000000 --- a/schemaspy/data/gis_data.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "GIS Information", - "description": "", - "type": "object", - "required": [ - "assignedTo", - "targetDate", - "nextStep", - "commentsOnCoverageData", - "commentsOnHouseholdCounts", - "commentsOnOverbuild", - "commentsOnOverlap" - ], - "properties": { - "assignedTo": { - "title": "Assigned to", - "type": "string" - }, - "targetDate": { - "title": "Target date", - "type": "string" - }, - "nextStep": { - "title": "Progress", - "type": "string", - "enum": [ - "Not started", - "Needs RFI", - "Needs 2nd review", - "Assessment complete" - ], - "default": "Not started" - }, - "commentsOnCoverageData": { - "title": "Comments on coverage data", - "type": "string" - }, - "commentsOnHouseholdCounts": { - "title": "Comments on household counts", - "type": "string" - }, - "commentsOnOverbuild": { - "title": "Comments on overbuild", - "type": "string" - }, - "commentsOnOverlap": { - "title": "Comments on overlap", - "type": "string" - } - } -} \ No newline at end of file diff --git a/schemaspy/data/rfi_data.json b/schemaspy/data/rfi_data.json deleted file mode 100644 index ce340305ef..0000000000 --- a/schemaspy/data/rfi_data.json +++ /dev/null @@ -1,303 +0,0 @@ -{ - "title": "RFI data", - "type": "object", - "required": [ - "rfiType", - "rfiDueBy", - "rfiEmailCorrespondance", - "rfiAdditionalFiles" - ], - "properties": { - "rfiType": { - "title": "RFI type", - "type": "array", - "items": { - "type": "string", - "enum": [ - "Missing files or information", - "Technical" - ] - }, - "uniqueItems": true - }, - "rfiDueBy": { - "title": "Due by", - "description": "Files should be uploaded by the specified date", - "type": "string" - }, - "rfiEmailCorrespondance": { - "title": "Email correspondence", - "description": "Files with email correspondence", - "type": "string" - }, - "rfiAdditionalFiles": { - "type": "object", - "description": "Additional files included in RFI response", - "properties": { - "eligibilityAndImpactsCalculatorRfi": { - "title": "Template 1 - Eligibility and Impacts Calculator", - "description": "Template 1 - Eligibility and Impacts Calculator included", - "type": "boolean" - }, - "detailedBudgetRfi": { - "title": "Template 2 - Detailed Budget", - "description": "Template 2 - Detailed Budget included", - "type": "boolean" - }, - "financialForecastRfi": { - "title": "Template 3 - Financial Forecast", - "description": "Template 3 - Financial Forecast included", - "type": "boolean" - }, - "lastMileIspOfferingRfi": { - "title": "Template 4 - Last Mile Internet Service Offering", - "description": "Template 4 - Last Mile Internet Service Offering included", - "type": "boolean" - }, - "popWholesalePricingRfi": { - "title": "Template 5 - List of Points of Presence and Wholesale Pricing", - "description": "Template 5 - List of Points of Presence and Wholesale Pricing included", - "type": "boolean" - }, - "communityRuralDevelopmentBenefitsTemplateRfi": { - "title": "Template 6 - Community and Rural Development Benefits", - "description": "Template 6 - Community and Rural Development Benefits included", - "type": "boolean" - }, - "wirelessAddendumRfi": { - "title": "Template 7 - Wireless Addendum", - "description": "Template 7 - Wireless Addendum included", - "type": "boolean" - }, - "supportingConnectivityEvidenceRfi": { - "title": "Template 8 - Supporting Connectivity Evidence", - "description": "Template 8 - Supporting Connectivity Evidence included", - "type": "boolean" - }, - "geographicNamesRfi": { - "title": "Template 9 - Backbone and Geographic Names", - "description": "Template 9 - Backbone and Geographic Names included", - "type": "boolean" - }, - "equipmentDetailsRfi": { - "title": "Template 10 - Equipment Details", - "description": "Template 10 - Equipment Details included", - "type": "boolean" - }, - "copiesOfRegistrationRfi": { - "title": "Copies of registration and other relevant documents", - "description": "Copies of registration and other relevant documents included", - "type": "boolean" - }, - "preparedFinancialStatementsRfi": { - "title": "Financial statements", - "description": "Financial statements included", - "type": "boolean" - }, - "logicalNetworkDiagramRfi": { - "title": "Logical Network Diagram", - "description": "Logical Network Diagram included", - "type": "boolean" - }, - "projectScheduleRfi": { - "title": "Project schedule", - "description": "TProject schedule included", - "type": "boolean" - }, - "communityRuralDevelopmentBenefitsRfi": { - "title": "Benefits supporting documents", - "description": "Benefits supporting documents included", - "type": "boolean" - }, - "otherSupportingMaterialsRfi": { - "title": "Other supporting materials", - "description": "Other supporting materials included", - "type": "boolean" - }, - "geographicCoverageMapRfi": { - "title": "Coverage map from Eligibility Mapping Tool", - "description": "Coverage map from Eligibility Mapping Tool included", - "type": "boolean" - }, - "coverageAssessmentStatisticsRfi": { - "title": "Coverage Assessment and Statistics", - "description": "Coverage Assessment and Statistics included", - "type": "boolean" - }, - "currentNetworkInfastructureRfi": { - "title": "Current network infrastructure", - "description": "Current network infrastructure included", - "type": "boolean" - }, - "upgradedNetworkInfrastructureRfi": { - "title": "Proposed or Upgraded Network Infrastructure", - "description": "Proposed or Upgraded Network Infrastructure included", - "type": "boolean" - } - }, - "dependencies": { - "eligibilityAndImpactsCalculatorRfi": { - "properties": { - "eligibilityAndImpactsCalculator": { - "title": "Template 1 - Eligibility and Impacts Calculator", - "type": "string" - } - } - }, - "detailedBudgetRfi": { - "properties": { - "detailedBudget": { - "title": "Template 2 - Detailed Budget", - "type": "string" - } - } - }, - "financialForecastRfi": { - "properties": { - "financialForecast": { - "title": "Template 3 - Financial Forecast", - "type": "string" - } - } - }, - "lastMileIspOfferingRfi": { - "properties": { - "lastMileIspOffering": { - "title": "Template 4 - Last Mile Internet Service Offering", - "type": "string" - } - } - }, - "popWholesalePricingRfi": { - "properties": { - "popWholesalePricing": { - "title": "Template 5 - List of Points of Presence and Wholesale Pricing", - "type": "string" - } - } - }, - "communityRuralDevelopmentBenefitsTemplateRfi": { - "properties": { - "communityRuralDevelopmentBenefitsTemplate": { - "title": "Template 6 - Community and Rural Development Benefits", - "type": "string" - } - } - }, - "wirelessAddendumRfi": { - "properties": { - "wirelessAddendum": { - "title": "Template 7 - Wireless Addendum", - "type": "string" - } - } - }, - "supportingConnectivityEvidenceRfi": { - "properties": { - "supportingConnectivityEvidence": { - "title": "Template 8 - Supporting Connectivity Evidence", - "type": "string" - } - } - }, - "geographicNamesRfi": { - "properties": { - "geographicNames": { - "title": "Template 9 - Backbone and Geographic Names", - "type": "string" - } - } - }, - "equipmentDetailsRfi": { - "properties": { - "equipmentDetails": { - "title": "Template 10 - Equipment Details", - "type": "string" - } - } - }, - "copiesOfRegistrationRfi": { - "properties": { - "copiesOfRegistration": { - "title": "Copies of registration and other relevant documents", - "type": "string" - } - } - }, - "preparedFinancialStatementsRfi": { - "properties": { - "preparedFinancialStatements": { - "title": "Financial statements", - "type": "string" - } - } - }, - "logicalNetworkDiagramRfi": { - "properties": { - "logicalNetworkDiagram": { - "title": "Logical Network Diagram", - "type": "string" - } - } - }, - "projectScheduleRfi": { - "properties": { - "projectSchedule": { - "title": "Project schedule", - "type": "string" - } - } - }, - "communityRuralDevelopmentBenefitsRfi": { - "properties": { - "communityRuralDevelopmentBenefits": { - "title": "Benefits supporting documents", - "type": "string" - } - } - }, - "otherSupportingMaterialsRfi": { - "properties": { - "otherSupportingMaterials": { - "title": "Other supporting materials", - "type": "string" - } - } - }, - "geographicCoverageMapRfi": { - "properties": { - "geographicCoverageMap": { - "title": "Coverage map from Eligibility Mapping Tool", - "type": "string" - } - } - }, - "coverageAssessmentStatisticsRfi": { - "properties": { - "coverageAssessmentStatistics": { - "title": "Coverage Assessment and Statistics", - "type": "string" - } - } - }, - "currentNetworkInfastructureRfi": { - "properties": { - "currentNetworkInfastructure": { - "title": "Current network infrastructure", - "type": "string" - } - } - }, - "upgradedNetworkInfrastructureRfi": { - "properties": { - "upgradedNetworkInfrastructure": { - "title": "Proposed or Upgraded Network Infrastructure", - "type": "string" - } - } - } - }, - "uniqueItems": true - } - } -} \ No newline at end of file diff --git a/schemaspy/index.html b/schemaspy/index.html index 2d84482027..816c53868b 100644 --- a/schemaspy/index.html +++ b/schemaspy/index.html @@ -49,7 +49,7 @@

SchemaSpy Analysis of ccbc

-

Generated on Thu Oct 31 22:23 GMT 2024

+

Generated on Thu Oct 31 22:51 GMT 2024

The json form data of the RFI information form. See schema<\/a><\/p>" + "defaultValue": "'draft'::character varying", + "comments": "

The data imported from the Excel filled by the respondent. See schema<\/a><\/p>" + "defaultValue": "null", + "comments": "