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 @@

SchemaSpy Analysis of default

-

Generated on Tue Oct 15 21:50 GMT 2024

+

Generated on Wed Oct 16 16:12 GMT 2024

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

Columns

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

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "complementary_address_2", + "name": "notes", "type": "varchar", - "length": 40, + "length": 4000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "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>" + "comments": "

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

Columns

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

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 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "location_name", + "name": "city_name", "type": "varchar", - "length": 40, + "length": 30, "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 name of the city of the location.<\/p>" }, { "tableName": "identification_type_code", @@ -186,13 +172,13 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

Columns

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

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 @@

Columns

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

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 @@

Columns

"comments": "

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 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, + "name": "description", + "type": "varchar", + "length": 100, "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": "null", + "comments": "

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

Columns

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

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 @@

Columns

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

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

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "version", - "type": "varchar", - "length": 50, - "nullable": "√", + "name": "installed_on", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", + "defaultValue": "now()", "comments": "" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "country_code", + "tableFileName": "country_code", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>success", - "type": "bool", - "length": 1, + "keyClass": "", + "keyTitle": "", + "name": "create_user", + "type": "varchar", + "length": 60, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

"comments": "

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 @@

Columns

"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", - "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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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

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

Columns

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

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 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, + "name": "description", + "type": "varchar", + "length": 100, "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": "null", + "comments": "

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

Columns

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

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 @@

Columns

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

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 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, + "name": "description", + "type": "varchar", + "length": 100, "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": "null", + "comments": "

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "incorporation_number", + "name": "client_number", "type": "varchar", - "length": 13, + "length": 8, "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": "" }, { "tableName": "submission_status_code", @@ -1040,27 +1040,27 @@

Columns

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

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 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, + "name": "description", + "type": "varchar", + "length": 100, "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": "null", + "comments": "

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, + "name": "description", + "type": "varchar", + "length": 100, "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": "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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, + "name": "email_address", + "type": "varchar", + "length": 100, "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": "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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

"comments": "

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "type", + "name": "version", "type": "varchar", - "length": 20, - "nullable": "", + "length": 50, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -1458,15 +1458,15 @@

Columns

"tableName": "identification_type_code", "tableFileName": "identification_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>country_code", + "type": "varchar", + "length": 2, + "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": "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 @@

Columns

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

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 @@

Columns

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

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

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

Columns

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

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 @@

Columns

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "installed_by", + "name": "script", "type": "varchar", - "length": 100, + "length": 1000, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "province_code", - "tableFileName": "province_code", + "tableName": "submission_location", + "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>country_code", + "keyClass": "", + "keyTitle": "", + "name": "email_address", "type": "varchar", - "length": 2, - "nullable": "", + "length": 100, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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 @@

Columns

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

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 @@

Columns

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

Columns

"tableName": "submission_contact", "tableFileName": "submission_contact", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>contact_type_code", - "type": "varchar", - "length": 2, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_contact_id", + "type": "serial", + "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

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 @@

Columns

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

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 @@

Columns

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

A code representing the 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 @@

Columns

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

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 @@

Columns

"tableName": "submission_location", "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "street_address", - "type": "varchar", - "length": 40, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_location_id", + "type": "serial", + "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>business_type_code", - "type": "varchar", - "length": 1, + "name": "<\/i>submission_id", + "type": "int4", + "length": 10, "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": "

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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

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

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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

The name of the client.<\/p>" }, { "tableName": "flyway_schema_history", @@ -2090,10 +2090,10 @@

Columns

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

Columns

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

A code representing the code of a province, state, department or territory.<\/p>" }, { "tableName": "submission_status_code", @@ -2118,13 +2118,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "date", - "length": 13, + "name": "description", + "type": "varchar", + "length": 100, "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": "null", + "comments": "

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

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

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

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 @@

Columns

"tableName": "submission_contact", "tableFileName": "submission_contact", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "first_name", - "type": "varchar", - "length": 30, - "nullable": "√", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_id", + "type": "int4", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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 @@

Columns

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

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 @@

Columns

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

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 @@

17 Foreign Key Constraints

Restrict delete - submission_contact_id_fk + submission_id_fk - +
submission_location_contact_xref.submission_contact_idsubmission_matching_detail.submission_id
- +
submission_contact.submission_contact_idsubmission.submission_id
Restrict delete - submission_location_id_fk + submission_contact_id_fk - +
submission_location_contact_xref.submission_location_idsubmission_location_contact_xref.submission_contact_id
- +
submission_location.submission_location_idsubmission_contact.submission_contact_id
Restrict delete - submission_id_fk + submission_location_id_fk - +
submission_matching_detail.submission_idsubmission_location_contact_xref.submission_location_id
- +
submission.submission_idsubmission_location.submission_location_id
diff --git a/schema/nrfc/diagrams/summary/relationships.implied.compact.dot b/schema/nrfc/diagrams/summary/relationships.implied.compact.dot index a1fe71c9cc..07c0c38ca7 100644 --- a/schema/nrfc/diagrams/summary/relationships.implied.compact.dot +++ b/schema/nrfc/diagrams/summary/relationships.implied.compact.dot @@ -38,18 +38,6 @@ digraph "compactImpliedRelationshipsDiagram" { target="_top" tooltip="client_type_code" ]; - "submission_location_contact_xref" [ - label=< - - - - - -
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> - URL="tables/submission_location_contact_xref.html" - target="_top" - tooltip="submission_location_contact_xref" - ]; "submission_matching_detail" [ label=< @@ -63,6 +51,18 @@ digraph "compactImpliedRelationshipsDiagram" { target="_top" tooltip="submission_matching_detail" ]; + "submission_location_contact_xref" [ + label=< +
+ + + + +
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> + URL="tables/submission_location_contact_xref.html" + target="_top" + tooltip="submission_location_contact_xref" + ]; "submission" [ label=< diff --git a/schema/nrfc/diagrams/summary/relationships.implied.large.dot b/schema/nrfc/diagrams/summary/relationships.implied.large.dot index cece1a0cd3..92dfde483d 100644 --- a/schema/nrfc/diagrams/summary/relationships.implied.large.dot +++ b/schema/nrfc/diagrams/summary/relationships.implied.large.dot @@ -56,18 +56,6 @@ digraph "largeImpliedRelationshipsDiagram" { target="_top" tooltip="client_type_code" ]; - "submission_location_contact_xref" [ - label=< -
- - - - -
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> - URL="tables/submission_location_contact_xref.html" - target="_top" - tooltip="submission_location_contact_xref" - ]; "submission_matching_detail" [ label=< @@ -87,6 +75,18 @@ digraph "largeImpliedRelationshipsDiagram" { target="_top" tooltip="submission_matching_detail" ]; + "submission_location_contact_xref" [ + label=< +
+ + + + +
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> + URL="tables/submission_location_contact_xref.html" + target="_top" + tooltip="submission_location_contact_xref" + ]; "submission" [ label=< diff --git a/schema/nrfc/diagrams/summary/relationships.real.compact.dot b/schema/nrfc/diagrams/summary/relationships.real.compact.dot index acaf300422..0e86db0cd0 100644 --- a/schema/nrfc/diagrams/summary/relationships.real.compact.dot +++ b/schema/nrfc/diagrams/summary/relationships.real.compact.dot @@ -38,18 +38,6 @@ digraph "compactRelationshipsDiagram" { target="_top" tooltip="client_type_code" ]; - "submission_location_contact_xref" [ - label=< -
- - - - -
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> - URL="tables/submission_location_contact_xref.html" - target="_top" - tooltip="submission_location_contact_xref" - ]; "submission_matching_detail" [ label=< @@ -63,6 +51,18 @@ digraph "compactRelationshipsDiagram" { target="_top" tooltip="submission_matching_detail" ]; + "submission_location_contact_xref" [ + label=< +
+ + + + +
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> + URL="tables/submission_location_contact_xref.html" + target="_top" + tooltip="submission_location_contact_xref" + ]; "submission" [ label=< diff --git a/schema/nrfc/diagrams/summary/relationships.real.large.dot b/schema/nrfc/diagrams/summary/relationships.real.large.dot index 61e86b0572..fadd9d269e 100644 --- a/schema/nrfc/diagrams/summary/relationships.real.large.dot +++ b/schema/nrfc/diagrams/summary/relationships.real.large.dot @@ -56,18 +56,6 @@ digraph "largeRelationshipsDiagram" { target="_top" tooltip="client_type_code" ]; - "submission_location_contact_xref" [ - label=< -
- - - - -
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> - URL="tables/submission_location_contact_xref.html" - target="_top" - tooltip="submission_location_contact_xref" - ]; "submission_matching_detail" [ label=< @@ -87,6 +75,18 @@ digraph "largeRelationshipsDiagram" { target="_top" tooltip="submission_matching_detail" ]; + "submission_location_contact_xref" [ + label=< +
+ + + + +
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> + URL="tables/submission_location_contact_xref.html" + target="_top" + tooltip="submission_location_contact_xref" + ]; "submission" [ label=< diff --git a/schema/nrfc/index.html b/schema/nrfc/index.html index 218a3af821..ab9e1b416c 100644 --- a/schema/nrfc/index.html +++ b/schema/nrfc/index.html @@ -78,7 +78,7 @@

Tables


SchemaSpy Analysis of default.nrfc

-

Generated on Tue Oct 15 21:50 GMT 2024

+

Generated on Wed Oct 16 16:11 GMT 2024

@@ -224,22 +224,22 @@

Tables

- + - - + + - + - + - - + + - + 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 @@
By default only columns that are primary keys, foreign keys or indexes are s - + + - @@ -120,9 +120,9 @@
By default only columns that are primary keys, foreign keys or indexes are s - + + - @@ -140,9 +140,9 @@
By default only columns that are primary keys, foreign keys or indexes are s - + + - @@ -160,9 +160,9 @@
By default only columns that are primary keys, foreign keys or indexes are s - + + -

A code indicating the type of a client. Examples include, but are not limited to: Corporation, Individual, Association, and others.

submission_location_contact_xrefsubmission_matching_detail 02219 -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_detailsubmission_location_contact_xref 01922 -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