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 @@
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 @@ 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 @@ Body of the email<\/p>"
+ "comments": " Message ID of the email returned by the email server<\/p>"
},
{
"tableName": "analyst",
@@ -242,32 +242,18 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ archived at timestamp<\/p>"
+ "defaultValue": "false",
+ "comments": " Flag to identify either announcement is primary or secondary<\/p>"
},
{
"tableName": "form",
@@ -1082,55 +1110,55 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ New record in Json format.<\/p>"
+ "comments": " Old record in Json format.<\/p>"
},
{
"tableName": "cbc_project",
@@ -1334,88 +1348,60 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ The type of the geograhic region<\/p>"
+ "comments": " The regional district of the geograhic region<\/p>"
},
{
"tableName": "intake",
@@ -1894,125 +1908,125 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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": " The data imported from the Excel filled by the respondent. See schema<\/a><\/p>"
+ "defaultValue": "null",
+ "comments": " created by user id<\/p>"
},
{
"tableName": "application",
@@ -2188,13 +2202,13 @@ The intake associated with the application, set when it is submitted<\/p>"
+ "comments": " created by user id<\/p>"
},
{
"tableName": "attachment",
@@ -2202,60 +2216,32 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ Email Address(es) of the CC recipients<\/p>"
+ "comments": " Subject of the email<\/p>"
},
{
"tableName": "application_form_template_9_data",
@@ -2538,87 +2538,129 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ created by user id<\/p>"
},
{
- "tableName": "application",
- "tableFileName": "application",
+ "tableName": "form_data",
+ "tableFileName": "form_data",
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
@@ -6775,64 +6649,92 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ Timestamp of the operation recorded.<\/p>"
+ "comments": " Type of operation: INSERT/UPDATE/DELETE/TRUNCATE/SNAPSHOT.<\/p>"
},
{
"tableName": "cbc_data",
@@ -7060,39 +7060,39 @@ 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 @@ 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": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "bc_geographic_name",
+ "name": "geographic_type",
"type": "varchar",
"length": 1000,
- "nullable": "",
+ "nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "body",
+ "name": "message_id",
"type": "varchar",
- "length": 10000,
+ "length": 1000,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "archived_at",
- "type": "timestamptz",
- "length": 35,
+ "name": "active",
+ "type": "bool",
+ "length": 1,
"nullable": "√",
"autoUpdated": "",
- "defaultValue": "null",
- "comments": "Columns
"defaultValue": "now()",
"comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "email",
- "type": "varchar",
- "length": 100,
- "nullable": "√",
+ "name": "created_at",
+ "type": "timestamptz",
+ "length": 35,
+ "nullable": "",
"autoUpdated": "",
+ "defaultValue": "now()",
+ "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "item",
+ "name": "family_name",
"type": "varchar",
"length": 2147483647,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "family_name",
+ "name": "given_name",
"type": "varchar",
"length": 1000,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"nullable": "",
"autoUpdated": "√",
"defaultValue": "null",
- "comments": "Columns
"nullable": "",
"autoUpdated": "√",
"defaultValue": "null",
- "comments": "Columns
"defaultValue": "now()",
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"nullable": "",
"autoUpdated": "√",
"defaultValue": "null",
- "comments": "Columns
"comments": "Columns
"comments": "Columns
"defaultValue": "now()",
"comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "archived_at",
- "type": "timestamptz",
- "length": 35,
+ "name": "history_operation",
+ "type": "varchar",
+ "length": 1000,
"nullable": "√",
"autoUpdated": "",
- "defaultValue": "null",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "archived_at",
- "type": "timestamptz",
- "length": 35,
+ "name": "amendment_number",
+ "type": "int4",
+ "length": 10,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "archived_at",
- "type": "timestamptz",
- "length": 35,
+ "name": "is_primary",
+ "type": "bool",
+ "length": 1,
"nullable": "√",
"autoUpdated": "",
- "defaultValue": "null",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "json_schema",
- "type": "jsonb",
- "length": 2147483647,
- "nullable": "",
+ "name": "description",
+ "type": "varchar",
+ "length": 1000,
+ "nullable": "√",
"autoUpdated": "",
- "defaultValue": "'{}'::jsonb",
- "comments": "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": "Columns
"comments": "Columns
"defaultValue": "now()",
"comments": "Columns
"comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "record",
+ "name": "old_record",
"type": "jsonb",
"length": 2147483647,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "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": "Columns
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "file_type",
+ "name": "file_size",
"type": "varchar",
"length": 100,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "latitude",
+ "name": "longitude",
"type": "float8",
"length": 17,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "record",
+ "name": "old_record",
"type": "jsonb",
"length": 2147483647,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"defaultValue": "null",
"comments": "Columns
"comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "geographic_type",
+ "name": "regional_district",
"type": "varchar",
"length": 1000,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "description",
- "type": "text",
- "length": 2147483647,
+ "name": "hidden",
+ "type": "bool",
+ "length": 1,
"nullable": "√",
"autoUpdated": "",
- "defaultValue": "null",
- "comments": "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": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "economic_region",
- "type": "varchar",
- "length": 1000,
+ "name": "latitude",
+ "type": "float8",
+ "length": 17,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "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": "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": "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": "Columns
"tableType": "Table",
"keyClass": "foreignKey",
"keyTitle": "Foreign Key",
- "name": "<\/i>application_id",
- "type": "int4",
- "length": 10,
- "nullable": "",
- "autoUpdated": "",
- "defaultValue": "null",
- "comments": "Columns
"defaultValue": "now()",
"comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "to_email",
+ "name": "cc_email",
"type": "varchar",
"length": 1000,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "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": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "ccbc_numbers",
- "type": "varchar",
+ "name": "json_data",
+ "type": "jsonb",
"length": 2147483647,
- "nullable": "√",
+ "nullable": "",
"autoUpdated": "",
- "defaultValue": "null",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "cc_email",
+ "name": "subject",
"type": "varchar",
- "length": 1000,
+ "length": 10000,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "json_data",
+ "name": "errors",
"type": "jsonb",
"length": 2147483647,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "updated_at",
+ "name": "created_at",
"type": "timestamptz",
"length": 35,
"nullable": "",
"autoUpdated": "",
"defaultValue": "now()",
- "comments": "Columns
"defaultValue": "null",
"comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "given_name",
+ "name": "session_sub",
"type": "varchar",
"length": 2147483647,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "given_name",
+ "name": "family_name",
"type": "varchar",
"length": 1000,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "description",
- "type": "varchar",
- "length": 1000,
+ "name": "visible_by_applicant",
+ "type": "bool",
+ "length": 1,
"nullable": "√",
"autoUpdated": "",
- "defaultValue": "null",
- "comments": "Columns
"defaultValue": "null",
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"defaultValue": "null",
"comments": "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": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "op",
- "type": "\"audit\".\"operation\"",
+ "name": "table_name",
+ "type": "name",
"length": 2147483647,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"defaultValue": "null",
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"nullable": "",
"autoUpdated": "",
"defaultValue": "'{}'::jsonb",
- "comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"nullable": "",
"autoUpdated": "",
"defaultValue": "'{}'::jsonb",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "given_name",
+ "name": "family_name",
"type": "varchar",
"length": 1000,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "open_timestamp",
+ "name": "close_timestamp",
"type": "timestamptz",
"length": 35,
"nullable": "",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "Columns
"comments": "Columns
"comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "errors",
+ "name": "source",
"type": "jsonb",
"length": 2147483647,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "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": "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": "Columns
"nullable": "",
"autoUpdated": "√",
"defaultValue": "null",
- "comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"nullable": "",
"autoUpdated": "",
"defaultValue": "'{}'::jsonb",
- "comments": "Columns
"nullable": "",
"autoUpdated": "√",
"defaultValue": "null",
- "comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"nullable": "",
"autoUpdated": "",
"defaultValue": "'{}'::jsonb",
- "comments": "Columns
"comments": "Columns
"comments": "Columns
"nullable": "",
"autoUpdated": "√",
"defaultValue": "null",
- "comments": ""
+ "comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"nullable": "",
"autoUpdated": "√",
"defaultValue": "null",
- "comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "created_at",
+ "name": "updated_at",
"type": "timestamptz",
"length": 35,
"nullable": "",
"autoUpdated": "",
"defaultValue": "now()",
- "comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"comments": "Columns
"nullable": "",
"autoUpdated": "√",
"defaultValue": "null",
- "comments": "Columns
"comments": "Columns
"comments": "Columns
"nullable": "",
"autoUpdated": "√",
"defaultValue": "null",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "archived_at",
- "type": "timestamptz",
- "length": 35,
+ "name": "history_operation",
+ "type": "varchar",
+ "length": 1000,
"nullable": "√",
"autoUpdated": "",
- "defaultValue": "null",
- "comments": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "created_at",
- "type": "timestamptz",
- "length": 35,
+ "name": "op",
+ "type": "\"audit\".\"operation\"",
+ "length": 2147483647,
"nullable": "√",
"autoUpdated": "",
"defaultValue": "null",
- "comments": "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": "Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "active",
- "type": "bool",
- "length": 1,
+ "name": "email",
+ "type": "varchar",
+ "length": 100,
"nullable": "√",
"autoUpdated": "",
- "defaultValue": "true",
- "comments": "