From 673c6bdad403172db4d7142a84d8e72e0ea492da Mon Sep 17 00:00:00 2001 From: afwilcox Date: Thu, 7 Nov 2024 20:42:41 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20bcgov/nr?= =?UTF-8?q?-compliance-enforcement@803807cb6ae9f6843851a48503a58673b6bee2a?= =?UTF-8?q?1=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- schemaspy/index.html | 2 +- schemaspy/public/columns.html | 6234 ++++++++++++++++---------------- schemaspy/public/index.html | 2 +- schemaspy/public/info-html.txt | 2 +- schemaspy/public/routines.html | 16 +- 5 files changed, 3128 insertions(+), 3128 deletions(-) diff --git a/schemaspy/index.html b/schemaspy/index.html index fc473afb9..1f8ad9a91 100644 --- a/schemaspy/index.html +++ b/schemaspy/index.html @@ -49,7 +49,7 @@

SchemaSpy Analysis of default

-

Generated on Thu Nov 07 18:57 GMT 2024

+

Generated on Thu Nov 07 20:42 GMT 2024

diff --git a/schemaspy/public/columns.html b/schemaspy/public/columns.html index 6020beff7..a165163d3 100644 --- a/schemaspy/public/columns.html +++ b/schemaspy/public/columns.html @@ -114,6 +114,20 @@

Columns

"tableName": "officer", "tableFileName": "officer", "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>office_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

System generated unique key for an office. The primary office an officer is assigned to.<\/p>" + }, + { + "tableName": "complaint_update", + "tableFileName": "complaint_update", + "tableType": "Table", "keyClass": "", "keyTitle": "", "name": "create_user_id", @@ -122,21 +136,63 @@

Columns

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

The id of the user that created the officer.<\/p>" + "comments": "

The id of the user that created the complaint update record.<\/p>" }, { - "tableName": "complaint_update", - "tableFileName": "complaint_update", + "tableName": "complaint", + "tableFileName": "complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_seq_number", - "type": "int4", - "length": 10, - "nullable": "", + "name": "detail_text", + "type": "text", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

An integer that is used to reflect the order that complaint updates were entered into the call center system.<\/p>" + "comments": "

Verbatim details of the complaint as recorded by the call centre or through the web form.<\/p>" + }, + { + "tableName": "complaint", + "tableFileName": "complaint", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "caller_email", + "type": "varchar", + "length": 120, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The email address provided by the caller to the call centre or entered onto the web form.<\/p>" + }, + { + "tableName": "action_taken", + "tableFileName": "action_taken", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "action_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The date from webEOC that the ACTION_TAKEN was recorded. The timestamp is stored in UTC with no Offset.<\/p>" + }, + { + "tableName": "linked_complaint_xref", + "tableFileName": "linked_complaint_xref", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>linked_complaint_xref_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", + "autoUpdated": "", + "defaultValue": "uuid_generate_v4()", + "comments": "

A human readable code used to identify a complaint linkage.<\/p>" }, { "tableName": "team", @@ -144,41 +200,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "update_user_id", "type": "varchar", "length": 32, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the TEAM.<\/p>" + "comments": "

The id of the user that updated the TEAM<\/p>" }, { - "tableName": "team", - "tableFileName": "team", + "tableName": "person_complaint_xref_h", + "tableFileName": "person_complaint_xref_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", + "name": "operation_executed_at", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The timestamp when the TEAM was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "action_taken", - "tableFileName": "action_taken", + "tableName": "hwcr_complaint", + "tableFileName": "hwcr_complaint", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>action_taken_guid", + "name": "<\/i>hwcr_complaint_guid", "type": "uuid", "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for an action taken record. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

System generated unique key for a hwcr complaint. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "attractant_code", @@ -195,120 +251,120 @@

Columns

"comments": "

A boolean indicator to determine if the attractant code is active.<\/p>" }, { - "tableName": "team", - "tableFileName": "team", + "tableName": "gir_complaint", + "tableFileName": "gir_complaint", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>team_code", + "name": "<\/i>complaint_identifier", "type": "varchar", - "length": 15, + "length": 20, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a TEAM<\/p>" + "comments": "

Natural key for a complaint generated by webEOC.<\/p>" }, { - "tableName": "officer_h", - "tableFileName": "officer_h", + "tableName": "linked_complaint_xref", + "tableFileName": "linked_complaint_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>linked_complaint_identifier", + "type": "varchar", + "length": 20, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

One half of a linked complaint pair. If the type requires a context of hierarchy, the complaint that is lower in the hierarchy. For example, in the case of duplicate complaints, this would be the complaint that would be closed as a duplicate of the parent.<\/p>" }, { - "tableName": "allegation_complaint", - "tableFileName": "allegation_complaint", + "tableName": "gir_complaint_h", + "tableFileName": "gir_complaint_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "operation_type", + "type": "bpchar", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the allegation complaint was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { - "tableName": "configuration_h", - "tableFileName": "configuration_h", + "tableName": "geo_organization_unit_code", + "tableFileName": "geo_organization_unit_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, + "name": "expiry_date", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

The date the Geographical Organizational Unit is no longer recognized as a valid physical location within the Ministry organizational structure.<\/p>" }, { - "tableName": "gir_complaint", - "tableFileName": "gir_complaint", + "tableName": "entity_code", + "tableFileName": "entity_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>gir_type_code", - "type": "varchar", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a type of GIR complaint.<\/p>" + "comments": "" }, { - "tableName": "attractant_code", - "tableFileName": "attractant_code", + "tableName": "attractant_hwcr_xref", + "tableFileName": "attractant_hwcr_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the attractant code was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the attractant hwcr cross reference was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "linked_complaint_xref", - "tableFileName": "linked_complaint_xref", + "tableName": "feature_code", + "tableFileName": "feature_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the complaint linkage was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the FEATURE was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "violation_code", - "tableFileName": "violation_code", + "tableName": "attractant_code", + "tableFileName": "attractant_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>agency_code", - "type": "varchar", + "keyClass": "", + "keyTitle": "", + "name": "display_order", + "type": "int4", "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "'COS'::character varying", - "comments": "

A human readable code used to identify an agency.<\/p>" + "defaultValue": "null", + "comments": "

The order in which the values of the attractant code table should be displayed when presented to a user in a list.<\/p>" }, { - "tableName": "entity_code", - "tableFileName": "entity_code", + "tableName": "attractant_code", + "tableFileName": "attractant_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -318,431 +374,403 @@

Columns

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

The short description of the attractant code.<\/p>" }, { - "tableName": "attractant_hwcr_xref", - "tableFileName": "attractant_hwcr_xref", + "tableName": "complaint", + "tableFileName": "complaint", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>attractant_code", + "keyClass": "", + "keyTitle": "", + "name": "caller_name", "type": "varchar", - "length": 10, - "nullable": "", + "length": 120, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an attractant.<\/p>" + "comments": "

The name provided by the caller to the call centre or entered onto the web form.<\/p>" }, { - "tableName": "feature_code", - "tableFileName": "feature_code", - "tableType": "Table", + "tableName": "cos_geo_org_unit_flat_vw", + "tableFileName": "cos_geo_org_unit_flat_vw", + "tableType": "View", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, - "nullable": "", + "name": "area_name", + "type": "varchar", + "length": 50, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the FEATUREs should be displayed when presented to a user in a list.<\/p>" + "comments": "" }, { - "tableName": "configuration_h", - "tableFileName": "configuration_h", + "tableName": "staging_metadata_mapping", + "tableFileName": "staging_metadata_mapping", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "name": "staged_data_value", + "type": "varchar", + "length": 120, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the configuration table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "" }, { - "tableName": "configuration_h", - "tableFileName": "configuration_h", + "tableName": "geo_organization_unit_code", + "tableFileName": "geo_organization_unit_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, - "nullable": "", + "name": "update_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "comments": "

The id of the user that updated the geographical organization unit code.<\/p>" }, { - "tableName": "team", - "tableFileName": "team", + "tableName": "person_complaint_xref_code", + "tableFileName": "person_complaint_xref_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the TEAM was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The short description of the relationship type between a person and a complaint.<\/p>" }, { - "tableName": "geo_org_unit_structure", - "tableFileName": "geo_org_unit_structure", + "tableName": "allegation_complaint", + "tableFileName": "allegation_complaint", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>agency_code", - "type": "varchar", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "observed_ind", + "type": "bool", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an agency. The agency that defines the geographical organization unit structural relationship.<\/p>" + "comments": "

True if the alleged violation was observed first hand. False otherwise.<\/p>" }, { - "tableName": "geo_organization_unit_code", - "tableFileName": "geo_organization_unit_code", + "tableName": "species_code", + "tableFileName": "species_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", + "name": "short_description", "type": "varchar", - "length": 250, - "nullable": "√", + "length": 50, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of the geographical organization unit code.<\/p>" + "comments": "

The short description of the species code.<\/p>" }, { - "tableName": "staging_metadata_mapping", - "tableFileName": "staging_metadata_mapping", + "tableName": "complaint_type_code", + "tableFileName": "complaint_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "update_user_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "office_h", - "tableFileName": "office_h", + "tableName": "geometry_columns", + "tableFileName": "geometry_columns", + "tableType": "View", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>srid", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" + }, + { + "tableName": "office", + "tableFileName": "office", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", + "name": "create_user_id", "type": "varchar", "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the office table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "null", + "comments": "

The id of the user that created the office.<\/p>" }, { - "tableName": "geo_org_unit_structure_h", - "tableFileName": "geo_org_unit_structure_h", + "tableName": "geo_org_unit_structure", + "tableFileName": "geo_org_unit_structure", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>geo_org_unit_structure_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for a geographical organization unit structure. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "complaint_type_code", - "tableFileName": "complaint_type_code", + "tableName": "configuration_h", + "tableFileName": "configuration_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "operation_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the configuration table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "complaint_update", - "tableFileName": "complaint_update", + "tableName": "comp_mthd_recv_cd_agcy_cd_xref", + "tableFileName": "comp_mthd_recv_cd_agcy_cd_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>complaint_method_received_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the complaint update record was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

A human readable code used to identify a complaint_method_received_code that is controlled by the comp_mthd_recv_cd_agcy_cd_xref table.<\/p>" }, { - "tableName": "geo_organization_unit_code", - "tableFileName": "geo_organization_unit_code", + "tableName": "attractant_hwcr_xref_h", + "tableFileName": "attractant_hwcr_xref_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "operation_type", + "type": "bpchar", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the geographical organization unit code was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { - "tableName": "comp_mthd_recv_cd_agcy_cd_xref", - "tableFileName": "comp_mthd_recv_cd_agcy_cd_xref", + "tableName": "feature_code", + "tableFileName": "feature_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "create_user_id", "type": "varchar", "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the complaint_method_received_code / AGENCY mapping<\/p>" + "comments": "

The id of the user that created the FEATURE.<\/p>" }, { - "tableName": "feature_code", - "tableFileName": "feature_code", - "tableType": "Table", + "tableName": "geography_columns", + "tableFileName": "geography_columns", + "tableType": "View", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "f_table_name", + "type": "name", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the FEATURE was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { - "tableName": "entity_code", - "tableFileName": "entity_code", + "tableName": "staging_activity_code", + "tableFileName": "staging_activity_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "long_description", + "type": "varchar", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "feature_code", - "tableFileName": "feature_code", + "tableName": "officer_h", + "tableFileName": "officer_h", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>feature_code", - "type": "varchar", - "length": 10, + "name": "<\/i>h_officer_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A human readable code used to identify a FEATURE that is controlled by the FEATURE_AGENCY_XREF table.<\/p>" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for officer history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "complaint_type_code", - "tableFileName": "complaint_type_code", + "tableName": "comp_mthd_recv_cd_agcy_cd_xref", + "tableFileName": "comp_mthd_recv_cd_agcy_cd_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_guid", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>comp_mthd_recv_cd_agcy_cd_xref_guid", "type": "uuid", "length": 2147483647, - "nullable": "√", + "nullable": "", "autoUpdated": "", - "defaultValue": "null", + "defaultValue": "uuid_generate_v4()", "comments": "" }, { - "tableName": "officer_team_xref_h", - "tableFileName": "officer_team_xref_h", + "tableName": "staging_activity_code", + "tableFileName": "staging_activity_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the officer_team_xref that has been created or modified.<\/p>" + "comments": "" }, { - "tableName": "feature_code", - "tableFileName": "feature_code", + "tableName": "hwcr_complaint", + "tableFileName": "hwcr_complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

A boolean indicator to determine if the FEATURE is active.<\/p>" - }, - { - "tableName": "staging_activity_code", - "tableFileName": "staging_activity_code", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>staging_activity_code", - "type": "varchar", - "length": 10, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The timestamp when the HWCR complaint was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "allegation_complaint", "tableFileName": "allegation_complaint", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>complaint_identifier", + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", "type": "varchar", - "length": 20, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Natural key for a complaint generated by webEOC.<\/p>" + "comments": "

The id of the user that updated the allegation complaint.<\/p>" }, { - "tableName": "allegation_complaint", - "tableFileName": "allegation_complaint", + "tableName": "complaint_status_code", + "tableFileName": "complaint_status_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "in_progress_ind", - "type": "bool", - "length": 1, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

True if the alleged violation is currently described as being in progress. False otherwise.<\/p>" + "comments": "

The order in which the values of the complaint status code table should be displayed when presented to a user in a list.<\/p>" }, { - "tableName": "agency_code", - "tableFileName": "agency_code", + "tableName": "geo_organization_unit_code", + "tableFileName": "geo_organization_unit_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>geo_organization_unit_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the agency code.<\/p>" + "comments": "

A human readable code used to identify a geographical organization unit.<\/p>" }, { - "tableName": "violation_code", - "tableFileName": "violation_code", + "tableName": "complaint", + "tableFileName": "complaint", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>complaint_identifier", "type": "varchar", - "length": 32, + "length": 20, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the violation code.<\/p>" - }, - { - "tableName": "team", - "tableFileName": "team", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "", - "autoUpdated": "", - "defaultValue": "true", - "comments": "

A boolean indicator to determine if the TEAM is active.<\/p>" - }, - { - "tableName": "attractant_hwcr_xref_h", - "tableFileName": "attractant_hwcr_xref_h", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, - "nullable": "", - "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the attractant hwcr xref table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { - "tableName": "person_h", - "tableFileName": "person_h", + "tableName": "hwcr_complaint_nature_code", + "tableFileName": "hwcr_complaint_nature_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the person table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "

The order in which the values of the nature of the Human Wildlife Conflict code table should be displayed when presented to a user in a list.<\/p>" }, { - "tableName": "spatial_ref_sys", - "tableFileName": "spatial_ref_sys", - "tableType": "Table", + "tableName": "cos_geo_org_unit_flat_vw", + "tableFileName": "cos_geo_org_unit_flat_vw", + "tableType": "View", "keyClass": "", "keyTitle": "", - "name": "srtext", - "type": "varchar", - "length": 2048, + "name": "administrative_office_ind", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "officer_team_xref_h", - "tableFileName": "officer_team_xref_h", + "tableName": "attractant_hwcr_xref", + "tableFileName": "attractant_hwcr_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the officer_team_xref table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "

The id of the user that created the attractant hwcr cross reference.<\/p>" }, { - "tableName": "geo_org_unit_type_code", - "tableFileName": "geo_org_unit_type_code", + "tableName": "officer_team_xref", + "tableFileName": "officer_team_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -752,67 +780,67 @@

Columns

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

A boolean indicator to determine if the geographical organization unit type code is active.<\/p>" + "comments": "

Used to indicate if the users in the OFFICER_TEAM_XREF recrodis active.<\/p>" }, { - "tableName": "configuration", - "tableFileName": "configuration", + "tableName": "officer_h", + "tableFileName": "officer_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "operation_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A boolean indicator to determine if the configuration_entry is active.<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the officer table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "hwcr_complaint", - "tableFileName": "hwcr_complaint", + "tableName": "complaint_method_received_code", + "tableFileName": "complaint_method_received_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>species_code", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>complaint_method_received_code", "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a wildlife species.<\/p>" + "comments": "

A human readable code used to define the method in which the complaint was received<\/p>" }, { - "tableName": "geometry_columns", - "tableFileName": "geometry_columns", - "tableType": "View", - "keyClass": "", - "keyTitle": "", - "name": "type", - "type": "varchar", - "length": 30, - "nullable": "√", + "tableName": "staging_complaint", + "tableFileName": "staging_complaint", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>staging_complaint_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", + "defaultValue": "uuid_generate_v4()", "comments": "" }, { - "tableName": "complaint_method_received_code", - "tableFileName": "complaint_method_received_code", + "tableName": "geo_org_unit_type_code", + "tableFileName": "geo_org_unit_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, - "nullable": "√", + "name": "display_order", + "type": "int4", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of a METHOD_COMPLAINT_RECEIVED_CODE<\/p>" + "comments": "

The order in which the values of the geographical organization unit type code table should be displayed when presented to a user in a list.<\/p>" }, { - "tableName": "person_complaint_xref", - "tableFileName": "person_complaint_xref", + "tableName": "complaint_method_received_code", + "tableFileName": "complaint_method_received_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -822,35 +850,35 @@

Columns

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

The id of the user that updated the relationship between a person and a complaint .<\/p>" + "comments": "

The id of the user that updated the METHOD_COMPLAINT_RECEIVED_CODE.<\/p>" }, { - "tableName": "staging_status_code", - "tableFileName": "staging_status_code", + "tableName": "gir_complaint", + "tableFileName": "gir_complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The id of the user that created the GIR complaint.<\/p>" }, { - "tableName": "gir_type_code", - "tableFileName": "gir_type_code", + "tableName": "action_taken", + "tableFileName": "action_taken", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>action_taken_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for an action taken record. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "staging_activity_code", @@ -858,10 +886,10 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", + "name": "update_user_id", "type": "varchar", - "length": 250, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -870,11 +898,11 @@

Columns

"tableName": "staging_complaint", "tableFileName": "staging_complaint", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>staging_activity_code", + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -886,27 +914,13 @@

Columns

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

A human readable code used to identify an agency. The agency that currently owns the complaint.<\/p>" - }, - { - "tableName": "cos_geo_org_unit_flat_vw", - "tableFileName": "cos_geo_org_unit_flat_vw", - "tableType": "View", - "keyClass": "", - "keyTitle": "", - "name": "offloc_name", - "type": "varchar", - "length": 50, + "name": "<\/i>comp_mthd_recv_cd_agcy_cd_xref_guid", + "type": "uuid", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

Methods in which the complaint was received. Examples include: DGIR forward, Direct email or phone call,Minister’s office,RAPP ,Referral<\/p>" }, { "tableName": "complaint", @@ -914,13 +928,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "caller_phone_2", - "type": "varchar", - "length": 15, + "name": "incident_reported_utc_timestmp", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

An alternate phone number provided by the caller to the call centre or entered onto the web form.<\/p>" + "comments": "

The date and time at which the complaint was reported.<\/p>" }, { "tableName": "complaint_status_code", @@ -928,13 +942,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the complaint status code table should be displayed when presented to a user in a list.<\/p>" + "comments": "

The timestamp when the complaint status code was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "complaint_update", @@ -942,97 +956,111 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "upd_location_geometry_point", - "type": "geometry", - "length": 2147483647, + "name": "webeoc_identifier", + "type": "varchar", + "length": 20, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The closest approximation to where the incident occurred. Stored as a geometric point using the EPSG:3005 Projected Coordinate System (BC Albers)<\/p>" + "comments": "

Unique Identifier from the webEOC source system to identify a complaint update. This is required as the natural key is not available in all webEOC APIs<\/p>" }, { - "tableName": "person_complaint_xref_code", - "tableFileName": "person_complaint_xref_code", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "description", "type": "varchar", - "length": 32, + "length": 200, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the relationship type between a person and a complaint .<\/p>" + "comments": "" }, { - "tableName": "feature_code", - "tableFileName": "feature_code", + "tableName": "comp_mthd_recv_cd_agcy_cd_xref", + "tableFileName": "comp_mthd_recv_cd_agcy_cd_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the FEATURE was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the complaint_method_received_code / AGENCY mapping.<\/p>" }, { "tableName": "action_taken_h", "tableFileName": "action_taken_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_action_taken_guid", - "type": "uuid", + "keyClass": "", + "keyTitle": "", + "name": "data_after_executed_operation", + "type": "jsonb", "length": 2147483647, - "nullable": "", + "nullable": "√", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for complaint history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { - "tableName": "action_taken_h", - "tableFileName": "action_taken_h", + "tableName": "reported_by_code", + "tableFileName": "reported_by_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the complaint table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "null", + "comments": "" }, { - "tableName": "violation_code", - "tableFileName": "violation_code", - "tableType": "Table", + "tableName": "cos_geo_org_unit_flat_vw", + "tableFileName": "cos_geo_org_unit_flat_vw", + "tableType": "View", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "area_code", + "type": "varchar", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the violation code was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { - "tableName": "gir_complaint", - "tableFileName": "gir_complaint", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>complaint_identifier", + "tableName": "cos_geo_org_unit_flat_vw", + "tableFileName": "cos_geo_org_unit_flat_vw", + "tableType": "View", + "keyClass": "", + "keyTitle": "", + "name": "zone_name", "type": "varchar", - "length": 20, - "nullable": "", + "length": 50, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Natural key for a complaint generated by webEOC.<\/p>" + "comments": "" + }, + { + "tableName": "cos_geo_org_unit_flat_vw", + "tableFileName": "cos_geo_org_unit_flat_vw", + "tableType": "View", + "keyClass": "", + "keyTitle": "", + "name": "offloc_code", + "type": "varchar", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" }, { "tableName": "geo_organization_unit_code", @@ -1040,73 +1068,87 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "short_description", + "type": "varchar", + "length": 50, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the geographical organization unit code was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The short description of the geographical organization unit code.<\/p>" }, { - "tableName": "officer_team_xref_h", - "tableFileName": "officer_team_xref_h", + "tableName": "spatial_ref_sys", + "tableFileName": "spatial_ref_sys", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_officer_team_xref_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "proj4text", + "type": "varchar", + "length": 2048, + "nullable": "√", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for officer_team_xref history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "" }, { - "tableName": "linked_complaint_xref", - "tableFileName": "linked_complaint_xref", + "tableName": "geo_org_unit_structure", + "tableFileName": "geo_org_unit_structure", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>linked_complaint_identifier", - "type": "varchar", - "length": 20, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "expiry_date", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

One half of a linked complaint pair. If the type requires a context of hierarchy, the complaint that is lower in the hierarchy. For example, in the case of duplicate complaints, this would be the complaint that would be closed as a duplicate of the parent.<\/p>" + "comments": "

The date the Geographical Organizational Unit Structure is no longer recognized as a valid relationship within the Ministry organizational structure.<\/p>" }, { - "tableName": "office", - "tableFileName": "office", + "tableName": "officer_team_xref_h", + "tableFileName": "officer_team_xref_h", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>geo_organization_unit_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a geographical organization unit. The geographical unit where the office is located. This might not necessarily be the lowest level in the geographical organizational unit hierarchy.<\/p>" + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { - "tableName": "complaint", - "tableFileName": "complaint", + "tableName": "linked_complaint_xref", + "tableFileName": "linked_complaint_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "incident_reported_utc_timestmp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date and time at which the complaint was reported.<\/p>" + "comments": "

The timestamp when the complaint linkage was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "office", - "tableFileName": "office", + "tableName": "team", + "tableFileName": "team", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "active_ind", + "type": "bool", + "length": 1, + "nullable": "", + "autoUpdated": "", + "defaultValue": "true", + "comments": "

A boolean indicator to determine if the TEAM is active.<\/p>" + }, + { + "tableName": "complaint", + "tableFileName": "complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -1116,109 +1158,109 @@

Columns

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

The timestamp when the office was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the complaint was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "complaint_status_code", - "tableFileName": "complaint_status_code", + "tableName": "team", + "tableFileName": "team", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>complaint_status_code", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>agency_code", "type": "varchar", - "length": 10, + "length": 6, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a complaint status.<\/p>" + "comments": "" }, { - "tableName": "staging_metadata_mapping", - "tableFileName": "staging_metadata_mapping", + "tableName": "complaint_status_code", + "tableFileName": "complaint_status_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "create_user_id", "type": "varchar", "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The id of the user that created the complaint status code.<\/p>" }, { - "tableName": "complaint_h", - "tableFileName": "complaint_h", + "tableName": "person_complaint_xref_code", + "tableFileName": "person_complaint_xref_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "varchar", - "length": 20, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the complaint that has been created or modified.<\/p>" + "comments": "

The order in which the values of the relationship type between a person and a complaint code table should be displayed when presented to a user in a list.<\/p>" }, { - "tableName": "person_complaint_xref_h", - "tableFileName": "person_complaint_xref_h", + "tableName": "complaint_update", + "tableFileName": "complaint_update", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>h_person_complaint_xref_guid", + "name": "<\/i>complaint_update_guid", "type": "uuid", "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for person assigned to complaint history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

System generated unique key for a complaint update. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "person_complaint_xref_h", + "tableFileName": "person_complaint_xref_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "version", - "type": "varchar", - "length": 50, + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { - "tableName": "feature_code", - "tableFileName": "feature_code", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "installed_by", "type": "varchar", - "length": 50, + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of the FEATURE controlled by the flag.<\/p>" + "comments": "" }, { - "tableName": "feature_agency_xref", - "tableFileName": "feature_agency_xref", + "tableName": "feature_code", + "tableFileName": "feature_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>agency_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an AGENCY.<\/p>" + "comments": "

The timestamp when the FEATURE was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "staging_complaint", - "tableFileName": "staging_complaint", + "tableName": "feature_agency_xref", + "tableFileName": "feature_agency_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -1228,49 +1270,49 @@

Columns

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

The timestamp when the FEATURE / AGENCY mapping was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "entity_code", - "tableFileName": "entity_code", + "tableName": "allegation_complaint_h", + "tableFileName": "allegation_complaint_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>entity_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the allegation complaint table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "feature_agency_xref", - "tableFileName": "feature_agency_xref", + "tableName": "entity_code", + "tableFileName": "entity_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "create_user_id", "type": "varchar", "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the FEATURE / AGENCY mapping<\/p>" + "comments": "" }, { - "tableName": "feature_agency_xref", - "tableFileName": "feature_agency_xref", + "tableName": "configuration", + "tableFileName": "configuration", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the FEATURE / AGENCY mapping was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

A boolean indicator to determine if the configuration_entry is active.<\/p>" }, { "tableName": "configuration", @@ -1278,41 +1320,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "create_user_id", "type": "varchar", "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the configuration entry.<\/p>" + "comments": "

The id of the user that created the configuration entry.<\/p>" }, { - "tableName": "hwcr_complaint_h", - "tableFileName": "hwcr_complaint_h", + "tableName": "staging_complaint", + "tableFileName": "staging_complaint", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>complaint_identifier", + "type": "varchar", + "length": 20, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" + }, + { + "tableName": "staging_status_code", + "tableFileName": "staging_status_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "comments": "" }, { - "tableName": "action_taken", - "tableFileName": "action_taken", + "tableName": "person_h", + "tableFileName": "person_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the ACTION_TAKEN<\/p>" + "comments": "

The unique key for the person that has been created or modified.<\/p>" }, { "tableName": "species_code", @@ -1320,13 +1376,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the species code is active.<\/p>" + "comments": "

The timestamp when the species code was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "action_taken", @@ -1334,13 +1390,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "action_details_txt", - "type": "text", - "length": 2147483647, - "nullable": "√", + "name": "update_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Text about who the call centre staff contacted and when<\/p>" + "comments": "

The id of the user that updated the ACTION_TAKEN<\/p>" }, { "tableName": "attractant_code", @@ -1348,55 +1404,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the attractant code table should be displayed when presented to a user in a list.<\/p>" + "comments": "

The timestamp when the attractant code was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "complaint", "tableFileName": "complaint", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>location_geometry_point", + "type": "geometry", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the complaint was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The closest approximation to where the incident occurred. Stored as a geometric point using the EPSG:3005 Projected Coordinate System (BC Albers)<\/p>" }, { "tableName": "officer_team_xref", "tableFileName": "officer_team_xref", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>team_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique key for a team. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

The timestamp when the OFFICER_TEAM_XREF was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "office_h", "tableFileName": "office_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_office_guid", - "type": "uuid", + "keyClass": "", + "keyTitle": "", + "name": "data_after_executed_operation", + "type": "jsonb", "length": 2147483647, - "nullable": "", + "nullable": "√", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for office history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { "tableName": "complaint_update", @@ -1404,13 +1460,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "upd_location_detailed_text", - "type": "varchar", - "length": 4000, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A more detailed description of the location of the complaint.<\/p>" + "comments": "

The timestamp when the complaint_update record was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "person_complaint_xref_code", @@ -1418,13 +1474,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, - "nullable": "√", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of the relationship type between a person and a complaint.<\/p>" + "comments": "

The timestamp when the relationship type between a person and a complaint was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "person_complaint_xref_code", @@ -1432,80 +1488,94 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "update_user_id", "type": "varchar", - "length": 50, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of the relationship type between a person and a complaint.<\/p>" + "comments": "

The id of the user that updated the relationship type between a person and a complaint .<\/p>" }, { "tableName": "complaint", "tableFileName": "complaint", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>reported_by_code", + "keyClass": "", + "keyTitle": "", + "name": "webeoc_identifier", "type": "varchar", - "length": 10, + "length": 20, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an agency. The agency that originally referred the complaint.<\/p>" + "comments": "

Unique Identifier from the webEOC source system to identify a complaint update. This is required as the natural key is not available in all webEOC APIs<\/p>" }, { "tableName": "geo_org_unit_structure", "tableFileName": "geo_org_unit_structure", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>child_geo_org_unit_code", + "type": "varchar", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the geographical organization unit structure was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The geographical organization that is contained by the parent geographical organization unit.<\/p>" }, { - "tableName": "person_complaint_xref_code", - "tableFileName": "person_complaint_xref_code", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>installed_rank", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the relationship type between a person and a complaint.<\/p>" + "comments": "" }, { - "tableName": "complaint_method_received_code", - "tableFileName": "complaint_method_received_code", + "tableName": "agency_code", + "tableFileName": "agency_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the METHOD_COMPLAINT_RECEIVED_CODE was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

A boolean indicator to determine if the agency code is active.<\/p>" }, { - "tableName": "staging_status_code", - "tableFileName": "staging_status_code", - "tableType": "Table", + "tableName": "geography_columns", + "tableFileName": "geography_columns", + "tableType": "View", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "type", + "type": "text", + "length": 2147483647, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" + }, + { + "tableName": "geography_columns", + "tableFileName": "geography_columns", + "tableType": "View", + "keyClass": "", + "keyTitle": "", + "name": "f_table_schema", + "type": "name", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -1516,9 +1586,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", + "name": "update_user_id", "type": "varchar", - "length": 250, + "length": 32, "nullable": "√", "autoUpdated": "", "defaultValue": "null", @@ -1530,83 +1600,125 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "caller_address", + "name": "location_summary_text", "type": "varchar", "length": 120, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The address provided by the caller to the call centre or entered onto the web form.<\/p>" + "comments": "

A brief summary of the location of the complaint.<\/p>" }, { - "tableName": "hwcr_complaint_h", - "tableFileName": "hwcr_complaint_h", + "tableName": "staging_status_code", + "tableFileName": "staging_status_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "active_ind", + "type": "bool", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "" }, { "tableName": "feature_agency_xref", "tableFileName": "feature_agency_xref", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>feature_code", + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a FEATURE that is controlled by the FEATURE_AGENCY_XREF table.<\/p>" + "comments": "

The id of the user that updated the FEATURE / AGENCY mapping<\/p>" }, { "tableName": "officer", "tableFileName": "officer", "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>person_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

System generated unique key for an person.<\/p>" + }, + { + "tableName": "cos_geo_org_unit_flat_vw", + "tableFileName": "cos_geo_org_unit_flat_vw", + "tableType": "View", "keyClass": "", "keyTitle": "", - "name": "user_id", + "name": "region_name", "type": "varchar", - "length": 32, + "length": 50, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" + }, + { + "tableName": "geometry_columns", + "tableFileName": "geometry_columns", + "tableType": "View", + "keyClass": "", + "keyTitle": "", + "name": "f_table_name", + "type": "name", + "length": 2147483647, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" + }, + { + "tableName": "violation_code", + "tableFileName": "violation_code", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>violation_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The IDIR ID issued to the user by the Government of British Columbia as part of their employment.<\/p>" + "comments": "

A human readable code used to identify a violation.<\/p>" }, { "tableName": "complaint", "tableFileName": "complaint", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "reported_by_other_text", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>reported_by_code", "type": "varchar", - "length": 120, + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Provides a more detailed description when the referred by Agency is of type “OTHER”<\/p>" + "comments": "

A human readable code used to identify an agency. The agency that originally referred the complaint.<\/p>" }, { "tableName": "complaint", "tableFileName": "complaint", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>geo_organization_unit_code", "type": "varchar", - "length": 32, - "nullable": "", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the complaint.<\/p>" + "comments": "

A human readable code used to identify a geographical organization unit. The finest known grain geographical organization unit where the complaint occurred.<\/p>" }, { "tableName": "geo_org_unit_type_code", @@ -1614,13 +1726,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", + "name": "update_user_id", "type": "varchar", - "length": 250, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of the geographical organization unit type code.<\/p>" + "comments": "

The id of the user that updated the geographical organization unit type code.<\/p>" }, { "tableName": "complaint_type_code", @@ -1628,10 +1740,10 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, - "nullable": "", + "name": "create_user_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -1642,139 +1754,139 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", + "name": "update_user_id", "type": "varchar", - "length": 250, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of the FEATURE controlled by the flag.<\/p>" + "comments": "

The id of the user that updated the FEATURE<\/p>" }, { - "tableName": "complaint", - "tableFileName": "complaint", + "tableName": "hwcr_complaint_h", + "tableFileName": "hwcr_complaint_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "is_privacy_requested", - "type": "bpchar", - "length": 1, - "nullable": "√", + "name": "operation_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", - "defaultValue": "'U'::bpchar", - "comments": "

flag to represent that the caller has asked for special care when handling their personal information<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the HWCR complaint table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { "tableName": "complaint", "tableFileName": "complaint", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>complaint_identifier", + "keyClass": "", + "keyTitle": "", + "name": "caller_phone_1", "type": "varchar", - "length": 20, - "nullable": "", + "length": 15, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The primary phone number provided by the caller to the call centre or entered onto the web form.<\/p>" }, { - "tableName": "officer", - "tableFileName": "officer", + "tableName": "complaint_update_h", + "tableFileName": "complaint_update_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the officer was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The unique key for the complaint update that has been created or modified.<\/p>" }, { - "tableName": "agency_code", - "tableFileName": "agency_code", + "tableName": "complaint_status_code", + "tableFileName": "complaint_status_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "short_description", "type": "varchar", - "length": 32, + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the agency code.<\/p>" + "comments": "

The short description of the complaint status code.<\/p>" }, { "tableName": "allegation_complaint_h", "tableFileName": "allegation_complaint_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_algtncmplt_guid", - "type": "uuid", + "keyClass": "", + "keyTitle": "", + "name": "data_after_executed_operation", + "type": "jsonb", "length": 2147483647, - "nullable": "", + "nullable": "√", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for allegation complaint history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { "tableName": "comp_mthd_recv_cd_agcy_cd_xref", "tableFileName": "comp_mthd_recv_cd_agcy_cd_xref", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>agency_code", + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an AGENCY.<\/p>" - }, - { - "tableName": "complaint", - "tableFileName": "complaint", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>comp_mthd_recv_cd_agcy_cd_xref_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Methods in which the complaint was received. Examples include: DGIR forward, Direct email or phone call,Minister’s office,RAPP ,Referral<\/p>" + "comments": "

The id of the user that updated the complaint_method_received_code / AGENCY mapping<\/p>" }, { - "tableName": "geo_org_unit_type_code", - "tableFileName": "geo_org_unit_type_code", + "tableName": "hwcr_complaint_h", + "tableFileName": "hwcr_complaint_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "operation_type", + "type": "bpchar", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the geographical organization unit type code was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { - "tableName": "attractant_code", - "tableFileName": "attractant_code", + "tableName": "complaint_method_received_code", + "tableFileName": "complaint_method_received_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "long_description", + "type": "varchar", + "length": 250, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The long description of a METHOD_COMPLAINT_RECEIVED_CODE<\/p>" + }, + { + "tableName": "linked_complaint_xref", + "tableFileName": "linked_complaint_xref", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the attractant code was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the complaint linkage.<\/p>" }, { "tableName": "complaint", @@ -1782,27 +1894,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "caller_name", + "name": "caller_phone_3", "type": "varchar", - "length": 120, + "length": 15, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The name provided by the caller to the call centre or entered onto the web form.<\/p>" + "comments": "

An alternate phone number provided by the caller to the call centre or entered onto the web form.<\/p>" }, { "tableName": "complaint", "tableFileName": "complaint", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>complaint_status_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "is_privacy_requested", + "type": "bpchar", + "length": 1, "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A human readable code used to identify a complaint status.<\/p>" + "defaultValue": "'U'::bpchar", + "comments": "

flag to represent that the caller has asked for special care when handling their personal information<\/p>" }, { "tableName": "complaint_method_received_code", @@ -1810,27 +1922,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The timestamp when the METHOD_COMPLAINT_RECEIVED_CODE was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "attractant_hwcr_xref_h", "tableFileName": "attractant_hwcr_xref_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_attrhwcrx_guid", - "type": "uuid", + "keyClass": "", + "keyTitle": "", + "name": "data_after_executed_operation", + "type": "jsonb", "length": 2147483647, - "nullable": "", + "nullable": "√", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for attractant hwcr xref history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { "tableName": "person_complaint_xref_code", @@ -1838,129 +1950,129 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The order in which the values of the relationship type between a person and a complaint code table should be displayed when presented to a user in a list.<\/p>" + "defaultValue": "true", + "comments": "" }, { - "tableName": "action_taken", - "tableFileName": "action_taken", + "tableName": "person_h", + "tableFileName": "person_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", + "name": "operation_executed_at", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The timestamp when the ACTION_TAKEN was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the person table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "complaint_update", "tableFileName": "complaint_update", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>complaint_update_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "upd_location_detailed_text", + "type": "varchar", + "length": 4000, + "nullable": "√", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for a complaint update. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

A more detailed description of the location of the complaint.<\/p>" }, { - "tableName": "configuration", - "tableFileName": "configuration", + "tableName": "staging_complaint", + "tableFileName": "staging_complaint", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>staging_status_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the configuration entry.<\/p>" + "comments": "" }, { - "tableName": "species_code", - "tableFileName": "species_code", + "tableName": "entity_code", + "tableFileName": "entity_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the species code was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { - "tableName": "cos_geo_org_unit_flat_vw", - "tableFileName": "cos_geo_org_unit_flat_vw", - "tableType": "View", + "tableName": "person_h", + "tableFileName": "person_h", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "zone_name", + "name": "operation_user_id", "type": "varchar", - "length": 50, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the person table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "action_taken", - "tableFileName": "action_taken", + "tableName": "team_code", + "tableFileName": "team_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the ACTION_TAKEN<\/p>" + "comments": "

The long description of the team code.<\/p>" }, { - "tableName": "staging_activity_code", - "tableFileName": "staging_activity_code", + "tableName": "reported_by_code", + "tableFileName": "reported_by_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>reported_by_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "action_taken_h", - "tableFileName": "action_taken_h", + "tableName": "gir_complaint", + "tableFileName": "gir_complaint", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "target_row_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>gir_complaint_guid", "type": "uuid", "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The unique key for the complaint that has been created or modified.<\/p>" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for a gir complaint. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "person_complaint_xref", - "tableFileName": "person_complaint_xref", + "tableName": "geo_organization_unit_code", + "tableFileName": "geo_organization_unit_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -1970,21 +2082,21 @@

Columns

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

The id of the user that created the relationship between a person and a complaint.<\/p>" + "comments": "

The id of the user that created the geographical organization unit code.<\/p>" }, { - "tableName": "geo_organization_unit_code", - "tableFileName": "geo_organization_unit_code", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>geo_organization_unit_code", + "tableName": "cos_geo_org_unit_flat_vw", + "tableFileName": "cos_geo_org_unit_flat_vw", + "tableType": "View", + "keyClass": "", + "keyTitle": "", + "name": "region_code", "type": "varchar", "length": 10, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a geographical organization unit.<\/p>" + "comments": "" }, { "tableName": "complaint_status_code", @@ -1992,13 +2104,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of the complaint status code.<\/p>" + "comments": "

The timestamp when the complaint status code was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "staging_status_code", @@ -2006,55 +2118,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "officer_team_xref", - "tableFileName": "officer_team_xref", + "tableName": "gir_type_code", + "tableFileName": "gir_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the OFFICER_TEAM_XREF was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { - "tableName": "officer_team_xref_h", - "tableFileName": "officer_team_xref_h", + "tableName": "officer_h", + "tableFileName": "officer_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "comments": "

The unique key for the officer that has been created or modified.<\/p>" }, { "tableName": "geo_org_unit_structure", "tableFileName": "geo_org_unit_structure", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>geo_org_unit_structure_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for a geographical organization unit structure. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

The id of the user that updated the geographical organization unit structure.<\/p>" }, { "tableName": "complaint_update", @@ -2062,23 +2174,23 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "upd_detail_text", - "type": "text", - "length": 2147483647, - "nullable": "√", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Verbatim details of the complaint as recorded by the call centre or through the web form.<\/p>" + "comments": "

The timestamp when the complaint update record was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "staging_metadata_mapping", "tableFileName": "staging_metadata_mapping", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>entity_code", + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -2088,25 +2200,25 @@

Columns

"tableName": "hwcr_complaint_h", "tableFileName": "hwcr_complaint_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_hwcrcmplt_guid", - "type": "uuid", + "keyClass": "", + "keyTitle": "", + "name": "data_after_executed_operation", + "type": "jsonb", "length": 2147483647, - "nullable": "", + "nullable": "√", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for HWCR complaint history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { "tableName": "staging_complaint", "tableFileName": "staging_complaint", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>staging_status_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -2118,55 +2230,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, - "nullable": "", + "name": "update_user_id", + "type": "varchar", + "length": 32, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the species code table should be displayed when presented to a user in a list.<\/p>" + "comments": "

The id of the user that updated the species code.<\/p>" }, { - "tableName": "officer_h", - "tableFileName": "officer_h", + "tableName": "person_complaint_xref_h", + "tableFileName": "person_complaint_xref_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, + "name": "operation_type", + "type": "bpchar", + "length": 1, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the officer table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "null", + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { - "tableName": "gir_type_code", - "tableFileName": "gir_type_code", + "tableName": "action_taken", + "tableFileName": "action_taken", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>complaint_update_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

System generated unique key for a COMPLAINT_UPDATE. This key should never be exposed to users via any system utilizing the tables. Either a complaint_update_guid or a complaint_identifier must be present on the record.<\/p>" }, { - "tableName": "officer_team_xref", - "tableFileName": "officer_team_xref", + "tableName": "gir_type_code", + "tableFileName": "gir_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "long_description", + "type": "varchar", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the OFFICER_TEAM_XREF was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { "tableName": "geo_org_unit_type_code", @@ -2174,125 +2286,125 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the geographical organization unit type code table should be displayed when presented to a user in a list.<\/p>" + "comments": "

The timestamp when the geographical organization unit type code was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "geo_org_unit_structure", "tableFileName": "geo_org_unit_structure", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>parent_geo_org_unit_code", "type": "varchar", - "length": 32, - "nullable": "", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the geographical organization unit structure.<\/p>" + "comments": "

The geographical organization that contains the child geographical organization unit.<\/p>" }, { - "tableName": "complaint_status_code", - "tableFileName": "complaint_status_code", + "tableName": "person", + "tableFileName": "person", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "middle_name_1", "type": "varchar", "length": 32, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that updated the complaint status code.<\/p>" - }, - { - "tableName": "person_complaint_xref_code", - "tableFileName": "person_complaint_xref_code", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the relationship type between a person and a complaint was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The first middle name of a person.<\/p>" }, { - "tableName": "staging_status_code", - "tableFileName": "staging_status_code", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "type", "type": "varchar", - "length": 32, + "length": 20, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "officer", - "tableFileName": "officer", - "tableType": "Table", + "tableName": "geography_columns", + "tableFileName": "geography_columns", + "tableType": "View", "keyClass": "", "keyTitle": "", - "name": "auth_user_guid", - "type": "uuid", + "name": "f_table_catalog", + "type": "name", "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The SiteMinder guid returned to the application from KeyCloak. Used to uniquely identify a user over the course of their lifecycle.<\/p>" + "comments": "" }, { - "tableName": "team_h", - "tableFileName": "team_h", + "tableName": "complaint_update_h", + "tableFileName": "complaint_update_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the complaint update table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "complaint_update", - "tableFileName": "complaint_update", + "tableName": "feature_agency_xref", + "tableFileName": "feature_agency_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>feature_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the complaint update record.<\/p>" + "comments": "

A human readable code used to identify a FEATURE that is controlled by the FEATURE_AGENCY_XREF table.<\/p>" + }, + { + "tableName": "office", + "tableFileName": "office", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>office_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", + "autoUpdated": "", + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for an office. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "hwcr_complaint", "tableFileName": "hwcr_complaint", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>species_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the HWCR complaint.<\/p>" + "comments": "

A human readable code used to identify a wildlife species.<\/p>" }, { "tableName": "attractant_code", @@ -2300,115 +2412,115 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of the attractant code.<\/p>" + "comments": "

The timestamp when the attractant code was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "action_taken", - "tableFileName": "action_taken", + "tableName": "person_h", + "tableFileName": "person_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "action_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_person_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The date from webEOC that the ACTION_TAKEN was recorded. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for person history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "geometry_columns", - "tableFileName": "geometry_columns", - "tableType": "View", + "tableName": "action_taken", + "tableFileName": "action_taken", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "f_table_name", - "type": "name", + "name": "action_details_txt", + "type": "text", "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

Text about who the call centre staff contacted and when<\/p>" }, { - "tableName": "gir_type_code", - "tableFileName": "gir_type_code", + "tableName": "person", + "tableFileName": "person", "tableType": "Table", "keyClass": "", "keyTitle": "", "name": "update_user_id", "type": "varchar", "length": 32, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The id of the user that updated the person.<\/p>" }, { - "tableName": "person", - "tableFileName": "person", + "tableName": "complaint_type_code", + "tableFileName": "complaint_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "middle_name_1", + "name": "long_description", "type": "varchar", - "length": 32, + "length": 250, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The first middle name of a person.<\/p>" + "comments": "" }, { - "tableName": "attractant_hwcr_xref", - "tableFileName": "attractant_hwcr_xref", + "tableName": "complaint_method_received_code", + "tableFileName": "complaint_method_received_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the attractant hwcr cross reference.<\/p>" + "comments": "

A boolean indicator to determine if the METHOD_COMPLAINT_RECEIVED_CODE is active<\/p>" }, { - "tableName": "geo_org_unit_type_code", - "tableFileName": "geo_org_unit_type_code", + "tableName": "complaint_h", + "tableFileName": "complaint_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_complaint_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The timestamp when the geographical organization unit type code was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for complaint history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "complaint_update_h", - "tableFileName": "complaint_update_h", + "tableName": "person", + "tableFileName": "person", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, + "name": "first_name", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the complaint update that has been created or modified.<\/p>" + "comments": "

The first name of a person.<\/p>" }, { - "tableName": "complaint_status_code", - "tableFileName": "complaint_status_code", + "tableName": "complaint", + "tableFileName": "complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -2418,39 +2530,39 @@

Columns

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

The timestamp when the complaint status code was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the complaint was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "complaint", - "tableFileName": "complaint", + "tableName": "reported_by_code", + "tableFileName": "reported_by_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "location_detailed_text", - "type": "varchar", - "length": 4000, - "nullable": "√", + "name": "display_order", + "type": "int4", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A more detailed description of the location of the complaint.<\/p>" + "comments": "" }, { - "tableName": "cos_geo_org_unit_flat_vw", - "tableFileName": "cos_geo_org_unit_flat_vw", - "tableType": "View", + "tableName": "action_taken", + "tableFileName": "action_taken", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "zone_code", + "name": "logged_by_txt", "type": "varchar", - "length": 10, + "length": 250, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The name of the webEOC User that recorded the ACTION_TAKEN<\/p>" }, { - "tableName": "action_taken_h", - "tableFileName": "action_taken_h", + "tableName": "office_h", + "tableFileName": "office_h", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -2460,77 +2572,49 @@

Columns

"nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

The timestamp when the data in the complaint table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" - }, - { - "tableName": "gir_type_code", - "tableFileName": "gir_type_code", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "" - }, - { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", - "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>success", - "type": "bool", - "length": 1, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "comments": "

The timestamp when the data in the office table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "staging_activity_code", - "tableFileName": "staging_activity_code", + "tableName": "team_code", + "tableFileName": "team_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "short_description", "type": "varchar", - "length": 32, + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The short description of the team code.<\/p>" }, { "tableName": "staging_complaint", "tableFileName": "staging_complaint", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>complaint_identifier", - "type": "varchar", - "length": 20, + "keyClass": "", + "keyTitle": "", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "attractant_hwcr_xref", - "tableFileName": "attractant_hwcr_xref", + "tableName": "complaint_type_code", + "tableFileName": "complaint_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>complaint_type_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the attractant hwcr cross reference.<\/p>" + "comments": "" }, { "tableName": "person", @@ -2538,55 +2622,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "first_name", - "type": "varchar", - "length": 32, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The first name of a person.<\/p>" - }, - { - "tableName": "violation_code", - "tableFileName": "violation_code", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", + "name": "create_utc_timestamp", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the violation code was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the person was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "staging_activity_code", - "tableFileName": "staging_activity_code", + "tableName": "geo_organization_unit_code", + "tableFileName": "geo_organization_unit_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", + "name": "effective_date", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The date the Geographical Organizational Unit becomes effective as a boundaried physical location within the Ministry organizational structure.<\/p>" }, { - "tableName": "complaint_update_h", - "tableFileName": "complaint_update_h", + "tableName": "team_code", + "tableFileName": "team_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "active_ind", + "type": "bool", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

A boolean indicator to determine if the team code is active.<\/p>" }, { "tableName": "complaint_h", @@ -2602,149 +2672,121 @@

Columns

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

The timestamp when the data in the complaint table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, + { + "tableName": "complaint_update", + "tableFileName": "complaint_update", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "upd_detail_text", + "type": "text", + "length": 2147483647, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

Verbatim details of the complaint as recorded by the call centre or through the web form.<\/p>" + }, { "tableName": "flyway_schema_history", "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>installed_rank", + "keyClass": "", + "keyTitle": "", + "name": "checksum", "type": "int4", "length": 10, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "comp_mthd_recv_cd_agcy_cd_xref", - "tableFileName": "comp_mthd_recv_cd_agcy_cd_xref", + "tableName": "configuration_h", + "tableFileName": "configuration_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_configuration_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A boolean indicator to determine if the complaint_method_received_code should be rendered the for users in the given AGENCY<\/p>" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for configuration history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "complaint_type_code", - "tableFileName": "complaint_type_code", + "tableName": "staging_activity_code", + "tableFileName": "staging_activity_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "short_description", "type": "varchar", - "length": 32, + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "feature_code", - "tableFileName": "feature_code", + "tableName": "comp_mthd_recv_cd_agcy_cd_xref", + "tableFileName": "comp_mthd_recv_cd_agcy_cd_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>agency_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the FEATURE.<\/p>" + "comments": "

A human readable code used to identify an AGENCY.<\/p>" }, { - "tableName": "species_code", - "tableFileName": "species_code", + "tableName": "entity_code", + "tableFileName": "entity_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "short_description", "type": "varchar", - "length": 32, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that created the species code.<\/p>" - }, - { - "tableName": "office", - "tableFileName": "office", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the office was created. The timestamp is stored in UTC with no Offset.<\/p>" - }, - { - "tableName": "complaint_h", - "tableFileName": "complaint_h", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_complaint_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for complaint history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "" }, { - "tableName": "complaint_update_h", - "tableFileName": "complaint_update_h", + "tableName": "team", + "tableFileName": "team", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>h_complaint_update_guid", + "name": "<\/i>team_guid", "type": "uuid", "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for complaint update history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

A system generated guid to uniquely identify a TEAM<\/p>" }, { - "tableName": "geo_org_unit_structure", - "tableFileName": "geo_org_unit_structure", + "tableName": "complaint_h", + "tableFileName": "complaint_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "timestamp", - "length": 29, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The date the Geographical Organizational Unit Structure is no longer recognized as a valid relationship within the Ministry organizational structure.<\/p>" - }, - { - "tableName": "geometry_columns", - "tableFileName": "geometry_columns", - "tableType": "View", - "keyClass": "", - "keyTitle": "", - "name": "f_geometry_column", - "type": "name", + "name": "data_after_executed_operation", + "type": "jsonb", "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { - "tableName": "attractant_hwcr_xref_h", - "tableFileName": "attractant_hwcr_xref_h", + "tableName": "complaint_update_h", + "tableFileName": "complaint_update_h", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -2757,92 +2799,78 @@

Columns

"comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { - "tableName": "person_complaint_xref_code", - "tableFileName": "person_complaint_xref_code", + "tableName": "geo_org_unit_structure", + "tableFileName": "geo_org_unit_structure", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>person_complaint_xref_code", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>agency_code", "type": "varchar", "length": 10, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a relationship type between a person and a complaint.<\/p>" + "comments": "

A human readable code used to identify an agency. The agency that defines the geographical organization unit structural relationship.<\/p>" }, { - "tableName": "action_taken_h", - "tableFileName": "action_taken_h", + "tableName": "hwcr_complaint_nature_code", + "tableFileName": "hwcr_complaint_nature_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" - }, - { - "tableName": "action_taken", - "tableFileName": "action_taken", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>complaint_update_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "√", + "name": "active_ind", + "type": "bool", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

System generated unique key for a COMPLAINT_UPDATE. This key should never be exposed to users via any system utilizing the tables. Either a complaint_update_guid or a complaint_identifier must be present on the record.<\/p>" + "comments": "

A boolean indicator to determine if the nature of the Human Wildlife Conflict code is active.<\/p>" }, { - "tableName": "configuration_h", - "tableFileName": "configuration_h", + "tableName": "person_complaint_xref_code", + "tableFileName": "person_complaint_xref_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the configuration table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "null", + "comments": "

The timestamp when the relationship type between a person and a complaint was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "staging_status_code", - "tableFileName": "staging_status_code", + "tableName": "reported_by_code", + "tableFileName": "reported_by_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "officer_h", - "tableFileName": "officer_h", + "tableName": "action_taken", + "tableFileName": "action_taken", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", + "name": "create_utc_timestamp", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the officer table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "

The timestamp when the ACTION_TAKEN was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "complaint_type_code", - "tableFileName": "complaint_type_code", + "tableName": "attractant_code", + "tableFileName": "attractant_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -2852,39 +2880,53 @@

Columns

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

The long description of the attractant code.<\/p>" + }, + { + "tableName": "staging_status_code", + "tableFileName": "staging_status_code", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", "comments": "" }, { - "tableName": "geo_organization_unit_code", - "tableFileName": "geo_organization_unit_code", + "tableName": "person_complaint_xref_h", + "tableFileName": "person_complaint_xref_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "operation_user_id", "type": "varchar", - "length": 50, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The short description of the geographical organization unit code.<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in complaint table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "hwcr_complaint", - "tableFileName": "hwcr_complaint", + "tableName": "complaint_type_code", + "tableFileName": "complaint_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", + "name": "create_utc_timestamp", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the HWCR complaint was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { - "tableName": "person", - "tableFileName": "person", + "tableName": "geo_organization_unit_code", + "tableFileName": "geo_organization_unit_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -2894,21 +2936,21 @@

Columns

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

The timestamp when the person was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the geographical organization unit code was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "officer_team_xref", - "tableFileName": "officer_team_xref", + "tableName": "geo_org_unit_type_code", + "tableFileName": "geo_org_unit_type_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>officer_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique key for an officer. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

The short description of the geographical organization unit type code.<\/p>" }, { "tableName": "team_h", @@ -2916,94 +2958,108 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, + "name": "operation_type", + "type": "bpchar", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the team that has been created or modified.<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { - "tableName": "staging_complaint", - "tableFileName": "staging_complaint", + "tableName": "officer_team_xref", + "tableFileName": "officer_team_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "update_user_id", "type": "varchar", "length": 32, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The id of the user that updated the OFFICER_TEAM_XREF<\/p>" }, { - "tableName": "complaint_status_code", - "tableFileName": "complaint_status_code", + "tableName": "feature_agency_xref", + "tableFileName": "feature_agency_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>feature_agency_xref_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A boolean indicator to determine if the complaint status code is active.<\/p>" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for a FEATURE_AGENCY_XREF ecord. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "geography_columns", - "tableFileName": "geography_columns", - "tableType": "View", + "tableName": "allegation_complaint_h", + "tableFileName": "allegation_complaint_h", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "f_table_name", - "type": "name", + "name": "target_row_id", + "type": "uuid", "length": 2147483647, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The unique key for the allegation complaint that has been created or modified.<\/p>" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "complaint_status_code", + "tableFileName": "complaint_status_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "installed_on", - "type": "timestamp", - "length": 29, + "name": "manually_assignable_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "" + "defaultValue": "true", + "comments": "

Indicates if the stastus code can be manually assigned by a user.<\/p>" }, { - "tableName": "hwcr_complaint", - "tableFileName": "hwcr_complaint", + "tableName": "office_h", + "tableFileName": "office_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "operation_type", + "type": "bpchar", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the HWCR complaint was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + }, + { + "tableName": "hwcr_complaint", + "tableFileName": "hwcr_complaint", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>hwcr_complaint_nature_code", + "type": "varchar", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

A human readable code used to identify the nature of the Human Wildlife Conflict.<\/p>" }, { "tableName": "gir_type_code", "tableFileName": "gir_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>gir_type_code", + "keyClass": "", + "keyTitle": "", + "name": "create_user_id", "type": "varchar", - "length": 10, - "nullable": "", + "length": 32, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -3012,145 +3068,145 @@

Columns

"tableName": "hwcr_complaint", "tableFileName": "hwcr_complaint", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>hwcr_complaint_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for a hwcr complaint. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

The timestamp when the HWCR complaint was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "attractant_hwcr_xref", "tableFileName": "attractant_hwcr_xref", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>attractant_hwcr_xref_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for an attractant hwcr relationship. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

The id of the user that updated the attractant hwcr cross reference.<\/p>" }, { - "tableName": "complaint_update", - "tableFileName": "complaint_update", - "tableType": "Table", + "tableName": "geometry_columns", + "tableFileName": "geometry_columns", + "tableType": "View", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "f_table_schema", + "type": "name", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the complaint_update record was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "office", + "tableFileName": "office", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", + "name": "update_user_id", "type": "varchar", - "length": 200, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The id of the user that updated the office.<\/p>" }, { - "tableName": "reported_by_code", - "tableFileName": "reported_by_code", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "installed_on", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", + "defaultValue": "now()", "comments": "" }, { - "tableName": "complaint_update", - "tableFileName": "complaint_update", + "tableName": "reported_by_code", + "tableFileName": "reported_by_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "webeoc_identifier", - "type": "varchar", - "length": 20, - "nullable": "√", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique Identifier from the webEOC source system to identify a complaint update. This is required as the natural key is not available in all webEOC APIs<\/p>" + "comments": "" }, { - "tableName": "complaint", - "tableFileName": "complaint", + "tableName": "office", + "tableFileName": "office", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "incident_utc_datetime", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date and time at which the complaint occurred.<\/p>" + "comments": "

The timestamp when the office was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "complaint", + "tableFileName": "complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "execution_time", - "type": "int4", - "length": 10, + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The id of the user that updated the complaint.<\/p>" }, { - "tableName": "violation_code", - "tableFileName": "violation_code", + "tableName": "office_h", + "tableFileName": "office_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "operation_user_id", "type": "varchar", "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that updated the violation code.<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the office table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "geo_org_unit_structure_h", - "tableFileName": "geo_org_unit_structure_h", + "tableName": "geo_organization_unit_code", + "tableFileName": "geo_organization_unit_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_gorgustrct_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "long_description", + "type": "varchar", + "length": 250, + "nullable": "√", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for geographic organization unit structure history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

The long description of the geographical organization unit code.<\/p>" }, { - "tableName": "allegation_complaint_h", - "tableFileName": "allegation_complaint_h", + "tableName": "geo_org_unit_structure_h", + "tableFileName": "geo_org_unit_structure_h", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -3163,288 +3219,288 @@

Columns

"comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { - "tableName": "geo_organization_unit_code", - "tableFileName": "geo_organization_unit_code", + "tableName": "geo_org_unit_structure_h", + "tableFileName": "geo_org_unit_structure_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "administrative_office_ind", - "type": "bool", - "length": 1, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "false", - "comments": "

Indicates if the unit is a COSHQ Office.<\/p>" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the geographic organization unit structure table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "geo_org_unit_structure", + "tableFileName": "geo_org_unit_structure", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "checksum", - "type": "int4", - "length": 10, - "nullable": "√", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The timestamp when the geographical organization unit structure was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "gir_complaint_h", - "tableFileName": "gir_complaint_h", + "tableName": "office_h", + "tableFileName": "office_h", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_office_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", + "autoUpdated": "", + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for office history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + }, + { + "tableName": "officer", + "tableFileName": "officer", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", + "name": "create_utc_timestamp", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the GIR complaint table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "

The timestamp when the officer was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "team", - "tableFileName": "team", + "tableName": "complaint", + "tableFileName": "complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "caller_address", "type": "varchar", - "length": 32, + "length": 120, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the TEAM<\/p>" + "comments": "

The address provided by the caller to the call centre or entered onto the web form.<\/p>" }, { - "tableName": "officer_h", - "tableFileName": "officer_h", + "tableName": "person_complaint_xref_h", + "tableFileName": "person_complaint_xref_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "target_row_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_person_complaint_xref_guid", "type": "uuid", "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The unique key for the officer that has been created or modified.<\/p>" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for person assigned to complaint history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "cos_geo_org_unit_flat_vw", - "tableFileName": "cos_geo_org_unit_flat_vw", - "tableType": "View", + "tableName": "team_h", + "tableFileName": "team_h", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "offloc_code", - "type": "varchar", - "length": 10, - "nullable": "√", + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The unique key for the team that has been created or modified.<\/p>" }, { - "tableName": "person", - "tableFileName": "person", + "tableName": "officer_team_xref", + "tableFileName": "officer_team_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>officer_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the person.<\/p>" + "comments": "

Unique key for an officer. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "spatial_ref_sys", - "tableFileName": "spatial_ref_sys", + "tableName": "complaint_update", + "tableFileName": "complaint_update", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "auth_name", - "type": "varchar", - "length": 256, + "name": "upd_location_geometry_point", + "type": "geometry", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The closest approximation to where the incident occurred. Stored as a geometric point using the EPSG:3005 Projected Coordinate System (BC Albers)<\/p>" }, { - "tableName": "complaint_update", - "tableFileName": "complaint_update", + "tableName": "hwcr_complaint_nature_code", + "tableFileName": "hwcr_complaint_nature_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>complaint_identifier", + "keyClass": "", + "keyTitle": "", + "name": "create_user_id", "type": "varchar", - "length": 20, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Natural key for a complaint generated by webEOC. Format is YY-250744772125074477212507447721 where the number portion of the sequence resets to 0 on the new year.<\/p>" + "comments": "

The id of the user that created the human wildlife conflict nature code.<\/p>" }, { - "tableName": "hwcr_complaint_nature_code", - "tableFileName": "hwcr_complaint_nature_code", + "tableName": "geo_org_unit_type_code", + "tableFileName": "geo_org_unit_type_code", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>hwcr_complaint_nature_code", + "name": "<\/i>geo_org_unit_type_code", "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify the nature of the Human Wildlife Conflict.<\/p>" + "comments": "

A human readable code used to identify a geographical organization unit type.<\/p>" }, { - "tableName": "hwcr_complaint", - "tableFileName": "hwcr_complaint", + "tableName": "officer_team_xref", + "tableFileName": "officer_team_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>team_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the HWCR complaint.<\/p>" + "comments": "

Unique key for a team. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "spatial_ref_sys", - "tableFileName": "spatial_ref_sys", + "tableName": "feature_code", + "tableFileName": "feature_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "auth_srid", + "name": "display_order", "type": "int4", "length": 10, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The order in which the values of the FEATUREs should be displayed when presented to a user in a list.<\/p>" }, { - "tableName": "person_complaint_xref_h", - "tableFileName": "person_complaint_xref_h", + "tableName": "person", + "tableFileName": "person", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" - }, - { - "tableName": "person", - "tableFileName": "person", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "middle_name_2", - "type": "varchar", - "length": 32, - "nullable": "√", - "autoUpdated": "", "defaultValue": "null", - "comments": "

Any remaining middle names beyond the first of a person.<\/p>" + "comments": "

The timestamp when the person was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "person_complaint_xref_h", - "tableFileName": "person_complaint_xref_h", + "tableName": "feature_code", + "tableFileName": "feature_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "comments": "

The short description of the FEATURE controlled by the flag.<\/p>" }, { - "tableName": "complaint", - "tableFileName": "complaint", + "tableName": "hwcr_complaint_h", + "tableFileName": "hwcr_complaint_h", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>location_geometry_point", - "type": "geometry", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_hwcrcmplt_guid", + "type": "uuid", "length": 2147483647, - "nullable": "√", + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The closest approximation to where the incident occurred. Stored as a geometric point using the EPSG:3005 Projected Coordinate System (BC Albers)<\/p>" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for HWCR complaint history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "person", - "tableFileName": "person", + "tableName": "team_h", + "tableFileName": "team_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", + "name": "operation_executed_at", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The timestamp when the person was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the team table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "linked_complaint_xref", - "tableFileName": "linked_complaint_xref", + "tableName": "gir_complaint_h", + "tableFileName": "gir_complaint_h", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>active_ind", - "type": "bool", - "length": 1, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_gircmplt_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

Flag indicating if the linkage is active.<\/p>" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for GIR complaint history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "geography_columns", - "tableFileName": "geography_columns", - "tableType": "View", - "keyClass": "", - "keyTitle": "", - "name": "f_geography_column", - "type": "name", + "tableName": "action_taken_h", + "tableFileName": "action_taken_h", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_action_taken_guid", + "type": "uuid", "length": 2147483647, - "nullable": "√", + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for complaint history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "hwcr_complaint_nature_code", - "tableFileName": "hwcr_complaint_nature_code", + "tableName": "officer_h", + "tableFileName": "officer_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", + "name": "operation_type", + "type": "bpchar", "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the nature of the Human Wildlife Conflict code is active.<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { - "tableName": "officer_team_xref_h", - "tableFileName": "officer_team_xref_h", + "tableName": "action_taken_h", + "tableFileName": "action_taken_h", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -3454,175 +3510,63 @@

Columns

"nullable": "", "autoUpdated": "", "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the officer_team_xref table. Defaults to the logged in user if not passed in by the application.<\/p>" - }, - { - "tableName": "hwcr_complaint_nature_code", - "tableFileName": "hwcr_complaint_nature_code", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that updated the human wildlife conflict nature code.<\/p>" - }, - { - "tableName": "complaint_status_code", - "tableFileName": "complaint_status_code", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The timestamp when the complaint status code was updated. The timestamp is stored in UTC with no Offset.<\/p>" - }, - { - "tableName": "complaint_method_received_code", - "tableFileName": "complaint_method_received_code", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that created the wdr schedule code.<\/p>" - }, - { - "tableName": "person_complaint_xref_h", - "tableFileName": "person_complaint_xref_h", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The unique key for the person and complaint mapping that has been created or modified.<\/p>" - }, - { - "tableName": "officer", - "tableFileName": "officer", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>officer_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for an officer. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

The id of the user that created or modified the data in the complaint table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "linked_complaint_xref", - "tableFileName": "linked_complaint_xref", + "tableName": "person", + "tableFileName": "person", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "middle_name_2", "type": "varchar", "length": 32, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the complaint linkage.<\/p>" + "comments": "

Any remaining middle names beyond the first of a person.<\/p>" }, { - "tableName": "complaint", - "tableFileName": "complaint", + "tableName": "agency_code", + "tableFileName": "agency_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "location_summary_text", - "type": "varchar", - "length": 120, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

A brief summary of the location of the complaint.<\/p>" - }, - { - "tableName": "species_code", - "tableFileName": "species_code", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>species_code", + "name": "short_description", "type": "varchar", - "length": 10, + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a wildlife species.<\/p>" - }, - { - "tableName": "person_complaint_xref", - "tableFileName": "person_complaint_xref", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>person_complaint_xref_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for a relationship between a person and a complaint. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

The short description of the agency code.<\/p>" }, { - "tableName": "team_code", - "tableFileName": "team_code", + "tableName": "feature_code", + "tableFileName": "feature_code", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>team_code", + "name": "<\/i>feature_code", "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an team.<\/p>" + "comments": "

A human readable code used to identify a FEATURE that is controlled by the FEATURE_AGENCY_XREF table.<\/p>" }, { - "tableName": "geo_org_unit_structure_h", - "tableFileName": "geo_org_unit_structure_h", + "tableName": "officer", + "tableFileName": "officer", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the geographic organization unit structure table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" - }, - { - "tableName": "person_h", - "tableFileName": "person_h", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", - "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

The timestamp when the officer was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "gir_complaint_h", @@ -3639,134 +3583,106 @@

Columns

"comments": "

The id of the user that created or modified the data in the GIR complaint table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "configuration", - "tableFileName": "configuration", + "tableName": "complaint", + "tableFileName": "complaint", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>configuration_code", + "keyClass": "", + "keyTitle": "", + "name": "create_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an configuration entry.<\/p>" + "comments": "

The id of the user that created the complaint.<\/p>" }, { - "tableName": "hwcr_complaint_nature_code", - "tableFileName": "hwcr_complaint_nature_code", + "tableName": "species_code", + "tableFileName": "species_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", + "name": "legacy_code", "type": "varchar", - "length": 250, + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of the nature of the Human Wildlife Conflict code.<\/p>" + "comments": "

The code for the species from the CORS_SPECIES_CODE table in the COORS database.<\/p>" }, { - "tableName": "person_h", - "tableFileName": "person_h", + "tableName": "person_complaint_xref", + "tableFileName": "person_complaint_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the person that has been created or modified.<\/p>" + "comments": "

The timestamp when the relationship between a person and a complaint was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "staging_status_code", - "tableFileName": "staging_status_code", + "tableName": "team_code", + "tableFileName": "team_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The id of the user that created the team code.<\/p>" }, { - "tableName": "complaint_h", - "tableFileName": "complaint_h", + "tableName": "species_code", + "tableFileName": "species_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "display_order", + "type": "int4", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

The order in which the values of the species code table should be displayed when presented to a user in a list.<\/p>" }, { - "tableName": "attractant_hwcr_xref_h", - "tableFileName": "attractant_hwcr_xref_h", + "tableName": "attractant_hwcr_xref", + "tableFileName": "attractant_hwcr_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" - }, - { - "tableName": "officer_h", - "tableFileName": "officer_h", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_officer_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for officer history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

The timestamp when the attractant hwcr cross reference was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "violation_code", - "tableFileName": "violation_code", + "tableName": "officer", + "tableFileName": "officer", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "create_user_id", "type": "varchar", - "length": 50, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of the violation code.<\/p>" - }, - { - "tableName": "office", - "tableFileName": "office", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>office_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for an office. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

The id of the user that created the officer.<\/p>" }, { - "tableName": "action_taken", - "tableFileName": "action_taken", + "tableName": "configuration", + "tableFileName": "configuration", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -3776,175 +3692,175 @@

Columns

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

The timestamp when the ACTION_TAKEN was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the configuration entry was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "attractant_code", - "tableFileName": "attractant_code", + "tableName": "hwcr_complaint_nature_code", + "tableFileName": "hwcr_complaint_nature_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>attractant_code", + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an attractant.<\/p>" + "comments": "

The id of the user that updated the human wildlife conflict nature code.<\/p>" }, { - "tableName": "species_code", - "tableFileName": "species_code", + "tableName": "attractant_hwcr_xref", + "tableFileName": "attractant_hwcr_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>attractant_hwcr_xref_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The short description of the species code.<\/p>" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for an attractant hwcr relationship. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "gir_type_code", - "tableFileName": "gir_type_code", + "tableName": "complaint_update", + "tableFileName": "complaint_update", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "upd_location_summary_text", "type": "varchar", - "length": 32, + "length": 120, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A brief summary of the location of the complaint.<\/p>" }, { - "tableName": "geo_org_unit_structure_h", - "tableFileName": "geo_org_unit_structure_h", + "tableName": "hwcr_complaint_nature_code", + "tableFileName": "hwcr_complaint_nature_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the geographic organization unit structure that has been created or modified.<\/p>" + "comments": "

The short description of the nature of the Human Wildlife Conflict code.<\/p>" }, { - "tableName": "configuration", - "tableFileName": "configuration", + "tableName": "officer_h", + "tableFileName": "officer_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, - "nullable": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of the configuration entry.<\/p>" + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { - "tableName": "allegation_complaint", - "tableFileName": "allegation_complaint", + "tableName": "violation_code", + "tableFileName": "violation_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "observed_ind", - "type": "bool", - "length": 1, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

True if the alleged violation was observed first hand. False otherwise.<\/p>" + "comments": "

The timestamp when the violation code was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "action_taken", - "tableFileName": "action_taken", + "tableName": "office", + "tableFileName": "office", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>complaint_identifier", + "name": "<\/i>geo_organization_unit_code", "type": "varchar", - "length": 20, + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Natural key for a complaint generated by webEOC. Format is YY-###### where the number portion of the sequence resets to 0 on the new year. Either a complaint_update_guid or a complaint_identifier must be present on the record.<\/p>" + "comments": "

A human readable code used to identify a geographical organization unit. The geographical unit where the office is located. This might not necessarily be the lowest level in the geographical organizational unit hierarchy.<\/p>" }, { - "tableName": "geography_columns", - "tableFileName": "geography_columns", - "tableType": "View", + "tableName": "person_h", + "tableFileName": "person_h", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "f_table_catalog", - "type": "name", - "length": 2147483647, - "nullable": "√", + "name": "operation_type", + "type": "bpchar", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { - "tableName": "complaint_method_received_code", - "tableFileName": "complaint_method_received_code", + "tableName": "attractant_code", + "tableFileName": "attractant_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "create_user_id", "type": "varchar", - "length": 50, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of a METHOD_COMPLAINT_RECEIVED_CODE<\/p>" + "comments": "

The id of the user that created the attractant code.<\/p>" }, { - "tableName": "complaint_update_h", - "tableFileName": "complaint_update_h", + "tableName": "species_code", + "tableFileName": "species_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, - "nullable": "", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "comments": "

The id of the user that created the species code.<\/p>" }, { - "tableName": "person_complaint_xref", - "tableFileName": "person_complaint_xref", + "tableName": "action_taken", + "tableFileName": "action_taken", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>person_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", + "name": "<\/i>complaint_identifier", + "type": "varchar", + "length": 20, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

System generated unique key for an person.<\/p>" + "comments": "

Natural key for a complaint generated by webEOC. Format is YY-###### where the number portion of the sequence resets to 0 on the new year. Either a complaint_update_guid or a complaint_identifier must be present on the record.<\/p>" }, { - "tableName": "complaint", - "tableFileName": "complaint", + "tableName": "species_code", + "tableFileName": "species_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "caller_phone_1", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>species_code", "type": "varchar", - "length": 15, - "nullable": "√", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The primary phone number provided by the caller to the call centre or entered onto the web form.<\/p>" + "comments": "

A human readable code used to identify a wildlife species.<\/p>" }, { "tableName": "configuration", @@ -3952,36 +3868,36 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "configuration_value", - "type": "varchar", - "length": 250, - "nullable": "", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The value of the configuration entry.<\/p>" + "comments": "

The timestamp when the configuration entry was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "complaint", - "tableFileName": "complaint", + "tableName": "allegation_complaint", + "tableFileName": "allegation_complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "webeoc_identifier", - "type": "varchar", - "length": 20, - "nullable": "√", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Unique Identifier from the webEOC source system to identify a complaint update. This is required as the natural key is not available in all webEOC APIs<\/p>" + "comments": "

The timestamp when the allegation complaint was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "cos_geo_org_unit_flat_vw", - "tableFileName": "cos_geo_org_unit_flat_vw", + "tableName": "geometry_columns", + "tableFileName": "geometry_columns", "tableType": "View", "keyClass": "", "keyTitle": "", - "name": "region_code", - "type": "varchar", + "name": "coord_dimension", + "type": "int4", "length": 10, "nullable": "√", "autoUpdated": "", @@ -3989,148 +3905,134 @@

Columns

"comments": "" }, { - "tableName": "agency_code", - "tableFileName": "agency_code", + "tableName": "action_taken", + "tableFileName": "action_taken", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "create_user_id", "type": "varchar", - "length": 50, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of the agency code.<\/p>" + "comments": "

The id of the user that created the ACTION_TAKEN<\/p>" }, { - "tableName": "hwcr_complaint_nature_code", - "tableFileName": "hwcr_complaint_nature_code", + "tableName": "complaint_method_received_code", + "tableFileName": "complaint_method_received_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of the nature of the Human Wildlife Conflict code.<\/p>" + "comments": "

The timestamp when the METHOD_COMPLAINT_RECEIVED_CODE was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "attractant_code", - "tableFileName": "attractant_code", + "tableName": "complaint_h", + "tableFileName": "complaint_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", + "name": "target_row_id", "type": "varchar", - "length": 250, - "nullable": "√", + "length": 20, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of the attractant code.<\/p>" + "comments": "

The unique key for the complaint that has been created or modified.<\/p>" }, { - "tableName": "allegation_complaint_h", - "tableFileName": "allegation_complaint_h", + "tableName": "person_complaint_xref", + "tableFileName": "person_complaint_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" - }, - { - "tableName": "officer_team_xref", - "tableFileName": "officer_team_xref", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>officer_team_xref_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for a OFFICER_TEAM_XREF record. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

The id of the user that updated the relationship between a person and a complaint .<\/p>" }, { - "tableName": "officer", - "tableFileName": "officer", + "tableName": "complaint", + "tableFileName": "complaint", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>person_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "incident_utc_datetime", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

System generated unique key for an person.<\/p>" + "comments": "

The date and time at which the complaint occurred.<\/p>" }, { - "tableName": "linked_complaint_xref", - "tableFileName": "linked_complaint_xref", + "tableName": "configuration", + "tableFileName": "configuration", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "update_user_id", "type": "varchar", "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the complaint linkage.<\/p>" + "comments": "

The id of the user that updated the configuration entry.<\/p>" }, { - "tableName": "officer_h", - "tableFileName": "officer_h", + "tableName": "hwcr_complaint_h", + "tableFileName": "hwcr_complaint_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "comments": "

The unique key for the HWCR complaint that has been created or modified.<\/p>" }, { - "tableName": "office", - "tableFileName": "office", + "tableName": "agency_code", + "tableFileName": "agency_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the office.<\/p>" + "comments": "

The timestamp when the agency was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "agency_code", - "tableFileName": "agency_code", + "tableName": "hwcr_complaint_nature_code", + "tableFileName": "hwcr_complaint_nature_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the agency code table should be displayed when presented to a user in a list.<\/p>" + "comments": "

The timestamp when the human wildlife conflict nature code was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "gir_complaint", - "tableFileName": "gir_complaint", + "tableName": "attractant_code", + "tableFileName": "attractant_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4140,11 +4042,25 @@

Columns

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

The id of the user that updated the GIR complaint.<\/p>" + "comments": "

The id of the user that updated the attractant code.<\/p>" }, { - "tableName": "person_complaint_xref", - "tableFileName": "person_complaint_xref", + "tableName": "geo_org_unit_structure_h", + "tableFileName": "geo_org_unit_structure_h", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The unique key for the geographic organization unit structure that has been created or modified.<\/p>" + }, + { + "tableName": "officer_team_xref", + "tableFileName": "officer_team_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4154,53 +4070,81 @@

Columns

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

The timestamp when the relationship between a person and a complaint was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the OFFICER_TEAM_XREF was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "staging_complaint", - "tableFileName": "staging_complaint", + "tableName": "complaint_update_h", + "tableFileName": "complaint_update_h", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "operation_type", + "type": "bpchar", + "length": 1, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + }, + { + "tableName": "gir_complaint_h", + "tableFileName": "gir_complaint_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The unique key for the GIR complaint that has been created or modified.<\/p>" + }, + { + "tableName": "geography_columns", + "tableFileName": "geography_columns", + "tableType": "View", + "keyClass": "", + "keyTitle": "", + "name": "f_geography_column", + "type": "name", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "attractant_hwcr_xref", - "tableFileName": "attractant_hwcr_xref", + "tableName": "person_complaint_xref_h", + "tableFileName": "person_complaint_xref_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "true", - "comments": "" + "defaultValue": "null", + "comments": "

The unique key for the person and complaint mapping that has been created or modified.<\/p>" }, { - "tableName": "entity_code", - "tableFileName": "entity_code", + "tableName": "office", + "tableFileName": "office", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "", + "name": "agency_code", + "type": "varchar", + "length": 6, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A human readable code used to identify an agency. The agency that owns the office.<\/p>" }, { - "tableName": "gir_complaint", - "tableFileName": "gir_complaint", + "tableName": "agency_code", + "tableFileName": "agency_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4210,123 +4154,123 @@

Columns

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

The timestamp when the GIR complaint was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the agency was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "complaint", - "tableFileName": "complaint", + "tableName": "spatial_ref_sys", + "tableFileName": "spatial_ref_sys", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "caller_email", + "name": "auth_srid", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" + }, + { + "tableName": "gir_complaint", + "tableFileName": "gir_complaint", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>gir_type_code", "type": "varchar", - "length": 120, + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The email address provided by the caller to the call centre or entered onto the web form.<\/p>" + "comments": "

A human readable code used to identify a type of GIR complaint.<\/p>" }, { - "tableName": "geo_organization_unit_code", - "tableFileName": "geo_organization_unit_code", + "tableName": "allegation_complaint_h", + "tableFileName": "allegation_complaint_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", - "type": "timestamp", - "length": 29, + "name": "operation_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The date the Geographical Organizational Unit becomes effective as a boundaried physical location within the Ministry organizational structure.<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the allegation complaint table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "team_code", - "tableFileName": "team_code", + "tableName": "complaint_type_code", + "tableFileName": "complaint_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the team was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { - "tableName": "team_code", - "tableFileName": "team_code", - "tableType": "Table", + "tableName": "geography_columns", + "tableFileName": "geography_columns", + "tableType": "View", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "coord_dimension", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the team code.<\/p>" + "comments": "" }, { - "tableName": "gir_complaint_h", - "tableFileName": "gir_complaint_h", + "tableName": "attractant_hwcr_xref_h", + "tableFileName": "attractant_hwcr_xref_h", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>h_gircmplt_guid", + "name": "<\/i>h_attrhwcrx_guid", "type": "uuid", "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for GIR complaint history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

System generated unique key for attractant hwcr xref history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "geo_org_unit_type_code", - "tableFileName": "geo_org_unit_type_code", + "tableName": "spatial_ref_sys", + "tableFileName": "spatial_ref_sys", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that updated the geographical organization unit type code.<\/p>" - }, - { - "tableName": "violation_code", - "tableFileName": "violation_code", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>violation_code", + "name": "srtext", "type": "varchar", - "length": 10, - "nullable": "", + "length": 2048, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a violation.<\/p>" + "comments": "" }, { - "tableName": "team_h", - "tableFileName": "team_h", + "tableName": "complaint", + "tableFileName": "complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, + "name": "location_detailed_text", + "type": "varchar", + "length": 4000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

A more detailed description of the location of the complaint.<\/p>" }, { - "tableName": "comp_mthd_recv_cd_agcy_cd_xref", - "tableFileName": "comp_mthd_recv_cd_agcy_cd_xref", + "tableName": "geo_organization_unit_code", + "tableFileName": "geo_organization_unit_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4336,39 +4280,53 @@

Columns

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

The timestamp when the complaint_method_received_code / AGENCY mapping was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the geographical organization unit code was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "staging_metadata_mapping", - "tableFileName": "staging_metadata_mapping", + "tableName": "officer_team_xref_h", + "tableFileName": "officer_team_xref_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "operation_type", + "type": "bpchar", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { - "tableName": "person", - "tableFileName": "person", + "tableName": "officer_team_xref_h", + "tableFileName": "officer_team_xref_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>person_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for an person. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the officer_team_xref table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "geo_org_unit_structure_h", - "tableFileName": "geo_org_unit_structure_h", + "tableName": "cos_geo_org_unit_flat_vw", + "tableFileName": "cos_geo_org_unit_flat_vw", + "tableType": "View", + "keyClass": "", + "keyTitle": "", + "name": "offloc_name", + "type": "varchar", + "length": 50, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" + }, + { + "tableName": "gir_complaint_h", + "tableFileName": "gir_complaint_h", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4381,92 +4339,106 @@

Columns

"comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { - "tableName": "complaint_update", - "tableFileName": "complaint_update", + "tableName": "complaint_method_received_code", + "tableFileName": "complaint_method_received_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "upd_location_summary_text", - "type": "varchar", - "length": 120, - "nullable": "√", + "name": "display_order", + "type": "int4", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A brief summary of the location of the complaint.<\/p>" + "comments": "" }, { - "tableName": "attractant_hwcr_xref", - "tableFileName": "attractant_hwcr_xref", + "tableName": "violation_code", + "tableFileName": "violation_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>hwcr_complaint_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

System generated unique key for a hwcr complaint.<\/p>" + "comments": "

The id of the user that created the violation code.<\/p>" }, { - "tableName": "staging_metadata_mapping", - "tableFileName": "staging_metadata_mapping", + "tableName": "feature_agency_xref", + "tableFileName": "feature_agency_xref", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>staging_metadata_mapping_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "" + "defaultValue": "null", + "comments": "

The id of the user that created the FEATURE / AGENCY mapping.<\/p>" }, { - "tableName": "complaint_method_received_code", - "tableFileName": "complaint_method_received_code", + "tableName": "configuration_h", + "tableFileName": "configuration_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "operation_executed_at", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", + "defaultValue": "now()", + "comments": "

The timestamp when the data in the configuration table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + }, + { + "tableName": "person_complaint_xref_code", + "tableFileName": "person_complaint_xref_code", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "nullable": "", + "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the METHOD_COMPLAINT_RECEIVED_CODE was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the relationship type between a person and a complaint.<\/p>" }, { - "tableName": "person_complaint_xref", - "tableFileName": "person_complaint_xref", + "tableName": "person", + "tableFileName": "person", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>person_complaint_xref_code", + "keyClass": "", + "keyTitle": "", + "name": "create_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a relationship type between a person and a complaint.<\/p>" + "comments": "

The id of the user that created the person.<\/p>" }, { - "tableName": "hwcr_complaint_nature_code", - "tableFileName": "hwcr_complaint_nature_code", + "tableName": "species_code", + "tableFileName": "species_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the human wildlife conflict nature code was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

A boolean indicator to determine if the species code is active.<\/p>" }, { - "tableName": "officer", - "tableFileName": "officer", + "tableName": "complaint_update", + "tableFileName": "complaint_update", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4476,11 +4448,25 @@

Columns

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

The id of the user that updated the officer.<\/p>" + "comments": "

The id of the user that updated the complaint update record.<\/p>" }, { - "tableName": "person_complaint_xref_code", - "tableFileName": "person_complaint_xref_code", + "tableName": "attractant_hwcr_xref", + "tableFileName": "attractant_hwcr_xref", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "active_ind", + "type": "bool", + "length": 1, + "nullable": "", + "autoUpdated": "", + "defaultValue": "true", + "comments": "" + }, + { + "tableName": "staging_metadata_mapping", + "tableFileName": "staging_metadata_mapping", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4490,25 +4476,39 @@

Columns

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

The timestamp when the relationship type between a person and a complaint was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { - "tableName": "attractant_hwcr_xref", - "tableFileName": "attractant_hwcr_xref", + "tableName": "agency_code", + "tableFileName": "agency_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "long_description", + "type": "varchar", + "length": 250, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The long description of the agency code.<\/p>" + }, + { + "tableName": "person_complaint_xref", + "tableFileName": "person_complaint_xref", + "tableType": "Table", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the attractant hwcr cross reference was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

A boolean indicator to determine if the relationship type between a person and a complaint code is active.<\/p>" }, { - "tableName": "allegation_complaint_h", - "tableFileName": "allegation_complaint_h", + "tableName": "action_taken_h", + "tableFileName": "action_taken_h", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4518,39 +4518,53 @@

Columns

"nullable": "", "autoUpdated": "", "defaultValue": "now()", - "comments": "

The timestamp when the data in the allegation complaint table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the data in the complaint table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "staging_metadata_mapping", - "tableFileName": "staging_metadata_mapping", + "tableName": "complaint_update_h", + "tableFileName": "complaint_update_h", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_complaint_update_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", + "autoUpdated": "", + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for complaint update history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + }, + { + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "live_data_value", + "name": "version", "type": "varchar", - "length": 10, - "nullable": "", + "length": 50, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "geo_org_unit_structure_h", - "tableFileName": "geo_org_unit_structure_h", + "tableName": "complaint_type_code", + "tableFileName": "complaint_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the geographic organization unit structure table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "null", + "comments": "" }, { - "tableName": "hwcr_complaint_h", - "tableFileName": "hwcr_complaint_h", + "tableName": "geo_org_unit_structure_h", + "tableFileName": "geo_org_unit_structure_h", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4560,53 +4574,53 @@

Columns

"nullable": "", "autoUpdated": "", "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the HWCR complaint table. Defaults to the logged in user if not passed in by the application.<\/p>" + "comments": "

The id of the user that created or modified the data in the geographic organization unit structure table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "comp_mthd_recv_cd_agcy_cd_xref", - "tableFileName": "comp_mthd_recv_cd_agcy_cd_xref", + "tableName": "person_complaint_xref_code", + "tableFileName": "person_complaint_xref_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>complaint_method_received_code", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>person_complaint_xref_code", "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a complaint_method_received_code that is controlled by the comp_mthd_recv_cd_agcy_cd_xref table.<\/p>" + "comments": "

A human readable code used to identify a relationship type between a person and a complaint.<\/p>" }, { - "tableName": "linked_complaint_xref", - "tableFileName": "linked_complaint_xref", + "tableName": "species_code", + "tableFileName": "species_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "long_description", + "type": "varchar", + "length": 250, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the complaint linkage was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The long description of the species code.<\/p>" }, { - "tableName": "complaint", - "tableFileName": "complaint", + "tableName": "staging_status_code", + "tableFileName": "staging_status_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "reference_number", + "name": "long_description", "type": "varchar", - "length": 20, + "length": 250, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Allows users to link complaints to files in external systems. Currently labeled in the system as COORS reference number and initially only used for COORS linkages.<\/p>" + "comments": "" }, { - "tableName": "entity_code", - "tableFileName": "entity_code", + "tableName": "comp_mthd_recv_cd_agcy_cd_xref", + "tableFileName": "comp_mthd_recv_cd_agcy_cd_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4616,147 +4630,147 @@

Columns

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

The timestamp when the complaint_method_received_code / AGENCY mapping was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "gir_complaint_h", + "tableFileName": "gir_complaint_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "type", - "type": "varchar", - "length": 20, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the GIR complaint table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "geometry_columns", - "tableFileName": "geometry_columns", - "tableType": "View", + "tableName": "hwcr_complaint_h", + "tableFileName": "hwcr_complaint_h", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "f_table_catalog", - "type": "varchar", - "length": 256, - "nullable": "√", + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the HWCR complaint table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "configuration_h", - "tableFileName": "configuration_h", + "tableName": "attractant_hwcr_xref_h", + "tableFileName": "attractant_hwcr_xref_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_configuration_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for configuration history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the attractant hwcr xref table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "allegation_complaint", - "tableFileName": "allegation_complaint", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>allegation_complaint_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "execution_time", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for an allegation complaint. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "" }, { - "tableName": "allegation_complaint", - "tableFileName": "allegation_complaint", + "tableName": "configuration_h", + "tableFileName": "configuration_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the allegation complaint.<\/p>" + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { - "tableName": "attractant_code", - "tableFileName": "attractant_code", + "tableName": "allegation_complaint", + "tableFileName": "allegation_complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the attractant code.<\/p>" + "comments": "

The timestamp when the allegation complaint was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "cos_geo_org_unit_flat_vw", - "tableFileName": "cos_geo_org_unit_flat_vw", - "tableType": "View", + "tableName": "hwcr_complaint", + "tableFileName": "hwcr_complaint", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "administrative_office_ind", - "type": "bool", - "length": 1, + "name": "other_attractants_text", + "type": "varchar", + "length": 4000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

Provides a more detailed description when the attractant of type “OTHER” is included.<\/p>" }, { - "tableName": "officer_team_xref", - "tableFileName": "officer_team_xref", + "tableName": "linked_complaint_xref", + "tableFileName": "linked_complaint_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>active_ind", "type": "bool", "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Used to indicate if the users in the OFFICER_TEAM_XREF recrodis active.<\/p>" + "comments": "

Flag indicating if the linkage is active.<\/p>" }, { - "tableName": "geography_columns", - "tableFileName": "geography_columns", - "tableType": "View", - "keyClass": "", - "keyTitle": "", - "name": "type", - "type": "text", - "length": 2147483647, - "nullable": "√", + "tableName": "gir_type_code", + "tableFileName": "gir_type_code", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>gir_type_code", + "type": "varchar", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "person_complaint_xref", - "tableFileName": "person_complaint_xref", + "tableName": "gir_complaint", + "tableFileName": "gir_complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", + "name": "create_utc_timestamp", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the relationship between a person and a complaint was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the GIR complaint was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "gir_type_code", @@ -4764,107 +4778,107 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "feature_code", - "tableFileName": "feature_code", + "tableName": "comp_mthd_recv_cd_agcy_cd_xref", + "tableFileName": "comp_mthd_recv_cd_agcy_cd_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the FEATURE<\/p>" + "comments": "

A boolean indicator to determine if the complaint_method_received_code should be rendered the for users in the given AGENCY<\/p>" }, { - "tableName": "geo_org_unit_type_code", - "tableFileName": "geo_org_unit_type_code", + "tableName": "violation_code", + "tableFileName": "violation_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>geo_org_unit_type_code", + "keyClass": "", + "keyTitle": "", + "name": "short_description", "type": "varchar", - "length": 10, + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a geographical organization unit type.<\/p>" + "comments": "

The short description of the violation code.<\/p>" }, { - "tableName": "staging_complaint", - "tableFileName": "staging_complaint", + "tableName": "geo_org_unit_type_code", + "tableFileName": "geo_org_unit_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "complaint_jsonb", - "type": "jsonb", - "length": 2147483647, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The id of the user that created the geographical organization unit type code.<\/p>" }, { - "tableName": "geometry_columns", - "tableFileName": "geometry_columns", - "tableType": "View", - "keyClass": "", - "keyTitle": "", - "name": "f_table_schema", - "type": "name", + "tableName": "allegation_complaint_h", + "tableFileName": "allegation_complaint_h", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_algtncmplt_guid", + "type": "uuid", "length": 2147483647, - "nullable": "√", + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for allegation complaint history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "hwcr_complaint", "tableFileName": "hwcr_complaint", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "other_attractants_text", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>complaint_identifier", "type": "varchar", - "length": 4000, - "nullable": "√", + "length": 20, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Provides a more detailed description when the attractant of type “OTHER” is included.<\/p>" + "comments": "

Natural key for a complaint generated by webEOC.<\/p>" }, { "tableName": "violation_code", "tableFileName": "violation_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>agency_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A boolean indicator to determine if the violation code is active.<\/p>" + "defaultValue": "'COS'::character varying", + "comments": "

A human readable code used to identify an agency.<\/p>" }, { "tableName": "flyway_schema_history", "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "script", - "type": "varchar", - "length": 1000, + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>success", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -4876,13 +4890,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", + "name": "update_user_id", "type": "varchar", - "length": 250, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of the team code.<\/p>" + "comments": "

The id of the user that updated the team code.<\/p>" }, { "tableName": "violation_code", @@ -4890,45 +4904,31 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", + "name": "update_user_id", "type": "varchar", - "length": 250, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The long description of the violation code.<\/p>" - }, - { - "tableName": "office_h", - "tableFileName": "office_h", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the office table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "

The id of the user that updated the violation code.<\/p>" }, { - "tableName": "team_h", - "tableFileName": "team_h", + "tableName": "allegation_complaint", + "tableFileName": "allegation_complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "suspect_witnesss_dtl_text", + "type": "text", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the team table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "" }, { - "tableName": "team_code", - "tableFileName": "team_code", + "tableName": "feature_agency_xref", + "tableFileName": "feature_agency_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -4938,35 +4938,21 @@

Columns

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

A boolean indicator to determine if the team code is active.<\/p>" - }, - { - "tableName": "complaint_update", - "tableFileName": "complaint_update", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that updated the complaint update record.<\/p>" + "comments": "

A boolean indicator to determine if the FEATURE should be rendered the for users in the given AGENCY<\/p>" }, { - "tableName": "attractant_hwcr_xref_h", - "tableFileName": "attractant_hwcr_xref_h", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, + "tableName": "officer_team_xref_h", + "tableFileName": "officer_team_xref_h", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_officer_team_xref_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the attractant hwcr xref table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for officer_team_xref history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "office", @@ -4974,59 +4960,73 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the office.<\/p>" + "comments": "

The timestamp when the office was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "officer_team_xref", - "tableFileName": "officer_team_xref", + "tableName": "hwcr_complaint_nature_code", + "tableFileName": "hwcr_complaint_nature_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, + "length": 250, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the OFFICER_TEAM_XREF.<\/p>" + "comments": "

The long description of the nature of the Human Wildlife Conflict code.<\/p>" }, { - "tableName": "reported_by_code", - "tableFileName": "reported_by_code", + "tableName": "team", + "tableFileName": "team", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>reported_by_code", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>team_code", "type": "varchar", - "length": 10, + "length": 15, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

A human readable code used to identify a TEAM<\/p>" + }, + { + "tableName": "gir_type_code", + "tableFileName": "gir_type_code", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "officer_team_xref", - "tableFileName": "officer_team_xref", + "tableName": "reported_by_code", + "tableFileName": "reported_by_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "create_user_id", "type": "varchar", "length": 32, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the OFFICER_TEAM_XREF<\/p>" + "comments": "" }, { - "tableName": "complaint_type_code", - "tableFileName": "complaint_type_code", + "tableName": "gir_type_code", + "tableFileName": "gir_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -5044,7 +5044,7 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "update_user_id", "type": "varchar", "length": 32, "nullable": "", @@ -5058,7 +5058,7 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "nullable": "", @@ -5067,36 +5067,22 @@

Columns

"comments": "" }, { - "tableName": "hwcr_complaint_h", - "tableFileName": "hwcr_complaint_h", + "tableName": "staging_activity_code", + "tableFileName": "staging_activity_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>staging_activity_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the HWCR complaint table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" - }, - { - "tableName": "officer", - "tableFileName": "officer", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>office_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "√", - "autoUpdated": "", "defaultValue": "null", - "comments": "

System generated unique key for an office. The primary office an officer is assigned to.<\/p>" + "comments": "" }, { - "tableName": "entity_code", - "tableFileName": "entity_code", + "tableName": "staging_status_code", + "tableFileName": "staging_status_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -5109,22 +5095,22 @@

Columns

"comments": "" }, { - "tableName": "person_complaint_xref", - "tableFileName": "person_complaint_xref", + "tableName": "complaint_update_h", + "tableFileName": "complaint_update_h", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>complaint_identifier", + "keyClass": "", + "keyTitle": "", + "name": "operation_user_id", "type": "varchar", - "length": 20, + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

Natural key for a complaint generated by webEOC. Format is YY-###### where the number portion of the sequence resets to 0 on the new year.<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the complaint update table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "agency_code", - "tableFileName": "agency_code", + "tableName": "entity_code", + "tableFileName": "entity_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -5134,91 +5120,91 @@

Columns

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

The timestamp when the agency was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { - "tableName": "configuration", - "tableFileName": "configuration", + "tableName": "person_complaint_xref", + "tableFileName": "person_complaint_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the configuration entry was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the relationship between a person and a complaint was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "person", - "tableFileName": "person", + "tableName": "complaint_status_code", + "tableFileName": "complaint_status_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "last_name", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The last name of a person.<\/p>" + "comments": "

A boolean indicator to determine if the complaint status code is active.<\/p>" }, { - "tableName": "complaint", - "tableFileName": "complaint", + "tableName": "staging_complaint", + "tableFileName": "staging_complaint", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>staging_activity_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the complaint was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { - "tableName": "hwcr_complaint_nature_code", - "tableFileName": "hwcr_complaint_nature_code", + "tableName": "team_h", + "tableFileName": "team_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_team_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that created the human wildlife conflict nature code.<\/p>" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for team history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "staging_activity_code", - "tableFileName": "staging_activity_code", + "tableName": "complaint", + "tableFileName": "complaint", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>complaint_status_code", "type": "varchar", - "length": 32, - "nullable": "", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A human readable code used to identify a complaint status.<\/p>" }, { - "tableName": "entity_code", - "tableFileName": "entity_code", + "tableName": "action_taken_h", + "tableFileName": "action_taken_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The unique key for the complaint that has been created or modified.<\/p>" }, { "tableName": "team_code", @@ -5226,59 +5212,59 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of the team code.<\/p>" + "comments": "

The order in which the values of the team code table should be displayed when presented to a user in a list.<\/p>" }, { - "tableName": "gir_complaint_h", - "tableFileName": "gir_complaint_h", + "tableName": "attractant_hwcr_xref_h", + "tableFileName": "attractant_hwcr_xref_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "operation_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the attractant hwcr xref table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "geo_org_unit_structure", - "tableFileName": "geo_org_unit_structure", + "tableName": "team_code", + "tableFileName": "team_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>child_geo_org_unit_code", - "type": "varchar", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The geographical organization that is contained by the parent geographical organization unit.<\/p>" + "comments": "

The timestamp when the team was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "geometry_columns", - "tableFileName": "geometry_columns", - "tableType": "View", + "tableName": "officer", + "tableFileName": "officer", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "coord_dimension", - "type": "int4", - "length": 10, - "nullable": "√", + "name": "user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The IDIR ID issued to the user by the Government of British Columbia as part of their employment.<\/p>" }, { - "tableName": "feature_agency_xref", - "tableFileName": "feature_agency_xref", + "tableName": "staging_metadata_mapping", + "tableFileName": "staging_metadata_mapping", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -5288,49 +5274,49 @@

Columns

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

The id of the user that created the FEATURE / AGENCY mapping.<\/p>" + "comments": "" }, { - "tableName": "hwcr_complaint_nature_code", - "tableFileName": "hwcr_complaint_nature_code", + "tableName": "configuration", + "tableFileName": "configuration", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "configuration_value", + "type": "varchar", + "length": 250, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the human wildlife conflict nature code was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The value of the configuration entry.<\/p>" }, { - "tableName": "allegation_complaint_h", - "tableFileName": "allegation_complaint_h", + "tableName": "action_taken_h", + "tableFileName": "action_taken_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, + "name": "operation_type", + "type": "bpchar", + "length": 1, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the allegation complaint table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "null", + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { - "tableName": "cos_geo_org_unit_flat_vw", - "tableFileName": "cos_geo_org_unit_flat_vw", - "tableType": "View", + "tableName": "geo_org_unit_structure_h", + "tableFileName": "geo_org_unit_structure_h", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "region_name", - "type": "varchar", - "length": 50, - "nullable": "√", + "name": "operation_type", + "type": "bpchar", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { "tableName": "violation_code", @@ -5338,27 +5324,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the violation code table should be displayed when presented to a user in a list.<\/p>" + "comments": "

The timestamp when the violation code was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "comp_mthd_recv_cd_agcy_cd_xref", "tableFileName": "comp_mthd_recv_cd_agcy_cd_xref", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>comp_mthd_recv_cd_agcy_cd_xref_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "" + "defaultValue": "null", + "comments": "

The timestamp when the complaint_method_received_code / AGENCY mapping was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "complaint", @@ -5366,27 +5352,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "detail_text", - "type": "text", - "length": 2147483647, + "name": "caller_phone_2", + "type": "varchar", + "length": 15, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Verbatim details of the complaint as recorded by the call centre or through the web form.<\/p>" + "comments": "

An alternate phone number provided by the caller to the call centre or entered onto the web form.<\/p>" }, { - "tableName": "geo_org_unit_structure", - "tableFileName": "geo_org_unit_structure", + "tableName": "staging_metadata_mapping", + "tableFileName": "staging_metadata_mapping", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>entity_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the geographical organization unit structure was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { "tableName": "geo_org_unit_type_code", @@ -5394,41 +5380,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of the geographical organization unit type code.<\/p>" + "comments": "

The timestamp when the geographical organization unit type code was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "geo_org_unit_structure", - "tableFileName": "geo_org_unit_structure", + "tableName": "staging_metadata_mapping", + "tableFileName": "staging_metadata_mapping", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>parent_geo_org_unit_code", + "keyClass": "", + "keyTitle": "", + "name": "live_data_value", "type": "varchar", "length": 10, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The geographical organization that contains the child geographical organization unit.<\/p>" + "comments": "" }, { - "tableName": "allegation_complaint_h", - "tableFileName": "allegation_complaint_h", + "tableName": "geo_org_unit_structure_h", + "tableFileName": "geo_org_unit_structure_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "target_row_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_gorgustrct_guid", "type": "uuid", "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The unique key for the allegation complaint that has been created or modified.<\/p>" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for geographic organization unit structure history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "complaint_status_code", @@ -5436,13 +5422,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", + "name": "update_user_id", "type": "varchar", - "length": 250, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of the complaint status code.<\/p>" + "comments": "

The id of the user that updated the complaint status code.<\/p>" }, { "tableName": "agency_code", @@ -5450,41 +5436,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", + "name": "update_user_id", "type": "varchar", - "length": 250, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of the agency code.<\/p>" + "comments": "

The id of the user that updated the agency code.<\/p>" }, { - "tableName": "cos_geo_org_unit_flat_vw", - "tableFileName": "cos_geo_org_unit_flat_vw", - "tableType": "View", - "keyClass": "", - "keyTitle": "", - "name": "area_code", + "tableName": "complaint_status_code", + "tableFileName": "complaint_status_code", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>complaint_status_code", "type": "varchar", "length": 10, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A human readable code used to identify a complaint status.<\/p>" }, { - "tableName": "agency_code", - "tableFileName": "agency_code", - "tableType": "Table", + "tableName": "geometry_columns", + "tableFileName": "geometry_columns", + "tableType": "View", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "", + "name": "type", + "type": "varchar", + "length": 30, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the agency code is active.<\/p>" + "comments": "" }, { "tableName": "geo_organization_unit_code", @@ -5492,13 +5478,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "name": "administrative_office_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that created the geographical organization unit code.<\/p>" + "defaultValue": "false", + "comments": "

Indicates if the unit is a COSHQ Office.<\/p>" }, { "tableName": "hwcr_complaint_nature_code", @@ -5506,41 +5492,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the nature of the Human Wildlife Conflict code table should be displayed when presented to a user in a list.<\/p>" + "comments": "

The timestamp when the human wildlife conflict nature code was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "complaint_method_received_code", "tableFileName": "complaint_method_received_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>complaint_method_received_code", + "keyClass": "", + "keyTitle": "", + "name": "create_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to define the method in which the complaint was received<\/p>" + "comments": "

The id of the user that created the wdr schedule code.<\/p>" }, { "tableName": "person_h", "tableFileName": "person_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_person_guid", - "type": "uuid", + "keyClass": "", + "keyTitle": "", + "name": "data_after_executed_operation", + "type": "jsonb", "length": 2147483647, - "nullable": "", + "nullable": "√", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for person history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { "tableName": "entity_code", @@ -5548,10 +5534,10 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", + "name": "update_user_id", "type": "varchar", - "length": 250, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -5560,141 +5546,155 @@

Columns

"tableName": "complaint", "tableFileName": "complaint", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>geo_organization_unit_code", - "type": "varchar", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

A human readable code used to identify a geographical organization unit. The finest known grain geographical organization unit where the complaint occurred.<\/p>" - }, - { - "tableName": "officer_team_xref_h", - "tableFileName": "officer_team_xref_h", - "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, + "name": "reference_number", + "type": "varchar", + "length": 20, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

Allows users to link complaints to files in external systems. Currently labeled in the system as COORS reference number and initially only used for COORS linkages.<\/p>" }, { - "tableName": "reported_by_code", - "tableFileName": "reported_by_code", + "tableName": "officer_h", + "tableFileName": "officer_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, - "nullable": "√", + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the officer table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "team_code", - "tableFileName": "team_code", + "tableName": "reported_by_code", + "tableFileName": "reported_by_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "update_user_id", "type": "varchar", "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the team code.<\/p>" + "comments": "" }, { - "tableName": "person_complaint_xref_h", - "tableFileName": "person_complaint_xref_h", + "tableName": "officer_team_xref_h", + "tableFileName": "officer_team_xref_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", + "name": "target_row_id", + "type": "uuid", "length": 2147483647, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

The unique key for the officer_team_xref that has been created or modified.<\/p>" }, { - "tableName": "complaint_update_h", - "tableFileName": "complaint_update_h", + "tableName": "feature_code", + "tableFileName": "feature_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the complaint update table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "

A boolean indicator to determine if the FEATURE is active.<\/p>" }, { - "tableName": "complaint_status_code", - "tableFileName": "complaint_status_code", + "tableName": "complaint_h", + "tableFileName": "complaint_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "manually_assignable_ind", - "type": "bool", - "length": 1, + "name": "operation_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "true", - "comments": "

Indicates if the stastus code can be manually assigned by a user.<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the complaint table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "hwcr_complaint", - "tableFileName": "hwcr_complaint", + "tableName": "person", + "tableFileName": "person", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>hwcr_complaint_nature_code", + "keyClass": "", + "keyTitle": "", + "name": "last_name", "type": "varchar", - "length": 10, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify the nature of the Human Wildlife Conflict.<\/p>" + "comments": "

The last name of a person.<\/p>" }, { - "tableName": "geography_columns", - "tableFileName": "geography_columns", + "tableName": "geometry_columns", + "tableFileName": "geometry_columns", "tableType": "View", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>srid", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "f_geometry_column", + "type": "name", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "configuration_h", - "tableFileName": "configuration_h", + "tableName": "geo_org_unit_type_code", + "tableFileName": "geo_org_unit_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", + "name": "active_ind", + "type": "bool", + "length": 1, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

A boolean indicator to determine if the geographical organization unit type code is active.<\/p>" + }, + { + "tableName": "attractant_code", + "tableFileName": "attractant_code", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>attractant_code", "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the configuration that has been created or modified.<\/p>" + "comments": "

A human readable code used to identify an attractant.<\/p>" + }, + { + "tableName": "allegation_complaint", + "tableFileName": "allegation_complaint", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>allegation_complaint_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", + "autoUpdated": "", + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for an allegation complaint. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "office_h", @@ -5711,22 +5711,22 @@

Columns

"comments": "

The unique key for the office that has been created or modified.<\/p>" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "attractant_hwcr_xref", + "tableFileName": "attractant_hwcr_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "installed_by", - "type": "varchar", - "length": 100, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>hwcr_complaint_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

System generated unique key for a hwcr complaint.<\/p>" }, { - "tableName": "person_h", - "tableFileName": "person_h", + "tableName": "team_h", + "tableFileName": "team_h", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -5736,67 +5736,67 @@

Columns

"nullable": "", "autoUpdated": "", "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the person table. Defaults to the logged in user if not passed in by the application.<\/p>" + "comments": "

The id of the user that created or modified the data in the team table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "person", - "tableFileName": "person", + "tableName": "person_complaint_xref", + "tableFileName": "person_complaint_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>person_complaint_xref_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the person.<\/p>" + "comments": "

A human readable code used to identify a relationship type between a person and a complaint.<\/p>" }, { - "tableName": "reported_by_code", - "tableFileName": "reported_by_code", + "tableName": "complaint_method_received_code", + "tableFileName": "complaint_method_received_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "short_description", "type": "varchar", - "length": 32, + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The short description of a METHOD_COMPLAINT_RECEIVED_CODE<\/p>" }, { - "tableName": "geo_org_unit_type_code", - "tableFileName": "geo_org_unit_type_code", + "tableName": "linked_complaint_xref", + "tableFileName": "linked_complaint_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the geographical organization unit type code.<\/p>" + "comments": "

The timestamp when the complaint linkage was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "linked_complaint_xref", - "tableFileName": "linked_complaint_xref", + "tableName": "configuration_h", + "tableFileName": "configuration_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>linked_complaint_xref_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "target_row_id", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

A human readable code used to identify a complaint linkage.<\/p>" + "defaultValue": "null", + "comments": "

The unique key for the configuration that has been created or modified.<\/p>" }, { - "tableName": "comp_mthd_recv_cd_agcy_cd_xref", - "tableFileName": "comp_mthd_recv_cd_agcy_cd_xref", + "tableName": "geo_org_unit_structure", + "tableFileName": "geo_org_unit_structure", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -5806,175 +5806,161 @@

Columns

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

The id of the user that created the complaint_method_received_code / AGENCY mapping.<\/p>" + "comments": "

The id of the user that created the geographical organization unit structure.<\/p>" }, { - "tableName": "geo_organization_unit_code", - "tableFileName": "geo_organization_unit_code", + "tableName": "team_code", + "tableFileName": "team_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>geo_org_unit_type_code", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>team_code", "type": "varchar", "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

A human readable code used to identify a geographical organization unit type.<\/p>" - }, - { - "tableName": "staging_activity_code", - "tableFileName": "staging_activity_code", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" - }, - { - "tableName": "office", - "tableFileName": "office", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "agency_code", - "type": "varchar", - "length": 6, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

A human readable code used to identify an agency. The agency that owns the office.<\/p>" + "comments": "

A human readable code used to identify an team.<\/p>" }, { - "tableName": "geo_org_unit_structure", - "tableFileName": "geo_org_unit_structure", + "tableName": "team", + "tableFileName": "team", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "create_user_id", "type": "varchar", "length": 32, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the geographical organization unit structure.<\/p>" + "comments": "

The id of the user that created the TEAM.<\/p>" }, { "tableName": "staging_metadata_mapping", "tableFileName": "staging_metadata_mapping", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "staged_data_value", - "type": "varchar", - "length": 120, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>staging_metadata_mapping_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", + "defaultValue": "uuid_generate_v4()", "comments": "" }, { - "tableName": "linked_complaint_xref", - "tableFileName": "linked_complaint_xref", + "tableName": "staging_metadata_mapping", + "tableFileName": "staging_metadata_mapping", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>complaint_identifier", - "type": "varchar", - "length": 20, + "keyClass": "", + "keyTitle": "", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

One half of a linked complaint pair. If the type requires a context of hierarchy, the complaint that is higher in the hierarchy. For example, in the case of duplicate complaints, this would be the complaint that would remain open and where the majority of the information should be contained.<\/p>" + "comments": "" }, { - "tableName": "geo_organization_unit_code", - "tableFileName": "geo_organization_unit_code", + "tableName": "linked_complaint_xref", + "tableFileName": "linked_complaint_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", "name": "update_user_id", "type": "varchar", "length": 32, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the geographical organization unit code.<\/p>" + "comments": "

The id of the user that updated the complaint linkage.<\/p>" }, { - "tableName": "complaint_status_code", - "tableFileName": "complaint_status_code", + "tableName": "geo_org_unit_structure", + "tableFileName": "geo_org_unit_structure", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "name": "effective_date", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the complaint status code.<\/p>" + "comments": "

The date the Geographical Organizational Unit Structure becomes effective as a valid relationship within the Ministry organizational structure.<\/p>" }, { - "tableName": "team", - "tableFileName": "team", + "tableName": "person", + "tableFileName": "person", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>team_guid", + "name": "<\/i>person_guid", "type": "uuid", "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "uuid_generate_v4()", - "comments": "

A system generated guid to uniquely identify a TEAM<\/p>" + "comments": "

System generated unique key for an person. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "complaint_type_code", - "tableFileName": "complaint_type_code", + "tableName": "team", + "tableFileName": "team", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "√", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The timestamp when the TEAM was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "staging_metadata_mapping", - "tableFileName": "staging_metadata_mapping", + "tableName": "complaint_type_code", + "tableFileName": "complaint_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>agency_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "defaultValue": "'COS'::character varying", + "comments": "

A human readable code used to identify an agency.<\/p>" }, { - "tableName": "reported_by_code", - "tableFileName": "reported_by_code", + "tableName": "person_complaint_xref_code", + "tableFileName": "person_complaint_xref_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, + "length": 250, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The long description of the relationship type between a person and a complaint.<\/p>" + }, + { + "tableName": "person_complaint_xref", + "tableFileName": "person_complaint_xref", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>person_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

System generated unique key for an person.<\/p>" }, { "tableName": "action_taken", @@ -5982,27 +5968,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "logged_by_txt", - "type": "varchar", - "length": 250, - "nullable": "√", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The name of the webEOC User that recorded the ACTION_TAKEN<\/p>" + "comments": "

The timestamp when the ACTION_TAKEN was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "team_h", - "tableFileName": "team_h", + "tableName": "feature_agency_xref", + "tableFileName": "feature_agency_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_user_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>agency_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the team table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "null", + "comments": "

A human readable code used to identify an AGENCY.<\/p>" }, { "tableName": "species_code", @@ -6010,27 +5996,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, - "nullable": "√", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of the species code.<\/p>" + "comments": "

The timestamp when the species code was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "spatial_ref_sys", - "tableFileName": "spatial_ref_sys", + "tableName": "officer_team_xref", + "tableFileName": "officer_team_xref", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>srid", - "type": "int4", - "length": 10, + "name": "<\/i>officer_team_xref_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for a OFFICER_TEAM_XREF record. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "staging_activity_code", @@ -6038,55 +6024,111 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "allegation_complaint", - "tableFileName": "allegation_complaint", + "tableName": "hwcr_complaint", + "tableFileName": "hwcr_complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the allegation complaint was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the HWCR complaint.<\/p>" + }, + { + "tableName": "geography_columns", + "tableFileName": "geography_columns", + "tableType": "View", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>srid", + "type": "int4", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" }, { "tableName": "complaint", "tableFileName": "complaint", "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>owned_by_agency_code", + "type": "varchar", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

A human readable code used to identify an agency. The agency that currently owns the complaint.<\/p>" + }, + { + "tableName": "geometry_columns", + "tableFileName": "geometry_columns", + "tableType": "View", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "f_table_catalog", "type": "varchar", - "length": 32, - "nullable": "", + "length": 256, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the complaint.<\/p>" + "comments": "" }, { "tableName": "feature_agency_xref", "tableFileName": "feature_agency_xref", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>feature_agency_xref_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for a FEATURE_AGENCY_XREF ecord. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

The timestamp when the FEATURE / AGENCY mapping was created. The timestamp is stored in UTC with no Offset.<\/p>" + }, + { + "tableName": "allegation_complaint", + "tableFileName": "allegation_complaint", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>violation_code", + "type": "varchar", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

A human readable code used to identify a violation.<\/p>" + }, + { + "tableName": "geo_org_unit_type_code", + "tableFileName": "geo_org_unit_type_code", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "long_description", + "type": "varchar", + "length": 250, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The long description of the geographical organization unit type code.<\/p>" }, { "tableName": "allegation_complaint", @@ -6094,171 +6136,157 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "name": "in_progress_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the allegation complaint.<\/p>" + "comments": "

True if the alleged violation is currently described as being in progress. False otherwise.<\/p>" }, { - "tableName": "hwcr_complaint", - "tableFileName": "hwcr_complaint", + "tableName": "officer_team_xref", + "tableFileName": "officer_team_xref", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>complaint_identifier", + "keyClass": "", + "keyTitle": "", + "name": "create_user_id", "type": "varchar", - "length": 20, - "nullable": "", + "length": 32, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Natural key for a complaint generated by webEOC.<\/p>" + "comments": "

The id of the user that created the OFFICER_TEAM_XREF.<\/p>" }, { - "tableName": "office_h", - "tableFileName": "office_h", + "tableName": "staging_activity_code", + "tableFileName": "staging_activity_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", + "name": "active_ind", + "type": "bool", "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" - }, - { - "tableName": "geometry_columns", - "tableFileName": "geometry_columns", - "tableType": "View", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>srid", - "type": "int4", - "length": 10, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", "comments": "" }, { - "tableName": "spatial_ref_sys", - "tableFileName": "spatial_ref_sys", + "tableName": "staging_status_code", + "tableFileName": "staging_status_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "proj4text", + "name": "create_user_id", "type": "varchar", - "length": 2048, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "complaint_type_code", - "tableFileName": "complaint_type_code", + "tableName": "geo_organization_unit_code", + "tableFileName": "geo_organization_unit_code", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>agency_code", + "name": "<\/i>geo_org_unit_type_code", "type": "varchar", "length": 10, - "nullable": "", + "nullable": "√", "autoUpdated": "", - "defaultValue": "'COS'::character varying", - "comments": "

A human readable code used to identify an agency.<\/p>" + "defaultValue": "null", + "comments": "

A human readable code used to identify a geographical organization unit type.<\/p>" }, { - "tableName": "staging_status_code", - "tableFileName": "staging_status_code", + "tableName": "hwcr_complaint_nature_code", + "tableFileName": "hwcr_complaint_nature_code", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>staging_status_code", + "name": "<\/i>hwcr_complaint_nature_code", "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A human readable code used to identify the nature of the Human Wildlife Conflict.<\/p>" }, { - "tableName": "geo_organization_unit_code", - "tableFileName": "geo_organization_unit_code", + "tableName": "team_h", + "tableFileName": "team_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "timestamp", - "length": 29, + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date the Geographical Organizational Unit is no longer recognized as a valid physical location within the Ministry organizational structure.<\/p>" + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { - "tableName": "attractant_hwcr_xref_h", - "tableFileName": "attractant_hwcr_xref_h", + "tableName": "complaint_update", + "tableFileName": "complaint_update", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>complaint_identifier", + "type": "varchar", + "length": 20, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the attractant hwcr xref that has been created or modified.<\/p>" + "comments": "

Natural key for a complaint generated by webEOC. Format is YY-250744772125074477212507447721 where the number portion of the sequence resets to 0 on the new year.<\/p>" }, { - "tableName": "team_h", - "tableFileName": "team_h", + "tableName": "violation_code", + "tableFileName": "violation_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_team_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "long_description", + "type": "varchar", + "length": 250, + "nullable": "√", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for team history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

The long description of the violation code.<\/p>" }, { - "tableName": "complaint_h", - "tableFileName": "complaint_h", + "tableName": "attractant_hwcr_xref", + "tableFileName": "attractant_hwcr_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>attractant_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "comments": "

A human readable code used to identify an attractant.<\/p>" }, { - "tableName": "staging_status_code", - "tableFileName": "staging_status_code", + "tableName": "agency_code", + "tableFileName": "agency_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The order in which the values of the agency code table should be displayed when presented to a user in a list.<\/p>" }, { - "tableName": "person_h", - "tableFileName": "person_h", + "tableName": "configuration_h", + "tableFileName": "configuration_h", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -6271,74 +6299,60 @@

Columns

"comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { - "tableName": "complaint_method_received_code", - "tableFileName": "complaint_method_received_code", + "tableName": "officer", + "tableFileName": "officer", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "auth_user_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the METHOD_COMPLAINT_RECEIVED_CODE.<\/p>" + "comments": "

The SiteMinder guid returned to the application from KeyCloak. Used to uniquely identify a user over the course of their lifecycle.<\/p>" }, { - "tableName": "comp_mthd_recv_cd_agcy_cd_xref", - "tableFileName": "comp_mthd_recv_cd_agcy_cd_xref", + "tableName": "agency_code", + "tableFileName": "agency_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the complaint_method_received_code / AGENCY mapping was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the agency code.<\/p>" }, { - "tableName": "officer", - "tableFileName": "officer", + "tableName": "complaint_type_code", + "tableFileName": "complaint_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The timestamp when the officer was created. The timestamp is stored in UTC with no Offset.<\/p>" - }, - { - "tableName": "agency_code", - "tableFileName": "agency_code", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>agency_code", + "name": "short_description", "type": "varchar", - "length": 10, + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an agency.<\/p>" + "comments": "" }, { - "tableName": "attractant_hwcr_xref", - "tableFileName": "attractant_hwcr_xref", - "tableType": "Table", + "tableName": "cos_geo_org_unit_flat_vw", + "tableFileName": "cos_geo_org_unit_flat_vw", + "tableType": "View", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "zone_code", + "type": "varchar", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the attractant hwcr cross reference was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { "tableName": "complaint", @@ -6346,26 +6360,26 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "caller_phone_3", + "name": "reported_by_other_text", "type": "varchar", - "length": 15, + "length": 120, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

An alternate phone number provided by the caller to the call centre or entered onto the web form.<\/p>" + "comments": "

Provides a more detailed description when the referred by Agency is of type “OTHER”<\/p>" }, { - "tableName": "person_complaint_xref_code", - "tableFileName": "person_complaint_xref_code", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "script", + "type": "varchar", + "length": 1000, "nullable": "", "autoUpdated": "", - "defaultValue": "true", + "defaultValue": "null", "comments": "" }, { @@ -6374,73 +6388,73 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the team code table should be displayed when presented to a user in a list.<\/p>" + "comments": "

The timestamp when the team was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "cos_geo_org_unit_flat_vw", - "tableFileName": "cos_geo_org_unit_flat_vw", - "tableType": "View", + "tableName": "allegation_complaint", + "tableFileName": "allegation_complaint", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "area_name", + "name": "create_user_id", "type": "varchar", - "length": 50, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The id of the user that created the allegation complaint.<\/p>" }, { - "tableName": "office_h", - "tableFileName": "office_h", + "tableName": "staging_complaint", + "tableFileName": "staging_complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", + "name": "complaint_jsonb", "type": "jsonb", "length": 2147483647, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "" }, { - "tableName": "configuration", - "tableFileName": "configuration", + "tableName": "agency_code", + "tableFileName": "agency_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>agency_code", + "type": "varchar", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the configuration entry was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

A human readable code used to identify an agency.<\/p>" }, { - "tableName": "complaint_method_received_code", - "tableFileName": "complaint_method_received_code", + "tableName": "configuration", + "tableFileName": "configuration", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "long_description", + "type": "varchar", + "length": 250, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the METHOD_COMPLAINT_RECEIVED_CODE is active<\/p>" + "comments": "

The long description of the configuration entry.<\/p>" }, { - "tableName": "feature_agency_xref", - "tableFileName": "feature_agency_xref", + "tableName": "staging_activity_code", + "tableFileName": "staging_activity_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -6450,57 +6464,57 @@

Columns

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

The timestamp when the FEATURE / AGENCY mapping was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { - "tableName": "staging_activity_code", - "tableFileName": "staging_activity_code", + "tableName": "spatial_ref_sys", + "tableFileName": "spatial_ref_sys", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>srid", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "geography_columns", - "tableFileName": "geography_columns", - "tableType": "View", + "tableName": "complaint_type_code", + "tableFileName": "complaint_type_code", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "f_table_schema", - "type": "name", - "length": 2147483647, - "nullable": "√", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "gir_complaint", - "tableFileName": "gir_complaint", + "tableName": "staging_activity_code", + "tableFileName": "staging_activity_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the GIR complaint.<\/p>" + "comments": "" }, { - "tableName": "complaint_type_code", - "tableFileName": "complaint_type_code", + "tableName": "entity_code", + "tableFileName": "entity_code", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>complaint_type_code", + "name": "<\/i>entity_code", "type": "varchar", "length": 10, "nullable": "", @@ -6509,298 +6523,284 @@

Columns

"comments": "" }, { - "tableName": "complaint_type_code", - "tableFileName": "complaint_type_code", + "tableName": "staging_complaint", + "tableFileName": "staging_complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "species_code", - "tableFileName": "species_code", + "tableName": "feature_code", + "tableFileName": "feature_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "legacy_code", + "name": "long_description", "type": "varchar", - "length": 10, + "length": 250, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The code for the species from the CORS_SPECIES_CODE table in the COORS database.<\/p>" + "comments": "

The long description of the FEATURE controlled by the flag.<\/p>" }, { - "tableName": "staging_complaint", - "tableFileName": "staging_complaint", + "tableName": "entity_code", + "tableFileName": "entity_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>staging_complaint_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "long_description", + "type": "varchar", + "length": 250, + "nullable": "√", "autoUpdated": "", - "defaultValue": "uuid_generate_v4()", + "defaultValue": "null", "comments": "" }, { - "tableName": "person_complaint_xref_h", - "tableFileName": "person_complaint_xref_h", + "tableName": "hwcr_complaint", + "tableFileName": "hwcr_complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", + "name": "update_user_id", "type": "varchar", "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in complaint table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "null", + "comments": "

The id of the user that updated the HWCR complaint.<\/p>" }, { - "tableName": "species_code", - "tableFileName": "species_code", + "tableName": "gir_complaint", + "tableFileName": "gir_complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the species code was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the GIR complaint was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "allegation_complaint", - "tableFileName": "allegation_complaint", + "tableName": "staging_status_code", + "tableFileName": "staging_status_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>violation_code", + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", "type": "varchar", - "length": 10, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a violation.<\/p>" + "comments": "" }, { - "tableName": "gir_complaint", - "tableFileName": "gir_complaint", + "tableName": "person_complaint_xref", + "tableFileName": "person_complaint_xref", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>gir_complaint_guid", + "name": "<\/i>person_complaint_xref_guid", "type": "uuid", "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "uuid_generate_v4()", - "comments": "

System generated unique key for a gir complaint. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

System generated unique key for a relationship between a person and a complaint. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "staging_status_code", - "tableFileName": "staging_status_code", + "tableName": "linked_complaint_xref", + "tableFileName": "linked_complaint_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "long_description", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>complaint_identifier", "type": "varchar", - "length": 250, - "nullable": "√", + "length": 20, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

One half of a linked complaint pair. If the type requires a context of hierarchy, the complaint that is higher in the hierarchy. For example, in the case of duplicate complaints, this would be the complaint that would remain open and where the majority of the information should be contained.<\/p>" }, { - "tableName": "reported_by_code", - "tableFileName": "reported_by_code", + "tableName": "gir_complaint", + "tableFileName": "gir_complaint", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The id of the user that updated the GIR complaint.<\/p>" }, { - "tableName": "attractant_code", - "tableFileName": "attractant_code", + "tableName": "geo_org_unit_structure", + "tableFileName": "geo_org_unit_structure", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the attractant code.<\/p>" + "comments": "

The timestamp when the geographical organization unit structure was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "person_complaint_xref", - "tableFileName": "person_complaint_xref", + "tableName": "allegation_complaint", + "tableFileName": "allegation_complaint", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>active_ind", - "type": "bool", - "length": 1, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>complaint_identifier", + "type": "varchar", + "length": 20, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the relationship type between a person and a complaint code is active.<\/p>" + "comments": "

Natural key for a complaint generated by webEOC.<\/p>" }, { - "tableName": "geo_org_unit_structure", - "tableFileName": "geo_org_unit_structure", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "effective_date", - "type": "timestamp", - "length": 29, + "tableName": "configuration", + "tableFileName": "configuration", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>configuration_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date the Geographical Organizational Unit Structure becomes effective as a valid relationship within the Ministry organizational structure.<\/p>" + "comments": "

A human readable code used to identify an configuration entry.<\/p>" }, { - "tableName": "allegation_complaint", - "tableFileName": "allegation_complaint", + "tableName": "team", + "tableFileName": "team", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "suspect_witnesss_dtl_text", - "type": "text", - "length": 2147483647, - "nullable": "√", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The timestamp when the TEAM was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "feature_agency_xref", - "tableFileName": "feature_agency_xref", + "tableName": "complaint_h", + "tableFileName": "complaint_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", + "name": "operation_type", + "type": "bpchar", "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the FEATURE should be rendered the for users in the given AGENCY<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { - "tableName": "team", - "tableFileName": "team", + "tableName": "entity_code", + "tableFileName": "entity_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>agency_code", - "type": "varchar", - "length": 6, + "keyClass": "", + "keyTitle": "", + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "complaint_update_h", - "tableFileName": "complaint_update_h", + "tableName": "officer_team_xref_h", + "tableFileName": "officer_team_xref_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the complaint update table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the officer_team_xref table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "species_code", - "tableFileName": "species_code", + "tableName": "officer", + "tableFileName": "officer", "tableType": "Table", "keyClass": "", "keyTitle": "", "name": "update_user_id", "type": "varchar", "length": 32, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that updated the species code.<\/p>" - }, - { - "tableName": "team_code", - "tableFileName": "team_code", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the team was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that updated the officer.<\/p>" }, { - "tableName": "gir_complaint_h", - "tableFileName": "gir_complaint_h", + "tableName": "staging_status_code", + "tableFileName": "staging_status_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>staging_status_code", + "type": "varchar", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "" }, { - "tableName": "hwcr_complaint_h", - "tableFileName": "hwcr_complaint_h", + "tableName": "violation_code", + "tableFileName": "violation_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the HWCR complaint that has been created or modified.<\/p>" + "comments": "

A boolean indicator to determine if the violation code is active.<\/p>" }, { - "tableName": "agency_code", - "tableFileName": "agency_code", + "tableName": "complaint_status_code", + "tableFileName": "complaint_status_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "long_description", + "type": "varchar", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the agency was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The long description of the complaint status code.<\/p>" }, { "tableName": "gir_type_code", @@ -6808,41 +6808,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "gir_complaint_h", - "tableFileName": "gir_complaint_h", + "tableName": "officer", + "tableFileName": "officer", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "target_row_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>officer_guid", "type": "uuid", "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The unique key for the GIR complaint that has been created or modified.<\/p>" - }, - { - "tableName": "action_taken_h", - "tableFileName": "action_taken_h", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "defaultValue": "uuid_generate_v4()", + "comments": "

System generated unique key for an officer. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "reported_by_code", @@ -6859,102 +6845,116 @@

Columns

"comments": "" }, { - "tableName": "entity_code", - "tableFileName": "entity_code", + "tableName": "reported_by_code", + "tableFileName": "reported_by_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "reported_by_code", - "tableFileName": "reported_by_code", + "tableName": "attractant_hwcr_xref_h", + "tableFileName": "attractant_hwcr_xref_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The unique key for the attractant hwcr xref that has been created or modified.<\/p>" }, { - "tableName": "geography_columns", - "tableFileName": "geography_columns", - "tableType": "View", + "tableName": "violation_code", + "tableFileName": "violation_code", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "coord_dimension", + "name": "display_order", "type": "int4", "length": 10, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The order in which the values of the violation code table should be displayed when presented to a user in a list.<\/p>" }, { - "tableName": "reported_by_code", - "tableFileName": "reported_by_code", + "tableName": "person_complaint_xref", + "tableFileName": "person_complaint_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>complaint_identifier", + "type": "varchar", + "length": 20, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

Natural key for a complaint generated by webEOC. Format is YY-###### where the number portion of the sequence resets to 0 on the new year.<\/p>" }, { - "tableName": "complaint_h", - "tableFileName": "complaint_h", + "tableName": "person_complaint_xref", + "tableFileName": "person_complaint_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", + "name": "create_user_id", "type": "varchar", "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the complaint table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "null", + "comments": "

The id of the user that created the relationship between a person and a complaint.<\/p>" }, { - "tableName": "staging_complaint", - "tableFileName": "staging_complaint", + "tableName": "complaint_update", + "tableFileName": "complaint_update", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "update_seq_number", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

An integer that is used to reflect the order that complaint updates were entered into the call center system.<\/p>" }, { - "tableName": "gir_complaint", - "tableFileName": "gir_complaint", + "tableName": "allegation_complaint_h", + "tableFileName": "allegation_complaint_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "operation_type", + "type": "bpchar", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the GIR complaint was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + }, + { + "tableName": "spatial_ref_sys", + "tableFileName": "spatial_ref_sys", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "auth_name", + "type": "varchar", + "length": 256, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" } ]; var config = { diff --git a/schemaspy/public/index.html b/schemaspy/public/index.html index a9baf05c6..7e25f8e03 100644 --- a/schemaspy/public/index.html +++ b/schemaspy/public/index.html @@ -78,7 +78,7 @@

Tables


SchemaSpy Analysis of default.public

-

Generated on Thu Nov 07 18:57 GMT 2024

+

Generated on Thu Nov 07 20:42 GMT 2024

diff --git a/schemaspy/public/info-html.txt b/schemaspy/public/info-html.txt index f27dda625..ac02e44b4 100644 --- a/schemaspy/public/info-html.txt +++ b/schemaspy/public/info-html.txt @@ -1,4 +1,4 @@ -date=2024-11-07 18:57:09+0000 +date=2024-11-07 20:42:25+0000 os=Linux 6.5.0-1025-azure schemaspy-version=6.2.4 schemaspy-build=6.2.4.41 2023-07-21 11:15:12 diff --git a/schemaspy/public/routines.html b/schemaspy/public/routines.html index 7a2b82c3a..807e2d1f4 100644 --- a/schemaspy/public/routines.html +++ b/schemaspy/public/routines.html @@ -886,20 +886,20 @@

Routines

- format_phone_number(phone_number text) + st_geometryfromtext(text, integer) FUNCTION - plpgsql - false - text + c + true + geometry INVOKER - st_geometryfromtext(text, integer) + format_phone_number(phone_number text) FUNCTION - c - true - geometry + plpgsql + false + text INVOKER