From 26ae892ee2f3bbbb5a76add9adea3ba02737b7da Mon Sep 17 00:00:00 2001 From: DerekRoberts Date: Tue, 12 Nov 2024 21:31:34 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20bcgov/nr?= =?UTF-8?q?-forest-client@6c5862385a7bab64beef0aa8b2a05266651975ce=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- schema/index.html | 2 +- schema/nrfc/columns.html | 1804 +++++++++---------- schema/nrfc/default.nrfc.xml | 2 +- schema/nrfc/index.html | 2 +- schema/nrfc/info-html.txt | 2 +- schema/nrfc/tables/submission_location.html | 8 +- 6 files changed, 910 insertions(+), 910 deletions(-) diff --git a/schema/index.html b/schema/index.html index c0866f7eb9..d965f995af 100644 --- a/schema/index.html +++ b/schema/index.html @@ -49,7 +49,7 @@

SchemaSpy Analysis of default

-

Generated on Tue Nov 12 13:24 GMT 2024

+

Generated on Tue Nov 12 21:27 GMT 2024

diff --git a/schema/nrfc/columns.html b/schema/nrfc/columns.html index 34b3448f19..d60cca0be3 100644 --- a/schema/nrfc/columns.html +++ b/schema/nrfc/columns.html @@ -116,13 +116,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, + "name": "update_user", + "type": "varchar", + "length": 60, "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "submission_type_code", @@ -130,13 +130,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, + "name": "update_user", + "type": "varchar", + "length": 60, "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "submission_location", @@ -144,13 +144,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "location_name", + "name": "secondary_phone_number", "type": "varchar", - "length": 40, - "nullable": "", + "length": 14, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The location name of an address. Examples of location names include, but are not limited to, Mailing Address, Billing Address among others.<\/p>" + "comments": "

A secondary phone number of a client’s specific location.<\/p>" }, { "tableName": "submission", @@ -158,13 +158,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, + "name": "update_user", + "type": "varchar", + "length": 60, "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "submission_location", @@ -172,69 +172,69 @@

Columns

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

Incremental id generated for a submission of a client.<\/p>" + "comments": "

A code representing the code of a country.<\/p>" }, { "tableName": "identification_type_code", "tableFileName": "identification_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>identification_type_code", - "type": "varchar", - "length": 4, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

A code indicating the identification type of a client. Examples of possible ID types include Canadian Birth Certificate, Canadian Passport, and others.<\/p>" - }, - { - "tableName": "submission_contact", - "tableFileName": "submission_contact", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "secondary_phone_number", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>country_code", "type": "varchar", - "length": 14, + "length": 2, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A secondary phone number of the client’s contact.<\/p>" + "comments": "

A code representing the country to which the ID type belongs. If the country code is populated, a province or state will be required.<\/p>" }, { "tableName": "submission_status_code", "tableFileName": "submission_status_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_status_code", "type": "varchar", - "length": 60, + "length": 5, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "comments": "

A code representing the status of a submission request.<\/p>" }, { "tableName": "client_type_code", "tableFileName": "client_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>client_type_code", "type": "varchar", - "length": 60, - "nullable": "√", + "length": 5, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

A code representing the type of a client.<\/p>" + }, + { + "tableName": "submission_location_contact_xref", + "tableFileName": "submission_location_contact_xref", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_contact_id", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

Incremental id generated for the contact details of a client.<\/p>" }, { "tableName": "client_type_code", @@ -242,13 +242,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "varchar", - "length": 100, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The description of the code value.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + }, + { + "tableName": "submission_contact", + "tableFileName": "submission_contact", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_contact_id", + "type": "serial", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.submission_contact_seq'::regclass)", + "comments": "

Incremental id generated for the contact details of a client.<\/p>" }, { "tableName": "client_type_code", @@ -256,13 +270,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user", + "type": "varchar", + "length": 60, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "email_log", @@ -270,13 +284,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email_sent_ind", + "name": "template_name", "type": "varchar", - "length": 1, - "nullable": "√", + "length": 40, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Indicator for whether the email has been sent (‘Y’ for Yes, ‘N’ for No).<\/p>" + "comments": "

Name of the email template used for sending the email.<\/p>" }, { "tableName": "country_code", @@ -284,13 +298,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "varchar", - "length": 100, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The description of the code value.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "flyway_schema_history", @@ -298,27 +312,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "version", + "name": "type", "type": "varchar", - "length": 50, - "nullable": "√", + "length": 20, + "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "province_code", - "tableFileName": "province_code", + "tableName": "email_log", + "tableFileName": "email_log", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "email_id", + "type": "varchar", + "length": 40, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The the display order of a province/state. If no value is provided, the application will order provinces/states alphabetically by default.<\/p>" + "comments": "

Identifier for the associated email assigned by CHES (if applicable).<\/p>" }, { "tableName": "submission_type_code", @@ -326,13 +340,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user", + "type": "varchar", + "length": 60, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "district_code", @@ -340,41 +354,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "name": "create_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "submission", "tableFileName": "submission", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>submission_type_code", - "type": "varchar", - "length": 5, + "keyClass": "", + "keyTitle": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A code indicating the status of a submission request. Examples include, but are not limited to: New, Approved, Rejected, and others.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { - "tableName": "submission_detail", - "tableFileName": "submission_detail", + "tableName": "identification_type_code", + "tableFileName": "identification_type_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>identification_province_code", + "keyClass": "", + "keyTitle": "", + "name": "description", "type": "varchar", - "length": 4, - "nullable": "√", + "length": 100, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a province, state, department or territory.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { "tableName": "identification_type_code", @@ -382,13 +396,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "varchar", - "length": 100, + "name": "effective_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "submission_detail", @@ -396,13 +410,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "client_number", + "name": "incorporation_number", "type": "varchar", - "length": 8, + "length": 13, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A number provided to B.C. corporations, businesses or societies as part of the registration or incorporation process.<\/p>" }, { "tableName": "email_log", @@ -410,13 +424,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "template_name", + "name": "email_subject", "type": "varchar", - "length": 40, + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Name of the email template used for sending the email.<\/p>" + "comments": "

Subject of the email.<\/p>" }, { "tableName": "district_code", @@ -424,13 +438,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, + "name": "update_user", + "type": "varchar", + "length": 60, "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "business_type_code", @@ -438,13 +452,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "varchar", - "length": 100, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The description of the code value.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "submission_location", @@ -452,55 +466,55 @@

Columns

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

A complementary address line of a client<\/p>" + "comments": "

The email address of the client’s location.<\/p>" }, { "tableName": "submission_location", "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "street_address", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>province_code", "type": "varchar", - "length": 40, + "length": 2, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The address of a client, including the street number and street name.<\/p>" + "comments": "

A code representing the code of a province, state, department or territory.<\/p>" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "submission", + "tableFileName": "submission", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>success", - "type": "bool", - "length": 1, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_status_code", + "type": "varchar", + "length": 5, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

TBD.<\/p>" }, { - "tableName": "contact_type_code", - "tableFileName": "contact_type_code", + "tableName": "country_code", + "tableFileName": "country_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", + "name": "description", "type": "varchar", - "length": 60, - "nullable": "√", + "length": 100, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { "tableName": "submission_detail", @@ -508,27 +522,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "notes", + "name": "client_identification", "type": "varchar", - "length": 4000, + "length": 40, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Any additional information about the client or specific instructions.<\/p>" + "comments": "

The reference number that identifies a client.<\/p>" }, { "tableName": "country_code", "tableFileName": "country_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>country_code", - "type": "varchar", - "length": 2, + "keyClass": "", + "keyTitle": "", + "name": "effective_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a country.<\/p>" + "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "flyway_schema_history", @@ -536,9 +550,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "script", + "name": "installed_by", "type": "varchar", - "length": 1000, + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -548,29 +562,29 @@

Columns

"tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "last_name", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>identification_type_code", "type": "varchar", - "length": 30, + "length": 4, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The last name of the client.<\/p>" + "comments": "

A code indicating the identification type of a client.<\/p>" }, { "tableName": "client_type_code", "tableFileName": "client_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>client_type_code", - "type": "varchar", - "length": 5, + "keyClass": "", + "keyTitle": "", + "name": "effective_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the type of a client.<\/p>" + "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "identification_type_code", @@ -578,27 +592,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { - "tableName": "contact_type_code", - "tableFileName": "contact_type_code", + "tableName": "country_code", + "tableFileName": "country_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>country_code", "type": "varchar", - "length": 60, + "length": 2, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "comments": "

A code representing the code of a country.<\/p>" }, { "tableName": "submission_matching_detail", @@ -606,13 +620,13 @@

Columns

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

A field with the reason for the denial of the submission.<\/p>" + "comments": "

The ID of the user submitting the changes.<\/p>" }, { "tableName": "flyway_schema_history", @@ -620,10 +634,10 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "type", - "type": "varchar", - "length": 20, - "nullable": "", + "name": "checksum", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -634,27 +648,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, + "name": "create_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "country_code", "tableFileName": "country_code", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>display_order", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The the display order of a country. If no value is provided, the application will order countries alphabetically by default.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "submission_detail", @@ -662,27 +676,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "client_acronym", + "name": "middle_name", "type": "varchar", - "length": 8, + "length": 30, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A familiar alphabetic acronym to be used as an alternative to the ministry’s client number for data entry and display.<\/p>" + "comments": "

The middle name of the client.<\/p>" }, { "tableName": "submission_contact", "tableFileName": "submission_contact", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>submission_id", - "type": "int4", - "length": 10, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "first_name", + "type": "varchar", + "length": 30, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Incremental id generated for a submission of a client.<\/p>" + "comments": "

The first name of the client’s contact.<\/p>" }, { "tableName": "province_code", @@ -690,54 +704,54 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, + "name": "update_user", + "type": "varchar", + "length": 60, "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "province_code", "tableFileName": "province_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>province_code", + "keyClass": "", + "keyTitle": "", + "name": "description", "type": "varchar", - "length": 4, + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a province, state, department or territory.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { - "tableName": "submission_contact", - "tableFileName": "submission_contact", + "tableName": "submission_status_code", + "tableFileName": "submission_status_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "fax_number", + "name": "description", "type": "varchar", - "length": 14, - "nullable": "√", + "length": 100, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The fax number of the client’s contact.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { "tableName": "flyway_schema_history", "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "installed_on", - "type": "timestamp", - "length": 29, + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>success", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", + "defaultValue": "null", "comments": "" }, { @@ -746,13 +760,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "first_name", + "name": "business_phone_number", "type": "varchar", - "length": 30, - "nullable": "√", + "length": 14, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The first name of the client’s contact.<\/p>" + "comments": "

The phone number of the client’s contact.<\/p>" }, { "tableName": "email_log", @@ -760,69 +774,69 @@

Columns

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

Email address to which the email is sent.<\/p>" + "comments": "

JSONB field to store variables related to the email content.<\/p>" }, { - "tableName": "submission_location", - "tableFileName": "submission_location", + "tableName": "province_code", + "tableFileName": "province_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "complementary_address_2", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>province_code", "type": "varchar", - "length": 40, - "nullable": "√", + "length": 4, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A second complementary address line of a client<\/p>" + "comments": "

A code representing the code of a province, state, department or territory.<\/p>" }, { - "tableName": "identification_type_code", - "tableFileName": "identification_type_code", + "tableName": "contact_type_code", + "tableFileName": "contact_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", + "name": "description", "type": "varchar", - "length": 60, - "nullable": "√", + "length": 100, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { - "tableName": "submission", - "tableFileName": "submission", + "tableName": "submission_location", + "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user", - "type": "varchar", - "length": 60, - "nullable": "√", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_id", + "type": "int4", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

Incremental id generated for a submission of a client.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>district_code", + "keyClass": "", + "keyTitle": "", + "name": "doing_business_as", "type": "varchar", - "length": 5, + "length": 120, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the natural resource district of a client.<\/p>" + "comments": "

An alternate name that a client may be conducting business under. For example: John Smith doing business as: John’s Logging.<\/p>" }, { "tableName": "country_code", @@ -830,41 +844,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user", + "type": "varchar", + "length": 60, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "identification_type_code", "tableFileName": "identification_type_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>country_code", - "type": "varchar", - "length": 2, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "expiry_date", + "type": "date", + "length": 13, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A code representing the country to which the ID type belongs. If the country code is populated, a province or state will be required.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "country_code", "tableFileName": "country_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, - "nullable": "", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>display_order", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "comments": "

The the display order of a country. If no value is provided, the application will order countries alphabetically by default.<\/p>" }, { "tableName": "district_code", @@ -872,13 +886,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "submission_type_code", @@ -886,13 +900,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "submission_detail", @@ -900,13 +914,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "middle_name", + "name": "notes", "type": "varchar", - "length": 30, + "length": 4000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The middle name of the client.<\/p>" + "comments": "

Any additional information about the client or specific instructions.<\/p>" }, { "tableName": "client_type_code", @@ -914,13 +928,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, + "name": "update_user", + "type": "varchar", + "length": 60, "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "email_log", @@ -928,27 +942,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email_id", - "type": "varchar", - "length": 40, + "name": "exception_message", + "type": "text", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Identifier for the associated email assigned by CHES (if applicable).<\/p>" + "comments": "

Textual message describing any exceptions that occurred during email processing.<\/p>" }, { "tableName": "email_log", "tableFileName": "email_log", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>email_log_id", - "type": "serial", - "length": 10, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('nrfc.email_log_id_seq'::regclass)", - "comments": "

Incremental id generated for a submission email log.<\/p>" + "keyClass": "", + "keyTitle": "", + "name": "email_sent_ind", + "type": "varchar", + "length": 1, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

Indicator for whether the email has been sent (‘Y’ for Yes, ‘N’ for No).<\/p>" }, { "tableName": "submission_location", @@ -956,13 +970,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "city_name", + "name": "location_name", "type": "varchar", - "length": 30, + "length": 40, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The name of the city of the location.<\/p>" + "comments": "

The location name of an address. Examples of location names include, but are not limited to, Mailing Address, Billing Address among others.<\/p>" }, { "tableName": "submission_status_code", @@ -970,55 +984,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, + "name": "update_user", + "type": "varchar", + "length": 60, "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "submission_matching_detail", "tableFileName": "submission_matching_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>submission_id", - "type": "int4", - "length": 10, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "confirmed_match_status_ind", + "type": "varchar", + "length": 1, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Incremental id generated for a submission of a client.<\/p>" + "comments": "

An indicator that determines whether a specific match has been approved, allowing the processing to continue, or denied, requiring immediate action to be taken during the submission process.<\/p>" }, { - "tableName": "submission_status_code", - "tableFileName": "submission_status_code", + "tableName": "client_type_code", + "tableFileName": "client_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", + "name": "description", "type": "varchar", - "length": 60, - "nullable": "√", + "length": 100, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { "tableName": "contact_type_code", "tableFileName": "contact_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>contact_type_code", - "type": "varchar", - "length": 2, + "keyClass": "", + "keyTitle": "", + "name": "effective_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a role of a client’s contact.<\/p>" + "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "identification_type_code", @@ -1026,45 +1040,31 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" - }, - { - "tableName": "business_type_code", - "tableFileName": "business_type_code", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user", + "name": "update_user", "type": "varchar", "length": 60, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { - "tableName": "submission_status_code", - "tableFileName": "submission_status_code", + "tableName": "submission_detail", + "tableFileName": "submission_detail", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>submission_status_code", - "type": "varchar", - "length": 5, + "name": "<\/i>submission_detail_id", + "type": "serial", + "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

A code representing the status of a submission request.<\/p>" + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.submission_detail_id_seq'::regclass)", + "comments": "

Incremental id generated for a submission detail of a client.<\/p>" }, { - "tableName": "submission_type_code", - "tableFileName": "submission_type_code", + "tableName": "submission_status_code", + "tableFileName": "submission_status_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -1077,22 +1077,22 @@

Columns

"comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { - "tableName": "email_log", - "tableFileName": "email_log", + "tableName": "submission_type_code", + "tableFileName": "submission_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email_variables", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

JSONB field to store variables related to the email content.<\/p>" + "name": "create_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", + "autoUpdated": "", + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created.<\/p>" }, { - "tableName": "contact_type_code", - "tableFileName": "contact_type_code", + "tableName": "email_log", + "tableFileName": "email_log", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -1102,21 +1102,35 @@

Columns

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

The date and time the record was created or last updated.<\/p>" + "comments": "

Timestamp indicating when the email log entry was last updated.<\/p>" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "contact_type_code", + "tableFileName": "contact_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "execution_time", - "type": "int4", - "length": 10, - "nullable": "", + "name": "update_user", + "type": "varchar", + "length": 60, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The user or proxy account that created or last updated the record.<\/p>" + }, + { + "tableName": "submission", + "tableFileName": "submission", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_id", + "type": "serial", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.submission_id_seq'::regclass)", + "comments": "

Incremental id generated for a submission of a client.<\/p>" }, { "tableName": "email_log", @@ -1124,13 +1138,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "exception_message", - "type": "text", - "length": 2147483647, - "nullable": "√", + "name": "email_address", + "type": "varchar", + "length": 100, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Textual message describing any exceptions that occurred during email processing.<\/p>" + "comments": "

Email address to which the email is sent.<\/p>" }, { "tableName": "submission_status_code", @@ -1138,69 +1152,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "name": "create_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "province_code", "tableFileName": "province_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>country_code", - "type": "varchar", - "length": 2, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

A code representing the country in which the province is located.<\/p>" - }, - { - "tableName": "business_type_code", - "tableFileName": "business_type_code", - "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", - "type": "varchar", - "length": 60, - "nullable": "√", + "name": "effective_date", + "type": "date", + "length": 13, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "work_safe_bc_number", - "type": "varchar", - "length": 6, - "nullable": "√", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_id", + "type": "int4", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A Work Safe BC number of a client.<\/p>" + "comments": "

Incremental id generated for a submission of a client.<\/p>" }, { - "tableName": "country_code", - "tableFileName": "country_code", + "tableName": "submission_detail", + "tableFileName": "submission_detail", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user", + "name": "client_acronym", "type": "varchar", - "length": 60, - "nullable": "", + "length": 8, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "comments": "

A familiar alphabetic acronym to be used as an alternative to the ministry’s client number for data entry and display.<\/p>" }, { "tableName": "contact_type_code", @@ -1208,27 +1208,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, - "nullable": "", - "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" - }, - { - "tableName": "email_log", - "tableFileName": "email_log", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", "name": "update_timestamp", "type": "timestamp", "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

Timestamp indicating when the email log entry was last updated.<\/p>" + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "submission_type_code", @@ -1236,27 +1222,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user", + "name": "description", "type": "varchar", - "length": 60, + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "comments": "

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

A code representing the code of a Natural Resource District.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>business_type_code", + "keyClass": "", + "keyTitle": "", + "name": "organization_name", "type": "varchar", - "length": 1, - "nullable": "", + "length": 60, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code indicating the business type of a client. It could be either Registered Business and Unregistered Business.<\/p>" + "comments": "

The name of the client.<\/p>" }, { "tableName": "submission_contact", @@ -1264,27 +1264,27 @@

Columns

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

The email address of the client’s contact.<\/p>" + "comments": "

A secondary phone number of the client’s contact.<\/p>" }, { "tableName": "business_type_code", "tableFileName": "business_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>business_type_code", - "type": "varchar", - "length": 1, + "keyClass": "", + "keyTitle": "", + "name": "effective_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code indicating the business type of a client.<\/p>" + "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "submission_location", @@ -1292,27 +1292,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "notes", + "name": "complementary_address_2", "type": "varchar", - "length": 4000, + "length": 40, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Any additional information about the client’s location or specific instructions for contacting them.<\/p>" + "comments": "

A second complementary address line of a client<\/p>" }, { "tableName": "district_code", "tableFileName": "district_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>district_code", + "keyClass": "", + "keyTitle": "", + "name": "email_address", "type": "varchar", - "length": 5, + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a Natural Resource District.<\/p>" + "comments": "

The email address of the Natural Resource District.<\/p>" }, { "tableName": "submission_matching_detail", @@ -1320,13 +1320,13 @@

Columns

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

A JSON object provides information about matches found in the existing database. The matches can result from fuzzy search, like matching a name pattern, or from exact equality, such as matching incorporation number or good standing status.<\/p>" + "comments": "

A field with the reason for the denial of the submission.<\/p>" }, { "tableName": "client_type_code", @@ -1334,13 +1334,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "flyway_schema_history", @@ -1348,9 +1348,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "installed_by", - "type": "varchar", - "length": 100, + "name": "execution_time", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -1362,13 +1362,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email_subject", - "type": "varchar", - "length": 100, + "name": "create_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

Subject of the email.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

Timestamp indicating when the email log entry was created.<\/p>" }, { "tableName": "submission_matching_detail", @@ -1376,55 +1376,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "confirmed_match_status_ind", - "type": "varchar", - "length": 1, + "name": "confirmed_match_timestamp", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

An indicator that determines whether a specific match has been approved, allowing the processing to continue, or denied, requiring immediate action to be taken during the submission process.<\/p>" + "comments": "

The timestamp when the changes happened.<\/p>" }, { "tableName": "submission", "tableFileName": "submission", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_id", - "type": "serial", - "length": 10, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('nrfc.submission_id_seq'::regclass)", - "comments": "

Incremental id generated for a submission of a client.<\/p>" - }, - { - "tableName": "identification_type_code", - "tableFileName": "identification_type_code", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_type_code", + "type": "varchar", + "length": 5, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "comments": "

A code indicating the status of a submission request. Examples include, but are not limited to: New, Approved, Rejected, and others.<\/p>" + }, + { + "tableName": "identification_type_code", + "tableFileName": "identification_type_code", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "create_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", + "autoUpdated": "", + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "submission_contact", "tableFileName": "submission_contact", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>contact_type_code", + "keyClass": "", + "keyTitle": "", + "name": "last_name", "type": "varchar", - "length": 2, - "nullable": "", + "length": 30, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a role of a client’s contact.<\/p>" + "comments": "

The last name of the client’s contact.<\/p>" }, { "tableName": "submission_detail", @@ -1432,27 +1432,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "organization_name", + "name": "good_standing_ind", "type": "varchar", - "length": 60, + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The name of the client.<\/p>" + "comments": "

An indicator that determines whether a client is in good standing with respect to their financial obligations.<\/p>" }, { - "tableName": "submission", - "tableFileName": "submission", + "tableName": "submission_location", + "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user", - "type": "varchar", - "length": 60, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_location_id", + "type": "serial", + "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.submission_location_seq'::regclass)", + "comments": "

Incremental id generated for a location of a client.<\/p>" }, { "tableName": "submission_status_code", @@ -1460,13 +1460,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "submission_matching_detail", @@ -1474,41 +1474,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "confirmed_match_userid", - "type": "varchar", - "length": 60, + "name": "submission_matching_processed_time", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The ID of the user submitting the changes.<\/p>" + "comments": "

The timestamp of when the processor started to process this specific entry<\/p>" }, { - "tableName": "submission_detail", - "tableFileName": "submission_detail", + "tableName": "identification_type_code", + "tableFileName": "identification_type_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>identification_country_code", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>identification_type_code", "type": "varchar", - "length": 2, - "nullable": "√", + "length": 4, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a country.<\/p>" + "comments": "

A code indicating the identification type of a client. Examples of possible ID types include Canadian Birth Certificate, Canadian Passport, and others.<\/p>" }, { - "tableName": "district_code", - "tableFileName": "district_code", + "tableName": "business_type_code", + "tableFileName": "business_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>business_type_code", "type": "varchar", - "length": 60, + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "comments": "

A code indicating the business type of a client.<\/p>" }, { "tableName": "submission_detail", @@ -1516,27 +1516,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "first_name", + "name": "last_name", "type": "varchar", "length": 30, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The first name of the client.<\/p>" + "comments": "

The last name of the client.<\/p>" }, { - "tableName": "submission_location_contact_xref", - "tableFileName": "submission_location_contact_xref", + "tableName": "submission_matching_detail", + "tableFileName": "submission_matching_detail", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>submission_location_id", - "type": "int4", + "name": "<\/i>submission_matching_detail_id", + "type": "serial", "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Incremental id generated for a location of a client.<\/p>" + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.submission_matching_detail_id_seq'::regclass)", + "comments": "

Incremental id generated for a submission matching detail of a client.<\/p>" }, { "tableName": "submission_location", @@ -1544,13 +1544,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "business_phone_number", + "name": "fax_number", "type": "varchar", "length": 14, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The phone number of a client’s specific location.<\/p>" + "comments": "

The fax number of a client’s specific location.<\/p>" }, { "tableName": "submission_location", @@ -1558,13 +1558,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "secondary_phone_number", + "name": "notes", "type": "varchar", - "length": 14, + "length": 4000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A secondary phone number of a client’s specific location.<\/p>" + "comments": "

Any additional information about the client’s location or specific instructions for contacting them.<\/p>" }, { "tableName": "business_type_code", @@ -1572,27 +1572,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" - }, - { - "tableName": "submission_matching_detail", - "tableFileName": "submission_matching_detail", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "submission_matching_processed", - "type": "bool", - "length": 1, + "name": "create_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "false", - "comments": "

A flag to indicate that the submission was finally processed.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "flyway_schema_history", @@ -1608,19 +1594,33 @@

Columns

"defaultValue": "null", "comments": "" }, + { + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "description", + "type": "varchar", + "length": 200, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" + }, { "tableName": "submission_location", "tableFileName": "submission_location", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "fax_number", + "name": "complementary_address_1", "type": "varchar", - "length": 14, + "length": 40, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The fax number of a client’s specific location.<\/p>" + "comments": "

A complementary address line of a client<\/p>" }, { "tableName": "business_type_code", @@ -1628,13 +1628,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user", + "type": "varchar", + "length": 60, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "submission_status_code", @@ -1642,13 +1642,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "varchar", - "length": 100, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The description of the code value.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "flyway_schema_history", @@ -1656,9 +1656,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", + "name": "script", "type": "varchar", - "length": 200, + "length": 1000, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -1670,27 +1670,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "postal_code", + "name": "business_phone_number", "type": "varchar", - "length": 10, - "nullable": "", + "length": 14, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The phone number of a client’s specific location.<\/p>" }, { - "tableName": "submission_location_contact_xref", - "tableFileName": "submission_location_contact_xref", + "tableName": "submission_matching_detail", + "tableFileName": "submission_matching_detail", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_contact_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_id", "type": "int4", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Incremental id generated for the contact details of a client.<\/p>" + "comments": "

Incremental id generated for a submission of a client.<\/p>" }, { "tableName": "submission_detail", @@ -1698,13 +1698,13 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>identification_type_code", + "name": "<\/i>identification_country_code", "type": "varchar", - "length": 4, + "length": 2, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code indicating the identification type of a client.<\/p>" + "comments": "

A code representing the code of a country.<\/p>" }, { "tableName": "contact_type_code", @@ -1712,13 +1712,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user", + "type": "varchar", + "length": 60, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "submission_status_code", @@ -1726,13 +1726,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user", + "type": "varchar", + "length": 60, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "submission_contact", @@ -1740,41 +1740,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "business_phone_number", + "name": "idp_user_id", "type": "varchar", - "length": 14, - "nullable": "", + "length": 50, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The phone number of the client’s contact.<\/p>" + "comments": "

The unique identifier assigned to a user by the Identity Provider.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "incorporation_number", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>client_type_code", "type": "varchar", - "length": 13, - "nullable": "√", + "length": 5, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A number provided to B.C. corporations, businesses or societies as part of the registration or incorporation process.<\/p>" + "comments": "

A code representing the type of a client.<\/p>" }, { - "tableName": "client_type_code", - "tableFileName": "client_type_code", + "tableName": "submission_location_contact_xref", + "tableFileName": "submission_location_contact_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user", - "type": "varchar", - "length": 60, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_location_id", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "comments": "

Incremental id generated for a location of a client.<\/p>" }, { "tableName": "submission", @@ -1782,55 +1782,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "submission_date", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_user", + "type": "varchar", + "length": 60, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date and time the record was created.<\/p>" + "comments": "

The user or proxy account that created the record.<\/p>" }, { - "tableName": "province_code", - "tableFileName": "province_code", + "tableName": "email_log", + "tableFileName": "email_log", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user", - "type": "varchar", - "length": 60, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>email_log_id", + "type": "serial", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.email_log_id_seq'::regclass)", + "comments": "

Incremental id generated for a submission email log.<\/p>" }, { "tableName": "submission_location", "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>country_code", + "keyClass": "", + "keyTitle": "", + "name": "city_name", "type": "varchar", - "length": 2, + "length": 30, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a country.<\/p>" + "comments": "

The name of the city of the location.<\/p>" }, { - "tableName": "submission_location", - "tableFileName": "submission_location", + "tableName": "province_code", + "tableFileName": "province_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "email_address", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>country_code", "type": "varchar", - "length": 100, - "nullable": "√", + "length": 2, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The email address of the client’s location.<\/p>" + "comments": "

A code representing the country in which the province is located.<\/p>" }, { "tableName": "district_code", @@ -1838,13 +1838,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email_address", - "type": "varchar", - "length": 100, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The email address of the Natural Resource District.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "business_type_code", @@ -1852,13 +1852,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, + "name": "update_user", + "type": "varchar", + "length": 60, "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "province_code", @@ -1866,27 +1866,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_detail_id", - "type": "serial", - "length": 10, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('nrfc.submission_detail_id_seq'::regclass)", - "comments": "

Incremental id generated for a submission detail of a client.<\/p>" + "keyClass": "", + "keyTitle": "", + "name": "client_number", + "type": "varchar", + "length": 8, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" }, { "tableName": "district_code", @@ -1894,13 +1894,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "varchar", - "length": 100, + "name": "effective_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "submission_matching_detail", @@ -1908,13 +1908,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "confirmed_match_timestamp", - "type": "timestamp", - "length": 29, + "name": "submission_matching_processed", + "type": "bool", + "length": 1, + "nullable": "", + "autoUpdated": "", + "defaultValue": "false", + "comments": "

A flag to indicate that the submission was finally processed.<\/p>" + }, + { + "tableName": "submission_detail", + "tableFileName": "submission_detail", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "birthdate", + "type": "date", + "length": 13, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the changes happened.<\/p>" + "comments": "

The date that the BC Services Card logged in person was born.<\/p>" }, { "tableName": "submission_detail", @@ -1922,83 +1936,83 @@

Columns

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

A code representing the type of a client.<\/p>" + "comments": "

A code representing the natural resource district of a client.<\/p>" }, { - "tableName": "submission_detail", - "tableFileName": "submission_detail", + "tableName": "identification_type_code", + "tableFileName": "identification_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "good_standing_ind", + "name": "create_user", "type": "varchar", - "length": 1, - "nullable": "√", + "length": 60, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

An indicator that determines whether a client is in good standing with respect to their financial obligations.<\/p>" + "comments": "

The user or proxy account that created the record.<\/p>" }, { - "tableName": "identification_type_code", - "tableFileName": "identification_type_code", + "tableName": "submission_contact", + "tableFileName": "submission_contact", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_id", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "null", + "comments": "

Incremental id generated for a submission of a client.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "client_identification", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>identification_province_code", "type": "varchar", - "length": 40, + "length": 4, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The reference number that identifies a client.<\/p>" + "comments": "

A code representing the code of a province, state, department or territory.<\/p>" }, { "tableName": "submission_contact", "tableFileName": "submission_contact", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_contact_id", - "type": "serial", - "length": 10, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>contact_type_code", + "type": "varchar", + "length": 2, "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('nrfc.submission_contact_seq'::regclass)", - "comments": "

Incremental id generated for the contact details of a client.<\/p>" + "autoUpdated": "", + "defaultValue": "null", + "comments": "

A code representing the code of a role of a client’s contact.<\/p>" }, { - "tableName": "district_code", - "tableFileName": "district_code", + "tableName": "business_type_code", + "tableFileName": "business_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", + "name": "description", "type": "varchar", - "length": 60, - "nullable": "√", + "length": 100, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { "tableName": "province_code", @@ -2006,13 +2020,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "name": "create_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "submission_contact", @@ -2020,27 +2034,27 @@

Columns

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

The last name of the client’s contact.<\/p>" + "comments": "

The email address of the client’s contact.<\/p>" }, { - "tableName": "submission_type_code", - "tableFileName": "submission_type_code", + "tableName": "district_code", + "tableFileName": "district_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", + "name": "description", "type": "varchar", - "length": 60, - "nullable": "√", + "length": 100, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { "tableName": "submission_detail", @@ -2048,27 +2062,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "birthdate", - "type": "date", - "length": 13, + "name": "work_safe_bc_number", + "type": "varchar", + "length": 6, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date that the BC Services Card logged in person was born.<\/p>" + "comments": "

A Work Safe BC number of a client.<\/p>" }, { "tableName": "submission_location", "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>province_code", + "keyClass": "", + "keyTitle": "", + "name": "postal_code", "type": "varchar", - "length": 2, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a province, state, department or territory.<\/p>" + "comments": "" }, { "tableName": "submission_detail", @@ -2076,41 +2090,41 @@

Columns

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

Incremental id generated for a submission of a client.<\/p>" + "comments": "

A code indicating the business type of a client. It could be either Registered Business and Unregistered Business.<\/p>" }, { - "tableName": "submission_matching_detail", - "tableFileName": "submission_matching_detail", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "submission_matching_processed_time", - "type": "timestamp", - "length": 29, + "name": "version", + "type": "varchar", + "length": 50, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp of when the processor started to process this specific entry<\/p>" + "comments": "" }, { "tableName": "submission_location", "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_location_id", - "type": "serial", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "street_address", + "type": "varchar", + "length": 40, "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('nrfc.submission_location_seq'::regclass)", - "comments": "

Incremental id generated for a location of a client.<\/p>" + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The address of a client, including the street number and street name.<\/p>" }, { "tableName": "submission_contact", @@ -2118,27 +2132,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "idp_user_id", + "name": "fax_number", "type": "varchar", - "length": 50, + "length": 14, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique identifier assigned to a user by the Identity Provider.<\/p>" + "comments": "

The fax number of the client’s contact.<\/p>" }, { - "tableName": "identification_type_code", - "tableFileName": "identification_type_code", + "tableName": "contact_type_code", + "tableFileName": "contact_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>contact_type_code", "type": "varchar", - "length": 60, + "length": 2, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "comments": "

A code representing the code of a role of a client’s contact.<\/p>" }, { "tableName": "district_code", @@ -2146,13 +2160,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user", + "type": "varchar", + "length": 60, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "business_type_code", @@ -2160,13 +2174,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "province_code", @@ -2174,13 +2188,13 @@

Columns

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

The user or proxy account that created the record.<\/p>" + "comments": "

The the display order of a province/state. If no value is provided, the application will order provinces/states alphabetically by default.<\/p>" }, { "tableName": "province_code", @@ -2188,13 +2202,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "varchar", - "length": 100, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The description of the code value.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "client_type_code", @@ -2202,13 +2216,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "name": "create_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "contact_type_code", @@ -2216,69 +2230,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "varchar", - "length": 100, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The description of the code value.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "submission", "tableFileName": "submission", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>submission_status_code", - "type": "varchar", - "length": 5, + "keyClass": "", + "keyTitle": "", + "name": "submission_date", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

TBD.<\/p>" + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "submission_type_code", "tableFileName": "submission_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_type_code", - "type": "varchar", - "length": 5, + "keyClass": "", + "keyTitle": "", + "name": "effective_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the type of a submission request.<\/p>" + "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "submission_matching_detail", "tableFileName": "submission_matching_detail", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_matching_detail_id", - "type": "serial", - "length": 10, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('nrfc.submission_matching_detail_id_seq'::regclass)", - "comments": "

Incremental id generated for a submission matching detail of a client.<\/p>" - }, - { - "tableName": "country_code", - "tableFileName": "country_code", - "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", - "type": "varchar", - "length": 60, + "name": "matching_fields", + "type": "jsonb", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

A JSON object provides information about matches found in the existing database. The matches can result from fuzzy search, like matching a name pattern, or from exact equality, such as matching incorporation number or good standing status.<\/p>" }, { "tableName": "submission_type_code", @@ -2286,13 +2286,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "varchar", - "length": 100, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The description of the code value.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "flyway_schema_history", @@ -2300,12 +2300,12 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "checksum", - "type": "int4", - "length": 10, - "nullable": "√", + "name": "installed_on", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", + "defaultValue": "now()", "comments": "" }, { @@ -2314,13 +2314,13 @@

Columns

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

An alternate name that a client may be conducting business under. For example: John Smith doing business as: John’s Logging.<\/p>" + "comments": "

The first name of the client.<\/p>" }, { "tableName": "contact_type_code", @@ -2328,13 +2328,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "name": "create_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "province_code", @@ -2342,27 +2342,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user", + "type": "varchar", + "length": 60, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created the record.<\/p>" }, { - "tableName": "email_log", - "tableFileName": "email_log", + "tableName": "submission_type_code", + "tableFileName": "submission_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_type_code", + "type": "varchar", + "length": 5, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

Timestamp indicating when the email log entry was created.<\/p>" + "defaultValue": "null", + "comments": "

A code representing the type of a submission request.<\/p>" } ]; var config = { diff --git a/schema/nrfc/default.nrfc.xml b/schema/nrfc/default.nrfc.xml index bb3919e687..c75956d60b 100644 --- a/schema/nrfc/default.nrfc.xml +++ b/schema/nrfc/default.nrfc.xml @@ -268,8 +268,8 @@ - + diff --git a/schema/nrfc/index.html b/schema/nrfc/index.html index c3177f2b41..37da3d3073 100644 --- a/schema/nrfc/index.html +++ b/schema/nrfc/index.html @@ -78,7 +78,7 @@

Tables


SchemaSpy Analysis of default.nrfc

-

Generated on Tue Nov 12 13:23 GMT 2024

+

Generated on Tue Nov 12 21:27 GMT 2024

diff --git a/schema/nrfc/info-html.txt b/schema/nrfc/info-html.txt index 7bb3b5f42a..b1df152197 100644 --- a/schema/nrfc/info-html.txt +++ b/schema/nrfc/info-html.txt @@ -1,4 +1,4 @@ -date=2024-11-12 13:24:00+0000 +date=2024-11-12 21:27:51+0000 os=Linux 6.8.0-1016-azure schemaspy-version=6.2.4 schemaspy-build=6.2.4.41 2023-07-21 11:15:12 diff --git a/schema/nrfc/tables/submission_location.html b/schema/nrfc/tables/submission_location.html index d64dab2c17..caf708be8d 100644 --- a/schema/nrfc/tables/submission_location.html +++ b/schema/nrfc/tables/submission_location.html @@ -196,13 +196,13 @@

Columns

- - + + - - + +
province_code.country_codesubmission_location_province_code_fkcountry_code.country_codesubmission_location_country_code_fk R
country_code.country_codesubmission_location_country_code_fkprovince_code.country_codesubmission_location_province_code_fk R