From b78d6427269a6e71e52cc14aa84bea3893dc0fb2 Mon Sep 17 00:00:00 2001 From: paulushcgcj Date: Mon, 7 Oct 2024 19:25:55 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20bcgov/nr?= =?UTF-8?q?-forest-client@5b6b61e997968c3cacccc16d94fe0aa654e702cb=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 | 1526 ++++++++++++++++++------------------- schema/nrfc/index.html | 2 +- schema/nrfc/info-html.txt | 2 +- 4 files changed, 766 insertions(+), 766 deletions(-) diff --git a/schema/index.html b/schema/index.html index aff03771e0..3f38a97729 100644 --- a/schema/index.html +++ b/schema/index.html @@ -49,7 +49,7 @@

SchemaSpy Analysis of default

-

Generated on Mon Oct 07 18:05 GMT 2024

+

Generated on Mon Oct 07 19:25 GMT 2024

diff --git a/schema/nrfc/columns.html b/schema/nrfc/columns.html index 4185a30d75..6e17a70adf 100644 --- a/schema/nrfc/columns.html +++ b/schema/nrfc/columns.html @@ -116,13 +116,13 @@

Columns

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

The email address of the Natural Resource District.<\/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", @@ -130,27 +130,41 @@

Columns

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

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

A second complementary address line of a client<\/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": "submission_location", "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "street_address", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>country_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 country.<\/p>" }, { "tableName": "submission_location", @@ -158,13 +172,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "postal_code", + "name": "location_name", "type": "varchar", - "length": 10, + "length": 40, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "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": "identification_type_code", @@ -172,13 +186,13 @@

Columns

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

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

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

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": "client_type_code", @@ -200,13 +214,13 @@

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": "submission_matching_detail", @@ -214,13 +228,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "matching_fields", - "type": "jsonb", - "length": 2147483647, + "name": "confirmed_match_status_ind", + "type": "varchar", + "length": 1, "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": "

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": "client_type_code", @@ -228,13 +242,13 @@

Columns

"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_contact", @@ -242,27 +256,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’s contact.<\/p>" + "comments": "

The last name of the client’s contact.<\/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", - "type": "int4", + "name": "<\/i>submission_matching_detail_id", + "type": "serial", "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Incremental id generated for the contact details 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": "email_log", @@ -270,13 +284,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email_variables", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "create_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

JSONB field to store variables related to the email content.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

Timestamp indicating when the email log entry was created.<\/p>" }, { "tableName": "country_code", @@ -284,13 +298,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_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 the record.<\/p>" }, { "tableName": "flyway_schema_history", @@ -298,12 +312,12 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "installed_by", - "type": "varchar", - "length": 100, + "name": "installed_on", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", + "defaultValue": "now()", "comments": "" }, { @@ -312,13 +326,13 @@

Columns

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

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

Email address to which the email is sent.<\/p>" }, { "tableName": "district_code", @@ -326,41 +340,41 @@

Columns

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

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

The email address of the Natural Resource District.<\/p>" }, { - "tableName": "district_code", - "tableFileName": "district_code", + "tableName": "business_type_code", + "tableFileName": "business_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>business_type_code", "type": "varchar", - "length": 60, - "nullable": "√", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A code indicating the business type of a client.<\/p>" }, { "tableName": "submission_location", "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_location_id", - "type": "serial", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_id", + "type": "int4", "length": 10, "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('nrfc.submission_location_seq'::regclass)", - "comments": "

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

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

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": "identification_type_code", @@ -382,13 +396,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_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 the record.<\/p>" }, { "tableName": "submission_detail", @@ -396,27 +410,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "good_standing_ind", - "type": "varchar", - "length": 1, + "name": "birthdate", + "type": "date", + "length": 13, "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 date that the BC Services Card logged in person was born.<\/p>" }, { - "tableName": "email_log", - "tableFileName": "email_log", + "tableName": "submission_type_code", + "tableFileName": "submission_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "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 last updated.<\/p>" + "defaultValue": "null", + "comments": "

A code representing the type of a submission request.<\/p>" }, { "tableName": "business_type_code", @@ -424,13 +438,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", + "name": "expiry_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>" + "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", @@ -438,13 +452,13 @@

Columns

"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": "province_code", @@ -452,13 +466,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_location", @@ -466,13 +480,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "location_name", + "name": "business_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": "

The phone number of a client’s specific location.<\/p>" }, { "tableName": "submission", @@ -480,41 +494,41 @@

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>" + "name": "create_user", + "type": "varchar", + "length": 60, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "country_code", "tableFileName": "country_code", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>display_order", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "create_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.<\/p>" }, { "tableName": "identification_type_code", "tableFileName": "identification_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>identification_type_code", + "keyClass": "", + "keyTitle": "", + "name": "description", "type": "varchar", - "length": 4, + "length": 100, "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>" + "comments": "

The description of the code value.<\/p>" }, { "tableName": "country_code", @@ -522,41 +536,41 @@

Columns

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

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

The date and time the record was created or last updated.<\/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, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_id", + "type": "serial", + "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.submission_id_seq'::regclass)", + "comments": "

Incremental id generated for a submission of a client.<\/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": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>identification_type_code", "type": "varchar", "length": 4, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a province, state, department or territory.<\/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": "client_type_code", @@ -564,55 +578,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_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 the record.<\/p>" }, { "tableName": "contact_type_code", "tableFileName": "contact_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>contact_type_code", + "keyClass": "", + "keyTitle": "", + "name": "description", "type": "varchar", - "length": 2, + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The description of the code value.<\/p>" }, { "tableName": "country_code", "tableFileName": "country_code", "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": "flyway_schema_history", - "tableFileName": "flyway_schema_history", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>installed_rank", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>display_order", "type": "int4", "length": 10, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "execution_time", - "type": "int4", - "length": 10, - "nullable": "", + "name": "version", + "type": "varchar", + "length": 50, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "country_code", - "tableFileName": "country_code", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user", - "type": "varchar", - "length": 60, - "nullable": "√", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>success", + "type": "bool", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

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

The reference number that identifies a client.<\/p>" }, { "tableName": "submission_contact", @@ -662,13 +662,13 @@

Columns

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

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

The unique identifier assigned to a user by the Identity Provider.<\/p>" }, { "tableName": "email_log", @@ -676,13 +676,13 @@

Columns

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

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

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

Columns

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

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

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

Columns

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

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

The date and time the record was created or last updated.<\/p>" }, { "tableName": "submission", "tableFileName": "submission", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>submission_type_code", - "type": "varchar", - "length": 5, + "keyClass": "", + "keyTitle": "", + "name": "submission_date", + "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>" + "comments": "

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

Columns

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

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

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

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", + "name": "expiry_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>" + "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": "contact_type_code", @@ -774,27 +774,27 @@

Columns

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

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

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

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

The name of the city of the location.<\/p>" }, { "tableName": "submission_detail", @@ -802,27 +802,27 @@

Columns

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

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

The last name of the client.<\/p>" }, { "tableName": "submission_contact", "tableFileName": "submission_contact", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_contact_id", - "type": "serial", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_id", + "type": "int4", "length": 10, "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": "

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

Columns

"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": "country_code", @@ -844,41 +844,41 @@

Columns

"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": "business_type_code", "tableFileName": "business_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>business_type_code", + "keyClass": "", + "keyTitle": "", + "name": "description", "type": "varchar", - "length": 1, + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code indicating the business type of a client.<\/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", + "keyClass": "", + "keyTitle": "", + "name": "description", "type": "varchar", - "length": 5, + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

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

Columns

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

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

A code representing the code of a province, state, department or territory.<\/p>" }, { "tableName": "submission_matching_detail", "tableFileName": "submission_matching_detail", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_matching_detail_id", - "type": "serial", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_id", + "type": "int4", "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>" + "autoUpdated": "", + "defaultValue": "null", + "comments": "

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

Columns

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

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

JSONB field to store variables related to the email content.<\/p>" }, { "tableName": "email_log", @@ -928,13 +928,13 @@

Columns

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

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

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

Columns

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

The fax 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": "client_type_code", @@ -956,13 +956,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", + "name": "expiry_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>" + "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_matching_detail", @@ -970,13 +970,13 @@

Columns

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

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

A flag to indicate that the submission was finally processed.<\/p>" }, { "tableName": "client_type_code", @@ -984,13 +984,13 @@

Columns

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

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_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 the record.<\/p>" }, { "tableName": "contact_type_code", @@ -1012,27 +1012,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", + "name": "expiry_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>" + "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_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>business_type_code", + "keyClass": "", + "keyTitle": "", + "name": "incorporation_number", "type": "varchar", - "length": 1, - "nullable": "", + "length": 13, + "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": "

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_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 the record.<\/p>" }, { - "tableName": "submission_type_code", - "tableFileName": "submission_type_code", + "tableName": "district_code", + "tableFileName": "district_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>district_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 code of a Natural Resource District.<\/p>" }, { "tableName": "submission_type_code", @@ -1068,13 +1068,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", + "name": "expiry_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>" + "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", @@ -1082,13 +1082,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", + "name": "expiry_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>" + "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", @@ -1096,13 +1096,13 @@

Columns

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

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

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

Columns

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

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

Timestamp indicating when the email log entry was last updated.<\/p>" }, { - "tableName": "submission_status_code", - "tableFileName": "submission_status_code", + "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": "province_code", @@ -1138,13 +1138,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_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 the record.<\/p>" }, { "tableName": "submission_detail", @@ -1152,13 +1152,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "incorporation_number", + "name": "organization_name", "type": "varchar", - "length": 13, + "length": 60, "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": "

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

Columns

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

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

Any additional information about the client or specific instructions.<\/p>" }, { "tableName": "country_code", "tableFileName": "country_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>country_code", + "keyClass": "", + "keyTitle": "", + "name": "description", "type": "varchar", - "length": 2, + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

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

Columns

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

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", + "name": "expiry_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>" + "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_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "birthdate", - "type": "date", - "length": 13, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>district_code", + "type": "varchar", + "length": 5, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A code representing the natural resource district of a client.<\/p>" }, { "tableName": "submission_status_code", @@ -1236,13 +1236,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": "business_type_code", @@ -1250,27 +1250,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_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 the record.<\/p>" }, { "tableName": "province_code", "tableFileName": "province_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>country_code", + "keyClass": "", + "keyTitle": "", + "name": "description", "type": "varchar", - "length": 2, + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the country in which the province is located.<\/p>" + "comments": "

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

Columns

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

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

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

Columns

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

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

The timestamp of when the processor started to process this specific entry<\/p>" }, { "tableName": "submission_location_contact_xref", @@ -1306,13 +1306,13 @@

Columns

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

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

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

Columns

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

TBD.<\/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": "submission_type_code", @@ -1334,27 +1334,27 @@

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", - "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, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>installed_rank", + "type": "int4", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp of when the processor started to process this specific entry<\/p>" + "comments": "" }, { "tableName": "submission", @@ -1362,27 +1362,27 @@

Columns

"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": "identification_type_code", - "tableFileName": "identification_type_code", + "tableName": "contact_type_code", + "tableFileName": "contact_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>contact_type_code", "type": "varchar", - "length": 60, - "nullable": "√", + "length": 2, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "idp_user_id", + "name": "secondary_phone_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": "

A secondary phone number of the client’s contact.<\/p>" }, { "tableName": "submission_detail", @@ -1404,13 +1404,13 @@

Columns

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

A Work Safe BC number 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": "submission_location", @@ -1418,27 +1418,27 @@

Columns

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

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

A code representing the code of a province, state, department or territory.<\/p>" }, { "tableName": "client_type_code", "tableFileName": "client_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>client_type_code", + "keyClass": "", + "keyTitle": "", + "name": "description", "type": "varchar", - "length": 5, + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The description of the code value.<\/p>" }, { "tableName": "flyway_schema_history", @@ -1446,9 +1446,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", + "name": "type", "type": "varchar", - "length": 200, + "length": 20, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -1460,13 +1460,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", + "name": "expiry_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>" + "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", @@ -1474,27 +1474,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": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "client_identification", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>identification_country_code", "type": "varchar", - "length": 40, + "length": 2, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "confirmed_match_status_ind", - "type": "varchar", - "length": 1, - "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>" - }, - { - "tableName": "submission_location", - "tableFileName": "submission_location", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "complementary_address_2", + "name": "confirmed_match_message", "type": "varchar", - "length": 40, + "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A field with the reason for the denial of the submission.<\/p>" }, { "tableName": "submission_location", @@ -1539,18 +1525,32 @@

Columns

"comments": "

The email address of the client’s location.<\/p>" }, { - "tableName": "business_type_code", - "tableFileName": "business_type_code", + "tableName": "province_code", + "tableFileName": "province_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>province_code", "type": "varchar", - "length": 60, - "nullable": "√", + "length": 4, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A code representing the code of a province, state, department or territory.<\/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>" }, { "tableName": "flyway_schema_history", @@ -1558,9 +1558,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "type", + "name": "script", "type": "varchar", - "length": 20, + "length": 1000, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -1572,10 +1572,10 @@

Columns

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

Columns

"tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>province_code", + "name": "<\/i>country_code", "type": "varchar", - "length": 4, + "length": 2, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A code representing the country in which the province is located.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>submission_id", - "type": "int4", - "length": 10, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "client_number", + "type": "varchar", + "length": 8, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

Columns

"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": "flyway_schema_history", @@ -1628,12 +1628,12 @@

Columns

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

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>submission_id", - "type": "int4", - "length": 10, + "name": "<\/i>contact_type_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 role of a client’s contact.<\/p>" }, { "tableName": "submission_location", @@ -1656,13 +1656,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "notes", + "name": "complementary_address_1", "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 complementary address line of a client<\/p>" }, { "tableName": "submission_matching_detail", @@ -1670,27 +1670,27 @@

Columns

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

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

The timestamp when the changes happened.<\/p>" }, { "tableName": "identification_type_code", "tableFileName": "identification_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "description", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>country_code", "type": "varchar", - "length": 100, - "nullable": "", + "length": 2, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The description of the code value.<\/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": "country_code", @@ -1698,13 +1698,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": "client_type_code", @@ -1712,69 +1712,69 @@

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_status_code", "tableFileName": "submission_status_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_status_code", + "keyClass": "", + "keyTitle": "", + "name": "description", "type": "varchar", - "length": 5, + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

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

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

A Work Safe BC number of a client.<\/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": "matching_fields", + "type": "jsonb", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Incremental id generated for a submission of a client.<\/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_location", "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>submission_id", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "street_address", + "type": "varchar", + "length": 40, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The address of a client, including the street number and street name.<\/p>" }, { "tableName": "email_log", @@ -1782,13 +1782,13 @@

Columns

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

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

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

Columns

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

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

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

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": "district_code", @@ -1824,55 +1824,55 @@

Columns

"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_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "client_number", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>business_type_code", "type": "varchar", - "length": 8, - "nullable": "√", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A code indicating the business type of a client. It could be either Registered Business and Unregistered Business.<\/p>" }, { - "tableName": "province_code", - "tableFileName": "province_code", + "tableName": "email_log", + "tableFileName": "email_log", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>email_log_id", + "type": "serial", "length": 10, - "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>" + "nullable": "", + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.email_log_id_seq'::regclass)", + "comments": "

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

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

A code representing the type of a client.<\/p>" }, { "tableName": "district_code", @@ -1880,13 +1880,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_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 the record.<\/p>" }, { "tableName": "flyway_schema_history", @@ -1894,10 +1894,10 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "version", + "name": "description", "type": "varchar", - "length": 50, - "nullable": "√", + "length": 200, + "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -1908,13 +1908,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "doing_business_as", + "name": "client_acronym", "type": "varchar", - "length": 120, + "length": 8, "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": "

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "client_acronym", + "name": "first_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 first name of the client.<\/p>" }, { "tableName": "contact_type_code", @@ -1936,13 +1936,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_contact", @@ -1950,27 +1950,27 @@

Columns

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

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

The phone number of the client’s contact.<\/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": "effective_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>" + "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_contact", @@ -1978,13 +1978,13 @@

Columns

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

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

The email address of the client’s contact.<\/p>" }, { "tableName": "business_type_code", @@ -1992,13 +1992,13 @@

Columns

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

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

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

Columns

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

The user or proxy account that created or last updated 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": "submission_contact", - "tableFileName": "submission_contact", + "tableName": "submission_status_code", + "tableFileName": "submission_status_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "fax_number", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_status_code", "type": "varchar", - "length": 14, - "nullable": "√", + "length": 5, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A code representing the status of a submission request.<\/p>" }, { "tableName": "district_code", @@ -2034,13 +2034,13 @@

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": "submission_detail", @@ -2048,13 +2048,13 @@

Columns

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

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

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

Columns

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

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

The fax number of a client’s specific location.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>client_type_code", + "keyClass": "", + "keyTitle": "", + "name": "good_standing_ind", "type": "varchar", - "length": 5, - "nullable": "", + "length": 1, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

An indicator that determines whether a client is in good standing with respect to their financial obligations.<\/p>" }, { "tableName": "flyway_schema_history", @@ -2090,10 +2090,10 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "script", - "type": "varchar", - "length": 1000, - "nullable": "", + "name": "checksum", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -2104,13 +2104,13 @@

Columns

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

The name of the city of the location.<\/p>" + "comments": "" }, { "tableName": "submission_status_code", @@ -2118,13 +2118,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", + "name": "expiry_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>" + "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": "contact_type_code", @@ -2132,13 +2132,13 @@

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": "business_type_code", @@ -2146,27 +2146,27 @@

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", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_detail_id", - "type": "serial", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_id", + "type": "int4", "length": 10, "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('nrfc.submission_detail_id_seq'::regclass)", - "comments": "

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

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

Columns

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

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

Textual message describing any exceptions that occurred during email processing.<\/p>" }, { "tableName": "province_code", @@ -2188,20 +2188,6 @@

Columns

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

The user or proxy account that created the record.<\/p>" - }, - { - "tableName": "client_type_code", - "tableFileName": "client_type_code", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", "name": "update_user", "type": "varchar", "length": 60, @@ -2211,22 +2197,22 @@

Columns

"comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { - "tableName": "contact_type_code", - "tableFileName": "contact_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", - "tableFileName": "submission", + "tableName": "contact_type_code", + "tableFileName": "contact_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -2238,19 +2224,33 @@

Columns

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

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

Incremental id generated for a location of a client.<\/p>" + }, { "tableName": "submission_type_code", "tableFileName": "submission_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_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 the record.<\/p>" }, { "tableName": "submission_matching_detail", @@ -2258,27 +2258,27 @@

Columns

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

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

The ID of the user submitting the changes.<\/p>" }, { "tableName": "submission_contact", "tableFileName": "submission_contact", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>contact_type_code", + "keyClass": "", + "keyTitle": "", + "name": "first_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 first name of the client’s contact.<\/p>" }, { "tableName": "submission_type_code", @@ -2286,69 +2286,69 @@

Columns

"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", "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>" + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_status_code", + "type": "varchar", + "length": 5, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

TBD.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "notes", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>identification_type_code", "type": "varchar", - "length": 4000, + "length": 4, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A code indicating the identification type of a client.<\/p>" }, { - "tableName": "contact_type_code", - "tableFileName": "contact_type_code", + "tableName": "country_code", + "tableFileName": "country_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>country_code", "type": "varchar", - "length": 60, - "nullable": "√", + "length": 2, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A code representing the code of a country.<\/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_id", + "type": "varchar", + "length": 40, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

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

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>" } ]; var config = { diff --git a/schema/nrfc/index.html b/schema/nrfc/index.html index 027a694cf7..5b81c02273 100644 --- a/schema/nrfc/index.html +++ b/schema/nrfc/index.html @@ -78,7 +78,7 @@

Tables


SchemaSpy Analysis of default.nrfc

-

Generated on Mon Oct 07 18:05 GMT 2024

+

Generated on Mon Oct 07 19:25 GMT 2024

diff --git a/schema/nrfc/info-html.txt b/schema/nrfc/info-html.txt index 356b36b5dc..20fcf9a8f7 100644 --- a/schema/nrfc/info-html.txt +++ b/schema/nrfc/info-html.txt @@ -1,4 +1,4 @@ -date=2024-10-07 18:05:19+0000 +date=2024-10-07 19:25:20+0000 os=Linux 6.8.0-1014-azure schemaspy-version=6.2.4 schemaspy-build=6.2.4.41 2023-07-21 11:15:12