diff --git a/schema/index.html b/schema/index.html
index 028e063adf..2883f8e327 100644
--- a/schema/index.html
+++ b/schema/index.html
@@ -49,7 +49,7 @@
Generated on Tue Oct 15 21:50 GMT 2024 Generated on Wed Oct 16 16:12 GMT 2024SchemaSpy Analysis of default
-
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 description of the code value.<\/p>" }, { "tableName": "submission_location", @@ -130,27 +130,13 @@
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>" + "comments": "
Any additional information about the client’s location or specific instructions for contacting them.<\/p>" }, { "tableName": "submission_location", @@ -158,13 +144,13 @@
A code representing the code of a country.<\/p>" + "comments": "
Incremental id generated for a submission of a client.<\/p>" }, { "tableName": "submission_location", @@ -172,13 +158,13 @@
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 name of the city of the location.<\/p>" }, { "tableName": "identification_type_code", @@ -186,13 +172,13 @@
The date and time the record was created or last updated.<\/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_status_code", @@ -200,13 +186,13 @@
The date and time the record was created.<\/p>" + "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": "client_type_code", @@ -214,13 +200,13 @@
The date and time the record was created.<\/p>" + "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", @@ -242,27 +228,27 @@
The user or proxy account that created or last updated the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created or last updated.<\/p>" }, { "tableName": "submission_contact", "tableFileName": "submission_contact", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "last_name", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>contact_type_code", "type": "varchar", - "length": 30, - "nullable": "√", + "length": 2, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "
The last name of the client’s contact.<\/p>" + "comments": "
A code representing the code of a role of a client’s contact.<\/p>" }, { "tableName": "submission_matching_detail", @@ -284,13 +270,13 @@
Timestamp indicating when the email log entry was created.<\/p>" + "defaultValue": "null", + "comments": "
Subject of the email.<\/p>" }, { "tableName": "country_code", @@ -298,13 +284,13 @@
The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created.<\/p>" }, { "tableName": "flyway_schema_history", @@ -312,12 +298,12 @@
Textual message describing any exceptions that occurred during email processing.<\/p>" + }, + { + "tableName": "district_code", + "tableFileName": "district_code", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>district_code", "type": "varchar", - "length": 100, + "length": 5, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "
Email address to which the email is sent.<\/p>" + "comments": "
A code representing the code of a Natural Resource District.<\/p>" }, { "tableName": "district_code", @@ -340,41 +340,41 @@
The email address of the Natural Resource District.<\/p>" + "comments": "
The user or proxy account that created the record.<\/p>" }, { - "tableName": "business_type_code", - "tableFileName": "business_type_code", + "tableName": "submission", + "tableFileName": "submission", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>business_type_code", + "keyClass": "", + "keyTitle": "", + "name": "update_user", "type": "varchar", - "length": 1, - "nullable": "", + "length": 60, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
A code indicating the business type of a client.<\/p>" + "comments": "
The user or proxy account that created or last updated the record.<\/p>" }, { - "tableName": "submission_location", - "tableFileName": "submission_location", + "tableName": "identification_type_code", + "tableFileName": "identification_type_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>submission_id", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "effective_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "
Incremental id generated for a submission 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", @@ -391,46 +391,32 @@
The date and time the record was created.<\/p>" }, { - "tableName": "identification_type_code", - "tableFileName": "identification_type_code", + "tableName": "submission_detail", + "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>client_type_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 type of a client.<\/p>" }, { - "tableName": "submission_detail", - "tableFileName": "submission_detail", + "tableName": "email_log", + "tableFileName": "email_log", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "birthdate", - "type": "date", - "length": 13, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "
The date that the BC Services Card logged in person was born.<\/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, + "name": "create_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "
A code representing the type of a submission request.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
Timestamp indicating when the email log entry was created.<\/p>" }, { "tableName": "business_type_code", @@ -438,13 +424,13 @@
The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "null", + "comments": "
The description of the code value.<\/p>" }, { "tableName": "business_type_code", @@ -452,27 +438,27 @@
The user or proxy account that created or last updated the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created or last updated.<\/p>" }, { "tableName": "province_code", "tableFileName": "province_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>country_code", + "type": "varchar", + "length": 2, "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 representing the country in which the province is located.<\/p>" }, { "tableName": "submission_location", @@ -480,13 +466,13 @@
The phone number of a client’s specific location.<\/p>" + "comments": "" }, { "tableName": "submission", @@ -494,13 +480,13 @@
The user or proxy account that created the record.<\/p>" + "comments": "
The date and time the record was created.<\/p>" }, { "tableName": "country_code", @@ -508,69 +494,69 @@
The date and time the record was 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": "identification_type_code", - "tableFileName": "identification_type_code", + "tableName": "submission_detail", + "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "description", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>identification_province_code", "type": "varchar", - "length": 100, - "nullable": "", + "length": 4, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
The description of the code value.<\/p>" + "comments": "
A code representing the code of a province, state, department or territory.<\/p>" }, { "tableName": "country_code", "tableFileName": "country_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>display_order", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "
The date and time the record was created or last updated.<\/p>" + "defaultValue": "null", + "comments": "
The the display order of a country. If no value is provided, the application will order countries alphabetically by default.<\/p>" }, { - "tableName": "submission", - "tableFileName": "submission", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_id", - "type": "serial", + "keyClass": "", + "keyTitle": "", + "name": "execution_time", + "type": "int4", "length": 10, "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('nrfc.submission_id_seq'::regclass)", - "comments": "
Incremental id generated for a submission of a client.<\/p>" + "autoUpdated": "", + "defaultValue": "null", + "comments": "" }, { - "tableName": "identification_type_code", - "tableFileName": "identification_type_code", + "tableName": "submission_detail", + "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>identification_type_code", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>identification_country_code", "type": "varchar", - "length": 4, - "nullable": "", + "length": 2, + "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": "
A code representing the code of a country.<\/p>" }, { "tableName": "client_type_code", @@ -578,41 +564,55 @@
The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created.<\/p>" }, { - "tableName": "contact_type_code", - "tableFileName": "contact_type_code", + "tableName": "identification_type_code", + "tableFileName": "identification_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", + "name": "update_user", "type": "varchar", - "length": 100, - "nullable": "", + "length": 60, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
The description of the code value.<\/p>" + "comments": "
The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "country_code", "tableFileName": "country_code", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>display_order", + "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_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": "√", + "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>" + "comments": "
Incremental id generated for the contact details of a client.<\/p>" }, { "tableName": "flyway_schema_history", @@ -620,69 +620,83 @@
The user or proxy account that created the record.<\/p>" }, { - "tableName": "submission_detail", - "tableFileName": "submission_detail", + "tableName": "country_code", + "tableFileName": "country_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "client_identification", + "name": "update_user", "type": "varchar", - "length": 40, + "length": 60, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
The reference number that identifies a client.<\/p>" + "comments": "
The user or proxy account that created or last updated the record.<\/p>" }, { - "tableName": "submission_contact", - "tableFileName": "submission_contact", + "tableName": "submission_detail", + "tableFileName": "submission_detail", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "idp_user_id", + "name": "notes", "type": "varchar", - "length": 50, + "length": 4000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
The unique identifier assigned to a user by the Identity Provider.<\/p>" + "comments": "
Any additional information about the client or specific instructions.<\/p>" }, { - "tableName": "email_log", - "tableFileName": "email_log", + "tableName": "submission_contact", + "tableFileName": "submission_contact", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email_sent_ind", + "name": "business_phone_number", "type": "varchar", - "length": 1, - "nullable": "√", + "length": 14, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "
Indicator for whether the email has been sent (‘Y’ for Yes, ‘N’ for No).<\/p>" + "comments": "
The phone number of the client’s contact.<\/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>" }, { "tableName": "province_code", @@ -690,13 +704,13 @@
The date and time the record was created or last updated.<\/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_status_code", @@ -704,27 +718,27 @@
The date and time the record was created or last updated.<\/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": "", - "keyTitle": "", - "name": "submission_date", - "type": "timestamp", - "length": 29, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_status_code", + "type": "varchar", + "length": 5, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
The date and time the record was created.<\/p>" + "comments": "
TBD.<\/p>" }, { "tableName": "submission_contact", @@ -732,17 +746,31 @@
The fax number of the client’s contact.<\/p>" + "comments": "
The unique identifier assigned to a user by the Identity Provider.<\/p>" }, { - "tableName": "submission_type_code", - "tableFileName": "submission_type_code", + "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>" + }, + { + "tableName": "province_code", + "tableFileName": "province_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -755,8 +783,8 @@
The description of the code value.<\/p>" }, { - "tableName": "province_code", - "tableFileName": "province_code", + "tableName": "contact_type_code", + "tableFileName": "contact_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -768,33 +796,19 @@
The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, - { - "tableName": "contact_type_code", - "tableFileName": "contact_type_code", - "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": "submission_location", "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "city_name", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>country_code", "type": "varchar", - "length": 30, + "length": 2, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "
The name of the city of the location.<\/p>" + "comments": "
A code representing the code of a country.<\/p>" }, { "tableName": "submission_detail", @@ -802,27 +816,13 @@
The last 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": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "
Incremental id generated for a submission of a client.<\/p>" + "comments": "
The first name of the client.<\/p>" }, { "tableName": "identification_type_code", @@ -830,13 +830,13 @@
The user or proxy account that created or last updated the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created or last updated.<\/p>" }, { "tableName": "country_code", @@ -844,55 +844,55 @@
The user or proxy account that created or last updated the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created or last updated.<\/p>" }, { - "tableName": "business_type_code", - "tableFileName": "business_type_code", + "tableName": "district_code", + "tableFileName": "district_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", + "name": "update_user", "type": "varchar", - "length": 100, - "nullable": "", + "length": 60, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
The description of the code value.<\/p>" + "comments": "
The user or proxy account that created or last updated the record.<\/p>" }, { - "tableName": "district_code", - "tableFileName": "district_code", + "tableName": "submission_type_code", + "tableFileName": "submission_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", + "name": "update_user", "type": "varchar", - "length": 100, - "nullable": "", + "length": 60, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
The description of the code value.<\/p>" + "comments": "
The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>identification_province_code", + "keyClass": "", + "keyTitle": "", + "name": "client_identification", "type": "varchar", - "length": 4, + "length": 40, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
A code representing the code of a province, state, department or territory.<\/p>" + "comments": "
The reference number that identifies a client.<\/p>" }, { "tableName": "submission_matching_detail", @@ -914,13 +914,13 @@
JSONB field to store variables related to the email content.<\/p>" + "comments": "
Email address to which the email is sent.<\/p>" }, { "tableName": "email_log", @@ -928,13 +928,13 @@
Subject of the email.<\/p>" + "comments": "
Name of the email template used for sending the email.<\/p>" }, { "tableName": "submission_location", @@ -942,13 +942,13 @@
Any additional information about the client’s location or specific instructions for contacting them.<\/p>" + "comments": "
A secondary phone number of a client’s specific location.<\/p>" }, { "tableName": "client_type_code", @@ -956,13 +956,13 @@
The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "null", + "comments": "
The description of the code value.<\/p>" }, { "tableName": "submission_matching_detail", @@ -984,13 +984,13 @@
The date and time the record was created or last updated.<\/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", @@ -998,13 +998,13 @@
The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created.<\/p>" }, { "tableName": "contact_type_code", @@ -1012,13 +1012,13 @@
The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "null", + "comments": "
The description of the code value.<\/p>" }, { "tableName": "submission_detail", @@ -1026,13 +1026,13 @@
A number provided to B.C. corporations, businesses or societies as part of the registration or incorporation process.<\/p>" + "comments": "" }, { "tableName": "submission_status_code", @@ -1040,27 +1040,27 @@
The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created.<\/p>" }, { - "tableName": "district_code", - "tableFileName": "district_code", + "tableName": "submission_type_code", + "tableFileName": "submission_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>district_code", + "keyClass": "", + "keyTitle": "", + "name": "create_user", "type": "varchar", - "length": 5, + "length": 60, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "
A code representing the code of a Natural Resource District.<\/p>" + "comments": "
The user or proxy account that created the record.<\/p>" }, { "tableName": "submission_type_code", @@ -1068,13 +1068,13 @@
The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "null", + "comments": "
The description of the code value.<\/p>" }, { "tableName": "country_code", @@ -1082,27 +1082,27 @@
The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "null", + "comments": "
The description of the code value.<\/p>" }, { "tableName": "submission", "tableFileName": "submission", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_type_code", + "type": "varchar", + "length": 5, "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "
The date and time the record was created or last updated.<\/p>" + "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>" }, { "tableName": "email_log", @@ -1110,27 +1110,27 @@
Timestamp indicating when the email log entry was last updated.<\/p>" + "defaultValue": "null", + "comments": "
JSONB field to store variables related to the email content.<\/p>" }, { - "tableName": "client_type_code", - "tableFileName": "client_type_code", + "tableName": "submission_status_code", + "tableFileName": "submission_status_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>client_type_code", + "keyClass": "", + "keyTitle": "", + "name": "create_user", "type": "varchar", - "length": 5, + "length": 60, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "
A code representing the type of a client.<\/p>" + "comments": "
The user or proxy account that created the record.<\/p>" }, { "tableName": "province_code", @@ -1138,27 +1138,27 @@
The user or proxy account that created the record.<\/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": "organization_name", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>business_type_code", "type": "varchar", - "length": 60, - "nullable": "√", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "
The name of the client.<\/p>" + "comments": "
A code indicating the business type of a client. It could be either Registered Business and Unregistered Business.<\/p>" }, { "tableName": "submission_detail", @@ -1166,27 +1166,27 @@
Any additional information about the client or specific instructions.<\/p>" + "comments": "
The middle name of the client.<\/p>" }, { - "tableName": "country_code", - "tableFileName": "country_code", + "tableName": "contact_type_code", + "tableFileName": "contact_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", + "name": "update_user", "type": "varchar", - "length": 100, - "nullable": "", + "length": 60, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
The description of the code value.<\/p>" + "comments": "
The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "submission_type_code", @@ -1194,13 +1194,13 @@
The date and time the record was created or last updated.<\/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": "district_code", @@ -1208,41 +1208,41 @@
The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "null", + "comments": "
The email address of the Natural Resource District.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>district_code", + "keyClass": "", + "keyTitle": "", + "name": "good_standing_ind", "type": "varchar", - "length": 5, + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
A code representing the natural resource district of a client.<\/p>" + "comments": "
An indicator that determines whether a client is in good standing with respect to their financial obligations.<\/p>" }, { "tableName": "submission_status_code", "tableFileName": "submission_status_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_status_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 representing the status of a submission request.<\/p>" }, { "tableName": "business_type_code", @@ -1250,27 +1250,27 @@
The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created.<\/p>" }, { "tableName": "province_code", "tableFileName": "province_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "description", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>province_code", "type": "varchar", - "length": 100, + "length": 4, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "
The description of the code value.<\/p>" + "comments": "
A code representing the code of a province, state, department or territory.<\/p>" }, { "tableName": "district_code", @@ -1278,13 +1278,13 @@
The date and time the record was created or last updated.<\/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", @@ -1301,60 +1301,60 @@
The timestamp of when the processor started to process this specific entry<\/p>" }, { - "tableName": "submission_location_contact_xref", - "tableFileName": "submission_location_contact_xref", + "tableName": "client_type_code", + "tableFileName": "client_type_code", + "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>" + }, + { + "tableName": "submission", + "tableFileName": "submission", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>submission_contact_id", - "type": "int4", + "name": "<\/i>submission_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_id_seq'::regclass)", + "comments": "
Incremental id generated for a submission of a client.<\/p>" }, { - "tableName": "submission", - "tableFileName": "submission", + "tableName": "submission_type_code", + "tableFileName": "submission_type_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", "name": "<\/i>submission_type_code", "type": "varchar", "length": 5, - "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>" - }, - { - "tableName": "submission_type_code", - "tableFileName": "submission_type_code", - "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>" + "comments": "
A code representing the type of a submission request.<\/p>" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "submission_location_contact_xref", + "tableFileName": "submission_location_contact_xref", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>installed_rank", + "name": "<\/i>submission_location_id", "type": "int4", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "
Incremental id generated for a location of a client.<\/p>" }, { "tableName": "submission", @@ -1362,27 +1362,27 @@
The user or proxy account that created or last updated the record.<\/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": "identification_type_code", + "tableFileName": "identification_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>contact_type_code", + "keyClass": "", + "keyTitle": "", + "name": "create_user", "type": "varchar", - "length": 2, + "length": 60, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "
A code representing the code of a role of a client’s contact.<\/p>" + "comments": "
The user or proxy account that created the record.<\/p>" }, { "tableName": "submission_contact", @@ -1390,55 +1390,55 @@
A secondary phone number of the client’s contact.<\/p>" + "comments": "
The email address of the client’s contact.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "doing_business_as", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>district_code", "type": "varchar", - "length": 120, + "length": 5, "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 code representing the natural resource district of a client.<\/p>" }, { "tableName": "submission_location", "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>province_code", + "keyClass": "", + "keyTitle": "", + "name": "street_address", "type": "varchar", - "length": 2, + "length": 40, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "
A code representing the code of a province, state, department or territory.<\/p>" + "comments": "
The address of a client, including the street number and street name.<\/p>" }, { - "tableName": "client_type_code", - "tableFileName": "client_type_code", + "tableName": "submission_status_code", + "tableFileName": "submission_status_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", + "name": "update_user", "type": "varchar", - "length": 100, - "nullable": "", + "length": 60, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
The description of the code value.<\/p>" + "comments": "
The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "flyway_schema_history", @@ -1446,10 +1446,10 @@
The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "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>" }, { "tableName": "business_type_code", @@ -1474,13 +1474,13 @@
The date and time the record was created.<\/p>" + "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_detail", @@ -1488,13 +1488,13 @@
A code representing the code of a country.<\/p>" + "comments": "
A code indicating the identification type of a client.<\/p>" }, { "tableName": "submission_matching_detail", @@ -1516,41 +1516,41 @@
The email address of the client’s location.<\/p>" + "comments": "
A complementary address line of a client<\/p>" }, { - "tableName": "province_code", - "tableFileName": "province_code", + "tableName": "submission_location", + "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>province_code", + "keyClass": "", + "keyTitle": "", + "name": "complementary_address_2", "type": "varchar", - "length": 4, - "nullable": "", + "length": 40, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
A code representing the code of a province, state, department or territory.<\/p>" + "comments": "
A second complementary address line of a client<\/p>" }, { - "tableName": "submission_detail", - "tableFileName": "submission_detail", + "tableName": "business_type_code", + "tableFileName": "business_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_detail_id", - "type": "serial", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "create_user", + "type": "varchar", + "length": 60, "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": "
The user or proxy account that created the record.<\/p>" }, { "tableName": "flyway_schema_history", @@ -1558,9 +1558,9 @@
A code representing the country in which the province is located.<\/p>" + "comments": "
The email address of the client’s location.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "client_number", - "type": "varchar", - "length": 8, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "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": "submission_status_code", @@ -1614,13 +1614,13 @@
The user or proxy account that created or last updated the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created or last updated.<\/p>" }, { "tableName": "flyway_schema_history", @@ -1628,9 +1628,9 @@
A code representing the code of a role of a client’s contact.<\/p>" + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.submission_contact_seq'::regclass)", + "comments": "
Incremental id generated for the contact details of a client.<\/p>" }, { "tableName": "submission_location", @@ -1656,13 +1656,13 @@
A complementary address line of a client<\/p>" + "comments": "
The fax number of a client’s specific location.<\/p>" }, { "tableName": "submission_matching_detail", @@ -1682,57 +1682,57 @@
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": "
A code indicating the identification type of a client. Examples of possible ID types include Canadian Birth Certificate, Canadian Passport, and others.<\/p>" }, { "tableName": "country_code", "tableFileName": "country_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>country_code", + "type": "varchar", + "length": 2, "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 representing the code of a country.<\/p>" }, { "tableName": "client_type_code", "tableFileName": "client_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>client_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 representing the type of a client.<\/p>" }, { - "tableName": "submission_status_code", - "tableFileName": "submission_status_code", + "tableName": "submission_contact", + "tableFileName": "submission_contact", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", + "name": "fax_number", "type": "varchar", - "length": 100, - "nullable": "", + "length": 14, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
The description of the code value.<\/p>" + "comments": "
The fax number of the client’s contact.<\/p>" }, { "tableName": "submission_detail", @@ -1740,13 +1740,13 @@
A Work Safe BC number of a client.<\/p>" + "comments": "
The date that the BC Services Card logged in person was born.<\/p>" }, { "tableName": "submission_matching_detail", @@ -1766,15 +1766,15 @@
The address of a client, including the street number and street name.<\/p>" + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.submission_location_seq'::regclass)", + "comments": "
Incremental id generated for a location of a client.<\/p>" }, { "tableName": "email_log", @@ -1782,13 +1782,13 @@
Name of the email template used for sending the email.<\/p>" + "comments": "
Indicator for whether the email has been sent (‘Y’ for Yes, ‘N’ for No).<\/p>" }, { "tableName": "submission_location", @@ -1796,13 +1796,13 @@
A secondary phone number of a client’s specific 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": "province_code", @@ -1810,13 +1810,13 @@
The date and time the record was created.<\/p>" + "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": "district_code", @@ -1824,13 +1824,13 @@
The user or proxy account that created or last updated the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created or last updated.<\/p>" }, { "tableName": "submission_detail", @@ -1838,41 +1838,41 @@
A code indicating the business type of a client. It could be either Registered Business and Unregistered Business.<\/p>" + "comments": "
Incremental id generated for a submission of a client.<\/p>" }, { - "tableName": "email_log", - "tableFileName": "email_log", + "tableName": "province_code", + "tableFileName": "province_code", "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": "update_user", + "type": "varchar", + "length": 60, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "
The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>client_type_code", + "keyClass": "", + "keyTitle": "", + "name": "incorporation_number", "type": "varchar", - "length": 5, - "nullable": "", + "length": 13, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
A code representing the type of a client.<\/p>" + "comments": "
A number provided to B.C. corporations, businesses or societies as part of the registration or incorporation process.<\/p>" }, { "tableName": "district_code", @@ -1880,23 +1880,23 @@
The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created.<\/p>"
},
{
"tableName": "flyway_schema_history",
"tableFileName": "flyway_schema_history",
"tableType": "Table",
- "keyClass": "",
- "keyTitle": "",
- "name": "description",
- "type": "varchar",
- "length": 200,
+ "keyClass": "primaryKey",
+ "keyTitle": "Primary Key",
+ "name": "<\/i>installed_rank",
+ "type": "int4",
+ "length": 10,
"nullable": "",
"autoUpdated": "",
"defaultValue": "null",
@@ -1908,13 +1908,13 @@ Columns
"tableType": "Table",
"keyClass": "",
"keyTitle": "",
- "name": "client_acronym",
+ "name": "work_safe_bc_number",
"type": "varchar",
- "length": 8,
+ "length": 6,
"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": "
A Work Safe BC number of a client.<\/p>" }, { "tableName": "submission_detail", @@ -1922,27 +1922,27 @@
The first name of the 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": "contact_type_code", "tableFileName": "contact_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>contact_type_code", + "type": "varchar", + "length": 2, "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 representing the code of a role of a client’s contact.<\/p>" }, { "tableName": "submission_contact", @@ -1950,13 +1950,13 @@
The phone number of the client’s contact.<\/p>" + "comments": "
The first name of the client’s contact.<\/p>" }, { "tableName": "identification_type_code", @@ -1964,13 +1964,13 @@
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 description of the code value.<\/p>" }, { "tableName": "submission_contact", @@ -1978,13 +1978,13 @@
The email address of the client’s contact.<\/p>" + "comments": "
The last name of the client’s contact.<\/p>" }, { "tableName": "business_type_code", @@ -1992,13 +1992,13 @@
The date and time the record was created or last updated.<\/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": "province_code", @@ -2006,27 +2006,27 @@
The the display order of a province/state. If no value is provided, the application will order provinces/states alphabetically by default.<\/p>" + "comments": "
The user or proxy account that created the record.<\/p>" }, { - "tableName": "submission_status_code", - "tableFileName": "submission_status_code", + "tableName": "submission_contact", + "tableFileName": "submission_contact", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_status_code", + "keyClass": "", + "keyTitle": "", + "name": "secondary_phone_number", "type": "varchar", - "length": 5, - "nullable": "", + "length": 14, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
A code representing the status of a submission request.<\/p>" + "comments": "
A secondary phone number of the client’s contact.<\/p>" }, { "tableName": "district_code", @@ -2034,13 +2034,13 @@
The date and time the record was created.<\/p>" + "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_detail", @@ -2048,13 +2048,13 @@
The middle name of the client.<\/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_location", @@ -2062,13 +2062,13 @@
The fax number of a client’s specific location.<\/p>" + "comments": "
The phone number of a client’s specific location.<\/p>" }, { "tableName": "submission_detail", @@ -2076,13 +2076,13 @@
An indicator that determines whether a client is in good standing with respect to their financial obligations.<\/p>" + "comments": "
The name of the client.<\/p>" }, { "tableName": "flyway_schema_history", @@ -2090,10 +2090,10 @@
A code representing the code of a province, state, department or territory.<\/p>" }, { "tableName": "submission_status_code", @@ -2118,13 +2118,13 @@
The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "null", + "comments": "
The description of the code value.<\/p>" }, { "tableName": "contact_type_code", @@ -2132,41 +2132,41 @@
The date and time the record was created.<\/p>" + "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": "business_type_code", "tableFileName": "business_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>business_type_code", + "type": "varchar", + "length": 1, "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 business type of a client.<\/p>" }, { - "tableName": "submission_detail", - "tableFileName": "submission_detail", + "tableName": "business_type_code", + "tableFileName": "business_type_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>submission_id", - "type": "int4", - "length": 10, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "update_user", + "type": "varchar", + "length": 60, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
Incremental id generated for a submission of a client.<\/p>" + "comments": "
The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "email_log", @@ -2174,13 +2174,13 @@
Textual message describing any exceptions that occurred during email processing.<\/p>" + "comments": "
Identifier for the associated email assigned by CHES (if applicable).<\/p>" }, { "tableName": "province_code", @@ -2188,27 +2188,27 @@
The user or proxy account that created or last updated the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created or last updated.<\/p>" }, { - "tableName": "submission_location_contact_xref", - "tableFileName": "submission_location_contact_xref", + "tableName": "client_type_code", + "tableFileName": "client_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_location_id", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "create_user", + "type": "varchar", + "length": 60, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "
Incremental id generated for a location of a client.<\/p>" + "comments": "
The user or proxy account that created the record.<\/p>" }, { "tableName": "contact_type_code", @@ -2216,27 +2216,27 @@
The user or proxy account that created or last updated the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created or last updated.<\/p>" }, { - "tableName": "submission_location", - "tableFileName": "submission_location", + "tableName": "submission", + "tableFileName": "submission", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_location_id", - "type": "serial", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "create_user", + "type": "varchar", + "length": 60, "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 user or proxy account that created the record.<\/p>" }, { "tableName": "submission_type_code", @@ -2244,13 +2244,13 @@
The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created.<\/p>" }, { "tableName": "submission_matching_detail", @@ -2270,15 +2270,15 @@
The first name of the client’s contact.<\/p>" + "comments": "
Incremental id generated for a submission of a client.<\/p>" }, { "tableName": "submission_type_code", @@ -2286,69 +2286,69 @@
The user or proxy account that created or last updated the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "
The date and time the record was created or last updated.<\/p>" }, { - "tableName": "submission", - "tableFileName": "submission", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>submission_status_code", - "type": "varchar", - "length": 5, - "nullable": "√", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>success", + "type": "bool", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "
TBD.<\/p>" + "comments": "" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>identification_type_code", + "keyClass": "", + "keyTitle": "", + "name": "last_name", "type": "varchar", - "length": 4, + "length": 30, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
A code indicating the identification type of a client.<\/p>" + "comments": "
The last name of the client.<\/p>" }, { - "tableName": "country_code", - "tableFileName": "country_code", + "tableName": "contact_type_code", + "tableFileName": "contact_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>country_code", + "keyClass": "", + "keyTitle": "", + "name": "create_user", "type": "varchar", - "length": 2, + "length": 60, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "
A code representing the code of a country.<\/p>" + "comments": "
The user or proxy account that created the record.<\/p>" }, { - "tableName": "email_log", - "tableFileName": "email_log", + "tableName": "province_code", + "tableFileName": "province_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email_id", - "type": "varchar", - "length": 40, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "
Identifier for the associated email assigned by CHES (if applicable).<\/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_type_code", @@ -2356,13 +2356,13 @@
The date and time the record was created.<\/p>" + "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>" } ]; var config = { diff --git a/schema/nrfc/constraints.html b/schema/nrfc/constraints.html index 69abc18146..e9abf69819 100644 --- a/schema/nrfc/constraints.html +++ b/schema/nrfc/constraints.html @@ -140,54 +140,54 @@
submission_location_contact_xref.submission_contact_id | +submission_matching_detail.submission_id |
submission_contact.submission_contact_id | +submission.submission_id |
submission_location_contact_xref.submission_location_id | +submission_location_contact_xref.submission_contact_id |
submission_location.submission_location_id | +submission_contact.submission_contact_id |
submission_matching_detail.submission_id | +submission_location_contact_xref.submission_location_id |
submission.submission_id | +submission_location.submission_location_id |
| ||||
| ||||
| ||||
< 2 |
| ||||
| ||||
| ||||
< 2 |
| ||||
| ||||
| ||||
< 2 |
| ||||
| ||||
| ||||
< 2 |
| ||||
| ||||
| ||||
< 2 |
| ||||
| ||||
| ||||
< 2 |
| ||||
| ||||
| ||||
< 2 |
| ||||
| ||||
| ||||
< 2 |
A code indicating the type of a client. Examples include, but are not limited to: Corporation, Individual, Association, and others. |
||||||||||
submission_location_contact_xref | +submission_matching_detail | 0 | -2 | -2 | +1 | +9 | -1 | Table | -Identifies the multiple addresses for a given client, as well as the many contacts that may belong to a given address. |
+ The number of matches, if any, found in the legacy oracle database. These matches are determined through a combination of fuzzy search in specific fields and exact equality in others. |
submission_matching_detail | +submission_location_contact_xref | 0 | -1 | -9 | +2 | +2 | -1 | Table | -The number of matches, if any, found in the legacy oracle database. These matches are determined through a combination of fuzzy search in specific fields and exact equality in others. |
+ Identifies the multiple addresses for a given client, as well as the many contacts that may belong to a given address. |
flyway_schema_history | diff --git a/schema/nrfc/info-html.txt b/schema/nrfc/info-html.txt index f97d307606..3963e7d2c5 100644 --- a/schema/nrfc/info-html.txt +++ b/schema/nrfc/info-html.txt @@ -1,4 +1,4 @@ -date=2024-10-15 21:50:01+0000 +date=2024-10-16 16:11:58+0000 os=Linux 6.8.0-1015-azure schemaspy-version=6.2.4 schemaspy-build=6.2.4.41 2023-07-21 11:15:12 diff --git a/schema/nrfc/relationships.html b/schema/nrfc/relationships.html index b746c91c6e..7daf07adfd 100644 --- a/schema/nrfc/relationships.html +++ b/schema/nrfc/relationships.html @@ -100,9 +100,9 @@