-- *********************************************************************
-- Update Database Script
-- *********************************************************************
-- Change Log: src/main/db_resources/changelog/db.rebuild.xml
-- Ran at: 8/25/23, 8:31 AM
-- Against: meveo@offline:postgresql?outputLiquibaseSql=true
-- Liquibase version: 3.8.0
-- *********************************************************************

CREATE TABLE databasechangelog (ID VARCHAR(255) NOT NULL, AUTHOR VARCHAR(255) NOT NULL, FILENAME VARCHAR(255) NOT NULL, DATEEXECUTED TIMESTAMP WITHOUT TIME ZONE NOT NULL, ORDEREXECUTED INTEGER NOT NULL, EXECTYPE VARCHAR(10) NOT NULL, MD5SUM VARCHAR(35), DESCRIPTION VARCHAR(255), COMMENTS VARCHAR(255), TAG VARCHAR(255), LIQUIBASE VARCHAR(20), CONTEXTS VARCHAR(255), LABELS VARCHAR(255), DEPLOYMENT_ID VARCHAR(10));

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild_pg_operators::AndriusKarpavicius
CREATE OPERATOR ^|(
			  PROCEDURE = jsonb_exists_any,
			  LEFTARG = jsonb,
			  RIGHTARG = _text,
			  RESTRICT = contsel,
			  JOIN = contjoinsel);

CREATE OPERATOR CLASS jsonb_ops_custom
			   FOR TYPE jsonb USING gin AS
			   OPERATOR 10  ^|(jsonb, _text),
			   FUNCTION 1  gin_compare_jsonb(text, text),
			   FUNCTION 2  gin_extract_jsonb(jsonb, internal, internal),
			   FUNCTION 3  gin_extract_jsonb_query(jsonb, internal, smallint, internal, internal, internal, internal),
			   FUNCTION 4  gin_consistent_jsonb(internal, smallint, jsonb, integer, internal, internal, internal, internal),
			   FUNCTION 6  gin_triconsistent_jsonb(internal, smallint, jsonb, integer, internal, internal, internal);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild_pg_operators', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1, '8:fb60477d9dddf9c63dc362bfe5a0d35b', 'sql; sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild_pg_extension::MohamedSTITANE
create extension "uuid-ossp";

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild_pg_extension', 'MohamedSTITANE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3, '8:e01559fe8d32c67cebe0e34c32f071a3', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-seq-1::AndriusKarpavicius
CREATE SEQUENCE meveo_script_instance_cat_seq;

CREATE SEQUENCE crm_customer_sequence_seq;

CREATE SEQUENCE ar_payment_schedule_tmpl_seq;

CREATE SEQUENCE ar_payment_schedule_inst_seq;

CREATE SEQUENCE ar_payment_schedule_inst_item_seq;

CREATE SEQUENCE ar_ddrequest_builder_seq;

CREATE SEQUENCE bill_seq_invoice_seq;

CREATE SEQUENCE adm_gdpr_configuration_seq START WITH 1;

CREATE SEQUENCE dwh_report_extract_execution_seq;

CREATE SEQUENCE billing_finance_segment_seq;

CREATE SEQUENCE crm_address_book_seq;

CREATE SEQUENCE com_communication_entity_seq;

CREATE SEQUENCE crm_additional_details_seq;

CREATE SEQUENCE ord_order_history_seq;

CREATE SEQUENCE billing_accounting_code_seq;

CREATE SEQUENCE account_entity_seq;

CREATE SEQUENCE adm_country_seq START WITH 238;

CREATE SEQUENCE adm_currency_seq START WITH 169;

CREATE SEQUENCE adm_inbound_request_seq;

CREATE SEQUENCE adm_input_history_seq;

CREATE SEQUENCE adm_language_seq START WITH 34;

CREATE SEQUENCE adm_notif_history_seq;

CREATE SEQUENCE adm_notification_seq;

CREATE SEQUENCE adm_role_seq START WITH 5;

CREATE SEQUENCE adm_secured_entity_seq START WITH 1;

CREATE SEQUENCE adm_title_seq START WITH 38;

CREATE SEQUENCE adm_user_seq START WITH 3;

CREATE SEQUENCE ar_account_operation_seq;

CREATE SEQUENCE ar_action_dunning_seq;

CREATE SEQUENCE ar_bank_operation_seq;

CREATE SEQUENCE ar_ddrequest_item_seq;

CREATE SEQUENCE ar_ddrequest_lot_op_seq;

CREATE SEQUENCE ar_ddrequest_lot_seq;

CREATE SEQUENCE ar_due_date_seq;

CREATE SEQUENCE ar_dunning_lot_seq;

CREATE SEQUENCE ar_matching_amount_seq;

CREATE SEQUENCE ar_matching_code_seq;

CREATE SEQUENCE ar_occ_template_seq START WITH 26;

CREATE SEQUENCE bi_job_history_seq;

CREATE SEQUENCE bi_job_seq;

CREATE SEQUENCE bi_report_seq;

CREATE SEQUENCE billing_billing_run_list_seq;

CREATE SEQUENCE billing_billing_run_seq;

CREATE SEQUENCE billing_charge_instance_seq;

CREATE SEQUENCE billing_counter_instance_seq;

CREATE SEQUENCE billing_counter_period_seq;

CREATE SEQUENCE billing_cycle_seq START WITH 3;

CREATE SEQUENCE billing_disc_inst_seq;

CREATE SEQUENCE billing_discount_language_seq;

CREATE SEQUENCE billing_discount_seq;

CREATE SEQUENCE billing_inv_sub_cat_country_seq START WITH 5;

CREATE SEQUENCE billing_invoice_agregate_seq;

CREATE SEQUENCE billing_invoice_cat_lang_seq;

CREATE SEQUENCE billing_invoice_cat_seq START WITH 3;

CREATE SEQUENCE billing_invoice_seq;

CREATE SEQUENCE billing_invoice_sub_cat_seq START WITH 3;

CREATE SEQUENCE billing_invoice_template_seq;

CREATE SEQUENCE billing_rated_transaction_seq INCREMENT BY 5000;

CREATE SEQUENCE billing_rejected_ba_seq;

CREATE SEQUENCE billing_reservation_seq;

CREATE SEQUENCE billing_service_instance_seq;

CREATE SEQUENCE billing_sub_term_reason_seq START WITH 4;

CREATE SEQUENCE billing_subscription_seq;

CREATE SEQUENCE billing_tax_language_seq;

CREATE SEQUENCE billing_tax_seq START WITH 4;

CREATE SEQUENCE billing_trading_country_seq START WITH 3;

CREATE SEQUENCE billing_trading_currency_seq START WITH 3;

CREATE SEQUENCE billing_trading_language_seq START WITH 3;

CREATE SEQUENCE billing_wallet_operation_seq INCREMENT BY 5000;

CREATE SEQUENCE billing_wallet_seq;

CREATE SEQUENCE cat_calendar_interval_seq;

CREATE SEQUENCE cat_calendar_seq START WITH 4;

CREATE SEQUENCE cat_charge_template_seq;

CREATE SEQUENCE cat_counter_template_seq;

CREATE SEQUENCE cat_day_in_year_seq START WITH 367;

CREATE SEQUENCE cat_discount_plan_item_seq;

CREATE SEQUENCE cat_discount_plan_seq;

CREATE SEQUENCE cat_hour_in_day_seq;

CREATE SEQUENCE cat_offer_template_seq;

CREATE SEQUENCE cat_price_plan_matrix_seq;

CREATE SEQUENCE cat_serv_recchrg_templt_seq;

CREATE SEQUENCE cat_serv_subchrg_templt_seq;

CREATE SEQUENCE cat_serv_trmchrg_templt_seq;

CREATE SEQUENCE cat_serv_usagechrg_templt_seq;

CREATE SEQUENCE cat_service_template_seq;

CREATE SEQUENCE cat_triggered_edr_seq;

CREATE SEQUENCE cat_unit_of_measure_seq;

CREATE SEQUENCE cat_wallet_template_seq;

CREATE SEQUENCE com_campaign_seq;

CREATE SEQUENCE com_contact_coords_seq;

CREATE SEQUENCE com_contact_seq;

CREATE SEQUENCE com_message_seq;

CREATE SEQUENCE com_msg_tmpl_seq;

CREATE SEQUENCE com_msg_tmpl_var_seq;

CREATE SEQUENCE com_msg_var_val_seq;

CREATE SEQUENCE com_prov_pol_seq;

CREATE SEQUENCE com_sndr_conf_seq;

CREATE SEQUENCE crm_custom_fld_tmp_seq;

CREATE SEQUENCE crm_customer_brand_seq START WITH 2;

CREATE SEQUENCE crm_customer_category_seq START WITH 3;

CREATE SEQUENCE crm_email_seq;

CREATE SEQUENCE crm_provider_contact_seq START WITH 2;

CREATE SEQUENCE crm_provider_seq START WITH 2;

CREATE SEQUENCE crm_seller_seq START WITH 4;

CREATE SEQUENCE dwh_account_operation_seq;

CREATE SEQUENCE dwh_journal_entries_seq;

CREATE SEQUENCE dwh_measurable_quant_seq;

CREATE SEQUENCE dwh_measured_value_seq;

CREATE SEQUENCE job_execution_seq;

CREATE SEQUENCE medina_access_seq;

CREATE SEQUENCE meveo_timer_seq START WITH 2;

CREATE SEQUENCE rating_edr_seq INCREMENT BY 5000;

CREATE SEQUENCE rm_service_param_template_seq;

CREATE SEQUENCE billing_invoice_configuration_seq START WITH 2;

CREATE SEQUENCE ar_credit_category_seq START WITH 6;

CREATE SEQUENCE com_meveo_instance_seq;

CREATE SEQUENCE meveo_job_instance_seq START WITH 12;

CREATE SEQUENCE meveo_script_instance_seq;

CREATE SEQUENCE meveo_filter_condition_seq START WITH 1;

CREATE SEQUENCE meveo_filter_order_condition_seq START WITH 1;

CREATE SEQUENCE meveo_primitive_filter_condition_seq START WITH 1;

CREATE SEQUENCE meveo_native_filter_condition_seq START WITH 1;

CREATE SEQUENCE meveo_filter_selector_seq START WITH 1;

CREATE SEQUENCE meveo_filter_seq START WITH 1;

CREATE SEQUENCE cust_cet_seq;

CREATE SEQUENCE cust_cei_seq;

CREATE SEQUENCE meveo_module_seq START WITH 1;

CREATE SEQUENCE meveo_module_item_seq START WITH 1;

CREATE SEQUENCE ftp_transferred_file_seq START WITH 1;

CREATE SEQUENCE cat_offer_template_category_seq;

CREATE SEQUENCE cat_offer_serv_templt_seq;

CREATE SEQUENCE ar_revenue_recog_rule_seq;

CREATE SEQUENCE ar_revenue_schedule_seq;

CREATE SEQUENCE crm_custom_action_seq;

CREATE SEQUENCE billing_invoice_type_seq START WITH 3;

CREATE SEQUENCE ord_order_item_seq;

CREATE SEQUENCE billing_product_chrg_inst_seq;

CREATE SEQUENCE billing_product_instance_seq;

CREATE SEQUENCE cat_bundle_product_template_seq;

CREATE SEQUENCE cat_digital_resource_seq;

CREATE SEQUENCE wf_action_seq;

CREATE SEQUENCE wf_transition_seq;

CREATE SEQUENCE wf_workflow_seq;

CREATE SEQUENCE cat_channel_seq;

CREATE SEQUENCE cat_offer_product_template_seq;

CREATE SEQUENCE ord_order_seq;

CREATE SEQUENCE hierarchy_entity_seq;

CREATE SEQUENCE ord_quote_seq;

CREATE SEQUENCE ord_quote_item_seq;

CREATE SEQUENCE wf_decision_rule_seq START WITH 10;

CREATE SEQUENCE wf_history_seq;

CREATE SEQUENCE wf_history_action_seq;

CREATE SEQUENCE ord_item_offerings_seq;

CREATE SEQUENCE ord_quot_item_offerings_seq;

CREATE SEQUENCE bill_seq_it_sell_seq;

CREATE SEQUENCE audit_log_seq;

CREATE SEQUENCE ar_payment_token_seq;

CREATE SEQUENCE dwh_chart_seq;

CREATE SEQUENCE ar_payment_gateway_seq;

CREATE SEQUENCE ar_payment_history_seq;

CREATE SEQUENCE dwh_report_extract_seq;

CREATE SEQUENCE cat_calendar_holiday_seq;

CREATE SEQUENCE billing_discount_plan_instance_seq;

CREATE SEQUENCE ar_payment_gateway_rum_sequence_seq;

CREATE SEQUENCE audit_field_changes_history_seq START WITH 1;

CREATE SEQUENCE billing_general_ledger_seq;

CREATE SEQUENCE ar_other_transaction_seq;

CREATE SEQUENCE ar_payment_ventilation_seq;

CREATE SEQUENCE wf_generic_workflow_seq;

CREATE SEQUENCE wf_status_seq;

CREATE SEQUENCE wf_instance_seq;

CREATE SEQUENCE wf_instance_history_seq;

CREATE SEQUENCE dunning_document_seq;

CREATE SEQUENCE wf_generic_transition_seq;

CREATE SEQUENCE adm_custom_generic_entity_code_seq START WITH 3;

CREATE SEQUENCE cpq_price_plan_version_seq;

CREATE SEQUENCE cpq_price_plan_matrix_item_seq;

CREATE SEQUENCE cpq_quote_version_seq;

CREATE SEQUENCE cpq_quote_product_seq;

CREATE SEQUENCE cpq_quote_lot_seq;

CREATE SEQUENCE cpq_contract_seq;

CREATE SEQUENCE cpq_contract_item_seq;

CREATE SEQUENCE adm_file_format_seq START WITH 1;

CREATE SEQUENCE flat_file_seq START WITH 1;

CREATE SEQUENCE ar_accounting_writing_seq;

CREATE SEQUENCE adm_file_type_seq;

CREATE SEQUENCE rating_cdr_seq INCREMENT BY 5000;

CREATE SEQUENCE billing_tax_category_seq START WITH 1;

CREATE SEQUENCE billing_tax_class_seq START WITH 1;

CREATE SEQUENCE billing_tax_mapping_seq START WITH 1;

CREATE SEQUENCE cat_fixed_date_seq;

CREATE SEQUENCE wo_aggregation_line_seq START WITH 1;

CREATE SEQUENCE wo_aggregation_matrix_seq START WITH 1;

CREATE SEQUENCE document_seq START WITH 1;

CREATE SEQUENCE document_category_seq START WITH 1;

CREATE SEQUENCE job_execution_error_seq START WITH 1;

CREATE SEQUENCE bi_data_collector_seq START WITH 1;

CREATE SEQUENCE wf_generic_action_seq START WITH 1;

CREATE SEQUENCE meveo_metrics_config_seq;

CREATE SEQUENCE cpq_product_seq;

CREATE SEQUENCE cpq_product_line_seq;

CREATE SEQUENCE cpq_product_version_seq;

CREATE SEQUENCE cpq_tag_seq;

CREATE SEQUENCE cpq_tag_filter_seq;

CREATE SEQUENCE cpq_tag_type_seq;

CREATE SEQUENCE cpq_media_seq;

CREATE SEQUENCE cpq_offer_component_seq;

CREATE SEQUENCE cpq_commercial_rule_header_seq;

CREATE SEQUENCE cpq_commercial_rule_item_seq;

CREATE SEQUENCE cpq_commercial_rule_line_seq;

CREATE SEQUENCE cpq_grouped_service_seq;

CREATE SEQUENCE cpq_product_mapping_seq;

CREATE SEQUENCE cpq_quote_article_line_seq;

CREATE SEQUENCE quote_offer_seq;

CREATE SEQUENCE cpq_attribute_seq;

CREATE SEQUENCE cpq_grouped_attributes_seq;

CREATE SEQUENCE cpq_quote_seq;

CREATE SEQUENCE cpq_quote_price_seq START WITH 1;

CREATE SEQUENCE cpq_quote_attribute_seq;

CREATE SEQUENCE billing_accounting_article_seq START WITH 1;

CREATE SEQUENCE billing_article_family_seq START WITH 1;

CREATE SEQUENCE billing_article_mapping_seq START WITH 1;

CREATE SEQUENCE billing_article_mapping_line_seq START WITH 1;

CREATE SEQUENCE billing_attribute_mapping_seq START WITH 1;

CREATE SEQUENCE cpq_commercial_order_seq;

CREATE SEQUENCE cpq_order_type_seq;

CREATE SEQUENCE cpq_order_item_seq;

CREATE SEQUENCE cpq_order_product_seq;

CREATE SEQUENCE cpq_order_lot_seq;

CREATE SEQUENCE cpq_order_offer_seq;

CREATE SEQUENCE order_article_line_seq;

CREATE SEQUENCE cpq_order_invoice_seq;

CREATE SEQUENCE billing_invoice_line_seq;

CREATE SEQUENCE cpq_invoicing_plan_seq;

CREATE SEQUENCE cpq_invoicing_plan_item_seq;

CREATE SEQUENCE order_price_seq START WITH 1;

CREATE SEQUENCE cpq_price_plan_matrix_column_sq START WITH 1;

CREATE SEQUENCE cpq_price_plan_matrix_value_sq START WITH 1;

CREATE SEQUENCE cpq_price_plan_matrix_line_sq START WITH 1;

CREATE SEQUENCE cpq_product_charge_template_mapping_seq START WITH 1;

CREATE SEQUENCE cpq_attribute_instance_seq;

CREATE SEQUENCE cpq_product_version_attribute_seq START WITH 1;

CREATE SEQUENCE discount_plan_sequence_seq START WITH 1;

CREATE SEQUENCE report_query_seq START WITH 1;

CREATE SEQUENCE query_scheduler_seq START WITH 1;

CREATE SEQUENCE query_result_seq START WITH 1;

CREATE SEQUENCE query_execution_result_seq START WITH 1;

CREATE SEQUENCE dunning_settings_seq START WITH 1;

CREATE SEQUENCE dunning_pause_reasons_seq START WITH 1;

CREATE SEQUENCE dunning_stop_reasons_seq START WITH 1;

CREATE SEQUENCE dunning_collection_plan_statuses_seq START WITH 1;

CREATE SEQUENCE dunning_agent_seq START WITH 1;

CREATE SEQUENCE dunning_payment_retries_seq START WITH 1;

CREATE SEQUENCE journal_seq START WITH 1;

CREATE SEQUENCE ar_dunning_action_seq START WITH 1;

CREATE SEQUENCE dunning_policy_level_seq START WITH 1;

CREATE SEQUENCE dunning_policy_seq START WITH 1;

CREATE SEQUENCE dunning_policy_rule_seq START WITH 1;

CREATE SEQUENCE dunning_policy_rule_line_seq START WITH 1;

CREATE SEQUENCE dunning_level_seq START WITH 1;

CREATE SEQUENCE offer_template_attribute_seq START WITH 1;

CREATE SEQUENCE collection_plan_status_seq START WITH 1;

CREATE SEQUENCE sub_accounting_period_seq START WITH 1;

CREATE SEQUENCE accounting_period_seq START WITH 1;

CREATE SEQUENCE dunning_collection_plan_seq START WITH 1;

CREATE SEQUENCE dunning_level_instance_seq START WITH 1;

CREATE SEQUENCE dunning_action_instance_seq START WITH 1;

CREATE SEQUENCE finance_settings_seq START WITH 1;

CREATE SEQUENCE security_deposit_templat_seq START WITH 1;

CREATE SEQUENCE security_deposit_seq START WITH 1;

CREATE SEQUENCE security_deposit_transaction_seq START WITH 1;

CREATE SEQUENCE exchange_rate_seq START WITH 1;

CREATE SEQUENCE ar_accounting_scheme_seq START WITH 1;

CREATE SEQUENCE open_order_setting_seq START WITH 1;

CREATE SEQUENCE cpq_order_amendement_seq START WITH 1;

CREATE SEQUENCE open_order_threshold_seq START WITH 1;

CREATE SEQUENCE open_order_template_seq START WITH 1;

CREATE SEQUENCE accounting_journal_entry_seq START WITH 1;

CREATE SEQUENCE accounting_accountingcode_mapping_seq START WITH 1;

CREATE SEQUENCE global_settings_seq START WITH 1;

CREATE SEQUENCE account_operation_number_seq START WITH 1;

CREATE SEQUENCE ar_payment_plan_seq START WITH 1;

CREATE SEQUENCE open_order_quote_seq;

CREATE SEQUENCE invoice_sub_totals_seq START WITH 1;

CREATE SEQUENCE open_order_article_seq;

CREATE SEQUENCE open_order_product_seq;

CREATE SEQUENCE open_order_seq;

CREATE SEQUENCE cpq_billing_rule_seq START WITH 1;

CREATE SEQUENCE meveo_script_parameter_seq;

CREATE SEQUENCE crm_address_book_contact_seq START WITH 1;

CREATE SEQUENCE cpq_trading_price_plan_version_seq START WITH 1;

CREATE SEQUENCE cpq_trading_price_plan_matrix_line_sq START WITH 1;

CREATE SEQUENCE ar_unmatching_code_seq START WITH 1;

CREATE SEQUENCE ar_unmatching_amount_seq START WITH 1;

CREATE SEQUENCE cat_price_list_seq START WITH 1;

CREATE SEQUENCE cat_trading_discount_plan_item_seq START WITH 1;

CREATE SEQUENCE cat_price_list_line_seq START WITH 1;

CREATE SEQUENCE cpq_trading_contract_item_seq START WITH 1;

CREATE SEQUENCE audit_data_log_seq START WITH 1;

CREATE SEQUENCE audit_data_log_rec_seq START WITH 1 INCREMENT BY 1000;

CREATE SEQUENCE audit_data_config_seq START WITH 1;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-seq-1', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 5, '8:aeabccea4fff0cb7cb14eccfa054c199', 'createSequence sequenceName=meveo_script_instance_cat_seq; createSequence sequenceName=crm_customer_sequence_seq; createSequence sequenceName=ar_payment_schedule_tmpl_seq; createSequence sequenceName=ar_payment_schedule_inst_seq; createSequence se...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-115::AndriusKarpavicius
CREATE TABLE adm_country (id BIGINT NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, version INTEGER, country_code VARCHAR(10), description VARCHAR(100), creator VARCHAR(100), updater VARCHAR(100), currency_id BIGINT, language_id BIGINT, description_i18n JSONB, CONSTRAINT adm_country_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-115', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 7, '8:c8b27fc08a2e89eadeadce6380803c38', 'createTable tableName=adm_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-116::AndriusKarpavicius
CREATE TABLE adm_currency (id BIGINT NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, version INTEGER, currency_code VARCHAR(3) NOT NULL, symbol VARCHAR(255), description_en VARCHAR(255) NOT NULL, system_currency INTEGER, creator VARCHAR(100), updater VARCHAR(100), description_i18n JSONB, CONSTRAINT adm_currency_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-116', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 9, '8:ff1c6817cdcf7be61e9378d68119d4e3', 'createTable tableName=adm_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-117::AndriusKarpavicius
CREATE TABLE adm_inbound_req_cookies (inboundrequest_id BIGINT NOT NULL, coockies VARCHAR(500), coockies_key VARCHAR(500) NOT NULL);

ALTER TABLE adm_inbound_req_cookies ADD CONSTRAINT adm_inbound_req_cookies_pkey PRIMARY KEY (inboundrequest_id, coockies_key);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-117', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 11, '8:cbc5256aeb317a6be1870d80cff026ac', 'createTable tableName=adm_inbound_req_cookies; addPrimaryKey constraintName=adm_inbound_req_cookies_pkey, tableName=adm_inbound_req_cookies', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-118::AndriusKarpavicius
CREATE TABLE adm_inbound_req_headers (inboundrequest_id BIGINT NOT NULL, headers TEXT, headers_key VARCHAR(255) NOT NULL);

ALTER TABLE adm_inbound_req_headers ADD CONSTRAINT adm_inbound_req_headers_pkey PRIMARY KEY (inboundrequest_id, headers_key);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-118', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 13, '8:e22a57106fe59621b4b7ed5d0387503a', 'createTable tableName=adm_inbound_req_headers; addPrimaryKey constraintName=adm_inbound_req_headers_pkey, tableName=adm_inbound_req_headers', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-119::AndriusKarpavicius
CREATE TABLE adm_inbound_req_params (inboundrequest_id BIGINT NOT NULL, parameters VARCHAR(255), parameters_key VARCHAR(255) NOT NULL);

ALTER TABLE adm_inbound_req_params ADD CONSTRAINT adm_inbound_req_params_pkey PRIMARY KEY (inboundrequest_id, parameters_key);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-119', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 15, '8:210790d7f4083351cbae1a31e9d5920c', 'createTable tableName=adm_inbound_req_params; addPrimaryKey constraintName=adm_inbound_req_params_pkey, tableName=adm_inbound_req_params', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-120::AndriusKarpavicius
CREATE TABLE adm_inbound_request (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), auth_type VARCHAR(11), content_length INTEGER, content_type VARCHAR(255), method VARCHAR(10), path_info VARCHAR(255), protocol VARCHAR(20), remote_adrr VARCHAR(255), remote_port INTEGER, request_uri VARCHAR(255), resp_content_type VARCHAR(255), resp_encoding VARCHAR(50), scheme VARCHAR(20), creator VARCHAR(100), updater VARCHAR(100), body TEXT, resp_status INTEGER, CONSTRAINT adm_inbound_request_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-120', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 17, '8:d8f2a228f2d364ded2da003a0491cd66', 'createTable tableName=adm_inbound_request', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-121::AndriusKarpavicius
CREATE TABLE adm_inbound_resp_cookies (inboundrequest_id BIGINT NOT NULL, responsecoockies VARCHAR(255), responsecoockies_key VARCHAR(255) NOT NULL);

ALTER TABLE adm_inbound_resp_cookies ADD CONSTRAINT adm_inbound_resp_cookies_pkey PRIMARY KEY (inboundrequest_id, responsecoockies_key);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-121', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 19, '8:96f7b5314849e0263cc3d2806ead9b3b', 'createTable tableName=adm_inbound_resp_cookies; addPrimaryKey constraintName=adm_inbound_resp_cookies_pkey, tableName=adm_inbound_resp_cookies', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-122::AndriusKarpavicius
CREATE TABLE adm_inbound_resp_headers (inboundrequest_id BIGINT NOT NULL, responseheaders VARCHAR(255), responseheaders_key VARCHAR(255) NOT NULL);

ALTER TABLE adm_inbound_resp_headers ADD CONSTRAINT adm_inbound_resp_headers_pkey PRIMARY KEY (inboundrequest_id, responseheaders_key);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-122', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 21, '8:0a533d34f60f403dcad7a2fd5612c78a', 'createTable tableName=adm_inbound_resp_headers; addPrimaryKey constraintName=adm_inbound_resp_headers_pkey, tableName=adm_inbound_resp_headers', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-123::AndriusKarpavicius
CREATE TABLE adm_input_history (input_type VARCHAR(31) NOT NULL, id BIGINT NOT NULL, version INTEGER, end_date TIMESTAMP WITHOUT TIME ZONE, start_date TIMESTAMP WITHOUT TIME ZONE, ignored_tickets INTEGER, name VARCHAR(255), parsed_tickets INTEGER, rejected_tickets INTEGER, succeeded_tickets INTEGER, CONSTRAINT adm_input_history_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-123', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 23, '8:33c94a7f3130baa55cf7e20150a36ee0', 'createTable tableName=adm_input_history', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-124::AndriusKarpavicius
CREATE TABLE adm_language (id BIGINT NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, version INTEGER, description_en VARCHAR(100) NOT NULL, language_code VARCHAR(3) NOT NULL, creator VARCHAR(100), updater VARCHAR(100), description_i18n JSONB, CONSTRAINT adm_language_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-124', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 25, '8:eba5a401ad135efab0e6d9951aa95a08', 'createTable tableName=adm_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-126::AndriusKarpavicius
CREATE TABLE adm_notif_email (email_from VARCHAR(1000), email_to_el VARCHAR(2000), id BIGINT NOT NULL, email_template_id BIGINT, CONSTRAINT adm_notif_email_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-126', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 27, '8:7fa66ad47de93967cf89e79aff731234', 'createTable tableName=adm_notif_email', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-127::AndriusKarpavicius
CREATE TABLE adm_notif_email_attach (emailnotification_id BIGINT NOT NULL, attachmentexpressions VARCHAR(255));

ALTER TABLE adm_notif_email_attach ADD CONSTRAINT adm_notif_email_attach_pkey PRIMARY KEY (emailnotification_id, attachmentexpressions);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-127', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 29, '8:53d2c5f756b89a87e6bcefb3b47e9d24', 'createTable tableName=adm_notif_email_attach; addPrimaryKey constraintName=adm_notif_email_attach_pkey, tableName=adm_notif_email_attach', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-128::AndriusKarpavicius
CREATE TABLE adm_notif_email_list (emailnotification_id BIGINT NOT NULL, emails VARCHAR(255));

ALTER TABLE adm_notif_email_list ADD CONSTRAINT adm_notif_email_list_pkey PRIMARY KEY (emailnotification_id, emails);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-128', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 31, '8:a808e6ba3d821fa3326c6c11ea86189b', 'createTable tableName=adm_notif_email_list; addPrimaryKey constraintName=adm_notif_email_list_pkey, tableName=adm_notif_email_list', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-129::AndriusKarpavicius
CREATE TABLE adm_notif_email_user (emailnotification_id BIGINT NOT NULL, users_id BIGINT NOT NULL);

ALTER TABLE adm_notif_email_user ADD CONSTRAINT adm_notif_email_user_pkey PRIMARY KEY (emailnotification_id, users_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-129', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 33, '8:c9820622425e25119ab9a3c82f3db78b', 'createTable tableName=adm_notif_email_user; addPrimaryKey constraintName=adm_notif_email_user_pkey, tableName=adm_notif_email_user', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-130::AndriusKarpavicius
CREATE TABLE adm_notif_history (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, entity_classname VARCHAR(255) NOT NULL, entity_code VARCHAR(35), nb_retry INTEGER, result VARCHAR(1000), serialized_entity TEXT, status VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), inbound_request_id BIGINT, notification_id BIGINT NOT NULL, CONSTRAINT adm_notif_history_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-130', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 35, '8:412c78c059892782e6e334bf46c0087e', 'createTable tableName=adm_notif_history', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-131::AndriusKarpavicius
CREATE TABLE adm_notif_im (id_expression VARCHAR(2000), im_provider INTEGER NOT NULL, message VARCHAR(2000) NOT NULL, id BIGINT NOT NULL, CONSTRAINT adm_notif_im_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-131', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 37, '8:6f3fc7eb1adabf38db7bbb925a9d4594', 'createTable tableName=adm_notif_im', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-132::AndriusKarpavicius
CREATE TABLE adm_notif_im_list (instantmessagingnotification_id BIGINT NOT NULL, ids VARCHAR(255));

ALTER TABLE adm_notif_im_list ADD CONSTRAINT adm_notif_im_list_pkey PRIMARY KEY (instantmessagingnotification_id, ids);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-132', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 39, '8:59b2315501d0b927c677633676448f9e', 'createTable tableName=adm_notif_im_list; addPrimaryKey constraintName=adm_notif_im_list_pkey, tableName=adm_notif_im_list', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-133::AndriusKarpavicius
CREATE TABLE adm_notif_im_user (instantmessagingnotification_id BIGINT NOT NULL, users_id BIGINT NOT NULL);

ALTER TABLE adm_notif_im_user ADD CONSTRAINT adm_notif_im_user_pkey PRIMARY KEY (instantmessagingnotification_id, users_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-133', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 41, '8:68e672badd754fa3f8d914308dd4c4ba', 'createTable tableName=adm_notif_im_user; addPrimaryKey constraintName=adm_notif_im_user_pkey, tableName=adm_notif_im_user', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-134::AndriusKarpavicius
CREATE TABLE adm_notif_webhook_header (webhook_id BIGINT NOT NULL, headers TEXT, headers_key VARCHAR(255) NOT NULL);

ALTER TABLE adm_notif_webhook_header ADD CONSTRAINT adm_notif_webhook_header_pkey PRIMARY KEY (webhook_id, headers_key);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-134', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 43, '8:25fb5e880e36d6ba5b5b02346d1785f6', 'createTable tableName=adm_notif_webhook_header; addPrimaryKey constraintName=adm_notif_webhook_header_pkey, tableName=adm_notif_webhook_header', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-135::AndriusKarpavicius
CREATE TABLE adm_notif_webhook_param (webhook_id BIGINT NOT NULL, webhookparams VARCHAR(255), webhookparams_key VARCHAR(255) NOT NULL);

ALTER TABLE adm_notif_webhook_param ADD CONSTRAINT adm_notif_webhookparam_pkey PRIMARY KEY (webhook_id, webhookparams_key);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-135', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 45, '8:f32dba9a78fbcb50a9a808f2f984004d', 'createTable tableName=adm_notif_webhook_param; addPrimaryKey constraintName=adm_notif_webhookparam_pkey, tableName=adm_notif_webhook_param', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-136::AndriusKarpavicius
CREATE TABLE adm_notif_webhooks (http_host VARCHAR(255) NOT NULL, http_method VARCHAR(255) NOT NULL, http_page VARCHAR(255) NOT NULL, http_protocol VARCHAR(10) NOT NULL, pswd VARCHAR(255), http_port INTEGER, username VARCHAR(255), id BIGINT NOT NULL, body_el VARCHAR(2000), CONSTRAINT adm_notif_webhooks_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-136', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 47, '8:8f81f63eb1729663246f6ee4d6e75f24', 'createTable tableName=adm_notif_webhooks', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-137::AndriusKarpavicius
CREATE TABLE adm_notification (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), class_name_filter VARCHAR(255) NOT NULL, event_expression_filter VARCHAR(2000), event_type_filter VARCHAR(25) NOT NULL, creator VARCHAR(100), updater VARCHAR(100), counter_instance_id BIGINT, counter_template_id BIGINT, script_instance_id BIGINT, priority INTEGER DEFAULT 1, run_async INTEGER DEFAULT 0 NOT NULL, cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), save_successful_notif INTEGER DEFAULT 1, CONSTRAINT adm_notification_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-137', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 49, '8:cc5810cb6c30e90a26df7140b844bf4f', 'createTable tableName=adm_notification', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-138::AndriusKarpavicius
CREATE TABLE adm_permission (id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, permission VARCHAR(255) NOT NULL, CONSTRAINT adm_permission_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-138', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 51, '8:9e70c42e921aac0bd6a0878df688abd2', 'createTable tableName=adm_permission', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-139::AndriusKarpavicius
CREATE TABLE adm_role (id BIGINT NOT NULL, version INTEGER, role_name VARCHAR(255) NOT NULL, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, created TIMESTAMP WITHOUT TIME ZONE DEFAULT NOW() NOT NULL, creator VARCHAR(100), updated TIMESTAMP WITHOUT TIME ZONE, updater VARCHAR(100), CONSTRAINT adm_role_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-139', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 53, '8:f523086d315cb43afa0a2f082b85963c', 'createTable tableName=adm_role', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-140::AndriusKarpavicius
CREATE TABLE adm_role_permission (role_id BIGINT NOT NULL, permission_id BIGINT NOT NULL);

ALTER TABLE adm_role_permission ADD CONSTRAINT adm_role_permission_pkey PRIMARY KEY (role_id, permission_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-140', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 55, '8:1cbb9bc738dfbc580d96b39dff44d442', 'createTable tableName=adm_role_permission; addPrimaryKey constraintName=adm_role_permission_pkey, tableName=adm_role_permission', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-141::AndriusKarpavicius
CREATE TABLE adm_title (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), is_company INTEGER DEFAULT 0, creator VARCHAR(100), updater VARCHAR(100), description_i18n JSONB, CONSTRAINT adm_title_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-141', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 57, '8:d5104252f8adeb581f1d994db2992b65', 'createTable tableName=adm_title', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-142::AndriusKarpavicius
CREATE TABLE adm_user (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, username VARCHAR(50), creator VARCHAR(100), updater VARCHAR(100), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, CONSTRAINT adm_user_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-142', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 59, '8:1353a8fd18f4a5471f0ad8e1a0360eaf', 'createTable tableName=adm_user', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-144::AndriusKarpavicius
CREATE TABLE adm_user_role (user_id BIGINT NOT NULL, role_id BIGINT NOT NULL);

ALTER TABLE adm_user_role ADD CONSTRAINT adm_user_role_pkey PRIMARY KEY (user_id, role_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-144', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 61, '8:85d987d5429d6b018330d1ff05693cc7', 'createTable tableName=adm_user_role; addPrimaryKey constraintName=adm_user_role_pkey, tableName=adm_user_role', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-145::AndriusKarpavicius
CREATE TABLE ar_account_operation (transaction_type VARCHAR(31) NOT NULL, id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, accounting_code_id BIGINT, account_code_client_side VARCHAR(255), amount numeric(23, 12), due_date date, matching_amount numeric(23, 12), matching_status VARCHAR(255), code VARCHAR(255), description VARCHAR(255), reference VARCHAR(255), transaction_category VARCHAR(255), transaction_date date, un_matching_amount numeric(23, 12), bank_lot TEXT, bank_reference VARCHAR(255), rejected_code VARCHAR(255), rejected_date TIMESTAMP WITHOUT TIME ZONE, rejected_description VARCHAR(255), rejected_type VARCHAR(255), payment_method VARCHAR(255), amount_without_tax numeric(23, 12), billing_account_name VARCHAR(255), invoice_date date, net_to_pay numeric(23, 12), payment_info VARCHAR(255), payment_info1 VARCHAR(255), payment_info2 VARCHAR(255), payment_info3 VARCHAR(255), payment_info4 VARCHAR(255), payment_info5 VARCHAR(255), payment_info6 VARCHAR(255), production_date TIMESTAMP WITHOUT TIME ZONE, tax_amount numeric(23, 12), operation_date TIMESTAMP WITHOUT TIME ZONE, bank_collection_date TIMESTAMP WITHOUT TIME ZONE, deposit_date TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), customer_account_id BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, order_num VARCHAR(500), payment_order VARCHAR(70), payment_fees numeric(23, 12), comment_text TEXT, cf_values JSONB, recorded_invoice_id BIGINT, cat_inv_agregate_id BIGINT, ddrequest_item_id BIGINT, sub_cat_inv_agregate_id BIGINT, pay_schdl_inst_item_id BIGINT, rejected_payment_id BIGINT, seller_id BIGINT, subscription_id BIGINT, dunning_document_id BIGINT, invoice_id BIGINT, collection_date TIMESTAMP WITHOUT TIME ZONE, journal_id BIGINT, status VARCHAR(20), reason VARCHAR(30), accounting_export_file VARCHAR(255), accounting_date TIMESTAMP WITHOUT TIME ZONE, operation_action VARCHAR(255), payment_action VARCHAR(255), payment_deferral_count INTEGER, operation_number BIGINT, transactional_net_to_pay numeric(23, 12), transactional_amount numeric(23, 12), transactional_amount_without_tax numeric(23, 12), transactional_tax_amount numeric(23, 12), transactional_matching_amount numeric(23, 12), transactional_un_matching_amount numeric(23, 12), transactional_currency BIGINT, applied_rate numeric(23, 12), applied_rate_date TIMESTAMP WITHOUT TIME ZONE, transactional_payment_fees numeric(23, 12), error_detail VARCHAR(2000), refunded_payment_id BIGINT, CONSTRAINT ar_account_operation_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-145', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 63, '8:2ecf2b9ffe4a9e3675274287a969445b', 'createTable tableName=ar_account_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-146::AndriusKarpavicius
CREATE TABLE ar_action_dunning (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, amount_due numeric(19, 2), creaton_date date, from_level VARCHAR(255), status VARCHAR(255), status_date date, to_level VARCHAR(255), action_type VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), action_plan_item_id BIGINT, customer_account_id BIGINT, dunning_lot_id BIGINT, recorded_invoice_id BIGINT, CONSTRAINT ar_action_dunning_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-146', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 65, '8:864a92dfecd73e718f58a7b071699b5a', 'createTable tableName=ar_action_dunning', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-148::AndriusKarpavicius
CREATE TABLE ar_bank_operation (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code_op VARCHAR(255), credit numeric(19, 2), date_op TIMESTAMP WITHOUT TIME ZONE, date_val TIMESTAMP WITHOUT TIME ZONE, debit numeric(19, 2), error_cause VARCHAR(255), file_name VARCHAR(255), invoice_id VARCHAR(255), is_valid INTEGER DEFAULT 0 NOT NULL, label_1 VARCHAR(255), label_2 VARCHAR(255), label_3 VARCHAR(255), reference VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT ar_bank_operation_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-148', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 67, '8:f2374b70fbbd354fb5b5b2b9f602f01d', 'createTable tableName=ar_bank_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-149::AndriusKarpavicius
CREATE TABLE ar_customer_account (credit_category VARCHAR(255), date_dunning_level TIMESTAMP WITHOUT TIME ZONE, date_status TIMESTAMP WITHOUT TIME ZONE, dunning_level VARCHAR(255), pswd VARCHAR(10), status VARCHAR(10), id BIGINT NOT NULL, customer_id BIGINT, trading_currency_id BIGINT NOT NULL, trading_language_id BIGINT NOT NULL, credit_category_id BIGINT, due_date_delay_el VARCHAR(2000), excluded_from_payment INTEGER DEFAULT 0, crm_address_book_id BIGINT, minimum_target_account_id BIGINT, invoicing_threshold numeric(23, 12), check_threshold VARCHAR(25), threshold_per_entity INTEGER DEFAULT 0, minimum_article_id BIGINT, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), address_1 VARCHAR(255), address_2 VARCHAR(255), address_3 VARCHAR(255), address_4 VARCHAR(255), address_5 VARCHAR(255), address_city VARCHAR(100), address_country_id BIGINT, address_state VARCHAR(50), address_zipcode VARCHAR(20), default_level INTEGER DEFAULT 1, external_ref_1 VARCHAR(255), external_ref_2 VARCHAR(255), firstname VARCHAR(100), lastname VARCHAR(100), provider_contact VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), title_id BIGINT, primary_contact BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, bam_id BIGINT, cf_values JSONB, job_title VARCHAR(255), email VARCHAR(2000), fax VARCHAR(50), mobile VARCHAR(100), phone VARCHAR(100), vat_no VARCHAR(100), registration_no VARCHAR(100), minimum_amount_el VARCHAR(2000), minimum_label_el VARCHAR(2000), minimum_charge_template_id BIGINT, company INTEGER DEFAULT 0, legal_entity_type_id BIGINT, general_client_account_id BIGINT, CONSTRAINT ar_customer_account_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-149', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 69, '8:c2d5aca1ba45ba8c468f79b2365c00ab', 'createTable tableName=ar_customer_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-150::AndriusKarpavicius
CREATE TABLE ar_ddrequest_item (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, amount numeric(19, 2), amount_invoices numeric(19, 2), billing_account_name VARCHAR(255), due_date date, payment_info VARCHAR(255), payment_info1 VARCHAR(255), payment_info2 VARCHAR(255), payment_info3 VARCHAR(255), payment_info4 VARCHAR(255), payment_info5 VARCHAR(255), payment_info6 VARCHAR(255), reference VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), payment_id BIGINT, ddrequest_lot_id BIGINT, error_msg VARCHAR(1000), refund_id BIGINT, rejected_file_name VARCHAR(1000), CONSTRAINT ar_ddrequest_item_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-150', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 71, '8:55da163d0ca5df8c5bf62f2995f5f38b', 'createTable tableName=ar_ddrequest_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-151::AndriusKarpavicius
CREATE TABLE ar_ddrequest_lot (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, file_name TEXT, invoice_amount numeric(23, 12), invoice_number INTEGER, is_payment_created INTEGER DEFAULT 0 NOT NULL, return_file_name VARCHAR(255), return_status_code VARCHAR(255), send_date TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), rejected_cause VARCHAR(255), rejected_invoices INTEGER, ddrequest_builder_id BIGINT, payment_or_refund VARCHAR(30), seller_id BIGINT, CONSTRAINT ar_ddrequest_lot_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-151', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 73, '8:b1332bb2e4e011ccecebdd94e4fe472c', 'createTable tableName=ar_ddrequest_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-152::AndriusKarpavicius
CREATE TABLE ar_ddrequest_lot_op (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, ddrequest_op VARCHAR(255), error_cause VARCHAR(255), from_due_date TIMESTAMP WITHOUT TIME ZONE, ddrequest_op_status VARCHAR(255), to_due_date TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), ddrequest_lot_id BIGINT, ddrequest_builder_id BIGINT, filter_id BIGINT, script_instance_id BIGINT, recurrent INTEGER DEFAULT 0, payment_or_refund VARCHAR(30), seller_id BIGINT, generate_payment_lines INTEGER DEFAULT 1, payment_status VARCHAR(25), CONSTRAINT ar_ddrequest_lot_op_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-152', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 75, '8:819bf5a5c55d2d43d7d69a68339dbfec', 'createTable tableName=ar_ddrequest_lot_op', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-153::AndriusKarpavicius
CREATE TABLE ar_due_date (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, due_date date, invoice_amount numeric(23, 12), invoice_number INTEGER, payment_method VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT ar_due_date_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-153', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 77, '8:3c5f0f2eae581109043a6b9c0b53de72', 'createTable tableName=ar_due_date', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-154::AndriusKarpavicius
CREATE TABLE ar_dunning_lot (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, action_type VARCHAR(255), file_name VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), dunning_history_id BIGINT, CONSTRAINT ar_dunning_lot_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-154', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 79, '8:53a7867a864ff1c0b8e33901b6c91cfb', 'createTable tableName=ar_dunning_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-157::AndriusKarpavicius
CREATE TABLE ar_matching_amount (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, matching_amount numeric(23, 12), transactional_matching_amount numeric(23, 12), creator VARCHAR(100), updater VARCHAR(100), account_operation_id BIGINT, matching_code_id BIGINT, CONSTRAINT ar_matching_amount_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-157', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 81, '8:cae792eb5df3d3523fec2df33e6e3e57', 'createTable tableName=ar_matching_amount', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-158::AndriusKarpavicius
CREATE TABLE ar_matching_code (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255), matching_amount_credit numeric(23, 12), matching_amount_debit numeric(23, 12), transactional_matching_amount_credit numeric(23, 12), transactional_matching_amount_debit numeric(23, 12), matching_date date, matching_type VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT ar_matching_code_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-158', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 83, '8:860c3624701f23e2dbdb4db0a430eb67', 'createTable tableName=ar_matching_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4950-20220209-rebuild::MohammedSTITANE
CREATE TABLE ar_accounting_scheme (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), long_description VARCHAR(2000), long_description_i18n JSONB, script_instance_id BIGINT, CONSTRAINT ar_accounting_scheme_pkey PRIMARY KEY (id), CONSTRAINT ar_accounting_scheme_pkey_unique UNIQUE (code));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4950-20220209-rebuild', 'MohammedSTITANE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 85, '8:3abf13edc512f0ab6bae20ecfb0a559e', 'createTable tableName=ar_accounting_scheme', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-159::AndriusKarpavicius
CREATE TABLE ar_occ_template (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, accounting_code_id BIGINT, account_code_client_side VARCHAR(255), code VARCHAR(255), description VARCHAR(255), occ_category VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), journal_id BIGINT, accounting_scheme_id BIGINT, contra_accounting_code_id BIGINT, contra_accounting_code2_id BIGINT, manual_creation_enabled INTEGER DEFAULT 1, CONSTRAINT ar_occ_template_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-159', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 87, '8:dc3abdc78e39df77e20d2c6f5e858d83', 'createTable tableName=ar_occ_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-160::AndriusKarpavicius
CREATE TABLE bi_job (id BIGINT NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, version INTEGER, active INTEGER DEFAULT 0 NOT NULL, job_frequency INTEGER, job_repository_id INTEGER, last_execution_date TIMESTAMP WITHOUT TIME ZONE, name VARCHAR(50), next_execution_date TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT bi_job_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-160', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 89, '8:4e5c9c71636b7052e7787fb6668741f1', 'createTable tableName=bi_job', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-161::AndriusKarpavicius
CREATE TABLE bi_job_history (history_type VARCHAR(31) NOT NULL, id BIGINT NOT NULL, version INTEGER, execution_date TIMESTAMP WITHOUT TIME ZONE, lines_inserted INTEGER, lines_read INTEGER, lines_rejected INTEGER, file_name VARCHAR(255), nb_subscriptions INTEGER, nb_subscriptions_created INTEGER, nb_subscriptions_error INTEGER, nb_subscriptions_ignored INTEGER, nb_subscriptions_terminated INTEGER, nb_billing_accounts INTEGER, nb_billing_accounts_created INTEGER, nb_billing_accounts_error INTEGER, nb_billing_accounts_ignored INTEGER, nb_billing_accounts_warning INTEGER, nb_user_accounts INTEGER, nb_user_accounts_created INTEGER, nb_user_accounts_error INTEGER, nb_user_acounts_ignored INTEGER, nb_user_acounts_warning INTEGER, nb_customer_accounts INTEGER, nb_customer_accounts_created INTEGER, nb_customer_accounts_error INTEGER, nb_customer_acounts_ignored INTEGER, nb_customer_acounts_warning INTEGER, nb_customers INTEGER, nb_customers_created INTEGER, nb_customers_error INTEGER, nb_customers_ignored INTEGER, nb_customers_warning INTEGER, nb_sellers INTEGER, nb_sellers_created INTEGER, nb_sellers_error INTEGER, nb_sellers_ignored INTEGER, nb_sellers_warning INTEGER, nb_invoices_ignored INTEGER, job_id BIGINT, CONSTRAINT bi_job_history_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-161', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 91, '8:7eb387c6c696f4744c06f2ffc9c898bb', 'createTable tableName=bi_job_history', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-162::AndriusKarpavicius
CREATE TABLE bi_report (id BIGINT NOT NULL, version INTEGER, action_name VARCHAR(255), description VARCHAR(255), end_date TIMESTAMP WITHOUT TIME ZONE, execution_day_of_month INTEGER, execution_day_of_week INTEGER, execution_hour INTEGER, execution_interval_minutes INTEGER, execution_interval_seconds INTEGER, execution_minutes INTEGER, report_file_name VARCHAR(255), report_frequency VARCHAR(255) NOT NULL, name VARCHAR(50), output_format VARCHAR(255) NOT NULL, producer_class_name VARCHAR(255), ds_record_path VARCHAR(255), schedule TIMESTAMP WITHOUT TIME ZONE, start_date TIMESTAMP WITHOUT TIME ZONE, CONSTRAINT bi_report_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-162', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 93, '8:aecbefc4ae9a99b80d7e7e52cf4526f6', 'createTable tableName=bi_report', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-163::AndriusKarpavicius
CREATE TABLE bi_report_emails (report_id BIGINT NOT NULL, email_id BIGINT NOT NULL);

ALTER TABLE bi_report_emails ADD CONSTRAINT bi_report_emails_pkey PRIMARY KEY (report_id, email_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-163', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 95, '8:ca9b23bdf380109ff154923df544b8aa', 'createTable tableName=bi_report_emails; addPrimaryKey constraintName=bi_report_emails_pkey, tableName=bi_report_emails', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-164::AndriusKarpavicius
CREATE TABLE billing_billing_account (br_amount_with_tax numeric(23, 12), br_amount_without_tax numeric(23, 12), discount_rate numeric(23, 12), electronic_billing INTEGER DEFAULT 0, invoice_prefix VARCHAR(255), next_invoice_date TIMESTAMP WITHOUT TIME ZONE, status VARCHAR(10), status_date TIMESTAMP WITHOUT TIME ZONE, subscription_date TIMESTAMP WITHOUT TIME ZONE, termination_date TIMESTAMP WITHOUT TIME ZONE, id BIGINT NOT NULL, billing_cycle BIGINT, billing_run BIGINT, customer_account_id BIGINT, termin_reason_id BIGINT, trading_country_id BIGINT NOT NULL, trading_language_id BIGINT NOT NULL, trading_currency_id BIGINT NOT NULL, invoicing_threshold numeric(23, 12), mailing_type VARCHAR(255), cced_emails VARCHAR(2000), email_template_id BIGINT, minimum_invoice_sub_category_id BIGINT, tax_category_id BIGINT, check_threshold VARCHAR(25), payment_method_id BIGINT, threshold_per_entity INTEGER DEFAULT 0, minimum_article_id BIGINT, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), address_1 VARCHAR(255), address_2 VARCHAR(255), address_3 VARCHAR(255), address_4 VARCHAR(255), address_5 VARCHAR(255), address_city VARCHAR(100), address_country_id BIGINT, address_state VARCHAR(50), address_zipcode VARCHAR(20), default_level INTEGER DEFAULT 1, external_ref_1 VARCHAR(255), external_ref_2 VARCHAR(255), firstname VARCHAR(100), lastname VARCHAR(100), provider_contact VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), title_id BIGINT, primary_contact BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, bam_id BIGINT, cf_values JSONB, job_title VARCHAR(255), email VARCHAR(2000), fax VARCHAR(50), mobile VARCHAR(100), phone VARCHAR(100), vat_no VARCHAR(100), registration_no VARCHAR(100), minimum_amount_el VARCHAR(2000), minimum_label_el VARCHAR(2000), minimum_charge_template_id BIGINT, company INTEGER DEFAULT 0, legal_entity_type_id BIGINT, icd_id BIGINT, exemption_reason VARCHAR(2000), price_list_id BIGINT, mass_data INTEGER DEFAULT 0, CONSTRAINT billing_billing_account_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-164', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 97, '8:2c6fb596dcf06c2973b3adb7e0c2e686', 'createTable tableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-165::AndriusKarpavicius
CREATE TABLE billing_billing_run (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, nb_invoice INTEGER, nb_billable_billing_account INTEGER, nb_billing_account INTEGER, end_date TIMESTAMP WITHOUT TIME ZONE, pr_amount_tax numeric(23, 12), pr_amount_with_tax numeric(23, 12), pr_amount_without_tax numeric(23, 12), process_date TIMESTAMP WITHOUT TIME ZONE, process_type VARCHAR(255), producible_amount_tax numeric(23, 12), producible_amount_with_tax numeric(23, 12), producible_amount_without_tax numeric(23, 12), nb_producible_invoice INTEGER, rejection_reason VARCHAR(255), selected_billing_accounts TEXT, start_date TIMESTAMP WITHOUT TIME ZONE, status VARCHAR(255), status_date TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), billing_cycle_id BIGINT, pr_country_id BIGINT, pr_currency_id BIGINT, pr_language_id BIGINT, invoice_date TIMESTAMP WITHOUT TIME ZONE, last_transaction_date TIMESTAMP WITHOUT TIME ZONE, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, reference_date VARCHAR(255), collection_date TIMESTAMP WITHOUT TIME ZONE, compute_dates_validation INTEGER DEFAULT 0, skip_validation_script INTEGER DEFAULT 0, suspect_auto_action VARCHAR(255), reject_auto_action VARCHAR(255), next_billing_run_id BIGINT, origin_billing_run_id BIGINT, minimum_applied INTEGER DEFAULT 0, threshold_checked INTEGER DEFAULT 0, discount_applied INTEGER DEFAULT 0, filters JSONB, invoice_type_id BIGINT, run_type VARCHAR(255), xml_job_execution_result_id BIGINT, pdf_job_execution_result_id BIGINT, is_quarantine INTEGER DEFAULT 0, description_i18n JSONB, generate_ao INTEGER DEFAULT 0 NOT NULL, incremental_invoice_lines INTEGER DEFAULT 0, CONSTRAINT billing_billing_run_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-165', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 99, '8:c351475c771f624acd51564a6583e88d', 'createTable tableName=billing_billing_run', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-166::AndriusKarpavicius
CREATE TABLE billing_billing_run_list (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, rated_amount2_without_tax numeric(23, 12), rated_amount_tax numeric(23, 12), rated_amount_with_tax numeric(23, 12), rated_amount_without_tax numeric(23, 12), invoice INTEGER, creator VARCHAR(100), updater VARCHAR(100), billing_account_id BIGINT, billing_run_id BIGINT, CONSTRAINT billing_billing_run_list_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-166', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 101, '8:d46035934bd56122cc7946278d6c4df5', 'createTable tableName=billing_billing_run_list', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-167::AndriusKarpavicius
CREATE TABLE billing_charge_instance (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), amount_with_tax numeric(23, 12), amount_without_tax numeric(23, 12), charge_date TIMESTAMP WITHOUT TIME ZONE, criteria_1 VARCHAR(255), criteria_2 VARCHAR(255), criteria_3 VARCHAR(255), is_prepaid INTEGER DEFAULT 0, status VARCHAR(255), status_date TIMESTAMP WITHOUT TIME ZONE, termination_date TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), charge_template_id BIGINT, trading_country BIGINT NOT NULL, trading_currency BIGINT NOT NULL, seller_id BIGINT NOT NULL, subscription_id BIGINT, invoicing_calendar_id BIGINT, user_account_id BIGINT NOT NULL, order_number VARCHAR(100), charge_type VARCHAR(5), quantity numeric(23, 12), product_instance_id BIGINT, next_charge_date TIMESTAMP WITHOUT TIME ZONE, subscription_date TIMESTAMP WITHOUT TIME ZONE, service_instance_id BIGINT, counter_id BIGINT, rating_unit_description VARCHAR(20), priority INTEGER DEFAULT 1, cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), calendar_id BIGINT, apply_in_advance INTEGER, charged_to_date TIMESTAMP WITHOUT TIME ZONE, charge_to_date_on_termination TIMESTAMP WITHOUT TIME ZONE, reactivation_date TIMESTAMP WITHOUT TIME ZONE, apply_discounts_on_overriden_price INTEGER, overcharged_unit_amount_without_tax numeric(23, 12), CONSTRAINT billing_charge_instance_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-167', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 103, '8:f41a7e97e430c63b6ee48038a1d79425', 'createTable tableName=billing_charge_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-168::AndriusKarpavicius
CREATE TABLE billing_chrginst_wallet (chrg_instance_id BIGINT NOT NULL, wallet_instance_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE billing_chrginst_wallet ADD CONSTRAINT billing_chrginst_wallet_pkey PRIMARY KEY (chrg_instance_id, indx);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-168', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 105, '8:7288d503df245c0c8f0284fc6e1a89a5', 'createTable tableName=billing_chrginst_wallet; addPrimaryKey constraintName=billing_chrginst_wallet_pkey, tableName=billing_chrginst_wallet', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-169::AndriusKarpavicius
CREATE TABLE billing_counter (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), billing_account_id BIGINT, counter_template_id BIGINT, user_account_id BIGINT, subscription_id BIGINT, service_instance_id BIGINT, customer_id BIGINT, customer_account_id BIGINT, CONSTRAINT billing_counter_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-169', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 107, '8:6d9a084b6498d8722792b1d51b795d3e', 'createTable tableName=billing_counter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-170::AndriusKarpavicius
CREATE TABLE billing_counter_period (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), counter_type VARCHAR(255), level_num numeric(35, 12), period_end_date TIMESTAMP WITHOUT TIME ZONE, period_start_date TIMESTAMP WITHOUT TIME ZONE, value numeric(35, 12), creator VARCHAR(100), updater VARCHAR(100), counter_instance_id BIGINT, notification_levels VARCHAR(100), is_accumulator INTEGER DEFAULT 0, accumulator_type VARCHAR(35), CONSTRAINT billing_counter_period_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-170', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 109, '8:9177a24bc4fb6386fcd1dda766539bcd', 'createTable tableName=billing_counter_period', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-171::AndriusKarpavicius
CREATE TABLE billing_cycle (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), calendar BIGINT, invoicing_threshold numeric(23, 12), invoice_type_id BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, due_date_delay_el VARCHAR(2000), cf_values JSONB, billing_template_name_el VARCHAR(2000), invoice_type_el VARCHAR(2000), billing_cycle_type VARCHAR(256) NOT NULL, script_instance_id BIGINT, reference_date VARCHAR(255), check_threshold VARCHAR(25), transaction_date_delay_el VARCHAR(2000), invoice_date_production_delay_el VARCHAR(2000), invoice_date_delay_el VARCHAR(2000), transaction_date_el VARCHAR(2000), split_per_payment_method INTEGER DEFAULT 0, threshold_per_entity INTEGER DEFAULT 0, description_i18n JSONB, collection_date_delay_el VARCHAR(2000), compute_dates_validation INTEGER DEFAULT 0, billing_run_validation_script_id BIGINT, filters JSONB, priority INTEGER DEFAULT 0, disable_aggregation INTEGER DEFAULT 0, use_accounting_article_label INTEGER DEFAULT 0, date_aggregation VARCHAR(255) DEFAULT 'NO_DATE_AGGREGATION', aggregate_unit_amounts INTEGER DEFAULT 0, ignore_subscriptions INTEGER DEFAULT 1, ignore_orders INTEGER DEFAULT 1, incremental_invoice_lines INTEGER DEFAULT 0, CONSTRAINT billing_cycle_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-171', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 111, '8:7afa0e77713e671d7a0791d4eb760845', 'createTable tableName=billing_cycle', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-172::AndriusKarpavicius
CREATE TABLE billing_discount (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, discount_code VARCHAR(20), pourcent numeric(19, 2), pr_description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT billing_discount_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-172', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 113, '8:120b04c533521562ebe69701509980a1', 'createTable tableName=billing_discount', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-173::AndriusKarpavicius
CREATE TABLE billing_discount_language (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), discount_id BIGINT, trading_language_id BIGINT, CONSTRAINT billing_discount_language_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-173', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 115, '8:f2258bdc3c6665bd870145cde30446a5', 'createTable tableName=billing_discount_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-174::AndriusKarpavicius
CREATE TABLE billing_discplan_inst (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, charge_code VARCHAR(255), end_subscription_date TIMESTAMP WITHOUT TIME ZONE, nb_period INTEGER, pourcent numeric(19, 2), start_subscription_date TIMESTAMP WITHOUT TIME ZONE, usage_type INTEGER, creator VARCHAR(100), updater VARCHAR(100), billing_account_id BIGINT, CONSTRAINT billing_discplan_inst_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-174', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 117, '8:7a822cb1c85a807ae46042674434454c', 'createTable tableName=billing_discplan_inst', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-176::AndriusKarpavicius
CREATE TABLE billing_invoice (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, alias VARCHAR(255), amount numeric(23, 12), amount_tax numeric(23, 12), amount_with_tax numeric(23, 12), amount_without_tax numeric(23, 12), comment_text VARCHAR(1200), discount numeric(23, 12), due_date TIMESTAMP WITHOUT TIME ZONE, iban VARCHAR(255), invoice_date TIMESTAMP WITHOUT TIME ZONE, invoice_number VARCHAR(50), net_to_pay numeric(23, 12), payment_method VARCHAR(255), product_date TIMESTAMP WITHOUT TIME ZONE, temporary_invoice_number VARCHAR(60), creator VARCHAR(100), updater VARCHAR(100), billing_account_id BIGINT, billing_run_id BIGINT, recorded_invoice_id BIGINT, trading_country_id BIGINT, trading_currency_id BIGINT, trading_language_id BIGINT, detailed_invoice INTEGER DEFAULT 1 NOT NULL, invoice_id BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, invoice_type_id BIGINT, quote_id BIGINT, cf_values JSONB, pdf_filename VARCHAR(255), xml_filename VARCHAR(255), payment_method_id BIGINT, due_balance numeric(23, 12), seller_id BIGINT NOT NULL, subscription_id BIGINT, order_id BIGINT, already_sent INTEGER DEFAULT 0 NOT NULL, dont_send INTEGER DEFAULT 0 NOT NULL, prepaid INTEGER DEFAULT 0 NOT NULL, status VARCHAR(50), external_ref VARCHAR(255), initial_collection_date TIMESTAMP WITHOUT TIME ZONE, reject_reason VARCHAR(255), status_date TIMESTAMP WITHOUT TIME ZONE, xml_date TIMESTAMP WITHOUT TIME ZONE, pdf_date TIMESTAMP WITHOUT TIME ZONE, discount_amount numeric(23, 12) NOT NULL, discount_rate numeric(3, 3), is_already_applied_minimum INTEGER, is_already_added_discount INTEGER, email_sent_date TIMESTAMP WITHOUT TIME ZONE, payment_status VARCHAR(255), payment_status_date TIMESTAMP WITHOUT TIME ZONE, start_date TIMESTAMP WITHOUT TIME ZONE, end_date TIMESTAMP WITHOUT TIME ZONE, raw_amount numeric(23, 12) NOT NULL, new_invoicing_process INTEGER DEFAULT 0 NOT NULL, has_taxes INTEGER DEFAULT 0, has_discounts INTEGER DEFAULT 0, has_minimum INTEGER DEFAULT 0, commercial_order_id BIGINT, discount_plan_id BIGINT, cpq_quote_id BIGINT, amount_without_tax_before_discount numeric(23, 12), is_reminder_level_triggered INTEGER DEFAULT 0, related_dunning_collection_plan_id BIGINT, dunning_collection_plan_triggered INTEGER DEFAULT 0, last_applied_rate numeric(23, 12), last_applied_rate_date TIMESTAMP WITHOUT TIME ZONE, transactional_amount_without_tax numeric(23, 12), transactional_amount_with_tax numeric(23, 12), transactional_amount_tax numeric(23, 12), transactional_net_to_pay numeric(23, 12), transactional_raw_amount numeric(23, 12), transactional_discount_amount numeric(23, 12), transactional_amount_without_tax_before_discount numeric(23, 12), payment_plan_id BIGINT, open_order_number VARCHAR(255), invoice_balance numeric(23, 12), use_current_rate INTEGER DEFAULT 0, invoice_validation_rule_id BIGINT, transactional_invoice_balance numeric(23, 12), use_specific_price_conversion INTEGER DEFAULT 0, conversion_from_billing_currency INTEGER DEFAULT 0, auto_matching INTEGER DEFAULT 0, ubl_reference INTEGER DEFAULT 0, CONSTRAINT billing_invoice_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-176', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 119, '8:32ac8e6ed8bf2aa9e2abcb6398e2e806', 'createTable tableName=billing_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-177::AndriusKarpavicius
CREATE TABLE billing_invoice_agregate (type VARCHAR(31) NOT NULL, id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, accounting_code_id BIGINT, amount numeric(23, 12), amount_tax numeric(23, 12), amount_with_tax numeric(23, 12), amount_without_tax numeric(23, 12), description VARCHAR(255), description_discount VARCHAR(255), discount numeric(23, 12), discount_aggregate INTEGER DEFAULT 0 NOT NULL, item_number INTEGER, pr_description VARCHAR(255), quantity numeric(19, 2), tax_percent numeric(23, 12), creator VARCHAR(100), updater VARCHAR(100), billing_account_id BIGINT, billing_run_id BIGINT, invoice_id BIGINT, trading_country_id BIGINT, trading_currency_id BIGINT, trading_language_id BIGINT, user_account_id BIGINT, tax_id BIGINT, category_invoice_agregate BIGINT, invoicesubcategory BIGINT, sub_category_tax BIGINT, tax_invoice_agregate BIGINT, wallet_id BIGINT, invoicecategory BIGINT, discount_percent numeric(23, 12), sub_cat_invoice_agregate_id BIGINT, discount_plan_code VARCHAR(50), discount_plan_item_code VARCHAR(50), discount_plan_item_id BIGINT, transactional_amount_without_tax numeric(23, 12), transactional_amount_with_tax numeric(23, 12), transactional_amount_tax numeric(23, 12), use_specific_price_conversion INTEGER DEFAULT 0, conversion_from_billing_currency INTEGER DEFAULT 0, CONSTRAINT billing_invoice_agregate_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-177', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 121, '8:39a357a5a148333cf8acc0a6c0a1eb3b', 'createTable tableName=billing_invoice_agregate', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-178::AndriusKarpavicius
CREATE TABLE billing_invoice_cat (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), sort_index INTEGER, creator VARCHAR(100), updater VARCHAR(100), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, description_i18n JSONB, occ_template_id BIGINT, occ_templ_negative_id BIGINT, CONSTRAINT billing_invoice_cat_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-178', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 123, '8:48fd96446cb62c28c39571a8499442f1', 'createTable tableName=billing_invoice_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-180::AndriusKarpavicius
CREATE TABLE billing_invoice_cat_lang (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), invoice_category_id BIGINT, trading_language_id BIGINT, CONSTRAINT billing_invoice_cat_lang_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-180', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 125, '8:21ae8fab1e434c1595a28c55945550df', 'createTable tableName=billing_invoice_cat_lang', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-181::AndriusKarpavicius
CREATE TABLE billing_invoice_sub_cat (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), accounting_code_id BIGINT, discount numeric(19, 2), creator VARCHAR(100), updater VARCHAR(100), invoice_category_id BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, description_i18n JSONB, tax_script_instance_id BIGINT, occ_template_id BIGINT, occ_templ_negative_id BIGINT, sort_index INTEGER, CONSTRAINT billing_invoice_sub_cat_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-181', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 127, '8:4815ba4f74688174de095bd53b38ed22', 'createTable tableName=billing_invoice_sub_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-182::AndriusKarpavicius
CREATE TABLE billing_invoice_template (id BIGINT NOT NULL, version INTEGER, code VARCHAR(255) NOT NULL, file_name VARCHAR(255) NOT NULL, template_version VARCHAR(255) NOT NULL, validity_end_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, validity_start_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, CONSTRAINT billing_invoice_template_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-182', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 129, '8:40d00df927119ae4df13853741561fdd', 'createTable tableName=billing_invoice_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-184::AndriusKarpavicius
CREATE TABLE billing_priceplan_inst (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, amount_without_tax numeric(19, 2), charge_code VARCHAR(255), end_event_date TIMESTAMP WITHOUT TIME ZONE, end_subscription_date TIMESTAMP WITHOUT TIME ZONE, pr_amount_without_tax numeric(19, 2), start_event_date TIMESTAMP WITHOUT TIME ZONE, start_subscription_date TIMESTAMP WITHOUT TIME ZONE, stringcriteria1 VARCHAR(255), stringcriteria2 VARCHAR(255), stringcriteria3 VARCHAR(255), subscription_age_max_in_month TIMESTAMP WITHOUT TIME ZONE, subscription_age_min_in_month TIMESTAMP WITHOUT TIME ZONE, usage_type INTEGER, creator VARCHAR(100), updater VARCHAR(100), billing_account_id BIGINT, trading_currency_id BIGINT, CONSTRAINT billing_priceplan_inst_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-184', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 131, '8:ba3e99282f6f0f30a89862eec538b18e', 'createTable tableName=billing_priceplan_inst', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-185::AndriusKarpavicius
CREATE TABLE billing_rated_transaction (id BIGINT NOT NULL, version INTEGER, amount_tax numeric(23, 12), amount_with_tax numeric(23, 12), amount_without_tax numeric(23, 12), code VARCHAR(255), description VARCHAR(4000), do_not_trigger_invoicing INTEGER DEFAULT 0 NOT NULL, parameter_1 VARCHAR(255), parameter_2 VARCHAR(255), parameter_3 VARCHAR(255), quantity numeric(23, 12), status VARCHAR(255), unit_amount_tax numeric(23, 12), unit_amount_with_tax numeric(23, 12), unit_amount_without_tax numeric(23, 12), unity_description VARCHAR(20), usage_date TIMESTAMP WITHOUT TIME ZONE, billing_account__id BIGINT, billing_run_id BIGINT, invoice_id BIGINT, aggregate_id_f BIGINT, aggregate_id_r BIGINT, aggregate_id_t BIGINT, invoice_sub_category_id BIGINT, priceplan_id BIGINT, wallet_id BIGINT, edr_id BIGINT, adjusted_rated_tx BIGINT, order_number VARCHAR(100), rating_unit_description VARCHAR(20), parameter_extra VARCHAR(4000), start_date TIMESTAMP WITHOUT TIME ZONE, end_date TIMESTAMP WITHOUT TIME ZONE, subscription_id BIGINT, seller_id BIGINT NOT NULL, charge_instance_id BIGINT, tax_id BIGINT NOT NULL, tax_percent numeric(23, 12) NOT NULL, user_account_id BIGINT, offer_id BIGINT, service_instance_id BIGINT, creator VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE, updater VARCHAR(100), updated TIMESTAMP WITHOUT TIME ZONE, tax_class_id BIGINT, input_quantity numeric(23, 12), raw_amount_without_tax numeric(23, 12), raw_amount_with_tax numeric(23, 12), input_unitofmeasure BIGINT, rating_unitofmeasure BIGINT, accounting_code_id BIGINT, sort_index INTEGER, cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), type VARCHAR(25), accounting_article_id BIGINT, order_id BIGINT, order_lot_id BIGINT, product_version_id BIGINT, invoice_line_id BIGINT, discount_plan_id BIGINT, discounted_ratedtransaction_id BIGINT, discount_value numeric(23, 12), discount_plan_type VARCHAR(50), discount_plan_item_id BIGINT, invoicing_date TIMESTAMP WITHOUT TIME ZONE, sequence INTEGER, reject_reason VARCHAR(4000), origin_billing_account BIGINT, rules_contract_id BIGINT, origin_ratedtransaction_id BIGINT, use_specific_price_conversion INTEGER DEFAULT 0 NOT NULL, transactional_amount_without_tax numeric(23, 12), transactional_amount_with_tax numeric(23, 12), transactional_amount_tax numeric(23, 12), transactional_unit_amount_without_tax numeric(23, 12), transactional_unit_amount_with_tax numeric(23, 12), transactional_unit_amount_tax numeric(23, 12), trading_currency_id BIGINT, pending_duplicates INTEGER DEFAULT 0, pending_duplicates_to_negate INTEGER DEFAULT 0, discounted_amount numeric(23, 12)) PARTITION BY LIST(status);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-185', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 133, '8:ebefc5c32e6ce087ce7c4da1f3f8fb72', 'createTable tableName=billing_rated_transaction', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-185-pk::AndriusKarpavicius
ALTER TABLE billing_rated_transaction ADD CONSTRAINT billing_rated_transaction_pkey PRIMARY KEY (id, status);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-185-pk', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 135, '8:8befdee1b1beb14111ee5c1975cb4a48', 'addPrimaryKey constraintName=billing_rated_transaction_pkey, tableName=billing_rated_transaction', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-187::AndriusKarpavicius
CREATE TABLE billing_rejected_billing_accounts (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, reject_cause VARCHAR(3000), creator VARCHAR(100), updater VARCHAR(100), billing_account BIGINT, billing_run BIGINT, CONSTRAINT billing_rejected_billing_accounts_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-187', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 137, '8:6307416fc537833dee67227f04ebb476', 'createTable tableName=billing_rejected_billing_accounts', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-188::AndriusKarpavicius
CREATE TABLE billing_reservation (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, amount_with_tax numeric(23, 12), amount_without_tax numeric(23, 12), expiry_date date, input_message VARCHAR(255), origin_edr_id BIGINT, quantity numeric(23, 12), reservation_date date, status VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), subscription_id BIGINT, user_account_id BIGINT, wallet_id BIGINT, CONSTRAINT billing_reservation_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-188', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 139, '8:090e41e1255bef0fe437489cb58e91d6', 'createTable tableName=billing_reservation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-189::AndriusKarpavicius
CREATE TABLE billing_resrv_countid (reservation_id BIGINT NOT NULL, counterperiodvalues numeric(19, 2), counterperiodvalues_key BIGINT NOT NULL);

ALTER TABLE billing_resrv_countid ADD CONSTRAINT billing_resrv_countid_pkey PRIMARY KEY (reservation_id, counterperiodvalues_key);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-189', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 141, '8:62231189526b5539793ff946f2c17388', 'createTable tableName=billing_resrv_countid; addPrimaryKey constraintName=billing_resrv_countid_pkey, tableName=billing_resrv_countid', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-191::AndriusKarpavicius
CREATE TABLE billing_service_instance (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), end_agrement_date TIMESTAMP WITHOUT TIME ZONE, quantity numeric(23, 12), status VARCHAR(255), status_date TIMESTAMP WITHOUT TIME ZONE, subscription_date TIMESTAMP WITHOUT TIME ZONE, termination_date TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), service_template_id BIGINT, subscription_id BIGINT, sub_termin_reason_id BIGINT, invoicing_calendar_id BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, order_number VARCHAR(100), cf_values JSONB, rate_until_date TIMESTAMP WITHOUT TIME ZONE, minimum_amount_el VARCHAR(2000), minimum_label_el VARCHAR(2000), auto_renew INTEGER DEFAULT 0 NOT NULL, days_notify_renew INTEGER, end_of_term_action VARCHAR(10), auto_termin_reason_id BIGINT, init_active_unit VARCHAR(5), init_active INTEGER, match_end_aggr_date INTEGER DEFAULT 0 NOT NULL, renew_for_unit VARCHAR(5), renew_for INTEGER, subscribed_till_date TIMESTAMP WITHOUT TIME ZONE, renewed INTEGER DEFAULT 0 NOT NULL, notify_of_renewal_date TIMESTAMP WITHOUT TIME ZONE, renewal_notified_date TIMESTAMP WITHOUT TIME ZONE, initial_term_type VARCHAR(20), auto_end_of_engagement INTEGER, amount_ps numeric(23, 12), calendar_ps_id BIGINT, payment_day_in_month_ps INTEGER, auto_renew_date TIMESTAMP WITHOUT TIME ZONE, initial_renewal TEXT, calendar_init_active_id BIGINT, calendar_renew_for_id BIGINT, renewal_term_type VARCHAR(20), minimum_invoice_sub_category_id BIGINT, minimum_charge_template_id BIGINT, product_version_id BIGINT, quote_product_id BIGINT, minimum_article_id BIGINT, reactivation_date TIMESTAMP WITHOUT TIME ZONE, delivery_date TIMESTAMP WITHOUT TIME ZONE, price_version_date_setting VARCHAR(255), price_version_date TIMESTAMP WITHOUT TIME ZONE, CONSTRAINT billing_service_instance_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-191', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 143, '8:cff47f4867c85021eb6cc58b92ae94ee', 'createTable tableName=billing_service_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-192::AndriusKarpavicius
CREATE TABLE billing_subscrip_termin_reason (id BIGINT NOT NULL, version INTEGER, apply_agreement INTEGER DEFAULT 0 NOT NULL, apply_reimbursment INTEGER DEFAULT 0 NOT NULL, apply_termination_charges INTEGER DEFAULT 0 NOT NULL, code VARCHAR(255), description VARCHAR(255), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), override_prorata VARCHAR(255), reimburse_oneshots INTEGER DEFAULT 0 NOT NULL, description_i18n JSONB, invoice_agreement_immediately INTEGER DEFAULT 0 NOT NULL, CONSTRAINT billing_subscrip_termin_reason_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-192', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 145, '8:bf3c183553b54fb58137128fb2868f09', 'createTable tableName=billing_subscrip_termin_reason', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-193::AndriusKarpavicius
CREATE TABLE billing_subscription (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), default_level INTEGER DEFAULT 1, end_agrement_date TIMESTAMP WITHOUT TIME ZONE, status VARCHAR(255), status_date TIMESTAMP WITHOUT TIME ZONE, subscription_date TIMESTAMP WITHOUT TIME ZONE, termination_date TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), offer_id BIGINT, sub_termin_reason_id BIGINT, user_account_id BIGINT NOT NULL, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, subscribed_till_date TIMESTAMP WITHOUT TIME ZONE, auto_renew INTEGER DEFAULT 0 NOT NULL, days_notify_renew INTEGER, end_of_term_action VARCHAR(10), auto_termin_reason_id BIGINT, init_active_unit VARCHAR(5), init_active INTEGER, match_end_aggr_date INTEGER DEFAULT 0 NOT NULL, renew_for_unit VARCHAR(5), renew_for INTEGER, renewed INTEGER DEFAULT 0 NOT NULL, notify_of_renewal_date TIMESTAMP WITHOUT TIME ZONE, renewal_notified_date TIMESTAMP WITHOUT TIME ZONE, cf_values JSONB, minimum_amount_el VARCHAR(2000), minimum_label_el VARCHAR(2000), initial_term_type VARCHAR(20), billing_cycle BIGINT, billing_run BIGINT, auto_end_of_engagement INTEGER, seller_id BIGINT NOT NULL, rating_group VARCHAR(50), auto_renew_date TIMESTAMP WITHOUT TIME ZONE, mailing_type VARCHAR(255), cced_emails VARCHAR(2000), email VARCHAR(255), electronic_billing INTEGER DEFAULT 0 NOT NULL, email_template_id BIGINT, initial_renewal TEXT, calendar_init_active_id BIGINT, calendar_renew_for_id BIGINT, renewal_term_type VARCHAR(20), minimum_invoice_sub_category_id BIGINT, minimum_charge_template_id BIGINT, payment_method_id BIGINT, valid_from TIMESTAMP WITHOUT TIME ZONE, valid_to TIMESTAMP WITHOUT TIME ZONE, commercial_order_id BIGINT, prestation VARCHAR(255), minimum_article_id BIGINT, order_offer_id BIGINT, version_number INTEGER DEFAULT 1, next_version BIGINT, previous_version BIGINT, sales_person_name VARCHAR(52), contract_id BIGINT, price_list_id BIGINT, CONSTRAINT billing_subscription_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-193', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 147, '8:46a30d19b05227be6d351484a6da9840', 'createTable tableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-194::AndriusKarpavicius
CREATE TABLE billing_tax (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), accounting_code_id BIGINT, tax_percentage numeric(23, 12) NOT NULL, creator VARCHAR(100), updater VARCHAR(100), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, description_i18n JSONB, composite INTEGER DEFAULT 0, taxation_category_id BIGINT NOT NULL, vatex_id BIGINT, CONSTRAINT billing_tax_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-194', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 149, '8:9ce10f9d964dd683c06eb54678e1187c', 'createTable tableName=billing_tax', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-195::AndriusKarpavicius
CREATE TABLE billing_tax_language (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), tax_id BIGINT, trading_language_id BIGINT, CONSTRAINT billing_tax_language_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-195', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 151, '8:f86a15fd0dec200ccbe416d4b1fd944b', 'createTable tableName=billing_tax_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-196::AndriusKarpavicius
CREATE TABLE billing_trading_country (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255), description VARCHAR(255), cf_values JSONB, uuid VARCHAR(60) DEFAULT 'Trading_Country_US' NOT NULL, creator VARCHAR(100), updater VARCHAR(100), country_id BIGINT, CONSTRAINT billing_trading_country_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-196', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 153, '8:96617108f6592ec3b9585e8ad107357f', 'createTable tableName=billing_trading_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-197::AndriusKarpavicius
CREATE TABLE billing_trading_currency (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, pr_currency_to_this numeric(23, 12), pr_description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), currency_id BIGINT, symbol VARCHAR(255), decimal_places INTEGER DEFAULT 2, current_rate numeric(23, 12), current_rate_from_date TIMESTAMP WITHOUT TIME ZONE, current_rate_updater VARCHAR(255), CONSTRAINT billing_trading_currency_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-197', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 155, '8:cb3d460b3824e6878f79818af5e973e8', 'createTable tableName=billing_trading_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-INTRD-5636-20220318::hhanine
CREATE TABLE exchange_rate (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), trading_currency_id BIGINT, exchange_rate numeric(23, 6), from_date TIMESTAMP WITHOUT TIME ZONE, current_rate INTEGER DEFAULT 0 NOT NULL, CONSTRAINT exchange_rate_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-INTRD-5636-20220318', 'hhanine', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 157, '8:da0a94b01f7fa7a3fcbebd40782775bd', 'createTable tableName=exchange_rate', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-198::AndriusKarpavicius
CREATE TABLE billing_trading_language (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, pr_description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), language_id BIGINT, CONSTRAINT billing_trading_language_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-198', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 159, '8:f6272a3b33727b6a6f23468a4a4b2cff', 'createTable tableName=billing_trading_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-200::AndriusKarpavicius
CREATE TABLE billing_user_account (status VARCHAR(10), status_date TIMESTAMP WITHOUT TIME ZONE, subscription_date TIMESTAMP WITHOUT TIME ZONE, termination_date TIMESTAMP WITHOUT TIME ZONE, id BIGINT NOT NULL, billing_account_id BIGINT, termin_reason_id BIGINT, wallet_id BIGINT, minimum_article_id BIGINT, parent_useraccount_id BIGINT, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), address_1 VARCHAR(255), address_2 VARCHAR(255), address_3 VARCHAR(255), address_4 VARCHAR(255), address_5 VARCHAR(255), address_city VARCHAR(100), address_country_id BIGINT, address_state VARCHAR(50), address_zipcode VARCHAR(20), default_level INTEGER DEFAULT 1, external_ref_1 VARCHAR(255), external_ref_2 VARCHAR(255), firstname VARCHAR(100), lastname VARCHAR(100), provider_contact VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), title_id BIGINT, primary_contact BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, bam_id BIGINT, cf_values JSONB, job_title VARCHAR(255), email VARCHAR(2000), fax VARCHAR(50), mobile VARCHAR(100), phone VARCHAR(100), vat_no VARCHAR(100), registration_no VARCHAR(100), minimum_amount_el VARCHAR(2000), minimum_label_el VARCHAR(2000), minimum_charge_template_id BIGINT, company INTEGER DEFAULT 0, legal_entity_type_id BIGINT, is_consumer INTEGER DEFAULT 1, icd_id BIGINT, CONSTRAINT billing_user_account_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-200', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 161, '8:ecfd70cba9bbd0c0925fc0c45fc4a7ff', 'createTable tableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-201::AndriusKarpavicius
CREATE TABLE billing_wallet (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), expiry_date TIMESTAMP WITHOUT TIME ZONE, next_matching_date TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), user_account_id BIGINT, cat_wallet_template_id BIGINT, low_balance_level numeric(23, 12), reject_level numeric(23, 12), CONSTRAINT billing_wallet_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-201', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 163, '8:becd313fc495bb20c761b1d30125c736', 'createTable tableName=billing_wallet', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-202::AndriusKarpavicius
CREATE TABLE billing_wallet_operation (operation_type VARCHAR(31) NOT NULL, id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), amount_tax numeric(23, 12), amount_with_tax numeric(23, 12), amount_without_tax numeric(23, 12), end_date TIMESTAMP WITHOUT TIME ZONE, offer_code VARCHAR(255), operation_date TIMESTAMP WITHOUT TIME ZONE, parameter_1 VARCHAR(255), parameter_2 VARCHAR(255), parameter_3 VARCHAR(255), quantity numeric(23, 12) NOT NULL, start_date TIMESTAMP WITHOUT TIME ZONE, status VARCHAR(255), subscription_date TIMESTAMP WITHOUT TIME ZONE, tax_percent numeric(23, 12) NOT NULL, credit_debit_flag VARCHAR(255), unit_amount_tax numeric(23, 12), unit_amount_with_tax numeric(23, 12), unit_amount_without_tax numeric(23, 12), creator VARCHAR(100), updater VARCHAR(100), aggregate_serv_id BIGINT, charge_instance_id BIGINT, counter_id BIGINT, currency_id BIGINT, priceplan_id BIGINT, reratedwalletoperation_id BIGINT, seller_id BIGINT NOT NULL, wallet_id BIGINT, reservation_id BIGINT, invoicing_date TIMESTAMP WITHOUT TIME ZONE, input_quantity numeric(23, 12), input_unit_description VARCHAR(20), rating_unit_description VARCHAR(20), edr_id BIGINT, order_number VARCHAR(100), parameter_extra VARCHAR(4000), raw_amount_without_tax numeric(23, 12), raw_amount_with_tax numeric(23, 12), invoice_sub_category_id BIGINT, subscription_id BIGINT, tax_id BIGINT, rated_transaction_id BIGINT, service_instance_id BIGINT, offer_id BIGINT, input_unitofmeasure BIGINT, rating_unitofmeasure BIGINT, tax_class_id BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), cf_values JSONB, accounting_code_id BIGINT, sort_index INTEGER, reject_reason TEXT, order_id BIGINT, accounting_article_id BIGINT, order_lot_id BIGINT, product_version_id BIGINT, refunds_wo_id BIGINT, discounted_wallet_operation_id BIGINT, discount_plan_id BIGINT, discount_value numeric(23, 12), discount_plan_type VARCHAR(50), discount_plan_item_id BIGINT, user_account_id BIGINT, billing_account_id BIGINT, old_wallet_id BIGINT, discounted_amount numeric(23, 12), sequence INTEGER, rules_contract_id BIGINT, price_plan_matrix_version_id BIGINT, price_plan_matrix_line_id BIGINT, contract_id BIGINT, use_specific_price_conversion INTEGER DEFAULT 0 NOT NULL, transactional_amount_without_tax numeric(23, 12), transactional_amount_with_tax numeric(23, 12), transactional_amount_tax numeric(23, 12), transactional_unit_amount_without_tax numeric(23, 12), transactional_unit_amount_with_tax numeric(23, 12), transactional_unit_amount_tax numeric(23, 12), trading_currency_id BIGINT, contract_line_id BIGINT, price_list_line_id BIGINT) PARTITION BY LIST(status);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-202', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 165, '8:5a2614bd73edd5d13991728e3d176f17', 'createTable tableName=billing_wallet_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-202-pk::AndriusKarpavicius
ALTER TABLE billing_wallet_operation ADD CONSTRAINT billing_wallet_operation_pkey PRIMARY KEY (id, status);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-202-pk', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 167, '8:d19504158d5b66528004d04d6d4444a5', 'addPrimaryKey constraintName=billing_wallet_operation_pkey, tableName=billing_wallet_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-203::AndriusKarpavicius
CREATE TABLE cat_calendar (cal_type VARCHAR(31) NOT NULL, id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), nb_periods INTEGER, period_length INTEGER, period_unit INTEGER, calendar TIMESTAMP WITHOUT TIME ZONE, join_type VARCHAR(255), interval_type VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), join_cal_1_id BIGINT, join_cal_2_id BIGINT, start_date date, end_date date, weekend_begin INTEGER, weekend_end INTEGER, init_date_el VARCHAR(2000), description_i18n JSONB, CONSTRAINT cat_calendar_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-203', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 169, '8:16b2a1aaace513df324728833d38efa6', 'createTable tableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-204::AndriusKarpavicius
CREATE TABLE cat_calendar_days (calendar_id BIGINT NOT NULL, day_id BIGINT NOT NULL);

ALTER TABLE cat_calendar_days ADD CONSTRAINT cat_calendar_days_pkey PRIMARY KEY (calendar_id, day_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-204', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 171, '8:e400ad69eff05c4dd9560d8445efa1aa', 'createTable tableName=cat_calendar_days; addPrimaryKey constraintName=cat_calendar_days_pkey, tableName=cat_calendar_days', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-205::AndriusKarpavicius
CREATE TABLE cat_calendar_hours (calendar_id BIGINT NOT NULL, hour_id BIGINT NOT NULL);

ALTER TABLE cat_calendar_hours ADD CONSTRAINT cat_calendar_hours_pkey PRIMARY KEY (calendar_id, hour_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-205', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 173, '8:e9c316d9417e657689a69417f568b2f8', 'createTable tableName=cat_calendar_hours; addPrimaryKey constraintName=cat_calendar_hours_pkey, tableName=cat_calendar_hours', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-206::AndriusKarpavicius
CREATE TABLE cat_calendar_interval (id BIGINT NOT NULL, version INTEGER, interval_begin INTEGER NOT NULL, interval_end INTEGER NOT NULL, calendar_id BIGINT NOT NULL, CONSTRAINT cat_calendar_interval_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-206', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 175, '8:44bd0d4f37c2b9c64453a487f1801d00', 'createTable tableName=cat_calendar_interval', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-207::AndriusKarpavicius
CREATE TABLE cat_charge_template (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), amount_editable INTEGER, credit_debit_flag INTEGER, status VARCHAR(255) NOT NULL, creator VARCHAR(100), updater VARCHAR(100), invoice_sub_category BIGINT, input_unit_description VARCHAR(20), rating_unit_description VARCHAR(20), unit_multiplicator numeric(23, 12), unit_nb_decimal INTEGER, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, rounding_mode VARCHAR(255) DEFAULT 'NEAREST', revenue_recog_rule_id BIGINT, cf_values JSONB, description_i18n JSONB, charge_type VARCHAR(5), filter_expression VARCHAR(2000), filter_param_1 VARCHAR(255), filter_param_2 VARCHAR(255), filter_param_3 VARCHAR(255), filter_param_4 VARCHAR(255), priority INTEGER DEFAULT 1, trigger_next_charge INTEGER DEFAULT 0, trigger_next_charge_el VARCHAR(2000), apply_in_advance INTEGER, duration_term_in_month INTEGER, recurrence_type VARCHAR(255), share_level VARCHAR(20), subscription_prorata INTEGER, termination_prorata INTEGER, calendar_id BIGINT, subscription_prorata_el VARCHAR(2000), termination_prorata_el VARCHAR(2000), apply_in_advance_el VARCHAR(2000), duration_term_in_month_el VARCHAR(2000), calendar_code_el VARCHAR(2000), immediate_invoicing INTEGER DEFAULT 0, type VARCHAR(255), prorata_on_price_change INTEGER DEFAULT 0, input_unitofmeasure BIGINT, rating_unitofmeasure BIGINT, input_unit_el VARCHAR(2000), output_unit_el VARCHAR(2000), tax_class_id BIGINT, tax_class_el VARCHAR(2000), drop_zero_wo INTEGER DEFAULT 0, rating_script_id BIGINT, sort_index_el VARCHAR(2000), apply_terminated_charge_to_date_el VARCHAR(2000), offer_template_id BIGINT, product_id BIGINT, service_template_id BIGINT, price_plan_matrix_id BIGINT, recurrence_duration_enum VARCHAR(20), duration_service BIGINT, recurrence_calendar BIGINT, calendar_service BIGINT, usage_service_template_id BIGINT, surcharge INTEGER, price_matrix INTEGER, param1 VARCHAR(50), param1_service_id BIGINT, param2 VARCHAR(50), param2_service_id BIGINT, param3 VARCHAR(50), param3_service_id BIGINT, param4 VARCHAR(50), param4_service_id BIGINT, dim1_matrix VARCHAR(50), dim1_matrix_bystep INTEGER DEFAULT 0, dim1_matrix_service BIGINT, dim2_matrix VARCHAR(50), dim2_matrix_bystep INTEGER DEFAULT 0, dim2_matrix_service BIGINT, dim3_matrix VARCHAR(50), dim3_matrix_bystep INTEGER DEFAULT 0, dim3_matrix_service BIGINT, attribute_id BIGINT, attribute_duration_id BIGINT, attribute_calendar_id BIGINT, internal_note TEXT, CONSTRAINT cat_charge_template_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-207', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 177, '8:44f197ae1c258c3f52d9f7e3485aa7fb', 'createTable tableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-208::AndriusKarpavicius
CREATE TABLE cat_chrg_edr (charge_tmpl_id BIGINT NOT NULL, trigg_edr_id BIGINT NOT NULL);

ALTER TABLE cat_chrg_edr ADD CONSTRAINT cat_chrg_edr_pkey PRIMARY KEY (charge_tmpl_id, trigg_edr_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-208', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 179, '8:bcb963371c9e3717307aeb9e41e118e0', 'createTable tableName=cat_chrg_edr; addPrimaryKey constraintName=cat_chrg_edr_pkey, tableName=cat_chrg_edr', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-209::AndriusKarpavicius
CREATE TABLE cat_counter_template (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), counter_level VARCHAR(255) DEFAULT 'UA' NOT NULL, counter_type VARCHAR(255) DEFAULT 'USAGE' NOT NULL, level_num numeric(35, 12), unity_description VARCHAR(20), creator VARCHAR(100), updater VARCHAR(100), calendar_id BIGINT, ceiling_expression_el VARCHAR(2000), notification_levels VARCHAR(70), is_accumulator INTEGER DEFAULT 0, calendar_code_el VARCHAR(2000), accumulator_type VARCHAR(35), filter_el VARCHAR(2000), key_el VARCHAR(2000), value_el VARCHAR(2000), CONSTRAINT cat_counter_template_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-209', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 181, '8:d4575158d1cf3fc30233084d4598eeec', 'createTable tableName=cat_counter_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-210::AndriusKarpavicius
CREATE TABLE cat_day_in_year (id BIGINT NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, version INTEGER, day INTEGER, month VARCHAR(20), creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT cat_day_in_year_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-210', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 183, '8:f12a90cee7a5fedcad923e0184a2ccec', 'createTable tableName=cat_day_in_year', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-211::AndriusKarpavicius
CREATE TABLE cat_discount_plan (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), max_duration INTEGER, min_duration INTEGER, creator VARCHAR(100), updater VARCHAR(100), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, start_date date, end_date date, default_duration INTEGER, duration_unit VARCHAR(50), discount_plan_type VARCHAR(50), status VARCHAR(50), status_date TIMESTAMP WITHOUT TIME ZONE, initial_quantity BIGINT DEFAULT 0 NOT NULL, used_quantity BIGINT DEFAULT 0 NOT NULL, application_limit BIGINT DEFAULT 0 NOT NULL, application_filter_el VARCHAR(2000), discount_plan_id BIGINT, expression_el VARCHAR(2000), applicable_on_overridden_price INTEGER DEFAULT 1, applicable_on_discounted_price INTEGER DEFAULT 1, sequence INTEGER, automatic_application INTEGER DEFAULT 0, allowance_code_id BIGINT NOT NULL, CONSTRAINT cat_discount_plan_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-211', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 185, '8:685290d3774d5363b7a0c33a679c5c5b', 'createTable tableName=cat_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-212::AndriusKarpavicius
CREATE TABLE cat_discount_plan_item (id BIGINT NOT NULL, description VARCHAR(255), version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, accounting_code VARCHAR(255), code VARCHAR(255) NOT NULL, discount_value numeric(23, 12), creator VARCHAR(100), updater VARCHAR(100), discount_plan_id BIGINT NOT NULL, invoice_category_id BIGINT, invoice_sub_category_id BIGINT, expression_el VARCHAR(2000), discount_value_el VARCHAR(2000), discount_plan_item_type VARCHAR(25), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, allow_to_negate INTEGER, status VARCHAR(50), status_date TIMESTAMP WITHOUT TIME ZONE, application_count BIGINT DEFAULT 0 NOT NULL, accounting_article_id BIGINT, priorty BIGINT, price_plan_matrix_id BIGINT, apply_by_article INTEGER DEFAULT 0, sequence INTEGER, last_discount INTEGER, CONSTRAINT cat_discount_plan_item_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-212', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 187, '8:7ff0d0ccb8d53aa135450c4563f705ed', 'createTable tableName=cat_discount_plan_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-213::AndriusKarpavicius
CREATE TABLE cat_hour_in_day (id BIGINT NOT NULL, version INTEGER, hour INTEGER, min INTEGER, CONSTRAINT cat_hour_in_day_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-213', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 189, '8:8846c52c084624bd03942d9a5368607c', 'createTable tableName=cat_hour_in_day', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-214::AndriusKarpavicius
CREATE TABLE cat_offer_serv_templates (offer_template_id BIGINT NOT NULL, service_template_id BIGINT NOT NULL, id BIGINT NOT NULL, mandatory INTEGER DEFAULT 0 NOT NULL, valid_from TIMESTAMP WITHOUT TIME ZONE, valid_to TIMESTAMP WITHOUT TIME ZONE, CONSTRAINT pk_cat_offer_serv_templates PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-214', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 191, '8:18849a5a4966fccc5ce6e7ecc939f842', 'createTable tableName=cat_offer_serv_templates', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-215::AndriusKarpavicius
CREATE TABLE cat_offer_template (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, bom_code VARCHAR(60), termination_script_instance_id BIGINT, subscription_script_instance_id BIGINT, name VARCHAR(100), entity_version INTEGER, status VARCHAR(50), business_offer_model_id BIGINT, valid_from TIMESTAMP WITHOUT TIME ZONE, valid_to TIMESTAMP WITHOUT TIME ZONE, long_description TEXT, life_cycle_status VARCHAR(60), type VARCHAR(20) DEFAULT 'OFFER' NOT NULL, product_charge_tmpl_id BIGINT, business_product_model_id BIGINT, invoicing_calendar_id BIGINT, image_path VARCHAR(100), cf_values JSONB, auto_renew INTEGER DEFAULT 0 NOT NULL, days_notify_renew INTEGER, end_of_term_action VARCHAR(10), auto_termin_reason_id BIGINT, init_active_unit VARCHAR(5), init_active INTEGER, match_end_aggr_date INTEGER DEFAULT 0 NOT NULL, renew_for_unit VARCHAR(5), renew_for INTEGER, description_i18n JSONB, long_description_i18n JSONB, script_instance_id BIGINT, minimum_amount_el VARCHAR(2000), minimum_label_el VARCHAR(2000), initial_term_type VARCHAR(20), auto_end_of_engagement INTEGER, auto_renew_date TIMESTAMP WITHOUT TIME ZONE, calendar_init_active_id BIGINT, calendar_renew_for_id BIGINT, renewal_term_type VARCHAR(20), minimum_invoice_sub_category_id BIGINT, minimum_charge_template_id BIGINT, is_offer_change_restricted INTEGER DEFAULT 0, product_status VARCHAR(50), status_date TIMESTAMP WITHOUT TIME ZONE, minimum_article_id BIGINT, offer_template_id BIGINT, is_model INTEGER DEFAULT 0, offer_model_id BIGINT, generate_quote_edr_per_product INTEGER DEFAULT 0, sequence INTEGER DEFAULT 0, display INTEGER DEFAULT 0, document_id BIGINT, CONSTRAINT cat_offer_template_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-215', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 193, '8:c838b540ffe784355e7c40bf01c9b226', 'createTable tableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-217::AndriusKarpavicius
CREATE TABLE cat_price_plan_matrix (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), amount_with_tax numeric(35, 12), amount_without_tax numeric(35, 12), criteria_1 VARCHAR(255), criteria_2 VARCHAR(255), criteria_3 VARCHAR(255), criteria_el VARCHAR(2000), end_rating_date TIMESTAMP WITHOUT TIME ZONE, end_subscription_date TIMESTAMP WITHOUT TIME ZONE, max_quantity numeric(35, 12), max_subscr_age BIGINT, min_quantity numeric(35, 12), min_subscr_age BIGINT, priority INTEGER DEFAULT 1, start_rating_date TIMESTAMP WITHOUT TIME ZONE, start_subscription_date TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), offer_id BIGINT, seller_id BIGINT, trading_country_id BIGINT, trading_currency_id BIGINT, valid_cal_id BIGINT, amount_without_tax_el TEXT, amount_with_tax_el TEXT, sequence BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, script_instance_id BIGINT, cf_values JSONB, description_i18n JSONB, wo_description_el TEXT, invoice_subcategory_el TEXT, total_amount_el TEXT, minimum_amount_el TEXT, validity_from TIMESTAMP WITHOUT TIME ZONE, validity_date TIMESTAMP WITHOUT TIME ZONE, parameter1_el VARCHAR(2000), parameter2_el VARCHAR(2000), parameter3_el VARCHAR(2000), charge_template_id BIGINT, CONSTRAINT cat_price_plan_matrix_pkey PRIMARY KEY (id));

ALTER TABLE cat_price_plan_matrix ADD CONSTRAINT fk_cat_price_plan_matrix_cat_charge_template FOREIGN KEY (charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-217', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 195, '8:7cc5f70ee64b57cc3c5ab76f3500953e', 'createTable tableName=cat_price_plan_matrix; addForeignKeyConstraint baseTableName=cat_price_plan_matrix, constraintName=fk_cat_price_plan_matrix_cat_charge_template, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-219::AndriusKarpavicius
CREATE TABLE cat_serv_rec_charge_template (id BIGINT NOT NULL, version INTEGER, charge_template_id BIGINT, service_template_id BIGINT, counter_template_id BIGINT, CONSTRAINT cat_serv_rec_charge_template_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-219', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 197, '8:051ace46e9268d8bf262a80e6a5b5cbb', 'createTable tableName=cat_serv_rec_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-220::AndriusKarpavicius
CREATE TABLE cat_serv_rec_wallet_template (service_rec_templt_id BIGINT NOT NULL, wallet_template_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_serv_rec_wallet_template ADD CONSTRAINT cat_serv_rec_wallet_template_pkey PRIMARY KEY (service_rec_templt_id, indx);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-220', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 199, '8:7fa8d87c7da084db23c305f650a00a18', 'createTable tableName=cat_serv_rec_wallet_template; addPrimaryKey constraintName=cat_serv_rec_wallet_template_pkey, tableName=cat_serv_rec_wallet_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-221::AndriusKarpavicius
CREATE TABLE cat_serv_sub_charge_template (id BIGINT NOT NULL, version INTEGER, charge_template_id BIGINT, service_template_id BIGINT, counter_template_id BIGINT, CONSTRAINT cat_serv_sub_charge_template_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-221', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 201, '8:93a53dd5a2d9a73e748433bbdabb284e', 'createTable tableName=cat_serv_sub_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-222::AndriusKarpavicius
CREATE TABLE cat_serv_sub_wallet_template (service_sub_templt_id BIGINT NOT NULL, wallet_template_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_serv_sub_wallet_template ADD CONSTRAINT cat_serv_sub_wallet_template_pkey PRIMARY KEY (service_sub_templt_id, indx);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-222', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 203, '8:53418a78ead3dfb67f5f5714dc8ae1be', 'createTable tableName=cat_serv_sub_wallet_template; addPrimaryKey constraintName=cat_serv_sub_wallet_template_pkey, tableName=cat_serv_sub_wallet_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-223::AndriusKarpavicius
CREATE TABLE cat_serv_trm_charge_template (id BIGINT NOT NULL, version INTEGER, charge_template_id BIGINT, service_template_id BIGINT, counter_template_id BIGINT, CONSTRAINT cat_serv_trm_charge_template_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-223', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 205, '8:d595bd36f5fb2936d487c1e5ffd838c3', 'createTable tableName=cat_serv_trm_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-224::AndriusKarpavicius
CREATE TABLE cat_serv_trm_wallet_template (service_trm_templt_id BIGINT NOT NULL, wallet_template_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_serv_trm_wallet_template ADD CONSTRAINT cat_serv_trm_wallet_template_pkey PRIMARY KEY (service_trm_templt_id, indx);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-224', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 207, '8:14efe91ab43dbf3ca1ff04a34a934b7c', 'createTable tableName=cat_serv_trm_wallet_template; addPrimaryKey constraintName=cat_serv_trm_wallet_template_pkey, tableName=cat_serv_trm_wallet_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-225::AndriusKarpavicius
CREATE TABLE cat_serv_usage_charge_template (id BIGINT NOT NULL, version INTEGER, charge_template_id BIGINT, service_template_id BIGINT, counter_template_id BIGINT, CONSTRAINT cat_serv_usage_charge_template_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-225', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 209, '8:10fbdd7bba6f8b038b27696ed38fdf27', 'createTable tableName=cat_serv_usage_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-226::AndriusKarpavicius
CREATE TABLE cat_serv_usage_wallet_template (service_usage_templt_id BIGINT NOT NULL, wallet_template_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_serv_usage_wallet_template ADD CONSTRAINT cat_serv_usage_wallet_template_pkey PRIMARY KEY (service_usage_templt_id, indx);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-226', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 211, '8:8107f4b65e02dbc51e5d447a9e5e8b69', 'createTable tableName=cat_serv_usage_wallet_template; addPrimaryKey constraintName=cat_serv_usage_wallet_template_pkey, tableName=cat_serv_usage_wallet_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-227::AndriusKarpavicius
CREATE TABLE cat_service_template (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), invoicing_calendar_id BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, termination_script_instance_id BIGINT, activation_script_instance_id BIGINT, business_service_model_id BIGINT, long_description TEXT, image_path VARCHAR(100), cf_values JSONB, minimum_amount_el VARCHAR(2000), minimum_label_el VARCHAR(2000), auto_renew INTEGER DEFAULT 0 NOT NULL, days_notify_renew INTEGER, end_of_term_action VARCHAR(10), auto_termin_reason_id BIGINT, init_active_unit VARCHAR(5), init_active INTEGER, match_end_aggr_date INTEGER DEFAULT 0 NOT NULL, renew_for_unit VARCHAR(5), renew_for INTEGER, initial_term_type VARCHAR(20), auto_end_of_engagement INTEGER, auto_renew_date TIMESTAMP WITHOUT TIME ZONE, calendar_init_active_id BIGINT, calendar_renew_for_id BIGINT, renewal_term_type VARCHAR(20), minimum_invoice_sub_category_id BIGINT, minimum_charge_template_id BIGINT, description_i18n JSONB, offer_template_id BIGINT, product_id BIGINT, grouped_service_id BIGINT, service_type_id BIGINT, mandatory INTEGER, priority INTEGER DEFAULT 0, param TEXT, material INTEGER, sequence INTEGER, display INTEGER, CONSTRAINT cat_service_template_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-227', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 213, '8:9d46c023c477033cbc1f9343e77b88f9', 'createTable tableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-228::AndriusKarpavicius
CREATE TABLE cat_triggered_edr (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), condition_el VARCHAR(2000), param_1_el TEXT, param_2_el TEXT, param_3_el TEXT, param_4_el TEXT, quantity_el TEXT, subscription_el TEXT, creator VARCHAR(100), updater VARCHAR(100), meveo_instance_id BIGINT, triggered_edr_script_instance_id BIGINT, opencell_instance_el TEXT, CONSTRAINT cat_triggered_edr_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-228', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 215, '8:e3429e3e2a55d3b507075692f4f68312', 'createTable tableName=cat_triggered_edr', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-230::AndriusKarpavicius
CREATE TABLE cat_wallet_template (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), consumption_alert_set INTEGER DEFAULT 0 NOT NULL, fast_rating_level INTEGER, wallet_type VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), low_balance_level numeric(23, 12), reject_level numeric(23, 12), low_balance_level_el VARCHAR(2000), reject_level_el VARCHAR(2000), CONSTRAINT cat_wallet_template_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-230', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 217, '8:362b4fa4b0a5523d7d859d3085dcf6da', 'createTable tableName=cat_wallet_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-231::AndriusKarpavicius
CREATE TABLE com_campaign (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), end_date TIMESTAMP WITHOUT TIME ZONE, media VARCHAR(255), priority INTEGER, thread_id INTEGER, schedule_date TIMESTAMP WITHOUT TIME ZONE, start_date TIMESTAMP WITHOUT TIME ZONE, status VARCHAR(255), sub_media VARCHAR(255), use_any_media INTEGER, creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT com_campaign_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-231', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 219, '8:eeb67cdef6517b70b1e7420b21068498', 'createTable tableName=com_campaign', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-232::AndriusKarpavicius
CREATE TABLE com_contact (id BIGINT NOT NULL, version INTEGER, nb_max_day BIGINT, nb_max_month BIGINT, nb_max_week BIGINT, delay_min BIGINT, email VARCHAR(255) NOT NULL, assistant_name VARCHAR(50), assistant_phone VARCHAR(15), position VARCHAR(200), company_name VARCHAR(200), phone VARCHAR(50), mobile VARCHAR(50), imported_from VARCHAR(50), imported_by VARCHAR(50), social_identifier VARCHAR(2000), is_vip INTEGER DEFAULT 0, is_prospect INTEGER DEFAULT 1, website_url VARCHAR(255), agreed_ua INTEGER DEFAULT 0, address_book_id BIGINT, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), address_1 VARCHAR(255), address_2 VARCHAR(255), address_3 VARCHAR(255), address_4 VARCHAR(255), address_5 VARCHAR(255), address_city VARCHAR(100), address_country_id BIGINT, address_state VARCHAR(50), address_zipcode VARCHAR(20), default_level INTEGER DEFAULT 1, external_ref_1 VARCHAR(255), external_ref_2 VARCHAR(255), firstname VARCHAR(100), lastname VARCHAR(100), provider_contact VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), title_id BIGINT, primary_contact BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, bam_id BIGINT, cf_values JSONB, job_title VARCHAR(255), fax VARCHAR(50), vat_no VARCHAR(100), registration_no VARCHAR(100), company INTEGER DEFAULT 0, legal_entity_type_id BIGINT, reference VARCHAR(80), comment VARCHAR(2000), entreprise INTEGER DEFAULT 0, CONSTRAINT com_contact_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-232', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 221, '8:2c554842cb7b05186a660118f6f8be1c', 'createTable tableName=com_contact', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-233::AndriusKarpavicius
CREATE TABLE com_contact_com_message (com_contact_id BIGINT NOT NULL, messages_id BIGINT NOT NULL);

ALTER TABLE com_contact_com_message ADD CONSTRAINT com_contact_com_message_pkey PRIMARY KEY (com_contact_id, messages_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-233', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 223, '8:ebc49ce8eca9c788639340fe1013bc00', 'createTable tableName=com_contact_com_message; addPrimaryKey constraintName=com_contact_com_message_pkey, tableName=com_contact_com_message', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-234::AndriusKarpavicius
CREATE TABLE com_contact_coords (media VARCHAR(31) NOT NULL, id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), email VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT com_contact_coords_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-234', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 225, '8:bc363a05637186a95e85cc9b79937bf0', 'createTable tableName=com_contact_coords', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-235::AndriusKarpavicius
CREATE TABLE com_message (id BIGINT NOT NULL, version INTEGER, media VARCHAR(255), priority VARCHAR(255), rejection_reason VARCHAR(255), status VARCHAR(255), sub_media VARCHAR(255), templatecode VARCHAR(255), campaign_id BIGINT, contact_id BIGINT, CONSTRAINT com_message_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-235', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 227, '8:0b2d7dc7f32e6af5236f84917a207e9e', 'createTable tableName=com_message', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-236::AndriusKarpavicius
CREATE TABLE com_message_template (media VARCHAR(31) NOT NULL, id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), end_date TIMESTAMP WITHOUT TIME ZONE, start_date TIMESTAMP WITHOUT TIME ZONE, tag_end VARCHAR(255), tag_start VARCHAR(255), type VARCHAR(255), htmlcontent TEXT, subject VARCHAR(255), textcontent TEXT, jasper_filename VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), channel VARCHAR(255), trading_language_id BIGINT, is_active INTEGER DEFAULT 1, type_dunning_mode VARCHAR(255), textcontent_i18n JSONB, subject_i18n JSONB, htmlcontent_i18n JSONB, CONSTRAINT com_message_template_pkey PRIMARY KEY (id));

ALTER TABLE com_message_template ADD CONSTRAINT fk_language_message_template FOREIGN KEY (trading_language_id) REFERENCES billing_trading_language (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-236', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 229, '8:e9c6c56c212684a38f45b587b82789a9', 'createTable tableName=com_message_template; addForeignKeyConstraint baseTableName=com_message_template, constraintName=fk_language_message_template, referencedTableName=billing_trading_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-237::AndriusKarpavicius
CREATE TABLE com_msg_tmpl_variable (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), mandatory INTEGER DEFAULT 0 NOT NULL, creator VARCHAR(100), updater VARCHAR(100), template_id BIGINT, CONSTRAINT com_msg_tmpl_variable_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-237', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 231, '8:adf9ea2376e77f2592f93caa85bfd597', 'createTable tableName=com_msg_tmpl_variable', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-238::AndriusKarpavicius
CREATE TABLE com_msg_var_value (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), value VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), message BIGINT, CONSTRAINT com_msg_var_value_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-238', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 233, '8:c27ee99bdc65b78df2063ec6b3203dae', 'createTable tableName=com_msg_var_value', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-239::AndriusKarpavicius
CREATE TABLE com_provider_policy (id BIGINT NOT NULL, version INTEGER, nb_max_day BIGINT, nb_max_month BIGINT, nb_max_week BIGINT, delay_min BIGINT, CONSTRAINT com_provider_policy_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-239', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 235, '8:00933586229b18eebaf813c7845fae10', 'createTable tableName=com_provider_policy', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-240::AndriusKarpavicius
CREATE TABLE com_sender_config (media VARCHAR(31) NOT NULL, id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), non_distrib_email VARCHAR(255), ack_email VARCHAR(255), priority VARCHAR(255), manage_non_distrib INTEGER, nb_max_day BIGINT, nb_max_month BIGINT, nb_max_week BIGINT, delay_min BIGINT, use_ack INTEGER, stamptype VARCHAR(255), addaddressfrontpage INTEGER DEFAULT 0 NOT NULL, envelopformat VARCHAR(255), printrectoverso INTEGER DEFAULT 0 NOT NULL, address_1 VARCHAR(255), address_2 VARCHAR(255), address_3 VARCHAR(255), address_4 VARCHAR(255), address_5 VARCHAR(255), address_city VARCHAR(100), address_country_id BIGINT, address_state VARCHAR(50), address_zipcode VARCHAR(20), usecolor INTEGER DEFAULT 0 NOT NULL, windowtype VARCHAR(255), smtp_host VARCHAR(255), smtp_port INTEGER, default_from_email VARCHAR(255), default_reply_email VARCHAR(255), login VARCHAR(50), pswd VARCHAR(50), use_ssl INTEGER, creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT com_sender_config_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-240', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 237, '8:475bb9391777764e62aca21752035b6e', 'createTable tableName=com_sender_config', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-242::AndriusKarpavicius
CREATE TABLE crm_custom_field_tmpl (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), field_type VARCHAR(255) NOT NULL, value_required INTEGER DEFAULT 0 NOT NULL, creator VARCHAR(100), updater VARCHAR(100), versionable INTEGER DEFAULT 0 NOT NULL, calendar_id BIGINT, default_value VARCHAR(250), entity_clazz VARCHAR(255), storage_type VARCHAR(255) NOT NULL, trigger_end_period_event INTEGER DEFAULT 0 NOT NULL, applies_to VARCHAR(100) NOT NULL, gui_position VARCHAR(2000), allow_edit INTEGER DEFAULT 1 NOT NULL, hide_on_new INTEGER DEFAULT 0 NOT NULL, max_value BIGINT, min_value BIGINT, reg_exp VARCHAR(80), mapkey_type VARCHAR(20), applicable_on_el VARCHAR(2000), che_fields VARCHAR(500), index_type VARCHAR(17), inh_as_def_value INTEGER DEFAULT 0 NOT NULL, tags VARCHAR(2000), description_i18n JSONB, cf_protectable INTEGER DEFAULT 0, display_format VARCHAR(80), nb_decimal INTEGER, rounding_mode VARCHAR(50), unique_constraint INTEGER DEFAULT 0, custom_table_code_el VARCHAR(2000), data_filter_el VARCHAR(2000), fields_el VARCHAR(2000), anonymize_gdpr INTEGER DEFAULT 0 NOT NULL, CONSTRAINT crm_custom_field_tmpl_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-242', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 239, '8:5c1dbd2d1abe7f3beb5db3b10f265b78', 'createTable tableName=crm_custom_field_tmpl', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-243::AndriusKarpavicius
CREATE TABLE crm_custom_field_tmpl_val (customfieldtemplate_id BIGINT NOT NULL, listvalues VARCHAR(255), listvalues_key VARCHAR(255) NOT NULL);

ALTER TABLE crm_custom_field_tmpl_val ADD CONSTRAINT crm_custom_field_tmpl_val_pkey PRIMARY KEY (customfieldtemplate_id, listvalues_key);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-243', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 241, '8:9a3697ddd6aaa7559a677ddcddfd41d7', 'createTable tableName=crm_custom_field_tmpl_val; addPrimaryKey constraintName=crm_custom_field_tmpl_val_pkey, tableName=crm_custom_field_tmpl_val', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-244::AndriusKarpavicius
CREATE TABLE crm_customer (id BIGINT NOT NULL, customer_brand_id BIGINT, customer_category_id BIGINT, seller_id BIGINT, additional_details_id BIGINT, address_book_id BIGINT, minimum_target_account_id BIGINT, invoicing_threshold numeric(23, 12), check_threshold VARCHAR(25), threshold_per_entity INTEGER DEFAULT 0, minimum_article_id BIGINT, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), address_1 VARCHAR(255), address_2 VARCHAR(255), address_3 VARCHAR(255), address_4 VARCHAR(255), address_5 VARCHAR(255), address_city VARCHAR(100), address_country_id BIGINT, address_state VARCHAR(50), address_zipcode VARCHAR(20), default_level INTEGER DEFAULT 1, external_ref_1 VARCHAR(255), external_ref_2 VARCHAR(255), firstname VARCHAR(100), lastname VARCHAR(100), provider_contact VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), title_id BIGINT, primary_contact BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, bam_id BIGINT, cf_values JSONB, job_title VARCHAR(255), email VARCHAR(2000), fax VARCHAR(50), mobile VARCHAR(100), phone VARCHAR(100), vat_no VARCHAR(100), registration_no VARCHAR(100), minimum_amount_el VARCHAR(2000), minimum_label_el VARCHAR(2000), minimum_charge_template_id BIGINT, company INTEGER DEFAULT 0, legal_entity_type_id BIGINT, anonymization_date TIMESTAMP WITHOUT TIME ZONE, parent_customer_id BIGINT, CONSTRAINT crm_customer_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-244', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 243, '8:fd115a6e0916fa59cf699521c16772c5', 'createTable tableName=crm_customer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-245::AndriusKarpavicius
CREATE TABLE crm_customer_brand (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT crm_customer_brand_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-245', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 245, '8:073c2e4b29adf827fdd276d1b8a5e78d', 'createTable tableName=crm_customer_brand', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-246::AndriusKarpavicius
CREATE TABLE crm_customer_category (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), exonerated_from_taxes INTEGER DEFAULT 0 NOT NULL, creator VARCHAR(100), updater VARCHAR(100), exoneration_tax_el VARCHAR(2000), exoneration_reason VARCHAR(255), cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, accounting_code_id BIGINT, tax_category_id BIGINT NOT NULL, tax_category_el VARCHAR(2000), description_i18n JSONB, default_seller_id BIGINT, CONSTRAINT crm_customer_category_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-246', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 247, '8:2c67b61822b67c735afbdf942ff38435', 'createTable tableName=crm_customer_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-247::AndriusKarpavicius
CREATE TABLE crm_email (id BIGINT NOT NULL, version INTEGER, email VARCHAR(255), CONSTRAINT crm_email_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-247', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 249, '8:a2af3040588eba23405278cc11dbdfef', 'createTable tableName=crm_email', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-248::AndriusKarpavicius
CREATE TABLE crm_provider (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), amount_validation INTEGER DEFAULT 0 NOT NULL, automatic_invoicing INTEGER DEFAULT 0 NOT NULL, account_number VARCHAR(11), account_owner VARCHAR(50), bank_code VARCHAR(5), bank_id VARCHAR(50), bank_name VARCHAR(50), bic VARCHAR(100), branch_code VARCHAR(5), iban VARCHAR(100), ics VARCHAR(35), issuer_name VARCHAR(50), issuer_number VARCHAR(50), hash_key VARCHAR(2), discount_accounting_code VARCHAR(255), display_free_tx_in_invoice INTEGER DEFAULT 0 NOT NULL, email VARCHAR(100) NOT NULL, entreprise INTEGER DEFAULT 0 NOT NULL, address_1 VARCHAR(255), address_2 VARCHAR(255), address_3 VARCHAR(255), address_4 VARCHAR(255), address_5 VARCHAR(255), address_city VARCHAR(100), address_country_id BIGINT, address_state VARCHAR(50), address_zipcode VARCHAR(20), center_code VARCHAR(255), creditor_code VARCHAR(255), financial_institution_code VARCHAR(255), nne VARCHAR(255), level_duplication INTEGER DEFAULT 0 NOT NULL, multicountry_flag INTEGER DEFAULT 0 NOT NULL, multicurrency_flag INTEGER DEFAULT 0 NOT NULL, multilanguage_flag INTEGER DEFAULT 0 NOT NULL, prepaid_resrv_delay_ms BIGINT, creator VARCHAR(100), updater VARCHAR(100), billing_account_id BIGINT, country_id BIGINT, currency_id BIGINT, customer_id BIGINT, customer_account_id BIGINT, language_id BIGINT, user_account_id BIGINT, credit_note_prefix VARCHAR(255), current_credit_note_nb BIGINT, credit_note_sequence_size INTEGER, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, recognize_revenue INTEGER DEFAULT 0 NOT NULL, cf_values JSONB, rating_rounding INTEGER DEFAULT 2 NOT NULL, rounding_mode VARCHAR(50) DEFAULT 'NEAREST' NOT NULL, invoice_rounding INTEGER DEFAULT 2 NOT NULL, invoice_rounding_mode VARCHAR(50) DEFAULT 'NEAREST' NOT NULL, rum_prefix VARCHAR(255), rum_sequence_size BIGINT, rum_current_sequence_nb BIGINT, cust_no_prefix VARCHAR(255), cust_no_sequence_size BIGINT, cust_no_current_sequence_nb BIGINT, invoice_config_id BIGINT, gdpr_config_id BIGINT, cdr_deduplicationkey_el VARCHAR(500), payment_deferral INTEGER DEFAULT 0, payment_plan INTEGER DEFAULT 0, maximum_delay INTEGER, maximum_deferral_per_invoice INTEGER, min_allowed_receivable_amount numeric(23, 12), max_allowed_receivable_amount numeric(23, 12), min_installment_amount numeric(23, 12), theres_hold_for_approval numeric(23, 12), max_payment_plan_duration INTEGER, default_installment_count INTEGER, default_fee_per_installment_plan INTEGER DEFAULT 0, installment_amount_rounding INTEGER DEFAULT 2, split_evenly INTEGER DEFAULT 1 NOT NULL, allow_custom_installment_plan INTEGER DEFAULT 0 NOT NULL, add_interest_rate INTEGER DEFAULT 0 NOT NULL, add_installment_fee INTEGER DEFAULT 0 NOT NULL, default_block_payments INTEGER DEFAULT 0 NOT NULL, require_internal_approval INTEGER DEFAULT 0 NOT NULL, default_interest_rate INTEGER DEFAULT 0 NOT NULL, default_recurrence_unit VARCHAR(255), action_on_remaining_amount VARCHAR(255), clearing_priority VARCHAR(255), dunning_default_pause_reason_id BIGINT, functional_currency_flag INTEGER DEFAULT 0 NOT NULL, default_starting_date_of_plan VARCHAR(255), activate_cascading_discounts INTEGER DEFAULT 1, portal_message VARCHAR(500), current_matching_code VARCHAR(255), icd_id BIGINT, CONSTRAINT crm_provider_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-248', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 251, '8:7c168cde3f616aa634f6609699d5050e', 'createTable tableName=crm_provider', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-250::AndriusKarpavicius
CREATE TABLE crm_provider_contact (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), address_1 VARCHAR(255), address_2 VARCHAR(255), address_3 VARCHAR(255), address_4 VARCHAR(255), address_5 VARCHAR(255), address_city VARCHAR(100), address_country_id BIGINT, address_state VARCHAR(50), address_zipcode VARCHAR(20), email VARCHAR(100), fax VARCHAR(50), firstname VARCHAR(50), generic_mail VARCHAR(100), lastname VARCHAR(50), mobile VARCHAR(50), phone VARCHAR(50), creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT crm_provider_contact_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-250', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 253, '8:439f2f37d2e026e61ced806ae977eb94', 'createTable tableName=crm_provider_contact', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-251::AndriusKarpavicius
CREATE TABLE crm_seller (id BIGINT NOT NULL, parent_seller_id BIGINT, trading_country_id BIGINT, trading_currency_id BIGINT, trading_language_id BIGINT, credit_note_prefix VARCHAR(255), current_credit_note_nb BIGINT, credit_note_sequence_size INTEGER, registration_no VARCHAR(100), legal_text TEXT, legal_type VARCHAR(255), general_ledger_id BIGINT, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), address_1 VARCHAR(255), address_2 VARCHAR(255), address_3 VARCHAR(255), address_4 VARCHAR(255), address_5 VARCHAR(255), address_city VARCHAR(100), address_country_id BIGINT, address_state VARCHAR(50), address_zipcode VARCHAR(20), default_level INTEGER DEFAULT 1, external_ref_1 VARCHAR(255), external_ref_2 VARCHAR(255), firstname VARCHAR(100), lastname VARCHAR(100), provider_contact VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), title_id BIGINT, primary_contact BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, bam_id BIGINT, cf_values JSONB, job_title VARCHAR(255), email VARCHAR(2000), fax VARCHAR(50), mobile VARCHAR(100), phone VARCHAR(100), vat_no VARCHAR(100), minimum_amount_el VARCHAR(2000), minimum_label_el VARCHAR(2000), minimum_charge_template_id BIGINT, company INTEGER DEFAULT 0, legal_entity_type_id BIGINT, minimum_article_id BIGINT, icd_id BIGINT, CONSTRAINT crm_seller_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-251', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 255, '8:b92413fd01977c5f882210001fac73f8', 'createTable tableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-252::AndriusKarpavicius
CREATE TABLE dwh_account_operation (id BIGINT NOT NULL, account_code VARCHAR(50), account_description VARCHAR(255), accounting_code_id BIGINT, accounting_code_client_side VARCHAR(255), amount numeric(19, 2), category INTEGER DEFAULT 0, due_date date, due_month INTEGER, occ_code VARCHAR(10), occ_description VARCHAR(255), provider_code VARCHAR(20), reference VARCHAR(50), status INTEGER DEFAULT 0, transaction_date date, type INTEGER DEFAULT 0, version INTEGER, CONSTRAINT dwh_account_operation_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-252', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 257, '8:a31c30bb0818a8c2bcdae383288e2b47', 'createTable tableName=dwh_account_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-253::AndriusKarpavicius
CREATE TABLE dwh_chart (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), extender VARCHAR(255), css_style VARCHAR(1000), css_style_class VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), msr_qty_id BIGINT, role VARCHAR(50), width VARCHAR(10), height VARCHAR(10), visible INTEGER DEFAULT 0, CONSTRAINT dwh_chart_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-253', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 259, '8:0219d5acea8ac5b02836449f545a7f35', 'createTable tableName=dwh_chart', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-254::AndriusKarpavicius
CREATE TABLE dwh_chart_bar (animate INTEGER DEFAULT 0 NOT NULL, barmargin INTEGER NOT NULL, barpadding INTEGER NOT NULL, break_on_null INTEGER DEFAULT 0 NOT NULL, data_tip_format VARCHAR(255), legend_cols INTEGER, legend_position VARCHAR(255), legend_rows INTEGER, max FLOAT8, min FLOAT8, orientation INTEGER, show_data_tip INTEGER DEFAULT 0 NOT NULL, stacked INTEGER DEFAULT 0 NOT NULL, x_axis_angle INTEGER, x_axis_label VARCHAR(255), y_axis_angle INTEGER, y_axis_label VARCHAR(255), zoom INTEGER DEFAULT 0 NOT NULL, id BIGINT NOT NULL, CONSTRAINT dwh_chart_bar_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-254', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 261, '8:0ad82c5970f0174dab3769c4b89259b2', 'createTable tableName=dwh_chart_bar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-255::AndriusKarpavicius
CREATE TABLE dwh_chart_line (animate INTEGER DEFAULT 0 NOT NULL, break_on_null INTEGER DEFAULT 0 NOT NULL, data_tip_format VARCHAR(255), filled INTEGER DEFAULT 0 NOT NULL, legend_cols INTEGER, legend_position VARCHAR(255), legend_rows INTEGER, max_x INTEGER, max_y INTEGER, min_x INTEGER, min_y INTEGER, series_colors VARCHAR(1000), shadow INTEGER DEFAULT 1 NOT NULL, show_data_tip INTEGER DEFAULT 0 NOT NULL, stacked INTEGER DEFAULT 0 NOT NULL, x_axis_angle INTEGER, x_axis_label VARCHAR(255), y_axis_angle INTEGER, y_axis_label VARCHAR(255), zoom INTEGER DEFAULT 0 NOT NULL, id BIGINT NOT NULL, CONSTRAINT dwh_chart_line_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-255', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 263, '8:9aaf142f1ee8576b28a85e63e561daca', 'createTable tableName=dwh_chart_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-256::AndriusKarpavicius
CREATE TABLE dwh_chart_pie (diameter INTEGER, filled INTEGER DEFAULT 0 NOT NULL, legend_cols INTEGER, legend_position VARCHAR(255), legend_rows INTEGER, series_colors VARCHAR(1000), shadow INTEGER DEFAULT 1 NOT NULL, show_data_labels INTEGER DEFAULT 0 NOT NULL, slice_margin INTEGER, id BIGINT NOT NULL, CONSTRAINT dwh_chart_pie_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-256', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 265, '8:c1ad1efd2f447adabfaf1c968ebd068f', 'createTable tableName=dwh_chart_pie', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-257::AndriusKarpavicius
CREATE TABLE dwh_journal_entries (id BIGINT NOT NULL, accounting_code_id BIGINT, amount_tax numeric(23, 12), amount_with_tax numeric(23, 12), amount_without_tax numeric(23, 12), customer_account_code VARCHAR(20), invoice_date date, invoice_number VARCHAR(20), origin_id BIGINT, provider_code VARCHAR(20), sub_cat_desc VARCHAR(50), tax_code VARCHAR(10), tax_description VARCHAR(20), tax_percent numeric(19, 2), type VARCHAR(255), version INTEGER, CONSTRAINT dwh_journal_entries_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-257', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 267, '8:91345fa633d4e5e632dc9d062d5cf0b3', 'createTable tableName=dwh_journal_entries', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-258::AndriusKarpavicius
CREATE TABLE dwh_measurable_quant (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), dimension_1 VARCHAR(255), dimension_2 VARCHAR(255), dimension_3 VARCHAR(255), dimension_4 VARCHAR(255), editable INTEGER DEFAULT 0 NOT NULL, last_measure_date TIMESTAMP WITHOUT TIME ZONE, measurement_period VARCHAR(255), sql_query TEXT, theme VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), additive INTEGER DEFAULT 0 NOT NULL, description_i18n JSONB, CONSTRAINT dwh_measurable_quant_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-258', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 269, '8:d7f59c3b7906a0304e7d48cac1e6380a', 'createTable tableName=dwh_measurable_quant', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-259::AndriusKarpavicius
CREATE TABLE dwh_measured_value (id BIGINT NOT NULL, version INTEGER, date TIMESTAMP WITHOUT TIME ZONE, measurement_period VARCHAR(255), value numeric(23, 12), measurable_quantity BIGINT, dimension_1 VARCHAR(255), dimension_2 VARCHAR(255), dimension_3 VARCHAR(255), dimension_4 VARCHAR(255), code VARCHAR(255) NOT NULL, CONSTRAINT dwh_measured_value_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-259', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 271, '8:cd2f0902168517bf06dc893801591935', 'createTable tableName=dwh_measured_value', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-260::AndriusKarpavicius
CREATE TABLE job_execution (id BIGINT NOT NULL, version INTEGER, job_done INTEGER DEFAULT 1 NOT NULL, end_date TIMESTAMP WITHOUT TIME ZONE, nb_success BIGINT, nb_error BIGINT, nb_warning BIGINT, nb_to_process BIGINT, report TEXT, start_date TIMESTAMP WITHOUT TIME ZONE, job_launcher VARCHAR(255), job_instance_id BIGINT NOT NULL, job_status VARCHAR(14), parent_job_result_id BIGINT, CONSTRAINT job_execution_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-260', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 273, '8:72d16466fe51b37ad17af71f2206f739', 'createTable tableName=job_execution', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-262::AndriusKarpavicius
CREATE TABLE medina_access (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, acces_user_id VARCHAR(255), end_date TIMESTAMP WITHOUT TIME ZONE, start_date TIMESTAMP WITHOUT TIME ZONE, subscription_id BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, creator VARCHAR(100), updater VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, cf_values JSONB, CONSTRAINT medina_access_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-262', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 275, '8:e4f836d72a2e10845eadbb719ee8266b', 'createTable tableName=medina_access', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-269::AndriusKarpavicius
CREATE TABLE meveo_timer (id BIGINT NOT NULL, version INTEGER, sc_d_o_month VARCHAR(255) NOT NULL, sc_d_o_week VARCHAR(255) NOT NULL, sc_end TIMESTAMP WITHOUT TIME ZONE, sc_hour VARCHAR(255) NOT NULL, sc_min VARCHAR(255) NOT NULL, sc_month VARCHAR(255) NOT NULL, sc_sec VARCHAR(255) NOT NULL, sc_start TIMESTAMP WITHOUT TIME ZONE, sc_year VARCHAR(255) NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, creator VARCHAR(100), updated TIMESTAMP WITHOUT TIME ZONE, updater VARCHAR(100), disabled INTEGER DEFAULT 0 NOT NULL, CONSTRAINT meveo_timer_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-269', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 277, '8:1d74bbc2205afc2fcc0f3cdf62d89c54', 'createTable tableName=meveo_timer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-271::AndriusKarpavicius
CREATE TABLE rating_edr (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE, event_date TIMESTAMP WITHOUT TIME ZONE, last_updated TIMESTAMP WITHOUT TIME ZONE, origin_batch VARCHAR(255), origin_record VARCHAR(255), parameter_1 VARCHAR(255), parameter_2 VARCHAR(255), parameter_3 VARCHAR(255), parameter_4 VARCHAR(255), quantity numeric(23, 12), reject_reason TEXT, status VARCHAR(255), subscription_id BIGINT NOT NULL, parameter_5 VARCHAR(255), parameter_6 VARCHAR(255), parameter_7 VARCHAR(255), parameter_8 VARCHAR(255), parameter_9 VARCHAR(255), date_parameter_1 TIMESTAMP WITHOUT TIME ZONE, date_parameter_2 TIMESTAMP WITHOUT TIME ZONE, date_parameter_3 TIMESTAMP WITHOUT TIME ZONE, date_parameter_4 TIMESTAMP WITHOUT TIME ZONE, date_parameter_5 TIMESTAMP WITHOUT TIME ZONE, decimal_parameter_1 numeric(23, 12), decimal_parameter_2 numeric(23, 12), decimal_parameter_3 numeric(23, 12), decimal_parameter_4 numeric(23, 12), decimal_parameter_5 numeric(23, 12), access_code VARCHAR(255), header_edr_id BIGINT, extra_parameter TEXT, times_tried INTEGER, event_key VARCHAR(100), event_version INTEGER, wallet_operation_id BIGINT) PARTITION BY LIST(status);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-271', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 279, '8:626948e215f9c5a5ac99e5dce3a9a45b', 'createTable tableName=rating_edr', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-271-pk::AndriusKarpavicius
ALTER TABLE rating_edr ADD CONSTRAINT rating_edr_pkey PRIMARY KEY (id, status);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-271-pk', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 281, '8:b3ec2ca2d1593b0c511b78294430f724', 'addPrimaryKey constraintName=rating_edr_pkey, tableName=rating_edr', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-272::AndriusKarpavicius
CREATE TABLE report_emails (email_id BIGINT NOT NULL, report_id BIGINT NOT NULL);

ALTER TABLE report_emails ADD CONSTRAINT report_emails_pkey PRIMARY KEY (email_id, report_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-272', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 283, '8:f075a5c46d6930ddb0053e28c8d48418', 'createTable tableName=report_emails; addPrimaryKey constraintName=report_emails_pkey, tableName=report_emails', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-273::AndriusKarpavicius
CREATE TABLE rm_service_param_template (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), cumulative_periods INTEGER, default_value VARCHAR(255), name VARCHAR(255), value VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT rm_service_param_template_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-273', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 285, '8:e84c2b080863749f8b904bd61eaa0ae2', 'createTable tableName=rm_service_param_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-275::AndriusKarpavicius
CREATE TABLE billing_invoice_configuration (id BIGINT NOT NULL, version INTEGER, display_subscriptions INTEGER DEFAULT 0, display_services INTEGER DEFAULT 0, display_offers INTEGER DEFAULT 0, display_edrs INTEGER DEFAULT 0, display_provider INTEGER DEFAULT 0, display_detail INTEGER DEFAULT 1, display_priceplans INTEGER DEFAULT 0, display_cf_as_xml INTEGER DEFAULT 0, display_billing_cycle INTEGER DEFAULT 0, display_orders INTEGER DEFAULT 0, current_invoice_nb BIGINT, display_wallet_operations INTEGER DEFAULT 0, display_user_account_hierarchy INTEGER DEFAULT 0, default_invoice_subcategory_id BIGINT, default_generic_article_id BIGINT, default_discount_article_id BIGINT, default_advanced_payment_article_id BIGINT, default_invoice_minimum_article_id BIGINT, discount_plan_id BIGINT, display_tax_details INTEGER DEFAULT 0, display_rated_items INTEGER DEFAULT 0, CONSTRAINT billing_invoice_configuration_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-275', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 287, '8:dffd3ad31ade22958266ee606f0776b1', 'createTable tableName=billing_invoice_configuration', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-276::AndriusKarpavicius
CREATE TABLE ar_credit_category (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), description_i18n JSONB, provider_id BIGINT, CONSTRAINT ar_credit_category_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-276', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 289, '8:b5d8525ae37a7cb688e8d947b3a34e24', 'createTable tableName=ar_credit_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-277::AndriusKarpavicius
CREATE TABLE meveo_job_instance (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), job_category VARCHAR(255), job_template VARCHAR(255) NOT NULL, parametres VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), timerentity_id BIGINT, following_job_id BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, run_on_nodes VARCHAR(100), cf_values JSONB, exclude_inv_without_amount INTEGER DEFAULT 0, verbose_report INTEGER DEFAULT 1, stop_on_error INTEGER DEFAULT 0, job_speed VARCHAR(10) DEFAULT 'NORMAL', query_scheduler_id BIGINT, cluster_behavior VARCHAR(25) DEFAULT 'LIMIT_TO_SINGLE_NODE', CONSTRAINT meveo_job_instance_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-277', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 291, '8:ec5a82ae7043cacce52b8f3440d8711b', 'createTable tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-278::AndriusKarpavicius
CREATE TABLE com_meveo_instance (id BIGINT NOT NULL, version INTEGER DEFAULT 0, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), as_vendor VARCHAR(255), as_version VARCHAR(255), creation_date TIMESTAMP WITHOUT TIME ZONE, hd_size VARCHAR(255), installation_mode VARCHAR(255), java_vendor VARCHAR(255), java_version VARCHAR(255), java_vm_name VARCHAR(255), java_vm_version VARCHAR(255), key_entreprise VARCHAR(255), mac_address VARCHAR(255), machine_vendor VARCHAR(255), md5 VARCHAR(255), memory VARCHAR(255), nb_cores VARCHAR(255), os_arch VARCHAR(255), os_name VARCHAR(255), ps_version VARCHAR(255), owner VARCHAR(255), product_name VARCHAR(255), product_version VARCHAR(255), status VARCHAR(255), update_date TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), user_id BIGINT, customer_id BIGINT, url VARCHAR(255) DEFAULT 'http://' NOT NULL, auth_username VARCHAR(60), auth_password VARCHAR(60), client_id VARCHAR(60), client_secret VARCHAR(60), authentication_type VARCHAR(60), CONSTRAINT com_meveo_instance_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-278', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 293, '8:6ac63bfae8530ef3665a4bc71634f4a6', 'createTable tableName=com_meveo_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-280::AndriusKarpavicius
CREATE TABLE meveo_script_instance (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(1000), script TEXT, script_instance_cat_id BIGINT, creator VARCHAR(100), updater VARCHAR(100), src_type VARCHAR(100), is_error INTEGER DEFAULT 0 NOT NULL, reuse INTEGER DEFAULT 0 NOT NULL, description_i18n JSONB, CONSTRAINT meveo_script_instance_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-280', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 295, '8:30a57e76e19173a0ffad2ac84e86e831', 'createTable tableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-281::AndriusKarpavicius
CREATE TABLE adm_notif_job (job_instance_id BIGINT, id BIGINT NOT NULL, CONSTRAINT adm_notif_job_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-281', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 297, '8:c98428cc8356e00a975bba31480b95dd', 'createTable tableName=adm_notif_job', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-282::AndriusKarpavicius
CREATE TABLE meveo_filter_condition (id BIGINT NOT NULL, version INTEGER, composite_and_filter_condition_id BIGINT, composite_or_filter_condition_id BIGINT, filter_condition_type VARCHAR(50) NOT NULL, CONSTRAINT meveo_filter_condition_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-282', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 299, '8:50fd68bafb8f5b6bb8064b341944643f', 'createTable tableName=meveo_filter_condition', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-283::AndriusKarpavicius
CREATE TABLE meveo_filter_oc_field_names (field_name VARCHAR(100), order_condition_id BIGINT);

ALTER TABLE meveo_filter_oc_field_names ADD CONSTRAINT meveo_filter_oc_field_names_pkey PRIMARY KEY (field_name, order_condition_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-283', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 301, '8:9de7f002758b8832a34e1d20c38b5bee', 'createTable tableName=meveo_filter_oc_field_names; addPrimaryKey constraintName=meveo_filter_oc_field_names_pkey, tableName=meveo_filter_oc_field_names', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-284::AndriusKarpavicius
CREATE TABLE meveo_filter_order_condition (id BIGINT NOT NULL, version INTEGER, ascending INTEGER DEFAULT 0 NOT NULL, CONSTRAINT meveo_filter_order_condition_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-284', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 303, '8:779673dfe3dff6346169e1d1e6aaf09a', 'createTable tableName=meveo_filter_order_condition', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-285::AndriusKarpavicius
CREATE TABLE meveo_primitive_filter_condition (id BIGINT NOT NULL, version INTEGER, field_name VARCHAR(60), operator VARCHAR(60), operand VARCHAR(255), CONSTRAINT meveo_primitive_filter_condition_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-285', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 305, '8:0c6e1654a5b0f5289fd701edb90bb29d', 'createTable tableName=meveo_primitive_filter_condition', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-286::AndriusKarpavicius
CREATE TABLE meveo_native_filter_condition (id BIGINT NOT NULL, version INTEGER, el VARCHAR(2000), jpql VARCHAR(2000), CONSTRAINT meveo_native_filter_condition_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-286', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 307, '8:c49d0d3b6220477d013561ed94fb8b7d', 'createTable tableName=meveo_native_filter_condition', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-287::AndriusKarpavicius
CREATE TABLE meveo_filter (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), filter_condition_id BIGINT, order_condition_id BIGINT, primary_selector_id BIGINT, input_xml TEXT, shared INTEGER DEFAULT 0, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, polling_query TEXT, entity_class VARCHAR(255), CONSTRAINT meveo_filter_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-287', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 309, '8:7e2eb4b511d853fe54c5fef48545e190', 'createTable tableName=meveo_filter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-288::AndriusKarpavicius
CREATE TABLE meveo_filter_selector (id BIGINT NOT NULL, version INTEGER, target_entity VARCHAR(100) NOT NULL, alias VARCHAR(50), filter_id BIGINT, CONSTRAINT meveo_filter_selector_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-288', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 311, '8:6551713c690c1e8fb3d426aba844f22d', 'createTable tableName=meveo_filter_selector', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-289::AndriusKarpavicius
CREATE TABLE meveo_or_composite_filter_condition (id BIGINT NOT NULL, version INTEGER, CONSTRAINT meveo_or_composite_filter_condition_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-289', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 313, '8:fe1711b30ae7a7882bdeb89dd97a66ee', 'createTable tableName=meveo_or_composite_filter_condition', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-290::AndriusKarpavicius
CREATE TABLE meveo_and_composite_filter_condition (id BIGINT NOT NULL, version INTEGER, CONSTRAINT meveo_and_composite_filter_condition_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-290', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 315, '8:2982fc1c570ac3c05a491d1d9ae1a49f', 'createTable tableName=meveo_and_composite_filter_condition', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-291::AndriusKarpavicius
CREATE TABLE meveo_filter_selector_display_fields (filter_selector_id BIGINT NOT NULL, display_field VARCHAR(100));

ALTER TABLE meveo_filter_selector_display_fields ADD CONSTRAINT meveo_filter_selector_display_fields_pkey PRIMARY KEY (filter_selector_id, display_field);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-291', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 317, '8:6acdb82743b84f68895a3de43db0d9ed', 'createTable tableName=meveo_filter_selector_display_fields; addPrimaryKey constraintName=meveo_filter_selector_display_fields_pkey, tableName=meveo_filter_selector_display_fields', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-292::AndriusKarpavicius
CREATE TABLE meveo_filter_selector_export_fields (filter_selector_id BIGINT NOT NULL, export_field VARCHAR(100));

ALTER TABLE meveo_filter_selector_export_fields ADD CONSTRAINT meveo_filter_selector_export_fields_pkey PRIMARY KEY (filter_selector_id, export_field);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-292', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 319, '8:9125f423c21c99c85d54c48b155c0064', 'createTable tableName=meveo_filter_selector_export_fields; addPrimaryKey constraintName=meveo_filter_selector_export_fields_pkey, tableName=meveo_filter_selector_export_fields', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-293::AndriusKarpavicius
CREATE TABLE meveo_filter_selector_ignore_fields (filter_selector_id BIGINT NOT NULL, ignored_field VARCHAR(100));

ALTER TABLE meveo_filter_selector_ignore_fields ADD CONSTRAINT meveo_filter_selector_ignore_fields_pkey PRIMARY KEY (filter_selector_id, ignored_field);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-293', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 321, '8:7328e1d9ae8039b88c8a5d8b4f8ca2d6', 'createTable tableName=meveo_filter_selector_ignore_fields; addPrimaryKey constraintName=meveo_filter_selector_ignore_fields_pkey, tableName=meveo_filter_selector_ignore_fields', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-294::AndriusKarpavicius
CREATE TABLE adm_notification_params (notification_id BIGINT NOT NULL, params VARCHAR(255), params_key VARCHAR(255) NOT NULL);

ALTER TABLE adm_notification_params ADD CONSTRAINT pk_adm_notification_params PRIMARY KEY (notification_id, params_key);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-294', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 323, '8:8d431b29d39a1fea30eddc340b501703', 'createTable tableName=adm_notification_params; addPrimaryKey constraintName=pk_adm_notification_params, tableName=adm_notification_params', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-295::AndriusKarpavicius
CREATE TABLE adm_notif_job_params (jobtrigger_id BIGINT NOT NULL, jobparams VARCHAR(255), jobparams_key VARCHAR(255) NOT NULL);

ALTER TABLE adm_notif_job_params ADD CONSTRAINT pk_adm_notif_job_params PRIMARY KEY (jobtrigger_id, jobparams_key);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-295', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 325, '8:14f083794afd4bc10a1a8da10bf6ea69', 'createTable tableName=adm_notif_job_params; addPrimaryKey constraintName=pk_adm_notif_job_params, tableName=adm_notif_job_params', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-298::AndriusKarpavicius
CREATE TABLE cust_cet (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, description VARCHAR(255), code VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), name VARCHAR(100) NOT NULL, store_as_table INTEGER DEFAULT 0, unique_constraint_name VARCHAR(120) DEFAULT '0', store_in_es INTEGER DEFAULT 1 NOT NULL, disableable INTEGER DEFAULT 0, versioned INTEGER DEFAULT 0, CONSTRAINT cust_cet_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-298', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 327, '8:e6023c7d8b53b6a3dfa9db6798739f96', 'createTable tableName=cust_cet', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-299::AndriusKarpavicius
CREATE TABLE adm_script_notification (id BIGINT NOT NULL, CONSTRAINT adm_script_notification_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-299', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 329, '8:8447acc5b426cda9bc15f6a526adb450', 'createTable tableName=adm_script_notification', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-300::AndriusKarpavicius
CREATE TABLE cust_cei (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, description VARCHAR(255), code VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), cet_code VARCHAR(255) NOT NULL, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, parent_uuid VARCHAR(60), cf_values JSONB, CONSTRAINT crm_cust_cei_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-300', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 331, '8:651f367ba18cdcf9d4eee6c71eb470a9', 'createTable tableName=cust_cei', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-301::AndriusKarpavicius
CREATE TABLE meveo_module (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), module_license VARCHAR(20) NOT NULL, logo_picture VARCHAR(255), script_instance_id BIGINT, installed INTEGER DEFAULT 0 NOT NULL, module_source TEXT, CONSTRAINT meveo_module_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-301', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 333, '8:eda0bf78dc7b5113b46b3ee806ca39a6', 'createTable tableName=meveo_module', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-302::AndriusKarpavicius
CREATE TABLE meveo_module_item (id BIGINT NOT NULL, version INTEGER, module_id BIGINT, applies_to VARCHAR(100), item_type VARCHAR(100) NOT NULL, item_code VARCHAR(255) NOT NULL, valid_from TIMESTAMP WITHOUT TIME ZONE, valid_to TIMESTAMP WITHOUT TIME ZONE, CONSTRAINT meveo_module_item_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-302', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 335, '8:8322d3d14becb4a5dcde559f0b948b70', 'createTable tableName=meveo_module_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-303::AndriusKarpavicius
CREATE TABLE ftp_transferred_file (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), uri VARCHAR(2000) NOT NULL, size BIGINT, transfer_date TIMESTAMP WITHOUT TIME ZONE, last_modification TIMESTAMP WITHOUT TIME ZONE, operation VARCHAR(100) DEFAULT 'IMPORT', CONSTRAINT ftp_transferred_file_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-303', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 337, '8:2a5a5c5d431db3ef23c98b9268a64176', 'createTable tableName=ftp_transferred_file', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-304::AndriusKarpavicius
CREATE TABLE adm_role_role (role_id BIGINT NOT NULL, child_role_id BIGINT NOT NULL);

ALTER TABLE adm_role_role ADD CONSTRAINT adm_role_role_pkey PRIMARY KEY (role_id, child_role_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-304', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 339, '8:3cd8d756466d2f00bc1372adcfb6e3cd', 'createTable tableName=adm_role_role; addPrimaryKey constraintName=adm_role_role_pkey, tableName=adm_role_role', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-306::AndriusKarpavicius
CREATE TABLE adm_script_exec_role (script_instance_id BIGINT NOT NULL, role VARCHAR(50));

ALTER TABLE adm_script_exec_role ADD CONSTRAINT adm_script_exec_role_pkey PRIMARY KEY (script_instance_id, role);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-306', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 341, '8:7895f089e730f24b9ffc29572bb8d53b', 'createTable tableName=adm_script_exec_role; addPrimaryKey constraintName=adm_script_exec_role_pkey, tableName=adm_script_exec_role', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-307::AndriusKarpavicius
CREATE TABLE adm_script_sourc_role (script_instance_id BIGINT NOT NULL, role VARCHAR(50));

ALTER TABLE adm_script_sourc_role ADD CONSTRAINT adm_script_sourc_role_pkey PRIMARY KEY (script_instance_id, role);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-307', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 343, '8:f740a7c7f844a19ce8c5b0428316af22', 'createTable tableName=adm_script_sourc_role; addPrimaryKey constraintName=adm_script_sourc_role_pkey, tableName=adm_script_sourc_role', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-308::AndriusKarpavicius
CREATE TABLE cat_offer_template_category (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, name VARCHAR(100) NOT NULL, offer_template_category_id BIGINT, order_level INTEGER, image_path VARCHAR(100), cf_values JSONB, description_i18n JSONB, CONSTRAINT pk_cat_offer_template_category PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-308', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 345, '8:7316540c7ac199db9b554c561e150124', 'createTable tableName=cat_offer_template_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-309::AndriusKarpavicius
CREATE TABLE cat_business_offer_model (id BIGINT NOT NULL, offer_template_id BIGINT, description_i18n JSONB, CONSTRAINT pk_cat_bom PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-309', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 347, '8:df05e40316929c1eca5feecb843029c4', 'createTable tableName=cat_business_offer_model', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-310::AndriusKarpavicius
CREATE TABLE cat_business_serv_model (id BIGINT NOT NULL, service_template_id BIGINT, duplicate_service INTEGER DEFAULT 0 NOT NULL, duplicate_price_plan INTEGER DEFAULT 0 NOT NULL, description_i18n JSONB, CONSTRAINT pk_cat_bsm PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-310', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 349, '8:2bd65e683326087fe299936d53268ed9', 'createTable tableName=cat_business_serv_model', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-311::AndriusKarpavicius
CREATE TABLE cat_offer_serv_incomp (offer_service_template_id BIGINT NOT NULL, service_template_id BIGINT NOT NULL);

ALTER TABLE cat_offer_serv_incomp ADD CONSTRAINT pk_cat_offer_serv_incomp PRIMARY KEY (offer_service_template_id, service_template_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-311', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 351, '8:1aaa51b9a6e5b19c5861a6e53918fe52', 'createTable tableName=cat_offer_serv_incomp; addPrimaryKey constraintName=pk_cat_offer_serv_incomp, tableName=cat_offer_serv_incomp', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-312::AndriusKarpavicius
CREATE TABLE crm_custom_field_tmpl_mcols (cft_id BIGINT NOT NULL, position INTEGER NOT NULL, code VARCHAR(20) NOT NULL, label VARCHAR(50) NOT NULL, key_type INTEGER NOT NULL, column_use INTEGER DEFAULT 0 NOT NULL);

ALTER TABLE crm_custom_field_tmpl_mcols ADD CONSTRAINT crm_custom_field_tmpl_mcols_pkey PRIMARY KEY (cft_id, code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-312', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 353, '8:a59c954e233743562242102439696853', 'createTable tableName=crm_custom_field_tmpl_mcols; addPrimaryKey constraintName=crm_custom_field_tmpl_mcols_pkey, tableName=crm_custom_field_tmpl_mcols', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-313::AndriusKarpavicius
CREATE TABLE crm_business_account_model (id BIGINT NOT NULL, hierarchy_type VARCHAR(20) NOT NULL, CONSTRAINT crm_bam_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-313', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 355, '8:2c3e9e25bab657eb8855abb4664b8a6e', 'createTable tableName=crm_business_account_model', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-314::AndriusKarpavicius
CREATE TABLE ar_revenue_recog_rule (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), script_instance_id BIGINT NOT NULL, start_delay INTEGER, start_unit VARCHAR(20), start_event VARCHAR(20), stop_delay INTEGER, stop_unit VARCHAR(20), stop_event VARCHAR(20), CONSTRAINT ar_revenue_recog_rule_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-314', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 357, '8:251169ae10e73cb7b258fd94302cfbdd', 'createTable tableName=ar_revenue_recog_rule', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-315::AndriusKarpavicius
CREATE TABLE ar_revenue_schedule (id BIGINT NOT NULL, version INTEGER, charge_instance_id BIGINT NOT NULL, revenue_date TIMESTAMP WITHOUT TIME ZONE, recognized_revenue numeric(23, 12), invoiced_revenue numeric(23, 12), accrued_revenue numeric(23, 12), deffered_revenue numeric(23, 12), CONSTRAINT ar_revenue_schedule_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-315', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 359, '8:85eddc790abb80e6f14d8fef6ce4aa14', 'createTable tableName=ar_revenue_schedule', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-316::AndriusKarpavicius
CREATE TABLE crm_custom_action (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), applies_to VARCHAR(100) NOT NULL, applicable_on_el VARCHAR(2000), label VARCHAR(50), script_instance_id BIGINT NOT NULL, gui_position VARCHAR(2000), label_i18n JSONB, CONSTRAINT crm_custom_action_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-316', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 361, '8:9af4f5716cf7d7facbf56b85f7a00600', 'createTable tableName=crm_custom_action', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-317::AndriusKarpavicius
CREATE TABLE billing_invoice_type (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), prefix_el VARCHAR(2000), matching_auto INTEGER DEFAULT 0, occ_template_id BIGINT, occ_templ_negative_id BIGINT, pdf_filename_el VARCHAR(2000), xml_filename_el VARCHAR(2000), billing_template_name_el VARCHAR(2000), use_self_sequence INTEGER DEFAULT 0, occ_template_code_el VARCHAR(2000), occ_template_negative_code_el VARCHAR(2000), script_instance_id BIGINT, invoice_sequence_id BIGINT, tax_script_instance_id BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, mailing_type VARCHAR(255), email_template_id BIGINT, invoice_accountable INTEGER DEFAULT 1 NOT NULL, invoice_validation_script_id BIGINT, exclude_from_aged_trial_balance INTEGER DEFAULT 0 NOT NULL, invoice_code_type_id BIGINT, vat_payment_option_id BIGINT NOT NULL, invoice_subject_code BIGINT, description_i18n JSONB, CONSTRAINT billing_invoice_type_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-317', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 363, '8:5b814a1918a2c1e250e6276814ba1444', 'createTable tableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-318::AndriusKarpavicius
CREATE TABLE billing_invoice_type_applies_to (invoice_type_id BIGINT NOT NULL, applies_to_id BIGINT NOT NULL);

ALTER TABLE billing_invoice_type_applies_to ADD CONSTRAINT billing_invoice_type_applies_to_pkey PRIMARY KEY (invoice_type_id, applies_to_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-318', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 365, '8:8a4563794bda82e22f396b0c627952a0', 'createTable tableName=billing_invoice_type_applies_to; addPrimaryKey constraintName=billing_invoice_type_applies_to_pkey, tableName=billing_invoice_type_applies_to', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-320::AndriusKarpavicius
CREATE TABLE billing_seq_invtyp_sell (id BIGINT NOT NULL, invoicetype_id BIGINT NOT NULL, seller_id BIGINT NOT NULL, prefix_el VARCHAR(2000), invoice_sequence_id BIGINT, CONSTRAINT bill_seq_it_sell_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-320', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 367, '8:091910d81b51ac90e588a51ff63ece49', 'createTable tableName=billing_seq_invtyp_sell', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-321::AndriusKarpavicius
CREATE TABLE adm_secured_entity (id BIGINT NOT NULL, entity_code VARCHAR(255) NOT NULL, entity_class VARCHAR(255) NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, user_name VARCHAR(255), role_name VARCHAR(255), entity_id BIGINT, permission VARCHAR(6), CONSTRAINT adm_secured_entity_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-321', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 369, '8:f110ea97fb9232d1652d52f623ecdb1d', 'createTable tableName=adm_secured_entity', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-322::AndriusKarpavicius
CREATE TABLE wf_action (id BIGINT NOT NULL, version INTEGER, action_el VARCHAR(2000), condition_el VARCHAR(2000), priority INTEGER, wf_transition_id BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, CONSTRAINT wf_action_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-322', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 371, '8:99be5325dc307e7473d4be708490b238', 'createTable tableName=wf_action', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-323::AndriusKarpavicius
CREATE TABLE wf_transition (id BIGINT NOT NULL, version INTEGER, condition_el VARCHAR(2000), from_status VARCHAR(255), to_status VARCHAR(255), workflow_id BIGINT, priority INTEGER, description VARCHAR(255), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, CONSTRAINT wf_transition_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-323', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 373, '8:cdf657dec41a87b4f01bfc0b08c3d2b6', 'createTable tableName=wf_transition', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-324::AndriusKarpavicius
CREATE TABLE wf_workflow (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), enable_history INTEGER DEFAULT 0 NOT NULL, wf_type VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT wf_workflow_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-324', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 375, '8:0d6aeea88ffd28c5c92644db8134058a', 'createTable tableName=wf_workflow', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-325::AndriusKarpavicius
CREATE TABLE cat_channel (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), description_i18n JSONB, CONSTRAINT cat_channel_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-325', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 377, '8:b7dd369c02469e147363a3e230952400', 'createTable tableName=cat_channel', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-326::AndriusKarpavicius
CREATE TABLE cat_business_product_model (id BIGINT NOT NULL, product_template_id BIGINT, description_i18n JSONB, CONSTRAINT pk_cat_business_product_model PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-326', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 379, '8:c54f2a85cb093157770f1a1d609ceefe', 'createTable tableName=cat_business_product_model', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-327::AndriusKarpavicius
CREATE TABLE cat_product_offer_tmpl_cat (product_id BIGINT NOT NULL, offer_template_cat_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_product_offer_tmpl_cat ADD CONSTRAINT cat_product_offer_tmpl_cat_pkey PRIMARY KEY (product_id, offer_template_cat_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-327', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 381, '8:9b89ec8b393b66017f4975f08a8e141a', 'createTable tableName=cat_product_offer_tmpl_cat; addPrimaryKey constraintName=cat_product_offer_tmpl_cat_pkey, tableName=cat_product_offer_tmpl_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-328::AndriusKarpavicius
CREATE TABLE cat_product_offer_bam (product_id BIGINT NOT NULL, bam_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_product_offer_bam ADD CONSTRAINT cat_product_offer_bam_pkey PRIMARY KEY (product_id, bam_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-328', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 383, '8:45a84deb760400aa53c27f3e9cd560da', 'createTable tableName=cat_product_offer_bam; addPrimaryKey constraintName=cat_product_offer_bam_pkey, tableName=cat_product_offer_bam', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-329::AndriusKarpavicius
CREATE TABLE cat_product_offer_channels (product_id BIGINT NOT NULL, channel_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_product_offer_channels ADD CONSTRAINT cat_prod_off_channels_pkey PRIMARY KEY (product_id, channel_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-329', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 385, '8:5528ac20d86a3307fc0b78b9ce6bdef6', 'createTable tableName=cat_product_offer_channels; addPrimaryKey constraintName=cat_prod_off_channels_pkey, tableName=cat_product_offer_channels', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-330::AndriusKarpavicius
CREATE TABLE cat_digital_resource (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), uri VARCHAR(255), mime_type VARCHAR(50), CONSTRAINT cat_digital_resource_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-330', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 387, '8:14bd1215438ec11ff8e0d7d20f484ec3', 'createTable tableName=cat_digital_resource', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-331::AndriusKarpavicius
CREATE TABLE cat_product_offer_digital_res (product_id BIGINT NOT NULL, digital_resource_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_product_offer_digital_res ADD CONSTRAINT cat_product_offer_digital_res_pkey PRIMARY KEY (product_id, digital_resource_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-331', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 389, '8:19dc3e1718be5c66421d7ad191627253', 'createTable tableName=cat_product_offer_digital_res; addPrimaryKey constraintName=cat_product_offer_digital_res_pkey, tableName=cat_product_offer_digital_res', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-333::AndriusKarpavicius
CREATE TABLE cat_product_wallet_template (product_template_id BIGINT NOT NULL, wallet_template_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_product_wallet_template ADD CONSTRAINT cat_product_wallet_template_pkey PRIMARY KEY (product_template_id, wallet_template_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-333', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 391, '8:bebfab7bd5906723b52da1283b382b65', 'createTable tableName=cat_product_wallet_template; addPrimaryKey constraintName=cat_product_wallet_template_pkey, tableName=cat_product_wallet_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-334::AndriusKarpavicius
CREATE TABLE cat_offer_product_template (id BIGINT NOT NULL, offer_template_id BIGINT, product_template_id BIGINT, mandatory INTEGER DEFAULT 0 NOT NULL, CONSTRAINT cat_offer_product_template_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-334', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 393, '8:f87bacbc7156e919b84d0a28a0970da8', 'createTable tableName=cat_offer_product_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-335::AndriusKarpavicius
CREATE TABLE cat_bundle_product_template (id BIGINT NOT NULL, product_template_id BIGINT, bundle_template_id BIGINT, quantity INTEGER, CONSTRAINT cat_bundle_prod_tpl_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-335', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 395, '8:b6dc925768e75ddc4b19a4cbaafc7bb6', 'createTable tableName=cat_bundle_product_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-336::AndriusKarpavicius
CREATE TABLE billing_product_instance (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), product_template_id BIGINT, quantity numeric(23, 12), user_account_id BIGINT, application_date TIMESTAMP WITHOUT TIME ZONE, subscription_id BIGINT, order_number VARCHAR(100), cf_values JSONB, seller_id BIGINT NOT NULL, CONSTRAINT billing_product_instance_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-336', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 397, '8:cdf0d35262a4d0b0fbe08341d20806db', 'createTable tableName=billing_product_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-338::AndriusKarpavicius
CREATE TABLE ord_order (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), external_id VARCHAR(100), delivery_instructions TEXT, order_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, req_start_date TIMESTAMP WITHOUT TIME ZONE, req_completion_date TIMESTAMP WITHOUT TIME ZONE, exp_completion_date TIMESTAMP WITHOUT TIME ZONE, completion_date TIMESTAMP WITHOUT TIME ZONE, priority INTEGER DEFAULT 2, category VARCHAR(200), status VARCHAR(20) NOT NULL, status_message VARCHAR(2000), routed_to_user_group VARCHAR(50), received_from VARCHAR(50), start_date TIMESTAMP WITHOUT TIME ZONE, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, due_date_delay_el VARCHAR(2000), payment_method_id BIGINT, cf_values JSONB, quote_id BIGINT, billing_cycle BIGINT, billing_run BIGINT, order_number VARCHAR(255), mailing_type VARCHAR(255), cced_emails VARCHAR(2000), email VARCHAR(255), electronic_billing INTEGER DEFAULT 0 NOT NULL, email_template_id BIGINT, CONSTRAINT ord_order_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-338', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 399, '8:7f653e965ebe55413ac5ebb782cd43a3', 'createTable tableName=ord_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-339::AndriusKarpavicius
CREATE TABLE ord_order_item (id BIGINT NOT NULL, version INTEGER, order_id BIGINT NOT NULL, item_id VARCHAR(10) NOT NULL, action VARCHAR(10) NOT NULL, user_account_id BIGINT, source TEXT NOT NULL, status VARCHAR(20) NOT NULL, subscription_id BIGINT, description VARCHAR(255), address_1 VARCHAR(255), address_2 VARCHAR(255), address_3 VARCHAR(255), address_4 VARCHAR(255), address_5 VARCHAR(255), address_city VARCHAR(100), address_country_id BIGINT, address_state VARCHAR(50), address_zipcode VARCHAR(10), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, code VARCHAR(255) NOT NULL, created TIMESTAMP WITHOUT TIME ZONE, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT ord_order_item_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-339', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 401, '8:62f6aa56cd727b877acfbf3087e416c3', 'createTable tableName=ord_order_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-340::AndriusKarpavicius
CREATE TABLE hierarchy_entity (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), hierarchy_type VARCHAR(10), parent_id BIGINT, order_level BIGINT, creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT hierarchy_entity_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-340', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 403, '8:f715d2396780886552e38e0c2e89bbca', 'createTable tableName=hierarchy_entity', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-341::AndriusKarpavicius
CREATE TABLE ord_item_offerings (order_item_id BIGINT NOT NULL, prd_offering_id BIGINT NOT NULL, id BIGINT NOT NULL, item_order INTEGER NOT NULL, CONSTRAINT ord_item_offer_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-341', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 405, '8:5c5943b9643d56e236061e8a40b034c4', 'createTable tableName=ord_item_offerings', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-342::AndriusKarpavicius
CREATE TABLE ord_item_prd_instance (order_item_id BIGINT NOT NULL, prd_instance_id BIGINT NOT NULL);

ALTER TABLE ord_item_prd_instance ADD CONSTRAINT ord_item_prd_instance_pkey PRIMARY KEY (order_item_id, prd_instance_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-342', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 407, '8:4b655f0e738e98fdc555e364da9722e0', 'createTable tableName=ord_item_prd_instance; addPrimaryKey constraintName=ord_item_prd_instance_pkey, tableName=ord_item_prd_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-343::AndriusKarpavicius
CREATE TABLE wf_decision_rule (id BIGINT NOT NULL, version INTEGER, condition_el VARCHAR(2000), name VARCHAR(255), value VARCHAR(255), type VARCHAR(255), model INTEGER DEFAULT 0 NOT NULL, CONSTRAINT wf_wf_decision_rule_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-343', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 409, '8:9b03b4a8bec99ccec422b2bdcebe5c70', 'createTable tableName=wf_decision_rule', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-344::AndriusKarpavicius
CREATE TABLE wf_transition_decision_rule (transition_id BIGINT NOT NULL, decision_rule_id BIGINT NOT NULL);

ALTER TABLE wf_transition_decision_rule ADD CONSTRAINT wf_transition_decision_rule_pkey PRIMARY KEY (transition_id, decision_rule_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-344', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 411, '8:af36df56654bbc3e18f3e32cbc1b6461', 'createTable tableName=wf_transition_decision_rule; addPrimaryKey constraintName=wf_transition_decision_rule_pkey, tableName=wf_transition_decision_rule', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-345::AndriusKarpavicius
CREATE TABLE ord_quote (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), external_id VARCHAR(100), quote_version VARCHAR(10), contact VARCHAR(100), quote_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, valid_from TIMESTAMP WITHOUT TIME ZONE, valid_to TIMESTAMP WITHOUT TIME ZONE, req_completion_date TIMESTAMP WITHOUT TIME ZONE, order_start_date TIMESTAMP WITHOUT TIME ZONE, completion_date TIMESTAMP WITHOUT TIME ZONE, category VARCHAR(200), status VARCHAR(20) NOT NULL, status_message VARCHAR(2000), routed_to_user_group VARCHAR(50), received_from VARCHAR(50), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, user_account_id BIGINT, cf_values JSONB, CONSTRAINT ord_quote_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-345', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 413, '8:8b17811fcd591bf376bf15fb655b374a', 'createTable tableName=ord_quote', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-346::AndriusKarpavicius
CREATE TABLE ord_quote_item (id BIGINT NOT NULL, version INTEGER, quote_id BIGINT NOT NULL, item_id VARCHAR(10) NOT NULL, source TEXT NOT NULL, status VARCHAR(20) NOT NULL, user_account_id BIGINT NOT NULL, CONSTRAINT ord_quote_item_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-346', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 415, '8:b57e1bf8a46012a6646a063167a32257', 'createTable tableName=ord_quote_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-347::AndriusKarpavicius
CREATE TABLE ord_quot_item_offerings (quote_item_id BIGINT NOT NULL, prd_offering_id BIGINT NOT NULL, id BIGINT NOT NULL, item_order INTEGER NOT NULL, CONSTRAINT ord_quot_item_offer_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-347', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 417, '8:40b71facae60e1ef5b4158baaa631620', 'createTable tableName=ord_quot_item_offerings', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-348::AndriusKarpavicius
CREATE TABLE billing_invoices_orders (invoice_id BIGINT, order_id BIGINT);

ALTER TABLE billing_invoices_orders ADD CONSTRAINT billing_invoices_orders_pkey PRIMARY KEY (invoice_id, order_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-348', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 419, '8:c3893791f90c60dbbeaa81e3ef8932b7', 'createTable tableName=billing_invoices_orders; addPrimaryKey constraintName=billing_invoices_orders_pkey, tableName=billing_invoices_orders', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-349::AndriusKarpavicius
CREATE TABLE cat_product_templ_charge_templ (product_charge_template_id BIGINT, product_template_id BIGINT);

ALTER TABLE cat_product_templ_charge_templ ADD CONSTRAINT cat_product_templ_charge_templ_pkey PRIMARY KEY (product_charge_template_id, product_template_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-349', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 421, '8:8ea0c7b3a09cbd564c730e8d4c184443', 'createTable tableName=cat_product_templ_charge_templ; addPrimaryKey constraintName=cat_product_templ_charge_templ_pkey, tableName=cat_product_templ_charge_templ', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-350::AndriusKarpavicius
CREATE TABLE wf_history (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), entity_instance_code VARCHAR(255) NOT NULL, from_status VARCHAR(255) NOT NULL, to_status VARCHAR(255) NOT NULL, transition_name VARCHAR(255), action_date TIMESTAMP WITHOUT TIME ZONE, workflow_id BIGINT, CONSTRAINT wf_history_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-350', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 423, '8:4724d1c3779f61d11f88e44fff9a871a', 'createTable tableName=wf_history', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-351::AndriusKarpavicius
CREATE TABLE wf_history_action (id BIGINT NOT NULL, version INTEGER, action VARCHAR(2000), result VARCHAR(2000), wf_history_id BIGINT, CONSTRAINT wf_history_action_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-351', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 425, '8:c14c17e1c3bbb0eddc6d8c2118538155', 'createTable tableName=wf_history_action', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-352::AndriusKarpavicius
CREATE TABLE audit_log (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, actor VARCHAR(200) NOT NULL, entity VARCHAR(200), origin VARCHAR(200), action VARCHAR(200) NOT NULL, parameters TEXT, source VARCHAR(200), CONSTRAINT audit_log_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-352', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 427, '8:6ccee980681b7a0c603bd25822820543', 'createTable tableName=audit_log', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-353::AndriusKarpavicius
CREATE TABLE ar_payment_token (token_type VARCHAR(20), id BIGINT NOT NULL, version INTEGER, card_type VARCHAR(60), owner VARCHAR(256), month_expiration INTEGER, year_expiration INTEGER, token_id VARCHAR(60), token_3ds_id VARCHAR(250), alias VARCHAR(256), is_default INTEGER DEFAULT 0, card_number VARCHAR(16), customer_account_id BIGINT, user_id VARCHAR(256), info_1 TEXT, info_2 TEXT, info_3 TEXT, info_4 TEXT, info_5 TEXT, bank_code VARCHAR(5), branch_code VARCHAR(5), account_number VARCHAR(11), hash_key VARCHAR(2), iban VARCHAR(100), bic VARCHAR(100), account_owner VARCHAR(50), bank_id VARCHAR(50), bank_name VARCHAR(50), issuer_name VARCHAR(50), issuer_number VARCHAR(50), ics VARCHAR(35), mandate_date date, mandate_identification VARCHAR(255), creator VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE DEFAULT '2015-09-18 00:04:00.631' NOT NULL, updater VARCHAR(100), updated TIMESTAMP WITHOUT TIME ZONE, disabled INTEGER DEFAULT 0 NOT NULL, document_id BIGINT, cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), payment_means BIGINT, mandate_change_action VARCHAR(20) DEFAULT 'NONE' NOT NULL, CONSTRAINT ar_payment_token_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-353', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 429, '8:bb2b0f632672f0106c854f2e7a1473c1', 'createTable tableName=ar_payment_token', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-354::AndriusKarpavicius
CREATE TABLE ar_payment_gateway (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), type VARCHAR(255) NOT NULL, payment_method VARCHAR(255), card_type VARCHAR(255), implementation_class_name VARCHAR(255), script_instance_id BIGINT, trading_currency_id BIGINT, application_el VARCHAR(2000), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, creator VARCHAR(100), updater VARCHAR(100), cf_values JSONB, country_id BIGINT, nb_tries INTEGER, replay_cause VARCHAR(100), errors_to_replay VARCHAR(400), marchand_id VARCHAR(256), secret_key VARCHAR(256), api_key VARCHAR(256), profile VARCHAR(256), webhooks_secret_key VARCHAR(255), webhooks_key_id VARCHAR(255), account_number VARCHAR(11), account_owner VARCHAR(50), bank_code VARCHAR(5), bank_id VARCHAR(50), bank_name VARCHAR(50), bic VARCHAR(100), branch_code VARCHAR(5), iban VARCHAR(100), ics VARCHAR(35), issuer_name VARCHAR(50), issuer_number VARCHAR(50), hash_key VARCHAR(2), seller_id BIGINT, CONSTRAINT ar_payment_gateway_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-354', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 431, '8:37ee9aeac74caae5c96d912d13b6a3e3', 'createTable tableName=ar_payment_gateway', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-355::AndriusKarpavicius
CREATE TABLE crm_provider_pay_methods (provider_id BIGINT, payment_method VARCHAR(255));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-355', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 433, '8:7d64b8f70b985b9db648874bc5e467ea', 'createTable tableName=crm_provider_pay_methods', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-356::AndriusKarpavicius
CREATE TABLE cat_product_offer_seller (product_id BIGINT NOT NULL, seller_id BIGINT NOT NULL);

ALTER TABLE cat_product_offer_seller ADD CONSTRAINT cat_product_offer_seller_pkey PRIMARY KEY (product_id, seller_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-356', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 435, '8:5795ef057e5e40f151e41d109927ef19', 'createTable tableName=cat_product_offer_seller; addPrimaryKey constraintName=cat_product_offer_seller_pkey, tableName=cat_product_offer_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-357::AndriusKarpavicius
CREATE TABLE cat_product_offer_customer_category (product_id BIGINT NOT NULL, customer_category_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_product_offer_customer_category ADD CONSTRAINT cat_product_offer_customer_category_pkey PRIMARY KEY (product_id, customer_category_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-357', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 437, '8:ad99dd922e1f6cc8c5074cafcaaebd6d', 'createTable tableName=cat_product_offer_customer_category; addPrimaryKey constraintName=cat_product_offer_customer_category_pkey, tableName=cat_product_offer_customer_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-358::AndriusKarpavicius
CREATE TABLE ar_payment_history (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, customer_account_code VARCHAR(255) NOT NULL, customer_account_name VARCHAR(255), seller_code VARCHAR(255), operation_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, last_update_date TIMESTAMP WITHOUT TIME ZONE, amount_cts BIGINT NOT NULL, sync_status VARCHAR(255) NOT NULL, async_status VARCHAR(255), status VARCHAR(50), external_payment_id VARCHAR(255), error_code VARCHAR(255), error_message VARCHAR(2000), error_type VARCHAR(255), operation_category VARCHAR(255) NOT NULL, payment_gateway_code VARCHAR(255), payment_method_type VARCHAR(255), payment_method_name VARCHAR(255), payment_id BIGINT, refund_id BIGINT, creator VARCHAR(100), updater VARCHAR(100), customer_code VARCHAR(256), CONSTRAINT ar_payment_history_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-358', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 439, '8:450b788575e8a2d4882b39b87c52d7a2', 'createTable tableName=ar_payment_history', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-359::AndriusKarpavicius
CREATE TABLE dwh_report_extract (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, creator VARCHAR(100), updater VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), category VARCHAR(50), script_type VARCHAR(10) NOT NULL, filename_format VARCHAR(100) NOT NULL, sql_query TEXT, script_instance_id BIGINT, result_type VARCHAR(10), style TEXT, image_path VARCHAR(100), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, output_dir VARCHAR(255), file_separator VARCHAR(1) DEFAULT ',', custom_table_code VARCHAR(255), accumulate INTEGER DEFAULT 1, decimal_separator VARCHAR(1) DEFAULT '.', generate_empty_report INTEGER DEFAULT 0, maximum_line BIGINT DEFAULT 0, include_headers INTEGER DEFAULT 1, CONSTRAINT dwh_report_extract_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-359', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 441, '8:f2237299f38cfe1ce9fb64fd3a82404d', 'createTable tableName=dwh_report_extract', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-360::AndriusKarpavicius
CREATE TABLE dwh_report_extract_params (reportextract_id BIGINT NOT NULL, params VARCHAR(255), params_key VARCHAR(255) NOT NULL);

ALTER TABLE dwh_report_extract_params ADD CONSTRAINT pk_report_extract_params PRIMARY KEY (reportextract_id, params_key);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-360', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 443, '8:36153be6af2675572b9da2577b53f2bc', 'createTable tableName=dwh_report_extract_params; addPrimaryKey constraintName=pk_report_extract_params, tableName=dwh_report_extract_params', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-361::AndriusKarpavicius
CREATE TABLE billing_accounting_code (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), parent_accounting_code_id BIGINT, chart_of_account_type VARCHAR(25), reporting_account VARCHAR(50), chart_of_account_view_type VARCHAR(25), notes VARCHAR(2000), migrated INTEGER DEFAULT 0 NOT NULL, CONSTRAINT billing_accounting_code_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-361', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 445, '8:132013a80e3c3679c322d9de7fca8760', 'createTable tableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-362::AndriusKarpavicius
CREATE TABLE ord_order_history (id BIGINT NOT NULL, version INTEGER, order_item_id BIGINT, service_instance_id BIGINT, action VARCHAR(25) NOT NULL, event_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, order_number VARCHAR(100), CONSTRAINT ord_order_history_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-362', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 447, '8:65d8420ff372c76011205b262f7c1d1c', 'createTable tableName=ord_order_history', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-363::AndriusKarpavicius
CREATE TABLE crm_additional_details (id BIGINT NOT NULL, version INTEGER, company_name VARCHAR(200), position VARCHAR(200), instant_messengers VARCHAR(2000), CONSTRAINT crm_additional_details_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-363', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 449, '8:0753586fc6e24391e97d4bfcfc24b80f', 'createTable tableName=crm_additional_details', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-364::AndriusKarpavicius
CREATE TABLE crm_address_book (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), customer_id BIGINT, CONSTRAINT crm_address_book_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-364', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 451, '8:61e877daa0fe2b267bc29dfede8c20f3', 'createTable tableName=crm_address_book', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-365::AndriusKarpavicius
CREATE TABLE com_communication_entity (id BIGINT NOT NULL, version INTEGER, name VARCHAR(50), description VARCHAR(255), type VARCHAR(50), CONSTRAINT com_communication_entity_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-365', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 453, '8:5bf28f893eff01a16b056d4b156ed773', 'createTable tableName=com_communication_entity', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-366::AndriusKarpavicius
CREATE TABLE com_campaign_crm_contact_tag (campaign_id BIGINT NOT NULL, tag VARCHAR(100) NOT NULL);

ALTER TABLE com_campaign_crm_contact_tag ADD CONSTRAINT com_campaign_crm_contact_tag_pkey PRIMARY KEY (campaign_id, tag);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-366', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 455, '8:0a25060904e84f414d89a32f6f9bf643', 'createTable tableName=com_campaign_crm_contact_tag; addPrimaryKey constraintName=com_campaign_crm_contact_tag_pkey, tableName=com_campaign_crm_contact_tag', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-367::AndriusKarpavicius
CREATE TABLE com_contact_tag (contact_id BIGINT, tag VARCHAR(100));

ALTER TABLE com_contact_tag ADD CONSTRAINT com_contact_tag_pkey PRIMARY KEY (contact_id, tag);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-367', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 457, '8:aa0e2fe53ad86e6d896377f9cb668299', 'createTable tableName=com_contact_tag; addPrimaryKey constraintName=com_contact_tag_pkey, tableName=com_contact_tag', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-368::AndriusKarpavicius
CREATE TABLE billing_finance_segment (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), object_class VARCHAR(100) NOT NULL, field VARCHAR(100) NOT NULL, CONSTRAINT pk_billing_finance_segment PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-368', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 459, '8:096d59492aa9a58b0ee00e4e1d7aa869', 'createTable tableName=billing_finance_segment', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-369::AndriusKarpavicius
CREATE TABLE dwh_report_extract_execution (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), report_extract_id BIGINT NOT NULL, start_date TIMESTAMP WITHOUT TIME ZONE, end_date TIMESTAMP WITHOUT TIME ZONE, file_path VARCHAR(256), line_count INTEGER, origin VARCHAR(20), error_message TEXT, status INTEGER, CONSTRAINT dwh_report_extract_execution_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-369', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 461, '8:e006436e7c2564faddcc5c2f81085b3f', 'createTable tableName=dwh_report_extract_execution', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-370::AndriusKarpavicius
CREATE TABLE meveo_script_instance_cat (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), description_i18n JSONB, CONSTRAINT meveo_script_instance_cat_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-370', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 463, '8:3c146d05ec4ea83c9a3395545a9ca585', 'createTable tableName=meveo_script_instance_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-371::AndriusKarpavicius
CREATE TABLE billing_seq_invoice (id BIGINT NOT NULL, sequence_size INTEGER, current_number BIGINT, version INTEGER DEFAULT 0, creator VARCHAR(100), updater VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), sequence_type VARCHAR(255), sequence_pattern VARCHAR(255), CONSTRAINT pk_billing_seq_invoice PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-371', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 465, '8:7ecf9eeb54a66e276bf9c2bd333db298', 'createTable tableName=billing_seq_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-372::AndriusKarpavicius
CREATE TABLE adm_gdpr_configuration (id BIGINT NOT NULL, version INTEGER, inactive_subscription_life INTEGER DEFAULT 5, inactive_order_life INTEGER DEFAULT 10, invoice_life INTEGER DEFAULT 10, accounting_life INTEGER DEFAULT 10, customer_profile_life INTEGER DEFAULT 3, mailing_life INTEGER DEFAULT 3, ao_check_unpaid_life INTEGER DEFAULT 3, delete_sub INTEGER DEFAULT 0 NOT NULL, delete_order INTEGER DEFAULT 0 NOT NULL, delete_invoice INTEGER DEFAULT 0 NOT NULL, delete_accounting INTEGER DEFAULT 0 NOT NULL, delete_cust_prospect INTEGER DEFAULT 0 NOT NULL, delete_mailing_life INTEGER DEFAULT 0 NOT NULL, delete_ao_check_unpaid INTEGER DEFAULT 0 NOT NULL, CONSTRAINT pk_adm_gdpr_configuration PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-372', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 467, '8:3fd03728966528a0a586deeeb3421667', 'createTable tableName=adm_gdpr_configuration', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-373::AndriusKarpavicius
CREATE TABLE ar_ddrequest_builder (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), type VARCHAR(255) NOT NULL, implementation_class_name VARCHAR(255), script_instance_id BIGINT, nb_ops_file BIGINT, max_size_file BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, creator VARCHAR(100), updater VARCHAR(100), cf_values JSONB, payment_level VARCHAR(100), CONSTRAINT ar_ddrequest_builder_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-373', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 469, '8:b674509f4d054cbb14127e02158d01bb', 'createTable tableName=ar_ddrequest_builder', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-374::AndriusKarpavicius
CREATE TABLE ar_payment_schedule_tmpl (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, creator VARCHAR(100), updater VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), calendar_id BIGINT NOT NULL, service_template_id BIGINT NOT NULL, adv_pay_inv_type_id BIGINT NOT NULL, adv_pay_sub_cat_id BIGINT NOT NULL, is_generate_adv_pay_inv INTEGER DEFAULT 1 NOT NULL, is_do_payment INTEGER DEFAULT 1 NOT NULL, amount numeric(23, 12), payment_day_in_month INTEGER NOT NULL, apply_agreement INTEGER DEFAULT 0 NOT NULL, payment_label VARCHAR(2000) NOT NULL, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, script_instance_id BIGINT, amount_el VARCHAR(2000), filter_el VARCHAR(2000), tax_class_id BIGINT, payment_day_in_month_el VARCHAR(2000), use_banking_calender INTEGER DEFAULT 1, CONSTRAINT ar_payment_schedule_tmpl_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-374', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 471, '8:3f4bb0b92d51df63959d92b42effadb9', 'createTable tableName=ar_payment_schedule_tmpl', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-375::AndriusKarpavicius
CREATE TABLE ar_payment_schedule_inst_item (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, creator VARCHAR(100), updater VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, payment_schedule_inst_id BIGINT NOT NULL, due_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, request_pay_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, ao_ps_id BIGINT, invoice_id BIGINT, is_last INTEGER, amount numeric(23, 12), CONSTRAINT ar_pay_schdl_inst_item_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-375', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 473, '8:a622faf0630663685ca2869390c54cd6', 'createTable tableName=ar_payment_schedule_inst_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-377::AndriusKarpavicius
CREATE TABLE crm_customer_sequence (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), prefix VARCHAR(255), sequence_size BIGINT, current_sequence_nb BIGINT, seller_id BIGINT, CONSTRAINT pk_crm_customer_sequence PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-377', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 475, '8:90fb700c027158245807e444bd02a5a7', 'createTable tableName=crm_customer_sequence', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-378::AndriusKarpavicius
CREATE TABLE ar_payment_schedule_inst (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, creator VARCHAR(100), updater VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), start_date TIMESTAMP WITHOUT TIME ZONE, end_date TIMESTAMP WITHOUT TIME ZONE, status VARCHAR(50) NOT NULL, status_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, amount numeric(23, 12), calendar_id BIGINT NOT NULL, payment_schedule_tmpl_id BIGINT NOT NULL, service_instance_id BIGINT NOT NULL, payment_day_in_month INTEGER NOT NULL, cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, CONSTRAINT ar_payment_schedule_inst_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-378', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 477, '8:bcc329e92c48873c2300dace87c51d57', 'createTable tableName=ar_payment_schedule_inst', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-379::AndriusKarpavicius
CREATE TABLE cat_calendar_holiday (id BIGINT NOT NULL, version INTEGER, holiday_begin INTEGER NOT NULL, holiday_end INTEGER NOT NULL, calendar_id BIGINT NOT NULL, CONSTRAINT cat_calendar_holiday_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-379', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 479, '8:6a60dff13bd1f871c863ae826062151a', 'createTable tableName=cat_calendar_holiday', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-380::AndriusKarpavicius
CREATE TABLE billing_discount_plan_instance (id BIGINT NOT NULL, version INTEGER, discount_plan_id BIGINT NOT NULL, billing_account_id BIGINT, start_date date, end_date date, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, subscription_id BIGINT, application_count BIGINT DEFAULT 0 NOT NULL, status VARCHAR(50), status_date TIMESTAMP WITHOUT TIME ZONE, service_instance_id BIGINT, CONSTRAINT billing_discount_plan_instance_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-380', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 481, '8:f35c20e8df75e582ec0fb68d135e126b', 'createTable tableName=billing_discount_plan_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-381::AndriusKarpavicius
CREATE TABLE ar_payment_gateway_rum_sequence (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), prefix VARCHAR(255), sequence_size BIGINT, current_sequence_nb BIGINT, payment_gateway_id BIGINT, CONSTRAINT pk_ar_payment_gateway_rum_sequence PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-381', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 483, '8:55f9fb581e67b65e127c57931f998638', 'createTable tableName=ar_payment_gateway_rum_sequence', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-382::AndriusKarpavicius
CREATE INDEX idx_subscription_rating_group ON billing_subscription(rating_group);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-382', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 485, '8:fed0f377ccbb74fbdc421b45c36010f2', 'createIndex indexName=idx_subscription_rating_group, tableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-383::AndriusKarpavicius
CREATE TABLE audit_field_changes_history (id BIGINT NOT NULL, version INTEGER, entity_class VARCHAR(255) NOT NULL, entity_id BIGINT NOT NULL, field_name VARCHAR(255), change_type VARCHAR(255), change_origin VARCHAR(255), origin_name VARCHAR(255), previous_state VARCHAR(700), current_state VARCHAR(700), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, actor VARCHAR(255) NOT NULL, CONSTRAINT audit_field_changes_history_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-383', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 487, '8:f7869c01893de5192f8b3b20911c4456', 'createTable tableName=audit_field_changes_history', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-384::AndriusKarpavicius
CREATE TABLE billing_general_ledger (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT billing_general_ledger_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-384', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 489, '8:ba569589bbb1dc6b98c5f0f82233b53c', 'createTable tableName=billing_general_ledger', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-385::AndriusKarpavicius
CREATE TABLE ar_other_transaction (transaction_type VARCHAR(31) NOT NULL, id BIGINT NOT NULL, version INTEGER, description VARCHAR(255), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, amount numeric(23, 12), due_date date, matching_amount numeric(23, 12), matching_status VARCHAR(255), occ_code VARCHAR(255), occ_description VARCHAR(255), reference VARCHAR(255), transaction_category VARCHAR(255), transaction_date date, un_matching_amount numeric(23, 12), bank_lot VARCHAR(255), bank_reference VARCHAR(255), payment_method VARCHAR(255), amount_without_tax numeric(23, 12), billing_account_name VARCHAR(255), invoice_date date, payment_info VARCHAR(255), payment_info1 VARCHAR(255), payment_info2 VARCHAR(255), payment_info3 VARCHAR(255), payment_info4 VARCHAR(255), payment_info5 VARCHAR(255), payment_info6 VARCHAR(255), payment_info7 VARCHAR(255), tax_amount numeric(23, 12), operation_date TIMESTAMP WITHOUT TIME ZONE, bank_collection_date TIMESTAMP WITHOUT TIME ZONE, deposit_date TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, order_num VARCHAR(500), cf_values JSONB, general_ledger_id BIGINT, accounting_code_id BIGINT, CONSTRAINT ar_other_transaction_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-385', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 491, '8:b464b6e18728a8f68d0085005c0fd2ad', 'createTable tableName=ar_other_transaction', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-386::AndriusKarpavicius
CREATE TABLE ar_payment_ventilation (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255), ventilation_amount numeric(23, 12), ventilation_date date, creator VARCHAR(100), updater VARCHAR(100), customer_account_id BIGINT, original_ot_id BIGINT, new_ot_id BIGINT, account_operation_id BIGINT, ventilation_action_status VARCHAR(255), CONSTRAINT ar_payment_ventilation_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-386', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 493, '8:de32db979f24ac84ba82003b1d3bdfa7', 'createTable tableName=ar_payment_ventilation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-387::AndriusKarpavicius
CREATE TABLE wf_generic_workflow (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), target_entity_class VARCHAR(255) NOT NULL, enable_history INTEGER DEFAULT 0 NOT NULL, init_status VARCHAR(255), target_cet_code VARCHAR(255), filter_id BIGINT, cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), CONSTRAINT wf_generic_workflow_pk PRIMARY KEY (id), CONSTRAINT uk_wf_generic_workflow_code UNIQUE (code));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-387', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 495, '8:ddeb56a7df951aa0760e887cfb8b7347', 'createTable tableName=wf_generic_workflow', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-388::AndriusKarpavicius
CREATE TABLE wf_status (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, generic_wf_id BIGINT, CONSTRAINT wf_status_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-388', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 497, '8:2dbed3cf8c1b1cec56c570e598635dfc', 'createTable tableName=wf_status', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-389::AndriusKarpavicius
CREATE TABLE wf_instance_history (id BIGINT NOT NULL, version INTEGER, action_date TIMESTAMP WITHOUT TIME ZONE, from_status VARCHAR(255), to_status VARCHAR(255), transition_name VARCHAR(255), wf_instance_id BIGINT, CONSTRAINT wf_instance_history_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-389', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 499, '8:befecadb55c5c8ea6108f3fa306fa82e', 'createTable tableName=wf_instance_history', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-390::AndriusKarpavicius
CREATE TABLE dunning_document (id BIGINT NOT NULL, code VARCHAR(255), description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), customer_account_id BIGINT, billing_subscription_id BIGINT, status VARCHAR(25), CONSTRAINT pk_dunning_document_sequence PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-390', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 501, '8:c1907e85ae49039c502a46f595fac4a1', 'createTable tableName=dunning_document', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-391::AndriusKarpavicius
CREATE TABLE wf_generic_transition (id BIGINT NOT NULL, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, version INTEGER, from_status VARCHAR(255), to_status VARCHAR(255), priority INTEGER, description VARCHAR(255), generic_wf_id BIGINT, action_script_id BIGINT, condition_el VARCHAR(2000), CONSTRAINT wf_generic_transition_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-391', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 503, '8:3cf8db62bc38e0e0e4f7dbf51b4f24d0', 'createTable tableName=wf_generic_transition', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-392::AndriusKarpavicius
CREATE TABLE wf_instance (id BIGINT NOT NULL, version INTEGER, target_entity_class VARCHAR(255) NOT NULL, generic_wf_id BIGINT, current_wf_status_id BIGINT, entity_instance_code VARCHAR(255) NOT NULL, target_cet_code VARCHAR(255), entity_instance_id BIGINT NOT NULL, CONSTRAINT wf_instance_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-392', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 505, '8:651d11a1671b7a29abf94a7f06579376', 'createTable tableName=wf_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-393::AndriusKarpavicius
CREATE TABLE adm_custom_generic_entity_code (id BIGINT NOT NULL, entity_class VARCHAR(255), code_el VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), format_el VARCHAR(2000), sequence_id BIGINT, CONSTRAINT adm_custom_generic_entity_code_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-393', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 507, '8:e0a3462ab9ed491b1d3d3486407dd2fe', 'createTable tableName=adm_custom_generic_entity_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-394::AndriusKarpavicius
CREATE TABLE cat_offer_tmpl_discount_plan (offer_tmpl_id BIGINT NOT NULL, discount_plan_id BIGINT);

ALTER TABLE cat_offer_tmpl_discount_plan ADD CONSTRAINT cat_offer_tmpl_discount_plan_pkey PRIMARY KEY (offer_tmpl_id, discount_plan_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-394', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 509, '8:ab5f8e8f56cbd90b5df261dc57824cf4', 'createTable tableName=cat_offer_tmpl_discount_plan; addPrimaryKey constraintName=cat_offer_tmpl_discount_plan_pkey, tableName=cat_offer_tmpl_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-395::AbdelmounaimAkadid
CREATE TABLE adm_role_secured_entity (role_id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, entity_class VARCHAR(255) NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL);

ALTER TABLE adm_role_secured_entity ADD CONSTRAINT adm_role_secured_entity_pkey PRIMARY KEY (role_id, code, entity_class);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-395', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 511, '8:6e8a4f0760f3893f6d92fdf748c7c5a7', 'createTable tableName=adm_role_secured_entity; addPrimaryKey constraintName=adm_role_secured_entity_pkey, tableName=adm_role_secured_entity', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-396::AbdelmounaimAkadid
CREATE TABLE adm_file_format (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), file_name_pattern VARCHAR(255), configuration_template TEXT NOT NULL, record_name VARCHAR(255), input_directory VARCHAR(255) NOT NULL, output_directory VARCHAR(255), reject_directory VARCHAR(255), archive_directory VARCHAR(255), description VARCHAR(255), job_code VARCHAR(255), file_name_uniqueness INTEGER DEFAULT 0, CONSTRAINT adm_file_format_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-396', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 513, '8:3814c738e05191a5dd92756236f72dbb', 'createTable tableName=adm_file_format', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-397::AbdelmounaimAkadid
CREATE TABLE flat_file (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), status VARCHAR(255), file_format_id BIGINT, processed INTEGER DEFAULT 0, error_message TEXT, lines_in_success INTEGER, lines_in_warning INTEGER, lines_in_error INTEGER, processing_attempts INTEGER, flat_file_job_code VARCHAR(255), file_original_name VARCHAR(255), file_current_name VARCHAR(255), current_directory VARCHAR(255), CONSTRAINT flat_file_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-397', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 515, '8:6116ad08cd4e33ddf107b92b320cd88b', 'createTable tableName=flat_file', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-398::AbdelmounaimAkadid
CREATE TABLE ar_accounting_writing (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), origin_writing_id BIGINT, tax_id BIGINT, invoice_category_id BIGINT, accounting_code_id BIGINT, event_date date, export_date date, amount numeric(23, 12), event_type VARCHAR(255), extra_param_1 VARCHAR(255), extra_param_2 VARCHAR(255), extra_param_3 VARCHAR(255), CONSTRAINT pk_ar_accounting_writing_seq PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-398', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 517, '8:00fe41f54a6738dfed6503d186f243f0', 'createTable tableName=ar_accounting_writing', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-399::AbdelmounaimAkadid
CREATE TABLE adm_file_format_file_type (file_format_id BIGINT NOT NULL, file_type_id BIGINT NOT NULL);

ALTER TABLE adm_file_format_file_type ADD CONSTRAINT adm_file_format_file_type_pkey PRIMARY KEY (file_format_id, file_type_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-399', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 519, '8:9e4c164f990389afa536acb26aec53ae', 'createTable tableName=adm_file_format_file_type; addPrimaryKey constraintName=adm_file_format_file_type_pkey, tableName=adm_file_format_file_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-400::AbdelmounaimAkadid
CREATE TABLE adm_file_type (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), CONSTRAINT adm_file_type_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-400', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 521, '8:013c1533d312ed606673b5706cd4f928', 'createTable tableName=adm_file_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-401::AbdelmounaimAkadid
CREATE TABLE cat_unit_of_measure (id BIGINT NOT NULL, version INTEGER, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, symbol VARCHAR(100) NOT NULL, description VARCHAR(100), description_i18n JSONB, multiplicator BIGINT NOT NULL, parent_id BIGINT, CONSTRAINT cat_unit_of_measure_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-401', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 523, '8:497f71756e2c75997fc21272cd6b25f6', 'createTable tableName=cat_unit_of_measure', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-402::AbdelmounaimAkadid
CREATE TABLE rating_cdr (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE, event_date TIMESTAMP WITHOUT TIME ZONE, last_updated TIMESTAMP WITHOUT TIME ZONE, origin_batch VARCHAR(255), origin_record VARCHAR(255), quantity numeric, reject_reason TEXT, status VARCHAR(255), status_date TIMESTAMP WITHOUT TIME ZONE, parameter_1 VARCHAR(255), parameter_2 VARCHAR(255), parameter_3 VARCHAR(255), parameter_4 VARCHAR(255), parameter_5 VARCHAR(255), parameter_6 VARCHAR(255), parameter_7 VARCHAR(255), parameter_8 VARCHAR(255), parameter_9 VARCHAR(255), date_parameter_1 TIMESTAMP WITHOUT TIME ZONE, date_parameter_2 TIMESTAMP WITHOUT TIME ZONE, date_parameter_3 TIMESTAMP WITHOUT TIME ZONE, date_parameter_4 TIMESTAMP WITHOUT TIME ZONE, date_parameter_5 TIMESTAMP WITHOUT TIME ZONE, decimal_parameter_1 numeric, decimal_parameter_2 numeric, decimal_parameter_3 numeric, decimal_parameter_4 numeric, decimal_parameter_5 numeric, access_code VARCHAR(255), header_edr_id BIGINT, extra_parameter TEXT, times_tried INTEGER, type VARCHAR(255), line VARCHAR(2000), updater VARCHAR(100), source TEXT, CONSTRAINT rating_cdr_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-402', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 525, '8:2f7d159606e7e22feea87a0accafd5ae', 'createTable tableName=rating_cdr', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-403::AbdelmounaimAkadid
CREATE TABLE billing_tax_category (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), description_i18n JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, untdid_taxation_category_id BIGINT, cf_values JSONB, CONSTRAINT billing_tax_category_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-403', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 527, '8:ca06017fd4483de3dd9725c1e3c3b9eb', 'createTable tableName=billing_tax_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-404::AbdelmounaimAkadid
CREATE TABLE billing_tax_class (id BIGINT NOT NULL, version INTEGER DEFAULT 0, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), description_i18n JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, CONSTRAINT billing_tax_class_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-404', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 529, '8:43fcf157d29f57eb230b4629ad13b1f0', 'createTable tableName=billing_tax_class', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-405::AbdelmounaimAkadid
CREATE TABLE billing_tax_mapping (id BIGINT NOT NULL, version INTEGER DEFAULT 0, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), tax_category_id BIGINT, tax_class_id BIGINT, valid_from TIMESTAMP WITHOUT TIME ZONE, valid_to TIMESTAMP WITHOUT TIME ZONE, seller_country_id BIGINT, buyer_country_id BIGINT, filter_el VARCHAR(2000), tax_id BIGINT, tax_el VARCHAR(2000), tax_script_id BIGINT, priority INTEGER DEFAULT 0, source VARCHAR(2000), origin_id BIGINT, CONSTRAINT billing_tax_mapping_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-405', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 531, '8:7b387a22c6130c4e7b0eb20bf60dddf1', 'createTable tableName=billing_tax_mapping', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-406::AbdelmounaimAkadid
CREATE TABLE cat_serv_usage_counter_template (service_usage_templt_id BIGINT NOT NULL, counter_template_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_serv_usage_counter_template ADD CONSTRAINT cat_serv_usage_counter_template_pkey PRIMARY KEY (service_usage_templt_id, indx);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-406', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 533, '8:098cad41e7e7a15ab4ee83db88322984', 'createTable tableName=cat_serv_usage_counter_template; addPrimaryKey constraintName=cat_serv_usage_counter_template_pkey, tableName=cat_serv_usage_counter_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-407::AbdelmounaimAkadid
CREATE TABLE cat_serv_rec_counter_template (service_rec_templt_id BIGINT NOT NULL, counter_template_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_serv_rec_counter_template ADD CONSTRAINT cat_serv_rec_counter_template_pkey PRIMARY KEY (service_rec_templt_id, indx);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-407', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 535, '8:6fde2aa05f34be852607033ba59642fe', 'createTable tableName=cat_serv_rec_counter_template; addPrimaryKey constraintName=cat_serv_rec_counter_template_pkey, tableName=cat_serv_rec_counter_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-408::AbdelmounaimAkadid
CREATE TABLE cat_serv_sub_counter_template (service_sub_templt_id BIGINT NOT NULL, counter_template_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_serv_sub_counter_template ADD CONSTRAINT cat_serv_sub_counter_template_pkey PRIMARY KEY (service_sub_templt_id, indx);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-408', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 537, '8:c55504f9b43f72ed5e9593e83d3d7466', 'createTable tableName=cat_serv_sub_counter_template; addPrimaryKey constraintName=cat_serv_sub_counter_template_pkey, tableName=cat_serv_sub_counter_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-409::AbdelmounaimAkadid
CREATE TABLE cat_serv_trm_counter_template (service_trm_templt_id BIGINT NOT NULL, counter_template_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_serv_trm_counter_template ADD CONSTRAINT cat_serv_trm_counter_template_pkey PRIMARY KEY (service_trm_templt_id, indx);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-409', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 539, '8:e852493d24d0bd004b78f325a876a6a3', 'createTable tableName=cat_serv_trm_counter_template; addPrimaryKey constraintName=cat_serv_trm_counter_template_pkey, tableName=cat_serv_trm_counter_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-410::AbdelmounaimAkadid
CREATE TABLE billing_chrg_inst_counter (chrg_instance_id BIGINT NOT NULL, counter_instance_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE billing_chrg_inst_counter ADD CONSTRAINT billing_chrg_inst_counter_pkey PRIMARY KEY (chrg_instance_id, counter_instance_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-410', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 541, '8:083dce8f1dc9cce9ec9cac85b6409e22', 'createTable tableName=billing_chrg_inst_counter; addPrimaryKey constraintName=billing_chrg_inst_counter_pkey, tableName=billing_chrg_inst_counter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-411::AbdelmounaimAkadid
CREATE TABLE billing_counter_period_values (counter_key VARCHAR(255) NOT NULL, counter_value numeric(19, 2) NOT NULL, counterperiod_id BIGINT NOT NULL);

ALTER TABLE billing_counter_period_values ADD CONSTRAINT billing_counter_period_values_pkey PRIMARY KEY (counterperiod_id, counter_key);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-411', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 543, '8:90e44ec580e6d42757ecad6ebaf965b0', 'createTable tableName=billing_counter_period_values; addPrimaryKey constraintName=billing_counter_period_values_pkey, tableName=billing_counter_period_values', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-412::AbdelmounaimAkadid
CREATE TABLE cat_fixed_date (id BIGINT NOT NULL, start_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, end_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, cat_calendar_id BIGINT NOT NULL, version INTEGER, CONSTRAINT cat_fixed_date_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-412', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 545, '8:6b1dac181683455c8fbc40e00658cb9a', 'createTable tableName=cat_fixed_date', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-413::AbdelmounaimAkadid
CREATE TABLE wo_aggregation_line (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), field VARCHAR(255), action VARCHAR(25), value VARCHAR(255), required INTEGER, is_custom_field INTEGER, group_by VARCHAR(25), group_by_parameter VARCHAR(25), alias VARCHAR(255), wo_aggregation_settings_id BIGINT, CONSTRAINT wo_aggregation_line_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-413', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 547, '8:01fdfc1f75def1c7dfc9c0170759c16a', 'createTable tableName=wo_aggregation_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-414::AbdelmounaimAkadid
CREATE TABLE wo_aggregation_settings (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), global_aggregation INTEGER, period_aggregation INTEGER, period_end_date_included INTEGER, wallet_operation_filter_id BIGINT, aggregation_rounding INTEGER DEFAULT 2, aggregation_rounding_mode VARCHAR(50) DEFAULT 'NEAREST', additional_order_by VARCHAR(255), CONSTRAINT wo_aggregation_matrix_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-414', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 549, '8:43371251d9a5e7e4e06a535584112e3f', 'createTable tableName=wo_aggregation_settings', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-415::AbdelmounaimAkadid
CREATE TABLE document (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), description_i18n JSONB, file_type_id BIGINT NOT NULL, creation_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, file_name VARCHAR(255) NOT NULL, tags VARCHAR(255), linked_account_entity_id BIGINT, document_category_id BIGINT, document_status VARCHAR(20) NOT NULL, cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), document_version INTEGER DEFAULT 0 NOT NULL, CONSTRAINT document_pk PRIMARY KEY (id));

ALTER TABLE document ADD CONSTRAINT document_code_version_key UNIQUE (code, document_version);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-415', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 551, '8:cf295f8e2f28ccb01d6d5c649fb974b3', 'createTable tableName=document; addUniqueConstraint constraintName=document_code_version_key, tableName=document', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-416::AbdelmounaimAkadid
CREATE TABLE document_category (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), description_i18n JSONB, relative_path VARCHAR(2000) NOT NULL, cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), CONSTRAINT document_category_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-416', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 553, '8:9e218fc88dfe0699b1af6b15d88c1619', 'createTable tableName=document_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-417::AbdelmounaimAkadid
CREATE TABLE document_tags (document_id BIGINT, tags VARCHAR(60));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-417', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 555, '8:1c714ea9d24433cafdad09c7d9e67b6a', 'createTable tableName=document_tags', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-418::AbdelmounaimAkadid
CREATE TABLE ar_ao_payment_histories (ao_id BIGINT, history_id BIGINT);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-418', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 557, '8:97e1d06618176b9488bb1404e3c3b6fa', 'createTable tableName=ar_ao_payment_histories', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-419::AbdelmounaimAkadid
CREATE TABLE job_execution_error (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, job_instance_id BIGINT NOT NULL, entity_id BIGINT, period_from TIMESTAMP WITHOUT TIME ZONE, period_to TIMESTAMP WITHOUT TIME ZONE, error_reason VARCHAR(2000), CONSTRAINT job_execution_error_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-419', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 559, '8:4748262d1536d2d3cd9dc63e60f0ee22', 'createTable tableName=job_execution_error', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-420::AbdelmounaimAkadid
CREATE TABLE cat_offer_allowed_offer_change (offer_tmpl_id BIGINT NOT NULL, allowed_offer_change_id BIGINT);

ALTER TABLE cat_offer_allowed_offer_change ADD CONSTRAINT cat_offer_allowed_offer_change_pkey PRIMARY KEY (offer_tmpl_id, allowed_offer_change_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-420', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 561, '8:47543d9d3f83e530d515c377532a2f5d', 'createTable tableName=cat_offer_allowed_offer_change; addPrimaryKey constraintName=cat_offer_allowed_offer_change_pkey, tableName=cat_offer_allowed_offer_change', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-421::AbdelmounaimAkadid
CREATE TABLE billing_invoice_agr_amount (aggr_id BIGINT NOT NULL, tax_id BIGINT NOT NULL, amountwithouttax numeric(23, 12), amounttax numeric(23, 12), amountwithtax numeric(23, 12));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-421', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 563, '8:387c855560c3ced1392fa2806cdcd673', 'createTable tableName=billing_invoice_agr_amount', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-424::AbdelmounaimAkadid
CREATE TABLE bi_data_collector (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), sql_query TEXT NOT NULL, custom_table_code VARCHAR(255) NOT NULL, aliases JSONB NOT NULL, last_run_date TIMESTAMP WITHOUT TIME ZONE, parameters JSONB, CONSTRAINT data_collector_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-424', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 565, '8:8b7816295effb55ca0ea5f8da716787b', 'createTable tableName=bi_data_collector', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-425::AbdelmounaimAkadid
CREATE TABLE wf_generic_action (id BIGINT NOT NULL, version INTEGER, description VARCHAR(255), uuid VARCHAR(255) DEFAULT uuid_generate_v4(), priority INTEGER, condition_el VARCHAR(2000), value_el VARCHAR(2000), type VARCHAR(255), log_level VARCHAR(255), field_to_update VARCHAR(255), is_asynchronous INTEGER DEFAULT 0, action_script_id BIGINT, notification_id BIGINT, transition_id BIGINT, CONSTRAINT wf_generic_action_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-425', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 567, '8:156f084984d4c325947596f6abcbf2d4', 'createTable tableName=wf_generic_action', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-426::AbdelmounaimAkadid
CREATE TABLE generic_sequence (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), sequence_type VARCHAR(255), sequence_size INTEGER, current_number BIGINT, sequence_pattern VARCHAR(255), CONSTRAINT generic_sequence_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-426', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 569, '8:584cbcafe7fd138a21c304127416d5f1', 'createTable tableName=generic_sequence', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-427::AbdelmounaimAkadid
CREATE TABLE ar_accounting_writing_acc_operations (accounting_writing_id BIGINT, account_operation_id BIGINT);

ALTER TABLE ar_accounting_writing_acc_operations ADD CONSTRAINT ar_accounting_writing_acc_operations_pkey PRIMARY KEY (accounting_writing_id, account_operation_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-427', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 571, '8:b18a77cc75e499c0daaa0037befe18ce', 'createTable tableName=ar_accounting_writing_acc_operations; addPrimaryKey constraintName=ar_accounting_writing_acc_operations_pkey, tableName=ar_accounting_writing_acc_operations', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-428::AbdelmounaimAkadid
CREATE TABLE meveo_metrics_config (id BIGINT NOT NULL, code VARCHAR(100) NOT NULL, description VARCHAR(255), full_path VARCHAR(255), method VARCHAR(255), metrics_type VARCHAR(255), metrics_unit VARCHAR(255), version INTEGER, updated TIMESTAMP WITHOUT TIME ZONE, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT meveo_metrics_config_id_pk PRIMARY KEY (id), CONSTRAINT meveo_metrics_config_code_unique UNIQUE (code));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-428', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 573, '8:d775c5d8c62afb3512e26e07a4b4e83f', 'createTable tableName=meveo_metrics_config', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-428::Mbarek-Ay
CREATE TABLE cpq_product (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), status VARCHAR(255), status_date TIMESTAMP WITHOUT TIME ZONE, product_line_id BIGINT, customer_brand_id BIGINT, reference VARCHAR(50), model VARCHAR(20), discount_flag INTEGER DEFAULT 0 NOT NULL, package_flag INTEGER DEFAULT 0 NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, product_version_id BIGINT, is_model INTEGER DEFAULT 0, product_model_id BIGINT, price_version_date_setting VARCHAR(255) DEFAULT 'DELIVERY' NOT NULL, open_order_id BIGINT, agreement_date_setting VARCHAR(20), CONSTRAINT cpq_product_pkey PRIMARY KEY (id), UNIQUE (uuid));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-428', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 575, '8:1a82951dfc8e2c20cd0faa6caebb7ce6', 'createTable tableName=cpq_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-429::Mbarek-Ay
CREATE TABLE cpq_product_line (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), long_description TEXT, creator VARCHAR(100), updater VARCHAR(100), seller_id BIGINT, parent_line BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, CONSTRAINT cpq_product_line_pkey PRIMARY KEY (id), UNIQUE (uuid));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-429', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 577, '8:5fa45f57de58b45c459c73d3d68bbb76', 'createTable tableName=cpq_product_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-430::Mbarek-Ay
CREATE TABLE cpq_product_version (id BIGINT NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), version INTEGER, status VARCHAR(255), status_date TIMESTAMP WITHOUT TIME ZONE, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, short_description VARCHAR(255), long_description TEXT, start_date TIMESTAMP WITHOUT TIME ZONE, end_date TIMESTAMP WITHOUT TIME ZONE, product_id BIGINT NOT NULL, current_version INTEGER NOT NULL, valid_from TIMESTAMP WITHOUT TIME ZONE, valid_to TIMESTAMP WITHOUT TIME ZONE, CONSTRAINT cpq_product_version_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-430', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 579, '8:66f875f417b92123bbb217ab927627ab', 'createTable tableName=cpq_product_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-431::Mbarek-Ay
CREATE TABLE cpq_tag (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), seller_id BIGINT, name VARCHAR(255), tag_type_id BIGINT, parent_tag_id BIGINT, filter_el VARCHAR(2000), CONSTRAINT cpq_tag_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-431', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 581, '8:5c45808ed4d0944e9b414aa250002bec', 'createTable tableName=cpq_tag', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-432::Mbarek-Ay
CREATE TABLE cpq_tag_filter (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), tag_id BIGINT, operator VARCHAR(255), entity VARCHAR(255), field VARCHAR(255), comparaison VARCHAR(255), value VARCHAR(255), CONSTRAINT cpq_tag_filter_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-432', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 583, '8:1e677e05e6742ad740dbca15dd71c575', 'createTable tableName=cpq_tag_filter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-433::Mbarek-Ay
CREATE TABLE cpq_tag_type (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), seller_id BIGINT, CONSTRAINT cpq_tag_type_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-433', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 585, '8:59154417f18eaa23eb1e3d1c0e9420fa', 'createTable tableName=cpq_tag_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-434::Mbarek-Ay
CREATE TABLE cpq_media (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, version INTEGER, media_name VARCHAR(255), label VARCHAR(255), main INTEGER DEFAULT 1 NOT NULL, media_type VARCHAR(50), media_path VARCHAR(255), CONSTRAINT cpq_media_pkey PRIMARY KEY (id), UNIQUE (uuid));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-434', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 587, '8:821084685a5ad1790f123d0a34a19369', 'createTable tableName=cpq_media', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-435::Mbarek-Ay
CREATE TABLE cpq_offer_component (id BIGINT NOT NULL, version INTEGER, offer_template_id BIGINT, product_id BIGINT, sequence INTEGER DEFAULT 0, mandatory INTEGER DEFAULT 0, display INTEGER, quantity_min INTEGER, quantity_max INTEGER, quantity_default INTEGER, product_set VARCHAR(250), CONSTRAINT cpq_offer_component_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-435', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 589, '8:972257f0c8611f7038c7842cc191742b', 'createTable tableName=cpq_offer_component', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-436::Mbarek-Ay
CREATE TABLE cpq_commercial_rule_header (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), rule_type VARCHAR(50), scope_type VARCHAR(25), offer_template_id BIGINT, product_id BIGINT, product_version_id BIGINT, grouped_service_id BIGINT, service_template_id BIGINT, grouped_attributes_id BIGINT, attribute_id BIGINT, target_attribute_value VARCHAR(255), tag_id BIGINT, rule_el VARCHAR(2000), CONSTRAINT cpq_commercial_rule_header_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-436', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 591, '8:0dbeca29958bd10c900eaed3ed271700', 'createTable tableName=cpq_commercial_rule_header', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-437::Mbarek-Ay
CREATE TABLE cpq_commercial_rule_item (id BIGINT NOT NULL, version INTEGER, commercial_rule_header_id BIGINT, operator VARCHAR(255), rule_item_el VARCHAR(2000), CONSTRAINT cpq_commercial_rule_item_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-437', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 593, '8:12ce29ec26b28bde03fa4a57928b6120', 'createTable tableName=cpq_commercial_rule_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-438::Mbarek-Ay
CREATE TABLE cpq_commercial_rule_line (id BIGINT NOT NULL, version INTEGER, offer_template_id BIGINT, grouped_attributes_id BIGINT, commercial_rule_item_id BIGINT, product_id BIGINT, product_version_id BIGINT, attribute_id BIGINT, tag_id BIGINT, operator VARCHAR(255), source_attribute_value VARCHAR(255), source_grouped_attribute_value VARCHAR(255), value VARCHAR(255), CONSTRAINT cpq_commercial_rule_line_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-438', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 595, '8:b922ad1a5d812bd952302627c3058acb', 'createTable tableName=cpq_commercial_rule_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-439::Mbarek-Ay
CREATE TABLE cpq_offer_component_tags (offer_component_id BIGINT NOT NULL, tag_id BIGINT NOT NULL);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-439', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 597, '8:355194076cff3abd8c066d29535e4331', 'createTable tableName=cpq_offer_component_tags', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-440::Mbarek-Ay
CREATE TABLE cpq_grouped_service (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), product_version_id BIGINT, mandatory INTEGER NOT NULL, display INTEGER NOT NULL, sequence INTEGER, CONSTRAINT cpq_grouped_service_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-440', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 599, '8:87731d851e772e554e9c65e60e4dafbd', 'createTable tableName=cpq_grouped_service', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-441::TarikFAKHOURI
CREATE TABLE cpq_quote_lot (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, creator VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, updater VARCHAR(100), quote_version INTEGER NOT NULL, name VARCHAR(50), duration INTEGER, execution_date TIMESTAMP WITHOUT TIME ZONE, cpq_quote_version_id BIGINT NOT NULL, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, CONSTRAINT cpq_quote_lot_pkey PRIMARY KEY (id), UNIQUE (uuid));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-441', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 601, '8:bde583d3365bf8d3348f9c35554ad97b', 'createTable tableName=cpq_quote_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-442::TarikFAKHOURI
CREATE TABLE cpq_quote_product (id BIGINT NOT NULL, version INTEGER, creator VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, updater VARCHAR(100), quote_version_id BIGINT, quote_lot_id BIGINT, product_version_id BIGINT NOT NULL, quantity numeric(23, 12), cpq_quote_id BIGINT, offer_quote_id BIGINT NOT NULL, discount_plan_id BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, delivery_date TIMESTAMP WITHOUT TIME ZONE, product_action_type VARCHAR(10), termination_date TIMESTAMP WITHOUT TIME ZONE, sub_termin_reason_id BIGINT, CONSTRAINT cpq_quote_product_pkey PRIMARY KEY (id), UNIQUE (uuid));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-442', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 603, '8:6e51eba215a4381fedf0998e1cdc1de2', 'createTable tableName=cpq_quote_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-443::TarikFAKHOURI
CREATE TABLE cpq_quote_version (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), cpq_quote_id BIGINT NOT NULL, quote_version INTEGER NOT NULL, status VARCHAR(20) NOT NULL, status_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, start_date TIMESTAMP WITHOUT TIME ZONE, end_date TIMESTAMP WITHOUT TIME ZONE, billing_plan_code VARCHAR(20), short_description VARCHAR(255), invoicing_plan_id BIGINT, cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), pdf_filename VARCHAR(255), xml_filename VARCHAR(255), discount_plan_id BIGINT, contract_id BIGINT, comment VARCHAR(2000), price_list_id BIGINT, CONSTRAINT cpq_quote_version_pkey PRIMARY KEY (id), CONSTRAINT cpq_quote_version_uuid_unique UNIQUE (uuid));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-443', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 605, '8:ae9a6532b46c9ee044c6100d481f73f4', 'createTable tableName=cpq_quote_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-444::TarikFAKHOURI
CREATE TABLE cpq_contract (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, creator VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, updater VARCHAR(100), seller_id BIGINT, billing_account_id BIGINT, customer_account_id BIGINT, customer_id BIGINT, status VARCHAR(20) NOT NULL, status_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, contract_date date, begin_date date NOT NULL, end_date date NOT NULL, renewal INTEGER NOT NULL, contract_duration INTEGER, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, cf_values JSONB, application_el VARCHAR(2000), CONSTRAINT cpq_contract_pkey PRIMARY KEY (id), UNIQUE (uuid));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-444', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 607, '8:e19e0f1a67744d9bc4eb643627054e86', 'createTable tableName=cpq_contract', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-445::TarikFAKHOURI
CREATE TABLE cpq_contract_item (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, creator VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, updater VARCHAR(100), cpq_contract_id BIGINT, offer_template_id BIGINT, cpq_product_id BIGINT, price_plan_id BIGINT, charge_template_id BIGINT, service_template_id BIGINT, rate FLOAT8, amount_without_tax numeric(23, 12), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, cf_values JSONB, rate_type VARCHAR(255), separate_discount INTEGER DEFAULT 0, application_el VARCHAR(2000), CONSTRAINT cpq_contract_item_pkey PRIMARY KEY (id), UNIQUE (code), UNIQUE (uuid));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-445', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 609, '8:61fbbcca31457207bfaa2163adc1a45b', 'createTable tableName=cpq_contract_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-446::TarikF
CREATE TABLE cpq_price_plan_matrix_item (id BIGINT NOT NULL, version INTEGER, dim1_value VARCHAR(50) NOT NULL, dim2_value VARCHAR(50), dim3_value VARCHAR(50), price_without_tax numeric(23, 12), CONSTRAINT cpq_price_plan_matrix_item_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-446', 'TarikF', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 611, '8:fb3981f5001a7d016a10dd8f3461a862', 'createTable tableName=cpq_price_plan_matrix_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-447::TarikF
CREATE TABLE cpq_price_plan_version (id BIGINT NOT NULL, label VARCHAR(255), version INTEGER, current_version INTEGER, creator VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, updater VARCHAR(100), ppm_id BIGINT, status VARCHAR(255) NOT NULL, status_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, valid_from TIMESTAMP WITHOUT TIME ZONE, valid_to TIMESTAMP WITHOUT TIME ZONE, price numeric(23, 12), price_el VARCHAR(255), is_matrix INTEGER, priority INTEGER DEFAULT 0, price_version_type VARCHAR(255) DEFAULT 'FIXED' NOT NULL, CONSTRAINT cpq_price_plan_version_pkey PRIMARY KEY (id));

ALTER TABLE cpq_price_plan_version ADD CONSTRAINT "cpq_price_plan_version_UNIC" UNIQUE (ppm_id, current_version);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-447', 'TarikF', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 613, '8:e943e2b4e1f4a41484a253a7fe383af3', 'createTable tableName=cpq_price_plan_version; addUniqueConstraint constraintName=cpq_price_plan_version_UNIC, tableName=cpq_price_plan_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-448::TarikF
CREATE TABLE cpq_service_type (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, creator VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, updater VARCHAR(100), service_type VARCHAR(100) NOT NULL, CONSTRAINT cpq_service_type_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-448', 'TarikF', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 615, '8:a393362fd732ce433ca2435889b39b35', 'createTable tableName=cpq_service_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-449::NabilOUACHI
CREATE TABLE cpq_offer_template_tags (offer_template_id BIGINT NOT NULL, tag_id BIGINT NOT NULL);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-449', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 617, '8:4a221e57712b41da0f90db2776954986', 'createTable tableName=cpq_offer_template_tags', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-450::NabilOUACHI
CREATE TABLE cpq_service_template_tags (service_template_id BIGINT NOT NULL, tag_id BIGINT NOT NULL);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-450', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 619, '8:13f0b21c211f6c9b7e6ccab82c008ced', 'createTable tableName=cpq_service_template_tags', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-451::NabilOUACHI
CREATE TABLE cpq_product_version_tags (product_version_id BIGINT NOT NULL, tag_id BIGINT NOT NULL);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-451', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 621, '8:933b5b18031f61e402996754df196d16', 'createTable tableName=cpq_product_version_tags', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-452::NabilOUACHI
CREATE TABLE cpq_product_discount_plan (product_id BIGINT NOT NULL, discount_id BIGINT NOT NULL);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-452', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 623, '8:2ce53388a8198f72ce995a3b925afd82', 'createTable tableName=cpq_product_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-453::NabilOUACHI
CREATE TABLE cpq_product_version_services (product_version_id BIGINT NOT NULL, service_template_id BIGINT NOT NULL);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-453', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 625, '8:0d00160b2fea4416afb6ad5534296e93', 'createTable tableName=cpq_product_version_services', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-454::NabilOUACHI
CREATE TABLE cpq_product_model_children (product_id BIGINT, model_chlidren VARCHAR(100));

ALTER TABLE cpq_product_model_children ADD CONSTRAINT cpq_product_model_children_pkey PRIMARY KEY (product_id, model_chlidren);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-454', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 627, '8:aa55a395dd68022ab9a450626ca8b056', 'createTable tableName=cpq_product_model_children; addPrimaryKey constraintName=cpq_product_model_children_pkey, tableName=cpq_product_model_children', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-455::NabilOUACHI
CREATE TABLE cpq_quote_article_line (id BIGINT NOT NULL, version INTEGER, creator VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, updater VARCHAR(100), billable_account_id BIGINT NOT NULL, accounting_article_id BIGINT NOT NULL, quantity numeric(23, 12) NOT NULL, service_quantity numeric(23, 12) NOT NULL, quote_product_id BIGINT, quote_lot_id BIGINT, quote_version_id BIGINT, CONSTRAINT cpq_quote_article_line_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-455', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 629, '8:a86e7387f51e31b81513b4b6e37baa78', 'createTable tableName=cpq_quote_article_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-456::NabilOUACHI
CREATE TABLE quote_offer (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), offer_template_id BIGINT NOT NULL, billable_account_id BIGINT, quote_version_id BIGINT NOT NULL, quote_customer_service_id BIGINT, sequence INTEGER, position INTEGER, discount_plan_id BIGINT, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, code VARCHAR(255), description VARCHAR(255), delivery_date TIMESTAMP WITHOUT TIME ZONE, user_account_id BIGINT, quote_line_type VARCHAR(10), subscription_id BIGINT, contract_id BIGINT, CONSTRAINT pk_quote_offer_seq PRIMARY KEY (id), UNIQUE (uuid));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-456', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 631, '8:4c810b81ffbe0ea68d20501feca82693', 'createTable tableName=quote_offer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-457::NabilOUACHI
CREATE TABLE cpq_attribute (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), disabled INTEGER NOT NULL, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, parent_id BIGINT, priority INTEGER DEFAULT 0, attribute_type VARCHAR(100), unit_nb_decimal INTEGER, attribute_category VARCHAR(255) NOT NULL, el_value VARCHAR(255), CONSTRAINT pk_cpq_attribute PRIMARY KEY (id), UNIQUE (code), UNIQUE (uuid));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-457', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 633, '8:22cee2e72a1e5a92d5ba87184e3862a1', 'createTable tableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-458::NabilOUACHI
CREATE TABLE cpq_grouped_attributes (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), mandatory INTEGER NOT NULL, priority INTEGER, display INTEGER NOT NULL, sequence INTEGER, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, cf_values JSONB, CONSTRAINT pk_cpq_grouped_attributes PRIMARY KEY (id), UNIQUE (uuid), UNIQUE (code));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-458', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 635, '8:3ea018b4e2cb34b63cbeeb63faa8db04', 'createTable tableName=cpq_grouped_attributes', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-459::NabilOUACHI
CREATE TABLE cpq_attribute_allowed_values (attribute_id BIGINT, allowed_values VARCHAR(100));

ALTER TABLE cpq_attribute_allowed_values ADD CONSTRAINT cpq_attribute_allowed_values_pkey PRIMARY KEY (attribute_id, allowed_values);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-459', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 637, '8:f2dcfd769df67946db7d5f3ae808bc10', 'createTable tableName=cpq_attribute_allowed_values; addPrimaryKey constraintName=cpq_attribute_allowed_values_pkey, tableName=cpq_attribute_allowed_values', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-460::NabilOUACHI
CREATE TABLE cpq_product_version_attributes (product_version_id BIGINT NOT NULL, attribute_id BIGINT NOT NULL, sequence INTEGER DEFAULT 0, version INTEGER DEFAULT 0, id BIGINT NOT NULL, mandatory INTEGER NOT NULL, priority INTEGER, mandatorwith_el VARCHAR(255), read_only INTEGER DEFAULT 0, display INTEGER DEFAULT 0, default_value VARCHAR(255), validation_type VARCHAR(10), validation_pattern VARCHAR(2000), validation_label VARCHAR(255), CONSTRAINT cpq_product_version_attr_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-460', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 639, '8:79d6735cca6a0bf8443f2eca25ff7411', 'createTable tableName=cpq_product_version_attributes', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-461::NabilOUACHI
CREATE TABLE cpq_service_template_attributes (service_template_id BIGINT NOT NULL, attribute_id BIGINT NOT NULL);

ALTER TABLE cpq_service_template_attributes ADD CONSTRAINT cpq_service_template_attributes_pkey PRIMARY KEY (service_template_id, attribute_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-461', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 641, '8:d0eae3073578adb2edc207f7d2b28f24', 'createTable tableName=cpq_service_template_attributes; addPrimaryKey constraintName=cpq_service_template_attributes_pkey, tableName=cpq_service_template_attributes', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-462::NabilOUACHI
CREATE TABLE cpq_quote (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), seller_id BIGINT, status_version INTEGER, status VARCHAR(20) NOT NULL, previous_status VARCHAR(20), status_date TIMESTAMP WITHOUT TIME ZONE, send_date TIMESTAMP WITHOUT TIME ZONE, quote_date TIMESTAMP WITHOUT TIME ZONE, prestation_date_begin TIMESTAMP WITHOUT TIME ZONE, prestation_duration INTEGER, opportunity_ref VARCHAR(50), customer_ref VARCHAR(50), customer_name VARCHAR(52), contact_name VARCHAR(52), register_number VARCHAR(50), sales_person_name VARCHAR(52), billable_account_id BIGINT NOT NULL, applicant_account_id BIGINT NOT NULL, valid_from TIMESTAMP WITHOUT TIME ZONE, valid_to TIMESTAMP WITHOUT TIME ZONE, quote_number VARCHAR(50), invoice_type_id BIGINT, user_account_id BIGINT, CONSTRAINT pk_cpq_quote PRIMARY KEY (id), UNIQUE (code));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-462', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 643, '8:0d8853da4b0c36cbfa56d48c3b84c66c', 'createTable tableName=cpq_quote', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-463::NabilOUACHI
CREATE TABLE cpq_quote_price (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), quote_article_line_id BIGINT, quote_version_id BIGINT NOT NULL, price_level VARCHAR(50), price_type VARCHAR(50), amount_with_tax numeric(23, 12), unit_price_without_tax numeric(23, 12), amount_without_tax numeric(23, 12), amount_without_tax_without_discount numeric(23, 12), tax_amount numeric(23, 12), tax_rate numeric(23, 12), price_over_charged INTEGER DEFAULT 0, currency_code VARCHAR(25), recurrence_duration BIGINT, recurrence_periodicity VARCHAR(50), charge_template_id BIGINT, quote_offer_id BIGINT, quantity numeric(19, 2), discounted_quote_price BIGINT, uuid VARCHAR(60), discount_plan_id BIGINT, discount_value numeric(23, 12), discount_plan_type VARCHAR(50), discount_plan_item_id BIGINT, apply_discounts_on_overriden_price INTEGER, overcharged_unit_amount_without_tax numeric(23, 12), discounted_amount numeric(23, 12), sequence INTEGER, CONSTRAINT pk_quote_price PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-463', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 645, '8:adbd2a6bac9ae45217f5682fe00cf389', 'createTable tableName=cpq_quote_price', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-464::NabilOUACHI
CREATE TABLE cpq_quote_attribute (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), cpq_attribute_id BIGINT NOT NULL, cpq_quote_product_id BIGINT, string_value VARCHAR(255), double_value FLOAT8, date_value TIMESTAMP WITHOUT TIME ZONE, parent_id BIGINT, cpq_quote_offer_id BIGINT, cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), boolean_value INTEGER, CONSTRAINT pk_cpq_quote_attribute PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-464', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 647, '8:03f8d71cc08c25986a4b90bf00d310af', 'createTable tableName=cpq_quote_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-465::NabilOUACHI
CREATE TABLE cpq_product_version_grouped_attributes (product_version_id BIGINT NOT NULL, grouped_attributes_id BIGINT NOT NULL);

ALTER TABLE cpq_product_version_grouped_attributes ADD CONSTRAINT cpq_product_version_grouped_attributes_pkey PRIMARY KEY (product_version_id, grouped_attributes_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-465', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 649, '8:619350e93916ae94d4689ee6ab24d706', 'createTable tableName=cpq_product_version_grouped_attributes; addPrimaryKey constraintName=cpq_product_version_grouped_attributes_pkey, tableName=cpq_product_version_grouped_attributes', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-466::NabilOUACHI
CREATE TABLE billing_accounting_article (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255) NOT NULL, analytic_code_1 VARCHAR(255), analytic_code_2 VARCHAR(255), analytic_code_3 VARCHAR(255), unit_price numeric(23, 12), tax_class_id BIGINT NOT NULL, invoice_sub_category_id BIGINT NOT NULL, article_family_id BIGINT, accounting_code_id BIGINT, invoice_type_el VARCHAR(255), invoice_type_id BIGINT, description_i18n JSONB, accountingcode_el VARCHAR(500), column_criteria_el VARCHAR(500), disabled INTEGER DEFAULT 0 NOT NULL, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, ignore_aggregation INTEGER DEFAULT 0, allowance_code BIGINT, CONSTRAINT billing_article_pk PRIMARY KEY (id), UNIQUE (uuid), UNIQUE (code));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-466', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 651, '8:34e04e042695825698d44c3ee6c64831', 'createTable tableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-467::NabilOUACHI
CREATE TABLE billing_article_family (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255) NOT NULL, accounting_code_id BIGINT NOT NULL, article_family_ref_id BIGINT, cf_values JSONB, description_i18n JSONB, CONSTRAINT billing_article_family_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-467', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 653, '8:b8ad2792f9ec7413569833b5561ae891', 'createTable tableName=billing_article_family', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-468::NabilOUACHI
CREATE TABLE billing_article_mapping (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255) NOT NULL, mapping_script_id BIGINT, CONSTRAINT billing_article_mapping_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-468', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 655, '8:8874228532216419332617c3dff886db', 'createTable tableName=billing_article_mapping', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-469::NabilOUACHI
CREATE TABLE billing_article_mapping_line (id BIGINT NOT NULL, version INTEGER, code VARCHAR(50), description VARCHAR(255), created TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(50), updater VARCHAR(50), updated TIMESTAMP WITHOUT TIME ZONE, article_mapping_id BIGINT, article_id BIGINT NOT NULL, offer_template_id BIGINT, charge_template_id BIGINT, product_id BIGINT, parameter_1 VARCHAR(255), parameter_2 VARCHAR(255), parameter_3 VARCHAR(255), mapping_key_el VARCHAR(255), attribute_operator VARCHAR(10) DEFAULT 'AND' NOT NULL, CONSTRAINT billing_article_mapping_line_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-469', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 657, '8:167efd3772c479282903571b5a2a0c63', 'createTable tableName=billing_article_mapping_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-470::NabilOUACHI
CREATE TABLE billing_attribute_mapping (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(50), updater VARCHAR(50), updated TIMESTAMP WITHOUT TIME ZONE, article_mapping_line_id BIGINT NOT NULL, attribute_id BIGINT NOT NULL, attribute VARCHAR(30), attribute_value VARCHAR(255), operator VARCHAR(50) DEFAULT 'EQUAL' NOT NULL, CONSTRAINT billing_attribute_mapping_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-470', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 659, '8:3d8794d1fccf30349c35237a59490508', 'createTable tableName=billing_attribute_mapping', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-471::NabilOUACHI
CREATE TABLE cpq_billing_account_tags (billing_account_id BIGINT NOT NULL, tag_id BIGINT NOT NULL);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-471', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 661, '8:97c73675fa1c930557bb5e1ee0b96e41', 'createTable tableName=cpq_billing_account_tags', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-472::NabilOUACHI
CREATE TABLE cpq_attribute_charge (charge_id BIGINT NOT NULL, attribute_id BIGINT NOT NULL);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-472', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 663, '8:de4fe52bc1e67e50e8176d9af9bb0c86', 'createTable tableName=cpq_attribute_charge', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-473::NabilOUACHI
CREATE TABLE cpq_offer_attributes (offer_template_id BIGINT, attribute_id BIGINT);

ALTER TABLE cpq_offer_attributes ADD PRIMARY KEY (offer_template_id, attribute_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-473', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 665, '8:50e369bc548689938583c1e711f9c47f', 'createTable tableName=cpq_offer_attributes; addPrimaryKey tableName=cpq_offer_attributes', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-474::NabilOUACHI
CREATE TABLE cpq_commercial_order (id BIGINT NOT NULL, code VARCHAR(50), description VARCHAR(255), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), version INTEGER, seller_id BIGINT NOT NULL, order_number VARCHAR(50), label VARCHAR(255), billing_account_id BIGINT NOT NULL, cpq_quote_id BIGINT, contract_id BIGINT, status VARCHAR(50) NOT NULL, status_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, order_progress INTEGER NOT NULL, progress_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, order_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, realisation_date TIMESTAMP WITHOUT TIME ZONE, customer_service_begin TIMESTAMP WITHOUT TIME ZONE, customer_service_duration INTEGER, external_reference VARCHAR(50), order_parent_id BIGINT, order_type_id BIGINT, invoicing_plan_id BIGINT, invoice_type_id BIGINT NOT NULL, user_account_id BIGINT, access_id BIGINT, rate_invoiced INTEGER NOT NULL, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, oneshot_total_amount numeric(23, 12), discount_plan_id BIGINT, sales_person_name VARCHAR(52), billing_cycle_id BIGINT, billing_run_id BIGINT, price_list_id BIGINT, CONSTRAINT pk_cpq_commercial_order PRIMARY KEY (id), UNIQUE (uuid));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-474', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 667, '8:75ef43353dd30dab698a8f2fed6ac149', 'createTable tableName=cpq_commercial_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-475::NabilOUACHI
CREATE TABLE cpq_commercial_order_billing_invoice (commercial_order_id BIGINT NOT NULL, invoice_id BIGINT NOT NULL);

ALTER TABLE cpq_commercial_order_billing_invoice ADD PRIMARY KEY (commercial_order_id, invoice_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-475', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 669, '8:0834f421bda0795b1f9c7147a56443c5', 'createTable tableName=cpq_commercial_order_billing_invoice; addPrimaryKey tableName=cpq_commercial_order_billing_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-476::NabilOUACHI
CREATE TABLE cpq_invoicing_plan (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, cf_values JSONB, CONSTRAINT pk_cpq_invoicing_plan PRIMARY KEY (id), UNIQUE (code), UNIQUE (uuid));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-476', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 671, '8:339996e5d5e84600743550769e35e9d6', 'createTable tableName=cpq_invoicing_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-477::NabilOUACHI
CREATE TABLE cpq_order_type (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT pk_cpq_order_type PRIMARY KEY (id), UNIQUE (code));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-477', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 673, '8:c4d5e1869ab036244574973a7effcc5a', 'createTable tableName=cpq_order_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-478::NabilOUACHI
CREATE TABLE cpq_order_attribute (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), order_id BIGINT, order_lot_id BIGINT, order_product_id BIGINT, access_point VARCHAR(20), cpq_attribute_id BIGINT, string_value VARCHAR(255), date_value TIMESTAMP WITHOUT TIME ZONE, double_value FLOAT8, parent_id BIGINT, cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), cpq_order_offer_id BIGINT, boolean_value INTEGER, CONSTRAINT pk_cpq_order_item PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-478', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 675, '8:3606c1b66b17a15f1e9a49787560ffac', 'createTable tableName=cpq_order_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-479::NabilOUACHI
CREATE TABLE cpq_order_product (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), order_id BIGINT NOT NULL, order_service_commercial_id BIGINT, order_offer_id BIGINT NOT NULL, product_version_id BIGINT, quantity numeric(23, 12) NOT NULL, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, discount_plan_id BIGINT, quote_product_id BIGINT, delivery_date TIMESTAMP WITHOUT TIME ZONE, order_amendement_suspend_id BIGINT, order_amendement_reactivate_id BIGINT, order_amendement_terminate_id BIGINT, order_amendement_activate_id BIGINT, order_amendement_restart_id BIGINT, production_action_type VARCHAR(10), termination_date TIMESTAMP WITHOUT TIME ZONE, sub_termin_reason_id BIGINT, instance_status VARCHAR(10), service_instance_id BIGINT, CONSTRAINT pk_cpq_order_product PRIMARY KEY (id), UNIQUE (uuid));

ALTER TABLE cpq_order_product ADD CONSTRAINT fk_cpq_order_product_service_instance_id FOREIGN KEY (service_instance_id) REFERENCES billing_service_instance (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-479', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 677, '8:63fb92ea3a61805aab27990c6f181773', 'createTable tableName=cpq_order_product; addForeignKeyConstraint baseTableName=cpq_order_product, constraintName=fk_cpq_order_product_service_instance_id, referencedTableName=billing_service_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-480::NabilOUACHI
CREATE TABLE cpq_order_lot (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), order_id BIGINT NOT NULL, name VARCHAR(50), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, quote_lot_id BIGINT, CONSTRAINT pk_cpq_order_lot PRIMARY KEY (id), UNIQUE (uuid), UNIQUE (code));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-480', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 679, '8:e9901d5f02561b48b7ae622fdc389b9b', 'createTable tableName=cpq_order_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-481::NabilOUACHI
CREATE TABLE cpq_order_offer (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), order_id BIGINT NOT NULL, offer_template_id BIGINT NOT NULL, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, discount_plan_id BIGINT, quote_offer_id BIGINT, code VARCHAR(255), description VARCHAR(255), delivery_date TIMESTAMP WITHOUT TIME ZONE, user_account_id BIGINT, order_line_type VARCHAR(20), subscription_id BIGINT, termination_date TIMESTAMP WITHOUT TIME ZONE, sub_termin_reason_id BIGINT, contract_id BIGINT, CONSTRAINT pk_cpq_order_offer PRIMARY KEY (id), UNIQUE (uuid));

ALTER TABLE cpq_order_offer ADD CONSTRAINT fk_cpq_order_offer_user_account FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-481', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 681, '8:ac8a7fb87861b4c1224e2c6c9cb69d1b', 'createTable tableName=cpq_order_offer; addForeignKeyConstraint baseTableName=cpq_order_offer, constraintName=fk_cpq_order_offer_user_account, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-482::NabilOUACHI
CREATE TABLE order_article_line (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), order_id BIGINT NOT NULL, order_customer_service_id BIGINT, accounting_article_id BIGINT NOT NULL, quantity numeric(23, 12) NOT NULL, quantity_service numeric(23, 12) NOT NULL, os_unit_price_without_tax numeric(23, 12), os_price_without_tax numeric(23, 12), os_tax_code numeric(23, 12), os_tax_rate INTEGER, os_price_with_tax numeric(23, 12), rc_unit_price_without_tax numeric(23, 12), rc_price_without_tax numeric(23, 12), rc_tax_code numeric(23, 12), rc_tax_rate INTEGER, rc_price_with_tax numeric(23, 12), order_product_id BIGINT, quote_offer_id BIGINT, CONSTRAINT pk_order_article_line PRIMARY KEY (id), UNIQUE (code));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-482', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 683, '8:5243df642858a1ce2d116bb9031dc827', 'createTable tableName=order_article_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-483::NabilOUACHI
CREATE TABLE order_price (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), order_article_line_id BIGINT, order_id BIGINT NOT NULL, price_level VARCHAR(50), price_type VARCHAR(50), amount_with_tax numeric(23, 12), unit_price_without_tax numeric(23, 12), amount_without_tax numeric(23, 12), amount_without_tax_with_discount numeric(23, 12), tax_amount numeric(23, 12), tax_rate numeric(23, 12), price_over_charged INTEGER, currency_code VARCHAR(25), recurrence_duration BIGINT, recurrence_periodicity VARCHAR(50), charge_template_id BIGINT, order_offer_id BIGINT, quantity numeric(19, 2), discounted_order_price BIGINT, discount_plan_id BIGINT, discount_value numeric(23, 12), discount_plan_type VARCHAR(50), discount_plan_item_id BIGINT, apply_discounts_on_overriden_price INTEGER, discounted_amount numeric(23, 12), sequence INTEGER, CONSTRAINT pk_order_price PRIMARY KEY (id), UNIQUE (code));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-483', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 685, '8:8ba1a8207c2b41d3c32dc3ddcf6947e7', 'createTable tableName=order_price', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-484::NabilOUACHI
CREATE TABLE cpq_order_invoice (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), seller_id BIGINT NOT NULL, billing_account_id BIGINT NOT NULL, invoice_type_id BIGINT NOT NULL, invoice_ref VARCHAR(20), status VARCHAR(20), status_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, invoice_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, due_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, begin_date TIMESTAMP WITHOUT TIME ZONE, end_date TIMESTAMP WITHOUT TIME ZONE, amount_without_tax numeric(23, 12) NOT NULL, amount_with_tax numeric(23, 12) NOT NULL, amount_tax numeric(23, 12) NOT NULL, payment_method_id BIGINT NOT NULL, pdf_link VARCHAR(255), commercial_order_id BIGINT, CONSTRAINT pk_cpq_order_invoice PRIMARY KEY (id), UNIQUE (code));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-484', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 687, '8:0e5130d37bf8945f1058bcfc8b0d0276', 'createTable tableName=cpq_order_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-485::NabilOUACHI
CREATE TABLE cpq_order_invoice_access_point_list (order_invoice_id BIGINT, access_point_list VARCHAR(100));

ALTER TABLE cpq_order_invoice_access_point_list ADD CONSTRAINT cpq_order_invoice_access_point_list_pkey PRIMARY KEY (order_invoice_id, access_point_list);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-485', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 689, '8:d9bc8d5d8fbb6fafd4da2fac07880a81', 'createTable tableName=cpq_order_invoice_access_point_list; addPrimaryKey constraintName=cpq_order_invoice_access_point_list_pkey, tableName=cpq_order_invoice_access_point_list', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-486::NabilOUACHI
CREATE TABLE cpq_order_invoice_order_ref_list (order_invoice_id BIGINT, order_ref_list VARCHAR(100));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-486', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 691, '8:84c4410543d75326279ef3f793adf51c', 'createTable tableName=cpq_order_invoice_order_ref_list', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-487::NabilOUACHI
CREATE TABLE billing_invoice_line (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), invoice_id BIGINT, prestation VARCHAR(255), accounting_article_id BIGINT NOT NULL, offer_service_template_id BIGINT, product_id BIGINT, service_template_id BIGINT, begin_date TIMESTAMP WITHOUT TIME ZONE, end_date TIMESTAMP WITHOUT TIME ZONE, quantity numeric(23, 12) NOT NULL, unit_price numeric(23, 12) NOT NULL, discount_rate numeric(23, 12) NOT NULL, amount_without_tax numeric(23, 12) NOT NULL, tax_rate numeric(23, 12) NOT NULL, amount_with_tax numeric(23, 12) NOT NULL, amount_tax numeric(23, 12) NOT NULL, discount_plan_id BIGINT, tax_id BIGINT, order_ref VARCHAR(20), access_point VARCHAR(20), commercial_order_id BIGINT, billing_run_id BIGINT, billing_account_id BIGINT, label VARCHAR(255) NOT NULL, raw_amount numeric NOT NULL, value_date TIMESTAMP WITHOUT TIME ZONE, order_number VARCHAR(255), discount_amount numeric NOT NULL, subscription_id BIGINT, user_account_id BIGINT, service_instance_id BIGINT, offer_template_id BIGINT, order_lot_id BIGINT, product_version_id BIGINT, cpq_quote_id BIGINT, status VARCHAR(255) NOT NULL, quote_offer_id BIGINT, order_offer_id BIGINT, discounted_invoice_line BIGINT, discount_value numeric(23, 12), discount_plan_type VARCHAR(50), discount_plan_item_id BIGINT, aggregate_id_f BIGINT, tax_mode VARCHAR(50), transactional_unit_price numeric(23, 12), transactional_amount_without_tax numeric(23, 12), transactional_amount_with_tax numeric(23, 12), transactional_amount_tax numeric(23, 12), transactional_discount_amount numeric(23, 12), transactional_raw_amount numeric(23, 12), use_specific_price_conversion INTEGER DEFAULT 0, open_order_number VARCHAR(255), sequence INTEGER, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, adjustment_status VARCHAR(50), conversion_from_billing_currency INTEGER DEFAULT 0, CONSTRAINT pk_billing_invoice_line PRIMARY KEY (id), UNIQUE (uuid));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-487', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 693, '8:4e75b00ad3b0f42e457b7ba681b2ce3a', 'createTable tableName=billing_invoice_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-488::NabilOUACHI
CREATE TABLE cpq_invoicing_plan_item (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), billing_plan_id BIGINT NOT NULL, advancement INTEGER NOT NULL, rate_to_bill numeric(23, 12) NOT NULL, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, cf_values JSONB, CONSTRAINT pk_cpq_invoicing_plan_item PRIMARY KEY (id), UNIQUE (code), UNIQUE (uuid));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-488', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 695, '8:f359c697fc94d3bc10fe725adf68efc4', 'createTable tableName=cpq_invoicing_plan_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-489::NabilOUACHI
CREATE TABLE cpq_price_plan_matrix_column (id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), ppm_version_id BIGINT, position INTEGER, type VARCHAR(255), el_value VARCHAR(255), product_id BIGINT, offer_id BIGINT, attribute_id BIGINT, is_range INTEGER DEFAULT 0, CONSTRAINT cpq_price_plan_matrix_column_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-489', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 697, '8:75ef95b0847c007d46cee9955b377647', 'createTable tableName=cpq_price_plan_matrix_column', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-490::NabilOUACHI
CREATE TABLE cpq_price_plan_matrix_value (id BIGINT NOT NULL, version INTEGER, ppm_column_id BIGINT, ppml_id BIGINT, long_value BIGINT, double_value FLOAT8, string_value VARCHAR(255), date_value TIMESTAMP WITHOUT TIME ZONE, from_date_value TIMESTAMP WITHOUT TIME ZONE, to_date_value TIMESTAMP WITHOUT TIME ZONE, from_double_value FLOAT8, to_double_value FLOAT8, boolean_value INTEGER, CONSTRAINT cpq_price_plan_matrix_value_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-490', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 699, '8:5f6d8cc84f40a1e4297f4941554a3a8f', 'createTable tableName=cpq_price_plan_matrix_value', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-491::NabilOUACHI
CREATE TABLE cpq_price_plan_matrix_line (id BIGINT NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), version INTEGER, ppm_version_id BIGINT, priority INTEGER DEFAULT 0, value_el VARCHAR(255), description VARCHAR(255), value numeric(23, 12), accuracy INTEGER DEFAULT 0 NOT NULL, CONSTRAINT pk_cpq_price_plan_matrix_line PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-491', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 701, '8:f6b4a68cf7b68c465849119a4314cd28', 'createTable tableName=cpq_price_plan_matrix_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-492::NabilOUACHI
CREATE TABLE cat_product_wallet_template_1 (product_templt_id BIGINT NOT NULL, wallet_template_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_product_wallet_template_1 ADD CONSTRAINT cat_product_wallet_template_1_pkey PRIMARY KEY (product_templt_id, wallet_template_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-492', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 703, '8:70582cdd7765af190bbca66a532a8648', 'createTable tableName=cat_product_wallet_template_1; addPrimaryKey constraintName=cat_product_wallet_template_1_pkey, tableName=cat_product_wallet_template_1', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-493::NabilOUACHI
CREATE TABLE cat_product_counter_template (product_templt_id BIGINT NOT NULL, counter_template_id BIGINT NOT NULL, indx INTEGER NOT NULL);

ALTER TABLE cat_product_counter_template ADD CONSTRAINT cat_product_counter_template_pkey PRIMARY KEY (product_templt_id, counter_template_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-493', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 705, '8:ed6b7ebe6a106f7f4d3f0337a3bcd65d', 'createTable tableName=cat_product_counter_template; addPrimaryKey constraintName=cat_product_counter_template_pkey, tableName=cat_product_counter_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-494::NabilOUACHI
CREATE TABLE cpq_attribute_instance (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), cpq_attribute_id BIGINT NOT NULL, service_instance_id BIGINT, subscription_id BIGINT, string_value VARCHAR(255), double_value FLOAT8, date_value TIMESTAMP WITHOUT TIME ZONE, parent_id BIGINT, cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), boolean_value INTEGER, CONSTRAINT pk_cpq_attribute_instance PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-494', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 707, '8:3c530bc5ceecb692aa0473aa0312a6e0', 'createTable tableName=cpq_attribute_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-495::NabilOUACHI
CREATE TABLE cpq_offer_template_media (offer_template_id BIGINT NOT NULL, media_id BIGINT NOT NULL);

ALTER TABLE cpq_offer_template_media ADD CONSTRAINT cpq_offer_template_media_pkey UNIQUE (offer_template_id, media_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-495', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 709, '8:42faea1e06e18321a14047e2a6d6329c', 'createTable tableName=cpq_offer_template_media; addUniqueConstraint constraintName=cpq_offer_template_media_pkey, tableName=cpq_offer_template_media', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-496::NabilOUACHI
CREATE TABLE cpq_product_media (product_id BIGINT NOT NULL, media_id BIGINT NOT NULL);

ALTER TABLE cpq_product_media ADD CONSTRAINT cpq_product_media_pkey UNIQUE (product_id, media_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-496', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 711, '8:1b97a0941d2fc50048b64702ce80f8e6', 'createTable tableName=cpq_product_media; addUniqueConstraint constraintName=cpq_product_media_pkey, tableName=cpq_product_media', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-497::NabilOUACHI
CREATE TABLE cpq_attribute_media (attribute_id BIGINT NOT NULL, media_id BIGINT NOT NULL);

ALTER TABLE cpq_attribute_media ADD CONSTRAINT cpq_attribute_media_pkey UNIQUE (attribute_id, media_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-497', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 713, '8:fbddb78457320851ecf8733e957c21e1', 'createTable tableName=cpq_attribute_media; addUniqueConstraint constraintName=cpq_attribute_media_pkey, tableName=cpq_attribute_media', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-498::NabilOUACHI
CREATE TABLE cpq_grouped_attributes_attribute (grouped_attributes BIGINT NOT NULL, attribute_id BIGINT NOT NULL);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-498', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 715, '8:5f17ff1e602a7fae6f89dd612d8ebe52', 'createTable tableName=cpq_grouped_attributes_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-499::NabilOUACHI
CREATE TABLE cpq_product_charge_template_mapping (id BIGINT NOT NULL, version INTEGER, product_id BIGINT, charge_template_id BIGINT, counter_template_id BIGINT, CONSTRAINT cpq_product_charge_template_mapping_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-499', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 717, '8:63be5eb18cee9464b6905886450d2e8f', 'createTable tableName=cpq_product_charge_template_mapping', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-500::NabilOUACHI
CREATE TABLE discount_plan_item_articles (discount_plan_item_id BIGINT NOT NULL, accounting_article_id BIGINT NOT NULL);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-500', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 719, '8:b587c331620db2d2c1b15d09452243aa', 'createTable tableName=discount_plan_item_articles', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-501::NabilOUACHI
CREATE TABLE cpq_attribute_tag (tag_id BIGINT NOT NULL, attribute_id BIGINT NOT NULL);

ALTER TABLE cpq_attribute_tag ADD PRIMARY KEY (tag_id, attribute_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-501', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 721, '8:ee96fb0ee6fd7d790a0bade8a56f6da5', 'createTable tableName=cpq_attribute_tag; addPrimaryKey tableName=cpq_attribute_tag', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-502::NabilOUACHI
CREATE TABLE cpq_commercial_order_order_lot (commercial_order_id BIGINT NOT NULL, order_lot_id BIGINT NOT NULL);

ALTER TABLE cpq_commercial_order_order_lot ADD PRIMARY KEY (commercial_order_id, order_lot_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-502', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 723, '8:7960b721bfa0c7e4b08fdf07ff64d3b2', 'createTable tableName=cpq_commercial_order_order_lot; addPrimaryKey tableName=cpq_commercial_order_order_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-429::AndriusKarpavicius
CREATE TABLE billing_rated_transaction_pending (id BIGINT NOT NULL, aggregate_id_f BIGINT, invoice_id BIGINT, billing_run_id BIGINT, unit_amount_without_tax numeric(23, 12), unit_amount_with_tax numeric(23, 12), unit_amount_tax numeric(23, 12), amount_without_tax numeric(23, 12), amount_with_tax numeric(23, 12), amount_tax numeric(23, 12), tax_id BIGINT, tax_percent numeric(23, 12), CONSTRAINT billing_rt_pending_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-429', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 725, '8:8af64f0ffe46ca941603139a71f0c9ca', 'createTable tableName=billing_rated_transaction_pending', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-430::AndriusKarpavicius
CREATE TABLE billing_wallet_operation_pending (id BIGINT NOT NULL, rated_transaction_id BIGINT, CONSTRAINT billing_wo_pending_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-430', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 727, '8:8a7c0c346e3512e09c93a00635b07b75', 'createTable tableName=billing_wallet_operation_pending', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-2021204::ZBariki
CREATE TABLE cat_discount_applicable_entity (disount_plan_id BIGINT NOT NULL, code VARCHAR(255) NOT NULL, entity_class VARCHAR(255) NOT NULL);

ALTER TABLE cat_discount_applicable_entity ADD CONSTRAINT cat_discount_applicable_entity_pkey PRIMARY KEY (disount_plan_id, code, entity_class);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-2021204', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 729, '8:581b2b41359b0badeb8d1186b1f96769', 'createTable tableName=cat_discount_applicable_entity; addPrimaryKey constraintName=cat_discount_applicable_entity_pkey, tableName=cat_discount_applicable_entity', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-257_20210625-rebuild::ZBariki
CREATE TABLE report_query (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), target_entity VARCHAR(255) NOT NULL, visibility VARCHAR(255) NOT NULL, filters JSONB, generated_query TEXT, sort_by VARCHAR(255), sort_order VARCHAR(15), query_parameters JSONB, aliases JSONB, advanced_query JSONB, CONSTRAINT cust_query_pkey PRIMARY KEY (id));

CREATE TABLE report_query_fields (id BIGINT NOT NULL, field VARCHAR(255));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-257_20210625-rebuild', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 731, '8:fa4e578523e38dd14d733bf0e478429c', 'createTable tableName=report_query; createTable tableName=report_query_fields', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-682_20210707-rebuild::HatimOUDAD
CREATE TABLE query_scheduler (id BIGINT NOT NULL, code VARCHAR(255), description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), file_format VARCHAR(255), year VARCHAR(255), month VARCHAR(255), every_month INTEGER DEFAULT 0, day_month VARCHAR(255), every_day_month INTEGER DEFAULT 0, day_week VARCHAR(255), every_day_week INTEGER DEFAULT 0, hour VARCHAR(255), every_hour INTEGER DEFAULT 0, minute VARCHAR(255), every_minute INTEGER DEFAULT 0, second VARCHAR(255), every_second INTEGER DEFAULT 0, job_instance_id BIGINT, report_query_id BIGINT, is_query_scheduler INTEGER DEFAULT 0, CONSTRAINT query_scheduler_pkey PRIMARY KEY (id));

CREATE TABLE query_scheduler_users (query_scheduler_id BIGINT NOT NULL, user_id BIGINT NOT NULL);

ALTER TABLE query_scheduler_users ADD CONSTRAINT adm_query_scheduler_user_pkey PRIMARY KEY (query_scheduler_id, user_id);

CREATE TABLE query_scheduler_emails (query_scheduler_id BIGINT, emails VARCHAR(100));

CREATE TABLE query_execution_result (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), start_date TIMESTAMP WITHOUT TIME ZONE, end_date TIMESTAMP WITHOUT TIME ZONE, execution_duration BIGINT, file_path VARCHAR(255), line_count INTEGER, error_message VARCHAR(255), status VARCHAR(255) NOT NULL, query_execution_mode VARCHAR(255) NOT NULL, query_scheduler_id BIGINT, report_query_id BIGINT, CONSTRAINT query_result_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-682_20210707-rebuild', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 733, '8:aec0d1a6cd93f90098f8e5ecc5383a9a', 'createTable tableName=query_scheduler; createTable tableName=query_scheduler_users; addPrimaryKey constraintName=adm_query_scheduler_user_pkey, tableName=query_scheduler_users; createTable tableName=query_scheduler_emails; createTable tableName=qu...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-634_20210706-rebuild::Mbarek-Ay
CREATE TABLE dunning_settings (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), dunning_mode VARCHAR(255) NOT NULL, max_dunning_levels INTEGER, max_days_outstanding INTEGER, allow_interest_for_delay INTEGER DEFAULT 1, interest_for_delay_rate numeric(23, 12), allow_dunning_charges INTEGER DEFAULT 1, apply_dunning_charge_fx_exchange_rate INTEGER DEFAULT 1, accounting_article_id BIGINT, customer_balance_id BIGINT, CONSTRAINT dunning_settings_pkey PRIMARY KEY (id));

CREATE TABLE dunning_pause_reasons (id BIGINT NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, pause_reason VARCHAR(255) NOT NULL, description VARCHAR(255), dunning_settings_id BIGINT NOT NULL, CONSTRAINT dunning_pause_reasons_pkey PRIMARY KEY (id));

CREATE TABLE dunning_stop_reasons (id BIGINT NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, stop_reason VARCHAR(255) NOT NULL, description VARCHAR(255), dunning_settings_id BIGINT NOT NULL, CONSTRAINT dunning_stop_reasons_pkey PRIMARY KEY (id));

CREATE TABLE dunning_collection_plan_statuses (id BIGINT NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, status VARCHAR(50) NOT NULL, description VARCHAR(255) NOT NULL, color_code VARCHAR(50), dunning_settings_id BIGINT NOT NULL, CONSTRAINT dunning_collection_plan_statuses_pkey PRIMARY KEY (id));

CREATE TABLE dunning_agent (id BIGINT NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, external INTEGER DEFAULT 0, collection_agency VARCHAR(100), agent_first_name_item VARCHAR(100), agent_last_name_item VARCHAR(100), agent_email_item VARCHAR(100), dunning_settings_id BIGINT NOT NULL, CONSTRAINT dunning_agent_pkey PRIMARY KEY (id));

CREATE TABLE dunning_payment_retries (id BIGINT NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, payment_method VARCHAR(100) NOT NULL, psp VARCHAR(255), num_pay_retries INTEGER NOT NULL, pay_retry_frequency_unit VARCHAR(255) NOT NULL, pay_retry_frequency INTEGER NOT NULL, dunning_settings_id BIGINT NOT NULL, CONSTRAINT dunning_payment_retries_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-634_20210706-rebuild', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 735, '8:abd8392569b83512ea28e8afb69276f4', 'createTable tableName=dunning_settings; createTable tableName=dunning_pause_reasons; createTable tableName=dunning_stop_reasons; createTable tableName=dunning_collection_plan_statuses; createTable tableName=dunning_agent; createTable tableName=dun...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1441_20210728-rebuild::TarikFA.
CREATE TABLE cpq_quote_version_media (cpq_quote_version_id BIGINT, cpq_media_id BIGINT);

ALTER TABLE cpq_quote_version_media ADD PRIMARY KEY (cpq_quote_version_id, cpq_media_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1441_20210728-rebuild', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 737, '8:301b115e2b14c6c20f0d5d76259e451f', 'createTable tableName=cpq_quote_version_media; addPrimaryKey tableName=cpq_quote_version_media', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1291_20210804-rebuild::HatimOUDAD
CREATE TABLE accounting_period (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), accounting_period_year VARCHAR(20) NOT NULL, start_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, end_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, use_sub_accounting_cycles INTEGER DEFAULT 0, status VARCHAR(255), sub_accounting_period_type VARCHAR(255), sub_accounting_period_progress VARCHAR(255), ongoing_sub_accounting_periods VARCHAR(255), accounting_operation_action VARCHAR(255), regular_user_lock_option VARCHAR(255), custom_lock_number_days INTEGER, custom_lock_option VARCHAR(255), force_option VARCHAR(50), force_custom_day INTEGER, CONSTRAINT accounting_period_pkey PRIMARY KEY (id), UNIQUE (end_date), UNIQUE (start_date));

CREATE TABLE sub_accounting_period (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), period_number INTEGER, start_date date, end_date date, regular_users_sub_period_status VARCHAR(255), regular_users_closed_date TIMESTAMP WITHOUT TIME ZONE, effective_closed_date TIMESTAMP WITHOUT TIME ZONE, accounting_period_id BIGINT, all_users_sub_period_status VARCHAR(255), regularusers_reopening_reason VARCHAR(2000), allusers_reopening_reason VARCHAR(2000), CONSTRAINT sub_accounting_period_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1291_20210804-rebuild', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 739, '8:bf39babae1588e6aca744243a00506ef', 'createTable tableName=accounting_period; createTable tableName=sub_accounting_period', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1313_20210809-rebuild::HatimOUDAD
CREATE TABLE journal (id BIGINT NOT NULL, code VARCHAR(255), description VARCHAR(255), version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT journal_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1313_20210809-rebuild', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 741, '8:08cdf22568043d2fbb9f6b26769f3d8f', 'createTable tableName=journal', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-1901_20210920_build::TarikFA.
CREATE TABLE offer_template_attribute (id BIGINT NOT NULL, version INTEGER DEFAULT 0, mandatorwith_el VARCHAR(255), offer_template_id BIGINT NOT NULL, attribute_id BIGINT NOT NULL, sequence INTEGER DEFAULT 0, mandatory INTEGER DEFAULT 0 NOT NULL, read_only INTEGER DEFAULT 0, display INTEGER DEFAULT 0, default_value VARCHAR(255), validation_type VARCHAR(10), validation_pattern VARCHAR(2000), validation_label VARCHAR(255), CONSTRAINT cpq_offer_template_attribute_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-1901_20210920_build', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 743, '8:0d06fed34b415b6a6e8b40cfe27745d8', 'createTable tableName=offer_template_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2364-create_data_model_build::AbdelkaderBouazza
CREATE TABLE dunning_action_notification_template (dunning_action_id BIGINT, action_notification_template VARCHAR(200));

CREATE TABLE ar_dunning_level (level_id BIGINT, related_levels VARCHAR(255));

CREATE TABLE ar_dunning_action (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), is_action_active INTEGER DEFAULT 1, action_type VARCHAR(255) NOT NULL, action_mode VARCHAR(255) NOT NULL, action_channel VARCHAR(255), script_instance_id BIGINT, action_notification_template_id BIGINT, attach_overdue_invoices INTEGER DEFAULT 1, attach_due_invoices INTEGER DEFAULT 0, dunning_agent_id BIGINT, type VARCHAR(255), CONSTRAINT ar_dunning_action_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2364-create_data_model_build', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 745, '8:9674aa4ea7ae69cd7c28b5cd180eb2d0', 'createTable tableName=dunning_action_notification_template; createTable tableName=ar_dunning_level; createTable tableName=ar_dunning_action', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2444_20211018-rebuild::ZBariki
CREATE TABLE dunning_policy (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), policy_name VARCHAR(255) NOT NULL, policy_description VARCHAR(2000) NOT NULL, interest_for_delay_sequence INTEGER, min_balance_trigger FLOAT8 DEFAULT '0' NOT NULL, include_due_invoices_in_threshold INTEGER DEFAULT 1, total_dunning_levels INTEGER, include_pay_reminder INTEGER DEFAULT 0, attach_invoices_to_emails INTEGER DEFAULT 0, policy_priority INTEGER, is_default_policy INTEGER DEFAULT 0, is_active_policy INTEGER DEFAULT 1, min_balance_trigger_currency_id BIGINT, determine_level_by VARCHAR(255) NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, type VARCHAR(255), CONSTRAINT dunning_policy_pkey PRIMARY KEY (id), CONSTRAINT uk_dp_dunning_policy_name UNIQUE (policy_name));

CREATE TABLE dunning_policy_rule (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), rule_joint VARCHAR(255), dunning_policy_id BIGINT, CONSTRAINT dunning_policy_rule_pkey PRIMARY KEY (id));

CREATE TABLE dunning_policy_rule_line (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), policy_condition_operator VARCHAR(255), policy_condition_target VARCHAR(255) NOT NULL, policy_condition_target_value VARCHAR(255) NOT NULL, dunning_policy_rule_id BIGINT, rule_line_joint VARCHAR(255), CONSTRAINT dunning_policy_rule_line_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2444_20211018-rebuild', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 747, '8:06fdbf022592c5a4f0402e33e01b96ec', 'createTable tableName=dunning_policy; createTable tableName=dunning_policy_rule; createTable tableName=dunning_policy_rule_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-431::AbdelmounaimAkadid
CREATE TABLE dunning_level (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), reminder INTEGER DEFAULT 0, active INTEGER DEFAULT 1, days_overdue INTEGER NOT NULL, soft_decline INTEGER DEFAULT 0, min_balance numeric(23, 12), min_balance_currency_id BIGINT, charge_type VARCHAR(255), charge_value numeric(23, 12), charge_currency_id BIGINT, end_dunning_level INTEGER DEFAULT 0, type VARCHAR(255), CONSTRAINT dunning_level_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-431', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 749, '8:f2e77fb6d7b5acda09752af3b547cd25', 'createTable tableName=dunning_level', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-432::AbdelmounaimAkadid
CREATE TABLE dunning_level_dunning_action (dunning_level_id BIGINT NOT NULL, dunning_action_id BIGINT NOT NULL);

ALTER TABLE dunning_level_dunning_action ADD CONSTRAINT dunning_level_dunning_action_pkey PRIMARY KEY (dunning_level_id, dunning_action_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-432', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 751, '8:d4d73adb12056fb4eed37e97fa0ece71', 'createTable tableName=dunning_level_dunning_action; addPrimaryKey constraintName=dunning_level_dunning_action_pkey, tableName=dunning_level_dunning_action', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-433::AbdelmounaimAkadid
CREATE TABLE dunning_policy_level (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), sequence INTEGER NOT NULL, dunning_level_id BIGINT, collection_plan_status_id BIGINT, dunning_policy_id BIGINT, CONSTRAINT dunning_policy_level_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-433', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 753, '8:5233a760444560ed6863dd778cb2b22b', 'createTable tableName=dunning_policy_level', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-503::hhanine
CREATE TABLE crm_provider_payment_plan_policy_pay_methods (provider_id BIGINT, payment_method VARCHAR(255));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-503', 'hhanine', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 755, '8:dfe339a15d43fc0375138323accda4a2', 'createTable tableName=crm_provider_payment_plan_policy_pay_methods', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-434::HatimOUDAD
CREATE TABLE dunning_collection_plan (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), collection_plan_number VARCHAR(255), related_policy_id BIGINT, initial_collection_plan_id BIGINT, billing_account_id BIGINT, related_invoice_id BIGINT, pause_reason_id BIGINT, stop_reason_id BIGINT, current_dunning_level_sequence INTEGER, start_date TIMESTAMP WITHOUT TIME ZONE, days_open INTEGER, close_date TIMESTAMP WITHOUT TIME ZONE, status_id BIGINT, paused_until_date TIMESTAMP WITHOUT TIME ZONE, balance numeric(23, 12), retry_payment_on_resume_date INTEGER DEFAULT 0, next_action VARCHAR(255), next_action_date TIMESTAMP WITHOUT TIME ZONE, last_action VARCHAR(255), last_action_date TIMESTAMP WITHOUT TIME ZONE, total_dunning_levels INTEGER, pause_duration INTEGER, CONSTRAINT dunning_collection_plan_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-434', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 757, '8:eb840151af6c09a23340e59abc6b87fa', 'createTable tableName=dunning_collection_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2973_20211110-rebuild-str-tbl::AmineBENAICHA
CREATE TABLE dunning_level_instance (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), sequence INTEGER NOT NULL, days_overdue INTEGER NOT NULL, dunning_collection_plan_id BIGINT, dunning_collection_plan_status_id BIGINT, level_status VARCHAR(255), dunning_level_id BIGINT, CONSTRAINT dunning_level_instance_pkey PRIMARY KEY (id));

CREATE TABLE dunning_action_instance (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), action_type VARCHAR(255) NOT NULL, code VARCHAR(255), description VARCHAR(255), action_mode VARCHAR(255) NOT NULL, dunning_agent_id BIGINT, action_restult VARCHAR(255), action_status VARCHAR(255), dunning_collection_plan_id BIGINT, dunning_level_instance_id BIGINT, dunning_action_id BIGINT, CONSTRAINT dunning_action_instance_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2973_20211110-rebuild-str-tbl', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 759, '8:ed0722e7a5ac2deb62675e3626397411', 'createTable tableName=dunning_level_instance; createTable tableName=dunning_action_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-3781_20211217-rebuild-str-tbl::hichamElHaloui
CREATE TABLE finance_settings (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), use_security_deposit INTEGER DEFAULT 1, max_amount_security_deposit numeric(23, 12), max_amount_consumer numeric(23, 12), auto_refund INTEGER DEFAULT 0, open_order_settings_id BIGINT, use_auxiliary_accounting INTEGER DEFAULT 0, auxiliary_account_code_el VARCHAR(2000) DEFAULT '#{gca.code.substring(0, 3)}#{ca.description}', auxiliary_account_label_el VARCHAR(2000) DEFAULT '#{ca.description}', activate_dunning INTEGER DEFAULT 0, enable_billing_redirection_rules INTEGER DEFAULT 0, discount_advanced_mode INTEGER DEFAULT 0, enable_price_list INTEGER DEFAULT 0, CONSTRAINT finance_settings_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-3781_20211217-rebuild-str-tbl', 'hichamElHaloui', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 761, '8:a516b7d8bdc6a88cc167e4bfc3167c9d', 'createTable tableName=finance_settings', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-3461_20212128-rebuild-str-tbl::hichamElHaloui
CREATE TABLE security_deposit_templat (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), template_name VARCHAR(100), currency_id BIGINT, allow_validity_date INTEGER DEFAULT 0, allow_validity_period INTEGER DEFAULT 0, min_amount numeric(23, 12), max_amount numeric(23, 12), status VARCHAR(255), number_instantiation INTEGER, CONSTRAINT security_deposit_templat_pkey PRIMARY KEY (id));

CREATE TABLE security_deposit (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), templat_id BIGINT, currency_id BIGINT, customer_account_id BIGINT, validity_date date, validity_period INTEGER, validity_period_unit VARCHAR(255), amount numeric(23, 12), current_balance numeric(23, 12), status VARCHAR(255), subscription_id BIGINT, external_reference VARCHAR(255), invoice_receipt_number VARCHAR(255), service_instance_id BIGINT, refund_reason VARCHAR(255), cancel_reason VARCHAR(255), sd_invoice_id BIGINT, billing_account_id BIGINT, sd_adjustment_id BIGINT, seller_id BIGINT NOT NULL, CONSTRAINT security_deposit_pkey PRIMARY KEY (id));

ALTER TABLE security_deposit ADD CONSTRAINT fk_seller_security_deposit FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

CREATE TABLE security_deposit_transaction (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, security_deposit_id BIGINT, account_operation_id BIGINT, security_deposit_operation VARCHAR(255), amount numeric(23, 12), transaction_date date, transaction_category VARCHAR(255), CONSTRAINT security_deposit_transaction_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-3461_20212128-rebuild-str-tbl', 'hichamElHaloui', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 763, '8:66d2716a34b57945579b8d3109672d17', 'createTable tableName=security_deposit_templat; createTable tableName=security_deposit; addForeignKeyConstraint baseTableName=security_deposit, constraintName=fk_seller_security_deposit, referencedTableName=crm_seller; createTable tableName=securi...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5419-20220308-tbl::HichamELHALOUI
CREATE TABLE open_order_setting (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), use_open_orders INTEGER DEFAULT 0, apply_maximum_validity INTEGER DEFAULT 0, apply_maximum_validity_value INTEGER, apply_maximum_validity_unit VARCHAR(6), define_maximum_validity INTEGER DEFAULT 0, define_maximum_validity_value INTEGER, use_managment_validation_for_oo_quotation INTEGER DEFAULT 0, CONSTRAINT open_order_setting_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5419-20220308-tbl', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 765, '8:f26604eb9316073083342eb2b1e101b5', 'createTable tableName=open_order_setting', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5310-20220310-tbl::HichamELHALOUI
CREATE TABLE open_order_threshold (id BIGINT NOT NULL, version INTEGER, sequence INTEGER, percentage INTEGER, open_order_template_id BIGINT, external_recipient VARCHAR(100), open_order_quote_id BIGINT, open_order_id BIGINT, CONSTRAINT open_order_threshold_pkey PRIMARY KEY (id));

CREATE TABLE open_order_threshold_recipients (threshold_id BIGINT, recipient VARCHAR(100));

CREATE TABLE open_order_template (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), open_order_type VARCHAR(50), status VARCHAR(255), template_name VARCHAR(100), CONSTRAINT open_order_template_pkey PRIMARY KEY (id), UNIQUE (code));

CREATE TABLE open_order_template_tags (open_order_template_id BIGINT NOT NULL, tag_id BIGINT NOT NULL);

CREATE TABLE open_order_template_products (open_order_template_id BIGINT NOT NULL, open_product_id BIGINT NOT NULL);

CREATE TABLE open_order_template_articles (open_order_template_id BIGINT NOT NULL, open_article_id BIGINT NOT NULL);

ALTER TABLE open_order_threshold_recipients ADD CONSTRAINT open_order_threshold_recipients_pkey PRIMARY KEY (threshold_id, recipient);

ALTER TABLE open_order_template_tags ADD CONSTRAINT open_order_template_tags_pkey PRIMARY KEY (open_order_template_id, tag_id);

ALTER TABLE open_order_template_products ADD CONSTRAINT open_order_template_products_pkey PRIMARY KEY (open_order_template_id, open_product_id);

ALTER TABLE open_order_template_articles ADD CONSTRAINT open_order_template_articles_pkey PRIMARY KEY (open_order_template_id, open_article_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5310-20220310-tbl', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 767, '8:8e6dcf78bbb4810be0b2a7dc3aba240b', 'createTable tableName=open_order_threshold; createTable tableName=open_order_threshold_recipients; createTable tableName=open_order_template; createTable tableName=open_order_template_tags; createTable tableName=open_order_template_products; creat...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-504::Mbarek-Ay
CREATE TABLE cpq_assigned_attributes (attribute_id BIGINT NOT NULL, assigned_attribute_id BIGINT NOT NULL);

ALTER TABLE cpq_assigned_attributes ADD PRIMARY KEY (attribute_id, assigned_attribute_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-504', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 769, '8:6cb8f6fcb220a5ed8832a3fe9099a34e', 'createTable tableName=cpq_assigned_attributes; addPrimaryKey tableName=cpq_assigned_attributes', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5908-20220330-tbl::AmineBENAICHA
CREATE TABLE global_settings (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), quote_default_validity_delay INTEGER DEFAULT 30 NOT NULL, activate_dunning INTEGER DEFAULT 0, CONSTRAINT global_settings_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5908-20220330-tbl', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 771, '8:f99210190fa7cd269507a046e72e5a4c', 'createTable tableName=global_settings', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8026_20220622-tbl::HatimOUDAD
CREATE TABLE open_order_quote (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), external_reference VARCHAR(255), open_order_type VARCHAR(50) NOT NULL, open_order_template_id BIGINT NOT NULL, quote_number VARCHAR(255) NOT NULL, max_amount numeric NOT NULL, currency_id BIGINT NOT NULL, end_validity_date TIMESTAMP WITHOUT TIME ZONE, activation_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, billing_account_id BIGINT NOT NULL, status VARCHAR(255) NOT NULL, open_order_id BIGINT, CONSTRAINT pk_open_order_quote PRIMARY KEY (id), CONSTRAINT open_order_quote_unique UNIQUE (code));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8026_20220622-tbl', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 773, '8:e12dc233c58c616d2aadafb6963770d7', 'createTable tableName=open_order_quote', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-tbl-8036::hichamhanine
CREATE TABLE invoice_sub_totals (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), sub_total_el VARCHAR(2000), label VARCHAR(50), invoice_type_id BIGINT NOT NULL, label_i18n JSONB, CONSTRAINT invoice_sub_totals_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-tbl-8036', 'hichamhanine', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 775, '8:6879a3e56801743771f59da19b1d954e', 'createTable tableName=invoice_sub_totals', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8022_20220624_tbl::HatimOUDAD
CREATE TABLE open_order_article (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), active INTEGER, accounting_article_id BIGINT NOT NULL, open_order_template_id BIGINT NOT NULL, CONSTRAINT pk_open_order_article_plan PRIMARY KEY (id));

CREATE TABLE open_order_product (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), active INTEGER, product_id BIGINT NOT NULL, open_order_template_id BIGINT NOT NULL, CONSTRAINT pk_open_order_product_plan PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8022_20220624_tbl', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 777, '8:dc57a7c9a99fb9bdd1f03353c545afe0', 'createTable tableName=open_order_article; createTable tableName=open_order_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8219_20220627_tbl::HatimOUDAD
CREATE TABLE open_order_quote_tags (open_order_quote_id BIGINT NOT NULL, tag_id BIGINT NOT NULL);

CREATE TABLE open_order_quote_products (open_order_quote_id BIGINT NOT NULL, open_product_id BIGINT NOT NULL);

CREATE TABLE open_order_quote_articles (open_order_quote_id BIGINT NOT NULL, open_article_id BIGINT NOT NULL);

ALTER TABLE open_order_quote_tags ADD CONSTRAINT open_order_quote_tags_pkey PRIMARY KEY (open_order_quote_id, tag_id);

ALTER TABLE open_order_quote_products ADD CONSTRAINT open_order_quote_products_pkey PRIMARY KEY (open_order_quote_id, open_product_id);

ALTER TABLE open_order_quote_articles ADD CONSTRAINT open_order_quote_articles_pkey PRIMARY KEY (open_order_quote_id, open_article_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8219_20220627_tbl', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 779, '8:3cb54f222e4071fb9e660f34d9dd9bd6', 'createTable tableName=open_order_quote_tags; createTable tableName=open_order_quote_products; createTable tableName=open_order_quote_articles; addPrimaryKey constraintName=open_order_quote_tags_pkey, tableName=open_order_quote_tags; addPrimaryKey ...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8117_20220629_rebuild_tbl::ZBariki
CREATE TABLE open_order (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), external_reference VARCHAR(255), type VARCHAR(50) NOT NULL, status VARCHAR(25) NOT NULL, open_order_template_id BIGINT NOT NULL, open_order_number VARCHAR(255) NOT NULL, billing_account_id BIGINT NOT NULL, initial_amount numeric(23, 12) NOT NULL, currency_id BIGINT NOT NULL, open_order_quote_id BIGINT, end_of_validity_date TIMESTAMP WITHOUT TIME ZONE, activation_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, balance numeric(23, 12) NOT NULL, cancel_reason VARCHAR(4000), CONSTRAINT pk_open_order PRIMARY KEY (id), CONSTRAINT open_order_code_unique UNIQUE (code));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8117_20220629_rebuild_tbl', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 781, '8:82f0fbb3bb8c3b783c3ed9ab846c9852', 'createTable tableName=open_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9451_20220902_rebuild::KhalidHORRI
CREATE TABLE open_order_tags (open_order_id BIGINT NOT NULL, tag_id BIGINT NOT NULL);

ALTER TABLE open_order_tags ADD CONSTRAINT open_order_tags_pkey PRIMARY KEY (open_order_id, tag_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9451_20220902_rebuild', 'KhalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 783, '8:e14b408522ca14d08722182aad3c2a70', 'createTable tableName=open_order_tags; addPrimaryKey constraintName=open_order_tags_pkey, tableName=open_order_tags', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10683_20221107_rebuild::AdilElJaouhari
CREATE TABLE meveo_script_parameter (id BIGINT NOT NULL, version INTEGER, code VARCHAR(255) NOT NULL, script_instance_id BIGINT NOT NULL, description_i18n JSONB, class_name VARCHAR(255) DEFAULT 'java.lang.String' NOT NULL, default_value VARCHAR(255), mandatory INTEGER DEFAULT 0 NOT NULL, allowed_values VARCHAR(255), values_separator VARCHAR(20) DEFAULT '|' NOT NULL, collection INTEGER DEFAULT 0 NOT NULL, CONSTRAINT pk_meveo_script_parameter PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10683_20221107_rebuild', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 785, '8:8c7f6611acd50f8eb13e058ceac1c856', 'createTable tableName=meveo_script_parameter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16031_20230508_rebuild::zelmeliani
CREATE TABLE cat_price_list (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(50) NOT NULL, description VARCHAR(300), cf_values JSONB, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), valid_from TIMESTAMP WITHOUT TIME ZONE, valid_until TIMESTAMP WITHOUT TIME ZONE, application_start_date TIMESTAMP WITHOUT TIME ZONE, application_end_date TIMESTAMP WITHOUT TIME ZONE, status VARCHAR(50), CONSTRAINT price_list_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16031_20230508_rebuild', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 787, '8:970ff947c4bf880a3935d504a8c3e946', 'createTable tableName=cat_price_list', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16039_20230512-rebuild::a.rouaguebe
CREATE TABLE cat_price_list_line (id BIGINT NOT NULL, uuid VARCHAR(60) DEFAULT uuid_generate_v4(), version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(50) NOT NULL, description VARCHAR(300), cf_values JSONB, price_list_id BIGINT, offer_category_id BIGINT, offer_template_id BIGINT, product_id BIGINT, product_line_id BIGINT, charge_template_id BIGINT, price_plan_id BIGINT, price_list_type VARCHAR(25), application_el VARCHAR(255), rate numeric(23, 12), amount numeric(23, 12), CONSTRAINT cat_price_list_line_pk PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16039_20230512-rebuild', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 789, '8:c7b26b6f2f0d3f48cfa5c5937e5ce9ab', 'createTable tableName=cat_price_list_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16036_20230516-rebuild::zelmeliani
CREATE TABLE cat_price_list_customer_brand (price_list_id BIGINT, customer_brand_id BIGINT);

ALTER TABLE cat_price_list_customer_brand ADD CONSTRAINT cat_price_list_customer_brand_pkey PRIMARY KEY (price_list_id, customer_brand_id);

CREATE TABLE cat_price_list_customer_category (price_list_id BIGINT, customer_category_id BIGINT);

ALTER TABLE cat_price_list_customer_category ADD CONSTRAINT cat_price_list_customer_category_pkey PRIMARY KEY (price_list_id, customer_category_id);

CREATE TABLE cat_price_list_credit_category (price_list_id BIGINT, credit_category_id BIGINT);

ALTER TABLE cat_price_list_credit_category ADD CONSTRAINT cat_price_list_credit_category_pkey PRIMARY KEY (price_list_id, credit_category_id);

CREATE TABLE cat_price_list_country (price_list_id BIGINT, country_id BIGINT);

ALTER TABLE cat_price_list_country ADD CONSTRAINT cat_price_list_country_pkey PRIMARY KEY (price_list_id, country_id);

CREATE TABLE cat_price_list_currency (price_list_id BIGINT, currency_id BIGINT);

ALTER TABLE cat_price_list_currency ADD CONSTRAINT cat_price_list_currency_pkey PRIMARY KEY (price_list_id, currency_id);

CREATE TABLE cat_price_list_legal_entity (price_list_id BIGINT, legal_entity_id BIGINT);

ALTER TABLE cat_price_list_legal_entity ADD CONSTRAINT cat_price_list_legal_entity_pkey PRIMARY KEY (price_list_id, legal_entity_id);

CREATE TABLE cat_price_list_payment_method (price_list_id BIGINT, payment_method VARCHAR(50));

CREATE TABLE cat_price_list_seller (price_list_id BIGINT, seller_id BIGINT);

ALTER TABLE cat_price_list_seller ADD CONSTRAINT cat_price_list_seller_pkey PRIMARY KEY (price_list_id, seller_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16036_20230516-rebuild', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 791, '8:374fa4270c272bc101c1457a0f58e549', 'createTable tableName=cat_price_list_customer_brand; addPrimaryKey constraintName=cat_price_list_customer_brand_pkey, tableName=cat_price_list_customer_brand; createTable tableName=cat_price_list_customer_category; addPrimaryKey constraintName=cat...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15849_20230509-rebuild::TarikFA.
CREATE TABLE billing_seller_media (seller_id BIGINT, media_id BIGINT);

ALTER TABLE billing_seller_media ADD CONSTRAINT seller_id_media_id_unique_key UNIQUE (seller_id, media_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15849_20230509-rebuild', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 793, '8:6a2815f425823c311c1a842291804038', 'createTable tableName=billing_seller_media; addUniqueConstraint constraintName=seller_id_media_id_unique_key, tableName=billing_seller_media', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16361_20230606_rebuild::a.rouaguebe
CREATE TABLE cat_price_plan_charge (price_plan_id BIGINT, charge_id BIGINT);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16361_20230606_rebuild', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 795, '8:6135055e3d1ab217d82d63b6c9cc2468', 'createTable tableName=cat_price_plan_charge', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8753_20220727_001-rebuild::anas.rouaguebe
CREATE TABLE billing_redirection_rule (id BIGINT NOT NULL, version INTEGER, disabled INTEGER DEFAULT 0 NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), contract_id BIGINT, priority INTEGER NOT NULL, criteria_el VARCHAR(2000) NOT NULL, invoice_ba_code_el VARCHAR(2000) NOT NULL, CONSTRAINT billing_rule_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8753_20220727_001-rebuild', 'anas.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 797, '8:d3a04a8745dd236d8d64378f6271fdb3', 'createTable tableName=billing_redirection_rule', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::audit_data_log_rebuild_tbl::AndriusKarpavicius
CREATE TABLE audit_data_log_rec (id BIGINT NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, tx_id BIGINT NOT NULL, ref_table VARCHAR(60) NOT NULL, ref_id BIGINT, action VARCHAR(6) NOT NULL, origin VARCHAR(15) NOT NULL, origin_name VARCHAR(250), user_name VARCHAR(100), data_old JSONB, data_new JSONB, CONSTRAINT audit_data_log_rec_pkey PRIMARY KEY (id));

CREATE TABLE audit_data_log (id BIGINT NOT NULL, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, entity_class VARCHAR(255) NOT NULL, entity_id BIGINT NOT NULL, tx_id BIGINT NOT NULL, action VARCHAR(6) NOT NULL, origin VARCHAR(15) NOT NULL, origin_name VARCHAR(250), user_name VARCHAR(100), data_old JSONB, data_new JSONB, CONSTRAINT audit_data_log_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('audit_data_log_rebuild_tbl', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 799, '8:678e80e044cc981b5dbea16dfb26431d', 'createTable tableName=audit_data_log_rec; createTable tableName=audit_data_log', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::audit_data_config_rebuild_tbl::AndriusKarpavicius
CREATE TABLE audit_data_config (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), entity_class VARCHAR(255) NOT NULL, entity_fields VARCHAR(2000), actions VARCHAR(2000), CONSTRAINT audit_data_config_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('audit_data_config_rebuild_tbl', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 801, '8:91205f5d666651ddaf01f973d7f3b7b1', 'createTable tableName=audit_data_config', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-def-val-1::AndriusKarpavicius
ALTER TABLE job_execution ALTER COLUMN  id SET DEFAULT nextval('job_execution_seq');

ALTER SEQUENCE job_execution_seq OWNED BY job_execution.id;

ALTER TABLE rating_edr ALTER COLUMN  id SET DEFAULT nextval('rating_edr_seq');

ALTER SEQUENCE rating_edr_seq OWNED BY rating_edr.id;

ALTER TABLE billing_rated_transaction ALTER COLUMN  id SET DEFAULT nextval('billing_rated_transaction_seq');

ALTER SEQUENCE billing_rated_transaction_seq OWNED BY billing_rated_transaction.id;

ALTER TABLE billing_invoice ALTER COLUMN  id SET DEFAULT nextval('billing_invoice_seq');

ALTER SEQUENCE billing_invoice_seq OWNED BY billing_invoice.id;

ALTER TABLE billing_invoice_agregate ALTER COLUMN  id SET DEFAULT nextval('billing_invoice_agregate_seq');

ALTER SEQUENCE billing_invoice_agregate_seq OWNED BY billing_invoice_agregate.id;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-def-val-1', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 803, '8:1041be19b3d5c5b0e90214d09fc202fc', 'addDefaultValue columnName=id, tableName=job_execution; addDefaultValue columnName=id, tableName=rating_edr; addDefaultValue columnName=id, tableName=billing_rated_transaction; addDefaultValue columnName=id, tableName=billing_invoice; addDefaultVa...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-def-val-2::AbdelmounaimAkadid
ALTER TABLE billing_service_instance ALTER COLUMN  initial_term_type SET DEFAULT 'RECURRING';

ALTER TABLE cat_service_template ALTER COLUMN  initial_term_type SET DEFAULT 'RECURRING';

ALTER TABLE cat_offer_template ALTER COLUMN  initial_term_type SET DEFAULT 'RECURRING';

ALTER TABLE billing_subscription ALTER COLUMN  initial_term_type SET DEFAULT 'RECURRING';

ALTER TABLE cat_unit_of_measure ALTER COLUMN  multiplicator SET DEFAULT 1;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-def-val-2', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 805, '8:a3528d59b1241bdc71e20dded70399ee', 'addDefaultValue columnName=initial_term_type, tableName=billing_service_instance; addDefaultValue columnName=initial_term_type, tableName=cat_service_template; addDefaultValue columnName=initial_term_type, tableName=cat_offer_template; addDefaultV...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::crm_address_book_contact-table-creation::abdelkader.bouazza
CREATE TABLE crm_address_book_contact (id BIGINT NOT NULL, version INTEGER, address_book_id BIGINT, contact_id BIGINT, position VARCHAR(30), main_contact INTEGER DEFAULT 0, CONSTRAINT crm_address_book_contact_pkey PRIMARY KEY (id));

ALTER TABLE crm_address_book_contact ADD CONSTRAINT "id_address_book_id_contact_id_UNIQUE" UNIQUE (id, address_book_id, contact_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('crm_address_book_contact-table-creation', 'abdelkader.bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 807, '8:691a79783f88e4379534d0ba44fbdf64', 'createTable tableName=crm_address_book_contact; addUniqueConstraint constraintName=id_address_book_id_contact_id_UNIQUE, tableName=crm_address_book_contact', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-view-1::AbdelmounaimAkadid
CREATE VIEW billing_wallet_operation_period AS select o.*, SUM(o.flag) over (partition by o.seller_id order by o.charge_instance_id ) as period
            from (select o.*, (case when (DATE(lag(o.end_Date) over (partition by o.seller_id order by o.charge_instance_id )) = DATE(o.start_date)) then 0 else 1 end) as flag
            FROM public.billing_wallet_operation o WHERE o.status='OPEN' ) o;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-view-1', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 809, '8:044cf26b8b333fab5289561c0d2dc5c3', 'createView viewName=billing_wallet_operation_period', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12614_20221227_BUILD_TABLE::TarikFA.
CREATE TABLE cpq_trading_price_plan_matrix_line (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), trading_value numeric(23, 12), trading_currency_id BIGINT, rate numeric(23, 12), use_for_billing_accounts INTEGER, price_plan_matrix_line_id BIGINT, CONSTRAINT pk_trading_plan_matrix_line PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12614_20221227_BUILD_TABLE', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 811, '8:932b8762f9b4e3d95b1b33d6659ee040', 'createTable tableName=cpq_trading_price_plan_matrix_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-422::AndriusKarpavicius
ALTER TABLE cat_discount_plan_item ADD CONSTRAINT uk_1q0ayvmttpoo254r1v8hl0kjn UNIQUE (discount_plan_id, code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-422', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 813, '8:4686198a383495328eeeb0d70d322bca', 'addUniqueConstraint constraintName=uk_1q0ayvmttpoo254r1v8hl0kjn, tableName=cat_discount_plan_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-423::AndriusKarpavicius
ALTER TABLE billing_invoice_template ADD CONSTRAINT uk_23jasgq9b22ry02e4tl773c8i UNIQUE (file_name);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-423', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 815, '8:34d5f8616a2a269073d7bdc811cbb532', 'addUniqueConstraint constraintName=uk_23jasgq9b22ry02e4tl773c8i, tableName=billing_invoice_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-424::AndriusKarpavicius
ALTER TABLE adm_notification ADD CONSTRAINT uk_3ycqdueceguo8a0s21h1gkcqw UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-424', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 817, '8:26b3b12172243654a39714dca2a98acf', 'addUniqueConstraint constraintName=uk_3ycqdueceguo8a0s21h1gkcqw, tableName=adm_notification', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-425::AndriusKarpavicius
ALTER TABLE cat_hour_in_day ADD CONSTRAINT uk_46j9b2xyivfvbibad362o1dlr UNIQUE (hour, min);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-425', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 819, '8:33d6cd1acc3703331c941e74dca8303b', 'addUniqueConstraint constraintName=uk_46j9b2xyivfvbibad362o1dlr, tableName=cat_hour_in_day', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-426::AndriusKarpavicius
ALTER TABLE cat_discount_plan ADD CONSTRAINT uk_4qps24of1qada6uyq7lh5ua0t UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-426', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 821, '8:7cffbffc94f89716fa440b5c7af63263', 'addUniqueConstraint constraintName=uk_4qps24of1qada6uyq7lh5ua0t, tableName=cat_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-427::AndriusKarpavicius
ALTER TABLE cat_price_plan_matrix ADD CONSTRAINT uk_52v1uwefc75bgqrj5encpyd9w UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-427', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 823, '8:64f39512801ec4c0ba6652e8765dccbc', 'addUniqueConstraint constraintName=uk_52v1uwefc75bgqrj5encpyd9w, tableName=cat_price_plan_matrix', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-428::AndriusKarpavicius
ALTER TABLE adm_notif_im_user ADD CONSTRAINT uk_6g7agb8u5whyi5ukj627l2qc9 UNIQUE (users_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-428', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 825, '8:b649a958f89ead2c4b2d65d76110978d', 'addUniqueConstraint constraintName=uk_6g7agb8u5whyi5ukj627l2qc9, tableName=adm_notif_im_user', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-429::AndriusKarpavicius
ALTER TABLE com_contact_coords ADD CONSTRAINT uk_6lkh6xsel27sl2bp1vgdhj0hm UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-429', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 827, '8:405c89e8d087de916b0b548d3193871c', 'addUniqueConstraint constraintName=uk_6lkh6xsel27sl2bp1vgdhj0hm, tableName=com_contact_coords', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-430::AndriusKarpavicius
ALTER TABLE cat_service_template ADD CONSTRAINT uk_6u1l58s8u672jj9sqb9tgqdbu UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-430', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 829, '8:ec6b7fb578420ba68f72097969102c90', 'addUniqueConstraint constraintName=uk_6u1l58s8u672jj9sqb9tgqdbu, tableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-432::AndriusKarpavicius
ALTER TABLE billing_subscription ADD CONSTRAINT uk_9fnf93rp352nkw2kpd4oq5xp9 UNIQUE (code, valid_from, valid_to);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-432', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 831, '8:be32a93019d5edaeb50d941c6c950fa6', 'addUniqueConstraint constraintName=uk_9fnf93rp352nkw2kpd4oq5xp9, tableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-433::AndriusKarpavicius
ALTER TABLE crm_customer_brand ADD CONSTRAINT uk_bf0bq2sqe9fefsoud50t0fbjp UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-433', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 833, '8:eee7a6053eb6c3277f67a2cd45ee9890', 'addUniqueConstraint constraintName=uk_bf0bq2sqe9fefsoud50t0fbjp, tableName=crm_customer_brand', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-435::AndriusKarpavicius
ALTER TABLE billing_subscrip_termin_reason ADD CONSTRAINT uk_cygiejvomk5mi5v4o04hf4uny UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-435', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 835, '8:5e0d78b8dd44319499f70614a4309d85', 'addUniqueConstraint constraintName=uk_cygiejvomk5mi5v4o04hf4uny, tableName=billing_subscrip_termin_reason', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-436::AndriusKarpavicius
ALTER TABLE billing_cycle ADD CONSTRAINT uk_cyq7rhfwc1wqvxbj2tukw34f2 UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-436', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 837, '8:5de9b7a7ea96366cc3f859cfe1d69e59', 'addUniqueConstraint constraintName=uk_cyq7rhfwc1wqvxbj2tukw34f2, tableName=billing_cycle', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-438::AndriusKarpavicius
ALTER TABLE adm_currency ADD CONSTRAINT uk_dqcyys6yxxl4onj137n9c1nwu UNIQUE (currency_code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-438', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 839, '8:12a5d31f7d2ea2dc7799ce5b821d4bd6', 'addUniqueConstraint constraintName=uk_dqcyys6yxxl4onj137n9c1nwu, tableName=adm_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-439::AndriusKarpavicius
ALTER TABLE com_contact_com_message ADD CONSTRAINT uk_e1trke21afbfr3v8wqnsks2is UNIQUE (messages_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-439', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 841, '8:43a7339b552d71287fb7cfa15d73c669', 'addUniqueConstraint constraintName=uk_e1trke21afbfr3v8wqnsks2is, tableName=com_contact_com_message', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-440::AndriusKarpavicius
ALTER TABLE cat_triggered_edr ADD CONSTRAINT uk_e5epl6nn8r6uyegu6ytx0c3op UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-440', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 843, '8:2384fc73ddb9e54392bc357478469aa1', 'addUniqueConstraint constraintName=uk_e5epl6nn8r6uyegu6ytx0c3op, tableName=cat_triggered_edr', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-441::AndriusKarpavicius
ALTER TABLE com_sender_config ADD CONSTRAINT uk_e9tdxu2w5ebts1p1nr1ejqbgp UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-441', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 845, '8:17235fb35e8326f0e68b1c72a6ed6631', 'addUniqueConstraint constraintName=uk_e9tdxu2w5ebts1p1nr1ejqbgp, tableName=com_sender_config', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-442::AndriusKarpavicius
ALTER TABLE billing_tax ADD CONSTRAINT uk_ej17p1cs8977u8njoppj4ebug UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-442', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 847, '8:436257f8b799bcde7f5b1651f5f9434b', 'addUniqueConstraint constraintName=uk_ej17p1cs8977u8njoppj4ebug, tableName=billing_tax', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-443::AndriusKarpavicius
ALTER TABLE crm_provider ADD CONSTRAINT uk_crm_provider UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-443', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 849, '8:bcc0f7364f2ad2d8a465096a5eabe9b7', 'addUniqueConstraint constraintName=uk_crm_provider, tableName=crm_provider', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-445::AndriusKarpavicius
ALTER TABLE adm_inbound_request ADD CONSTRAINT uk_fg8lvusnsfih36f76coxmh8qi UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-445', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 851, '8:e03500a2684ec9ca979285e869dfc3ee', 'addUniqueConstraint constraintName=uk_fg8lvusnsfih36f76coxmh8qi, tableName=adm_inbound_request', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-446::AndriusKarpavicius
ALTER TABLE cat_day_in_year ADD CONSTRAINT uk_gm4w28fbb5i1t0403tjbjyjrq UNIQUE (day, month);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-446', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 853, '8:dcbeb1a2afc71cd40a6ace5f98e66c9a', 'addUniqueConstraint constraintName=uk_gm4w28fbb5i1t0403tjbjyjrq, tableName=cat_day_in_year', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-447::AndriusKarpavicius
ALTER TABLE com_campaign ADD CONSTRAINT uk_h1vbmdpl6hby6wefd9isqht8 UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-447', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 855, '8:84fd5155aa5667d48bedc2b8a3e454b6', 'addUniqueConstraint constraintName=uk_h1vbmdpl6hby6wefd9isqht8, tableName=com_campaign', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-448::AndriusKarpavicius
ALTER TABLE com_msg_var_value ADD CONSTRAINT uk_i4iy89rb3qcvhd7qivhjvw2mo UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-448', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 857, '8:03b853d4f494bb1a909997338b14b256', 'addUniqueConstraint constraintName=uk_i4iy89rb3qcvhd7qivhjvw2mo, tableName=com_msg_var_value', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-449::AndriusKarpavicius
ALTER TABLE com_msg_tmpl_variable ADD CONSTRAINT uk_ie5npbxx0nxnpogq73fdsi9fp UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-449', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 859, '8:e99652c29de175cea809900c4993262b', 'addUniqueConstraint constraintName=uk_ie5npbxx0nxnpogq73fdsi9fp, tableName=com_msg_tmpl_variable', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-450::AndriusKarpavicius
ALTER TABLE crm_customer_category ADD CONSTRAINT uk_ila682ivfyhhi6dfk9yfuahr UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-450', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 861, '8:640a50b3242c21e67b731c4d5c7ff9b9', 'addUniqueConstraint constraintName=uk_ila682ivfyhhi6dfk9yfuahr, tableName=crm_customer_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-451::AndriusKarpavicius
ALTER TABLE cat_offer_template ADD CONSTRAINT cat_offer_template_uk UNIQUE (code, valid_from, valid_to);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-451', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 863, '8:96f195680f57fbb18bee8d7dcc94d14d', 'addUniqueConstraint constraintName=cat_offer_template_uk, tableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-452::AndriusKarpavicius
ALTER TABLE billing_invoice_template ADD CONSTRAINT uk_k9ha8me5f8rka8uqrgempqwuo UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-452', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 865, '8:128ca436ce10681d7fefff7b069eba28', 'addUniqueConstraint constraintName=uk_k9ha8me5f8rka8uqrgempqwuo, tableName=billing_invoice_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-454::AndriusKarpavicius
ALTER TABLE adm_title ADD CONSTRAINT uk_lqvhsn08tpoq8kiy1qdc8j6ms UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-454', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 867, '8:4799344db0d77f3896aa0e944d230d72', 'addUniqueConstraint constraintName=uk_lqvhsn08tpoq8kiy1qdc8j6ms, tableName=adm_title', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-455::AndriusKarpavicius
ALTER TABLE cat_wallet_template ADD CONSTRAINT uk_m7m3ix32qoai9fv3xncoys8c9 UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-455', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 869, '8:ea07c8b9137b63265d649df8c19436ff', 'addUniqueConstraint constraintName=uk_m7m3ix32qoai9fv3xncoys8c9, tableName=cat_wallet_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-456::AndriusKarpavicius
ALTER TABLE billing_counter_period ADD CONSTRAINT uk_mns6ldfxmurbo0j4y890h4ipe UNIQUE (counter_instance_id, period_start_date);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-456', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 871, '8:4d556ad49c84a18eee6ca841f3bd9c9f', 'addUniqueConstraint constraintName=uk_mns6ldfxmurbo0j4y890h4ipe, tableName=billing_counter_period', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-457::AndriusKarpavicius
ALTER TABLE adm_notif_email_user ADD CONSTRAINT uk_mp4h7biod5wtjo1x3yp80q3um UNIQUE (users_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-457', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 873, '8:25ac2caa659f2675d6eeeeca49c413dd', 'addUniqueConstraint constraintName=uk_mp4h7biod5wtjo1x3yp80q3um, tableName=adm_notif_email_user', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-458::AndriusKarpavicius
ALTER TABLE crm_seller ADD CONSTRAINT uk_crm_seller UNIQUE (code);

ALTER TABLE crm_customer ADD CONSTRAINT uk_crm_customer UNIQUE (code);

ALTER TABLE ar_customer_account ADD CONSTRAINT uk_ar_customer_account UNIQUE (code);

ALTER TABLE billing_billing_account ADD CONSTRAINT uk_billing_billing_account UNIQUE (code);

ALTER TABLE billing_user_account ADD CONSTRAINT uk_billing_user_account UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-458', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 875, '8:d6eaf071d67fb90efec499201730dcfc', 'addUniqueConstraint constraintName=uk_crm_seller, tableName=crm_seller; addUniqueConstraint constraintName=uk_crm_customer, tableName=crm_customer; addUniqueConstraint constraintName=uk_ar_customer_account, tableName=ar_customer_account; addUnique...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-459::AndriusKarpavicius
ALTER TABLE cat_calendar ADD CONSTRAINT uk_my3lp1lx5r0jeftgekg48nf89 UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-459', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 877, '8:66073f10ce05262fdf3d6cd1795cc2a2', 'addUniqueConstraint constraintName=uk_my3lp1lx5r0jeftgekg48nf89, tableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-460::AndriusKarpavicius
ALTER TABLE cat_charge_template ADD CONSTRAINT uk_n2bbtllrbgypse7qh9h3w6uy8 UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-460', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 879, '8:5f587259cedccd478cdea31ac79ad1f8', 'addUniqueConstraint constraintName=uk_n2bbtllrbgypse7qh9h3w6uy8, tableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-461::AndriusKarpavicius
ALTER TABLE adm_user ADD CONSTRAINT uk_n9pt70038bt2ufk8x4pc7gr3l UNIQUE (username);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-461', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 881, '8:9ef670f7f19a1ee5c04004218f311689', 'addUniqueConstraint constraintName=uk_n9pt70038bt2ufk8x4pc7gr3l, tableName=adm_user', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-462::AndriusKarpavicius
ALTER TABLE crm_provider_contact ADD CONSTRAINT uk_o5gj61ogdrv2lqs68uxkswvn2 UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-462', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 883, '8:a1415e52bae24fa2dd0e9c281c73c2c1', 'addUniqueConstraint constraintName=uk_o5gj61ogdrv2lqs68uxkswvn2, tableName=crm_provider_contact', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-465::AndriusKarpavicius
ALTER TABLE rm_service_param_template ADD CONSTRAINT uk_ojqvlgvkqu3rnvm79bekf7k0b UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-465', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 885, '8:77ba29a5d58faa0591b521e2185e22bf', 'addUniqueConstraint constraintName=uk_ojqvlgvkqu3rnvm79bekf7k0b, tableName=rm_service_param_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-466::AndriusKarpavicius
ALTER TABLE billing_invoice ADD CONSTRAINT uk_olfbcf2pmj73v5xdhnbp5i5gn UNIQUE (temporary_invoice_number);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-466', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 887, '8:614b36c5317dd48e51641df70e6de4a6', 'addUniqueConstraint constraintName=uk_olfbcf2pmj73v5xdhnbp5i5gn, tableName=billing_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-467::AndriusKarpavicius
ALTER TABLE cat_counter_template ADD CONSTRAINT uk_p12oo75s9gryyvaw53y06xoh3 UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-467', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 889, '8:2d6ff9746119657fd5d6d3aa6c2284d1', 'addUniqueConstraint constraintName=uk_p12oo75s9gryyvaw53y06xoh3, tableName=cat_counter_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-468::AndriusKarpavicius
ALTER TABLE ar_occ_template ADD CONSTRAINT uk_p2nr7j9ik6ri37gmd8o1hojhb UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-468', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 891, '8:813c6b982b510dfb2935637f75fa3beb', 'addUniqueConstraint constraintName=uk_p2nr7j9ik6ri37gmd8o1hojhb, tableName=ar_occ_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-469::AndriusKarpavicius
ALTER TABLE dwh_chart ADD CONSTRAINT uk_pehkecunepva2oq9dx9faajhg UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-469', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 893, '8:ce120cd7db58d1c6dfb603f3cce8505d', 'addUniqueConstraint constraintName=uk_pehkecunepva2oq9dx9faajhg, tableName=dwh_chart', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-470::AndriusKarpavicius
ALTER TABLE billing_invoice_sub_cat ADD CONSTRAINT uk_pxj2js3rc3kkeo9bqewgai3yl UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-470', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 895, '8:1ecaa2daaa95e7960e5f1e2691599db7', 'addUniqueConstraint constraintName=uk_pxj2js3rc3kkeo9bqewgai3yl, tableName=billing_invoice_sub_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-471::AndriusKarpavicius
ALTER TABLE billing_invoice_cat ADD CONSTRAINT uk_qck1376ll09l9itat2bcomhpl UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-471', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 897, '8:6a12ae6bfe055234b8cc27fb7680e525', 'addUniqueConstraint constraintName=uk_qck1376ll09l9itat2bcomhpl, tableName=billing_invoice_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-473::AndriusKarpavicius
ALTER TABLE com_message_template ADD CONSTRAINT uk_r0shu06cdbx57w86f2h57t66p UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-473', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 899, '8:b647637c3d28b7a55bae06f35e0308f7', 'addUniqueConstraint constraintName=uk_r0shu06cdbx57w86f2h57t66p, tableName=com_message_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-474::AndriusKarpavicius
ALTER TABLE dwh_measurable_quant ADD CONSTRAINT uk_r7ba8gp6uk4ncc8q1a7rrt3fi UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-474', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 901, '8:e4ecd6454077e79c6b9d13d3ee1a283a', 'addUniqueConstraint constraintName=uk_r7ba8gp6uk4ncc8q1a7rrt3fi, tableName=dwh_measurable_quant', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-476::AndriusKarpavicius
ALTER TABLE bi_job ADD CONSTRAINT uk_stegw04bvx8bxued1pkncywxl UNIQUE (name);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-476', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 903, '8:f31a9bc42f9ff91a06689e244a611166', 'addUniqueConstraint constraintName=uk_stegw04bvx8bxued1pkncywxl, tableName=bi_job', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-477::AndriusKarpavicius
ALTER TABLE billing_wallet ADD CONSTRAINT uk_billing_wallet UNIQUE (code, user_account_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-477', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 905, '8:714e45a620fc4a22fc6f8ed7c129f3bc', 'addUniqueConstraint constraintName=uk_billing_wallet, tableName=billing_wallet', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-478::AndriusKarpavicius
ALTER TABLE ar_credit_category ADD CONSTRAINT uk_ar_credit_category UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-478', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 907, '8:492bfaa610615444a0d9be7d9042f16e', 'addUniqueConstraint constraintName=uk_ar_credit_category, tableName=ar_credit_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-479::AndriusKarpavicius
ALTER TABLE meveo_filter ADD CONSTRAINT uk_meveo_filter UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-479', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 909, '8:7be1e877a15c8fc6fbd3a869a49c3b8e', 'addUniqueConstraint constraintName=uk_meveo_filter, tableName=meveo_filter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-481::AndriusKarpavicius
ALTER TABLE meveo_script_instance ADD CONSTRAINT uk_meveo_script_instance UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-481', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 911, '8:c6984ede8b1f5cd29080710fac597376', 'addUniqueConstraint constraintName=uk_meveo_script_instance, tableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-483::AndriusKarpavicius
ALTER TABLE com_meveo_instance ADD CONSTRAINT uk_p7r8cy3d1w7g8pir7rxq17071 UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-483', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 913, '8:9688cf88db28a4fb861c41ee78919c85', 'addUniqueConstraint constraintName=uk_p7r8cy3d1w7g8pir7rxq17071, tableName=com_meveo_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-485::AndriusKarpavicius
ALTER TABLE meveo_job_instance ADD CONSTRAINT uk_meveo_job_instance UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-485', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 915, '8:40f57c506d258781a73cead2cf555563', 'addUniqueConstraint constraintName=uk_meveo_job_instance, tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-486::AndriusKarpavicius
ALTER TABLE meveo_timer ADD CONSTRAINT uk_q4ys10jgsw0px36rcvwdajh47 UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-486', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 917, '8:8d95df98a4926365a2b52820800017f4', 'addUniqueConstraint constraintName=uk_q4ys10jgsw0px36rcvwdajh47, tableName=meveo_timer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-488::AndriusKarpavicius
ALTER TABLE crm_custom_field_tmpl ADD CONSTRAINT uk_abfci88fr16lqf19cf961b08d UNIQUE (code, applies_to);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-488', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 919, '8:a6c8f3de363171fea3b053815a8284a8', 'addUniqueConstraint constraintName=uk_abfci88fr16lqf19cf961b08d, tableName=crm_custom_field_tmpl', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-489::AndriusKarpavicius
ALTER TABLE cust_cei ADD CONSTRAINT uk_cust_cei UNIQUE (code, cet_code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-489', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 921, '8:192e7d429b163b4c0f4805456c9e5beb', 'addUniqueConstraint constraintName=uk_cust_cei, tableName=cust_cei', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-492::AndriusKarpavicius
ALTER TABLE meveo_module ADD CONSTRAINT uk_meveo_module UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-492', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 923, '8:bf0a1f88eb0fd2bc096010fde1b66a25', 'addUniqueConstraint constraintName=uk_meveo_module, tableName=meveo_module', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-493::AndriusKarpavicius
ALTER TABLE cat_offer_template_category ADD CONSTRAINT uk_cat_offer_template_category UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-493', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 925, '8:23e6604a3f03534fe95606609e0a4ec3', 'addUniqueConstraint constraintName=uk_cat_offer_template_category, tableName=cat_offer_template_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-494::AndriusKarpavicius
ALTER TABLE cat_offer_serv_templates ADD CONSTRAINT uk_cat_offer_serv_templates UNIQUE (offer_template_id, service_template_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-494', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 927, '8:f6f8531ed2cd86f1bdc0a32af7ae6a30', 'addUniqueConstraint constraintName=uk_cat_offer_serv_templates, tableName=cat_offer_serv_templates', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-496::AndriusKarpavicius
ALTER TABLE billing_invoice_type ADD CONSTRAINT uk_billing_invoice_type UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-496', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 929, '8:70e91a9fc82b6673c0d525f8132102cd', 'addUniqueConstraint constraintName=uk_billing_invoice_type, tableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-497::AndriusKarpavicius
ALTER TABLE billing_invoice ADD CONSTRAINT uk_billing_invoice UNIQUE (invoice_number, invoice_type_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-497', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 931, '8:05d10b30844b65a5016022d563bd1adc', 'addUniqueConstraint constraintName=uk_billing_invoice, tableName=billing_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-498::AndriusKarpavicius
ALTER TABLE wf_workflow ADD CONSTRAINT uk_j8v4x5olh5um1g7y5vnsayrka UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-498', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 933, '8:d534ace8373cbe23938bc62e7a338659', 'addUniqueConstraint constraintName=uk_j8v4x5olh5um1g7y5vnsayrka, tableName=wf_workflow', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-499::AndriusKarpavicius
ALTER TABLE cat_channel ADD CONSTRAINT uk_cat_channel UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-499', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 935, '8:01f62740d70bd493b44665dd67d7239e', 'addUniqueConstraint constraintName=uk_cat_channel, tableName=cat_channel', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-501::AndriusKarpavicius
ALTER TABLE ord_order ADD CONSTRAINT uk_ord_order UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-501', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 937, '8:44dca0255a9911800b19ba745c4a29cd', 'addUniqueConstraint constraintName=uk_ord_order, tableName=ord_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-502::AndriusKarpavicius
ALTER TABLE hierarchy_entity ADD CONSTRAINT uk_code_hierarchy UNIQUE (code, hierarchy_type);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-502', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 939, '8:85400f467fcba80bca0bfa7e9b6c2d53', 'addUniqueConstraint constraintName=uk_code_hierarchy, tableName=hierarchy_entity', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-503::AndriusKarpavicius
ALTER TABLE cat_digital_resource ADD CONSTRAINT uk_digital_resource UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-503', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 941, '8:0d4497f0494b0879140c2ea7fc3e0e53', 'addUniqueConstraint constraintName=uk_digital_resource, tableName=cat_digital_resource', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-504::AndriusKarpavicius
ALTER TABLE cat_bundle_product_template ADD CONSTRAINT uk_cat_bundle_prod_tpl UNIQUE (product_template_id, bundle_template_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-504', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 943, '8:41a524c2260a66dc59698324658efc51', 'addUniqueConstraint constraintName=uk_cat_bundle_prod_tpl, tableName=cat_bundle_product_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-506::AndriusKarpavicius
ALTER TABLE wf_decision_rule ADD CONSTRAINT uk_decision_rule_name_value UNIQUE (name, value);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-506', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 945, '8:2bf00b5065654bf058cd62df4f83761d', 'addUniqueConstraint constraintName=uk_decision_rule_name_value, tableName=wf_decision_rule', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-507::AndriusKarpavicius
ALTER TABLE wf_transition ADD CONSTRAINT uk_wf_transition_uuid UNIQUE (uuid);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-507', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 947, '8:a97e37ce1610af02cf4132685a97df0c', 'addUniqueConstraint constraintName=uk_wf_transition_uuid, tableName=wf_transition', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-508::AndriusKarpavicius
ALTER TABLE wf_action ADD CONSTRAINT uk_wf_action_uuid UNIQUE (uuid);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-508', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 949, '8:31df350f88e5b128046e8ce3036563e9', 'addUniqueConstraint constraintName=uk_wf_action_uuid, tableName=wf_action', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-510::AndriusKarpavicius
ALTER TABLE ord_quote ADD CONSTRAINT uk_ord_quote UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-510', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 951, '8:2e10c88f9f0ca9a5c1f4b8e0eb5a910c', 'addUniqueConstraint constraintName=uk_ord_quote, tableName=ord_quote', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-511::AndriusKarpavicius
ALTER TABLE billing_seq_invtyp_sell ADD CONSTRAINT uk_bill_seq_it_sell UNIQUE (seller_id, invoicetype_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-511', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 953, '8:230f8e7cdfd23383850c5e7ee7dfc62e', 'addUniqueConstraint constraintName=uk_bill_seq_it_sell, tableName=billing_seq_invtyp_sell', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-512::AndriusKarpavicius
ALTER TABLE cust_cet ADD CONSTRAINT uk_cust_cet UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-512', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 955, '8:88f30c06ef793bd6dd609550a8c7b371', 'addUniqueConstraint constraintName=uk_cust_cet, tableName=cust_cet', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-514::AndriusKarpavicius
ALTER TABLE crm_provider_pay_methods ADD CONSTRAINT uk_prov_pay_meth UNIQUE (provider_id, payment_method);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-514', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 957, '8:31cf4a5eabcd0326331ee88a5c23b90e', 'addUniqueConstraint constraintName=uk_prov_pay_meth, tableName=crm_provider_pay_methods', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-515::AndriusKarpavicius
ALTER TABLE billing_accounting_code ADD CONSTRAINT uk_billing_accounting_code UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-515', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 959, '8:aca27984b67f15bd25b10f111d53ff08', 'addUniqueConstraint constraintName=uk_billing_accounting_code, tableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-516::AndriusKarpavicius
ALTER TABLE dwh_journal_entries ADD CONSTRAINT uk_orinvacid UNIQUE (origin_id, invoice_number, accounting_code_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-516', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 961, '8:356694d895803b597f90841b926dfd2f', 'addUniqueConstraint constraintName=uk_orinvacid, tableName=dwh_journal_entries', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-518::AndriusKarpavicius
ALTER TABLE com_contact ADD CONSTRAINT com_contact_email UNIQUE (email);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-518', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 963, '8:fa36de9503fd1e109c5c8aedd52051cc', 'addUniqueConstraint constraintName=com_contact_email, tableName=com_contact', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-519::AndriusKarpavicius
ALTER TABLE billing_finance_segment ADD UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-519', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 965, '8:87efe68c33c07b53dc1963aa6fb35718', 'addUniqueConstraint tableName=billing_finance_segment', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-520::AndriusKarpavicius
ALTER TABLE billing_general_ledger ADD CONSTRAINT uk_billing_general_ledger_code UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-520', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 967, '8:ce45923d73073710aa13f57f530f13f3', 'addUniqueConstraint constraintName=uk_billing_general_ledger_code, tableName=billing_general_ledger', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-521::AndriusKarpavicius
ALTER TABLE wf_status ADD CONSTRAINT uk_generic_wf_id_code_status UNIQUE (generic_wf_id, code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-521', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 969, '8:53d315c436bed1bba6d00854db9bd154', 'addUniqueConstraint constraintName=uk_generic_wf_id_code_status, tableName=wf_status', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-522::AndriusKarpavicius
ALTER TABLE adm_custom_generic_entity_code ADD CONSTRAINT uk_adm_custom_generic_entity_code_class UNIQUE (entity_class);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-522', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 971, '8:6295e15b82aaa7f2375014330e22be4a', 'addUniqueConstraint constraintName=uk_adm_custom_generic_entity_code_class, tableName=adm_custom_generic_entity_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-523::AndriusKarpavicius
ALTER TABLE wf_instance ADD CONSTRAINT uk_wf_instance_code_gwf_id_cet_code UNIQUE (entity_instance_code, generic_wf_id, target_cet_code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-523', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 973, '8:602ff5e4418bdd61eefa8de82b2e1bc6', 'addUniqueConstraint constraintName=uk_wf_instance_code_gwf_id_cet_code, tableName=wf_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-524::AbdelmounaimAkadid
ALTER TABLE flat_file ADD CONSTRAINT uk_9fnf93rp352nkw2kpdbari6yr9 UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-524', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 975, '8:38d28a88b220f77e0b0a56eac4c7ebac', 'addUniqueConstraint constraintName=uk_9fnf93rp352nkw2kpdbari6yr9, tableName=flat_file', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-525::AbdelmounaimAkadid
ALTER TABLE adm_file_format ADD CONSTRAINT uk_9fnf93rp352nkw2kpdbari4xp9 UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-525', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 977, '8:bd9cedcc6e63a81c39a05a4fac3cbfff', 'addUniqueConstraint constraintName=uk_9fnf93rp352nkw2kpdbari4xp9, tableName=adm_file_format', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-526::AbdelmounaimAkadid
ALTER TABLE adm_file_type ADD CONSTRAINT uk_9fnf93rp352nkw2kpdbari5yr8 UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-526', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 979, '8:1f8cb8e3dd22f384e494aaa92974450b', 'addUniqueConstraint constraintName=uk_9fnf93rp352nkw2kpdbari5yr8, tableName=adm_file_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-527::AbdelmounaimAkadid
ALTER TABLE adm_language ADD CONSTRAINT "UniqueConstraint_adm__language_code" UNIQUE (language_code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-527', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 981, '8:a64c521d347fe541da267e5730ffa39e', 'addUniqueConstraint constraintName=UniqueConstraint_adm__language_code, tableName=adm_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-528::AbdelmounaimAkadid
ALTER TABLE adm_language ADD CONSTRAINT "UniqueConstraint_adm_language__description_en" UNIQUE (description_en);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-528', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 983, '8:00fa6e5564166bed40640321bd3744f4', 'addUniqueConstraint constraintName=UniqueConstraint_adm_language__description_en, tableName=adm_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-529::AbdelmounaimAkadid
ALTER TABLE adm_currency ADD CONSTRAINT "UniqueConstraint_adm_currency__description_en" UNIQUE (description_en);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-529', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 985, '8:b6f3638f5d1a8d70aac58fc9cf987401', 'addUniqueConstraint constraintName=UniqueConstraint_adm_currency__description_en, tableName=adm_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-531::AbdelmounaimAkadid
ALTER TABLE medina_access ADD CONSTRAINT uk_lca62y5gn9qo1e6jr84i9w3lr UNIQUE (acces_user_id, subscription_id, start_date, end_date);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-531', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 987, '8:f1d5ba9a115f7bab7edcc6f1bac439ef', 'addUniqueConstraint constraintName=uk_lca62y5gn9qo1e6jr84i9w3lr, tableName=medina_access', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-532::AbdelmounaimAkadid
ALTER TABLE billing_tax_category ADD CONSTRAINT uk_billing_tax_category_code UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-532', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 989, '8:81f37a1523a3cf12c8025a3a7d1971ad', 'addUniqueConstraint constraintName=uk_billing_tax_category_code, tableName=billing_tax_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-533::AbdelmounaimAkadid
ALTER TABLE billing_tax_class ADD CONSTRAINT uk_billing_tax_class_code UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-533', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 991, '8:224e62c88f2876a0f46d97ed4470fa35', 'addUniqueConstraint constraintName=uk_billing_tax_class_code, tableName=billing_tax_class', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-534::AbdelmounaimAkadid
ALTER TABLE ord_order_item ADD CONSTRAINT uk_order_item_code UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-534', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 993, '8:1c5139812ade9216de768e9fb196758a', 'addUniqueConstraint constraintName=uk_order_item_code, tableName=ord_order_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-535::AbdelmounaimAkadid
ALTER TABLE bi_data_collector ADD CONSTRAINT uk_bi_data_collector_code UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-535', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 995, '8:ddcf15f649ae1f6209bdb796fb75a94d', 'addUniqueConstraint constraintName=uk_bi_data_collector_code, tableName=bi_data_collector', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-537::AbdelmounaimAkadid
ALTER TABLE wf_generic_action ADD CONSTRAINT uk_wf_generic_action_uuid UNIQUE (uuid);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-537', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 997, '8:31f01c5bcda8b1fcf394ad75ca3f57a0', 'addUniqueConstraint constraintName=uk_wf_generic_action_uuid, tableName=wf_generic_action', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-538::AbdelmounaimAkadid
ALTER TABLE adm_country ADD CONSTRAINT "UniqueConstraint_adm__country_code" UNIQUE (country_code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-538', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 999, '8:f4529feac5c485f2fd8472df80c9830c', 'addUniqueConstraint constraintName=UniqueConstraint_adm__country_code, tableName=adm_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-539::AbdelmounaimAkadid
ALTER TABLE cpq_service_template_tags ADD CONSTRAINT service_template_tag_pkey UNIQUE (service_template_id, tag_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-539', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1001, '8:214292068af2949a3bacbaa23c162bec', 'addUniqueConstraint constraintName=service_template_tag_pkey, tableName=cpq_service_template_tags', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-540::AbdelmounaimAkadid
ALTER TABLE cpq_product_discount_plan ADD CONSTRAINT cpq_product_discount_plan_pkey UNIQUE (product_id, discount_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-540', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1003, '8:73705c9deef2df0798d98d2569eadd95', 'addUniqueConstraint constraintName=cpq_product_discount_plan_pkey, tableName=cpq_product_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-541::AbdelmounaimAkadid
ALTER TABLE cpq_product_version_services ADD CONSTRAINT cpq_product_services_pkey UNIQUE (product_version_id, service_template_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-541', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1005, '8:36fc19bc3b01b38a41577fe330a3a497', 'addUniqueConstraint constraintName=cpq_product_services_pkey, tableName=cpq_product_version_services', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-542::AbdelmounaimAkadid
ALTER TABLE cpq_quote_version ADD CONSTRAINT "uniquekey_pquote_id_cpq_quote_id,quote_version" UNIQUE (cpq_quote_id, quote_version);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-542', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1007, '8:1d3bba05f889e69749aa66b36a8268a8', 'addUniqueConstraint constraintName=uniquekey_pquote_id_cpq_quote_id,quote_version, tableName=cpq_quote_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-543::AbdelmounaimAkadid
ALTER TABLE cpq_offer_component_tags ADD CONSTRAINT cpq_offer_component_tags_pkey UNIQUE (offer_component_id, tag_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-543', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1009, '8:83fca09b84e46b1d4054a8178a60675e', 'addUniqueConstraint constraintName=cpq_offer_component_tags_pkey, tableName=cpq_offer_component_tags', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-545::AbdelmounaimAkadid
ALTER TABLE cpq_attribute_charge ADD CONSTRAINT cpq_attribute_charge_pkey UNIQUE (charge_id, attribute_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-545', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1011, '8:297e3f07b9bc95eeb2c1cb401d8dc0bb', 'addUniqueConstraint constraintName=cpq_attribute_charge_pkey, tableName=cpq_attribute_charge', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-546::AbdelmounaimAkadid
ALTER TABLE cpq_price_plan_matrix_column ADD CONSTRAINT unique_code_ppm_version_id_pk UNIQUE (ppm_version_id, code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-546', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1013, '8:59529123bc09709283487155a5be36f1', 'addUniqueConstraint constraintName=unique_code_ppm_version_id_pk, tableName=cpq_price_plan_matrix_column', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-547::ZBariki
ALTER TABLE generic_sequence ADD CONSTRAINT "uk_genericSeq_9fnf93rp352nkw2kpdbari17yr" UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-547', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1015, '8:5fc28956b84e823ecdfbe0bb8b1f304e', 'addUniqueConstraint constraintName=uk_genericSeq_9fnf93rp352nkw2kpdbari17yr, tableName=generic_sequence', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-548::AbdelmounaimAkadid
ALTER TABLE report_query ADD CONSTRAINT uk_report_query_composed UNIQUE (code, creator, visibility);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-548', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1017, '8:1b5f34706df36ff76040dc51456aa429', 'addUniqueConstraint constraintName=uk_report_query_composed, tableName=report_query', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-549::AbdelmounaimAkadid
ALTER TABLE dunning_settings ADD CONSTRAINT uk_dunning_settings UNIQUE (code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-549', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1019, '8:50faba325eac5c87c480a801ebe43405', 'addUniqueConstraint constraintName=uk_dunning_settings, tableName=dunning_settings', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-550::AbdelmounaimAkadid
ALTER TABLE accounting_period ADD CONSTRAINT uc_accounting_period_year UNIQUE (accounting_period_year);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-550', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1021, '8:d788262bd6b5116b8838ef823ae74489', 'addUniqueConstraint constraintName=uc_accounting_period_year, tableName=accounting_period', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-uk-551::hhanine
ALTER TABLE crm_provider_payment_plan_policy_pay_methods ADD CONSTRAINT uk_prov_paym_plan_policy_pay_meth UNIQUE (provider_id, payment_method);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-uk-551', 'hhanine', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1023, '8:cf02873ac9c4a30b1c277ec2eecd17a9', 'addUniqueConstraint constraintName=uk_prov_paym_plan_policy_pay_meth, tableName=crm_provider_payment_plan_policy_pay_methods', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2973_20211110-rebuild-str-uk::AmineBENAICHA
ALTER TABLE dunning_action_instance ADD CONSTRAINT uk_dunning_action_instance_code UNIQUE (code, dunning_level_instance_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2973_20211110-rebuild-str-uk', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1025, '8:1530f57f92926cc7e0c71c442ea9cee1', 'addUniqueConstraint constraintName=uk_dunning_action_instance_code, tableName=dunning_action_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4777_20200208-rebuild-str-uk::HichamELHALOUI
ALTER TABLE security_deposit_templat ADD CONSTRAINT uk_security_deposit_template_name UNIQUE (template_name);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4777_20200208-rebuild-str-uk', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1027, '8:fcafac758ee629af79a7640eb82305ae', 'addUniqueConstraint constraintName=uk_security_deposit_template_name, tableName=security_deposit_templat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-477::AndriusKarpavicius
ALTER TABLE crm_seller ADD CONSTRAINT fk_seller_primary_contact FOREIGN KEY (primary_contact) REFERENCES crm_provider_contact (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE crm_customer ADD CONSTRAINT fk_cust_primary_contact FOREIGN KEY (primary_contact) REFERENCES crm_provider_contact (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE ar_customer_account ADD CONSTRAINT fk_ca_primary_contact FOREIGN KEY (primary_contact) REFERENCES crm_provider_contact (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_billing_account ADD CONSTRAINT fk_ba_primary_contact FOREIGN KEY (primary_contact) REFERENCES crm_provider_contact (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_user_account ADD CONSTRAINT fk_ua_primary_contact FOREIGN KEY (primary_contact) REFERENCES crm_provider_contact (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE com_contact ADD CONSTRAINT fk_com_contact_primary_contact FOREIGN KEY (primary_contact) REFERENCES crm_provider_contact (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-477', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1029, '8:25fa1b4900e9a47366f2ac042e5c8c79', 'addForeignKeyConstraint baseTableName=crm_seller, constraintName=fk_seller_primary_contact, referencedTableName=crm_provider_contact; addForeignKeyConstraint baseTableName=crm_customer, constraintName=fk_cust_primary_contact, referencedTableName=c...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-479::AndriusKarpavicius
ALTER TABLE adm_notif_webhook_param ADD CONSTRAINT fk_17fe7mcjmmcgcntqmjm9hlaots FOREIGN KEY (webhook_id) REFERENCES adm_notif_webhooks (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-479', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1031, '8:3e2750f6dc0ac2a300fef56524e9caeb', 'addForeignKeyConstraint baseTableName=adm_notif_webhook_param, constraintName=fk_17fe7mcjmmcgcntqmjm9hlaots, referencedTableName=adm_notif_webhooks', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-480::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_1c83s5iubrhpgaxigexo6d76w FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-480', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1033, '8:0bf530b74e334f25bb77abc590b42c33', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_1c83s5iubrhpgaxigexo6d76w, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-485::AndriusKarpavicius
ALTER TABLE adm_inbound_resp_cookies ADD CONSTRAINT fk_1kyctwmlumac9aoikhb3kmc02 FOREIGN KEY (inboundrequest_id) REFERENCES adm_inbound_request (id) ON UPDATE NO ACTION ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-485', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1035, '8:25e24806401f47974075ce217ca97112', 'addForeignKeyConstraint baseTableName=adm_inbound_resp_cookies, constraintName=fk_1kyctwmlumac9aoikhb3kmc02, referencedTableName=adm_inbound_request', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-486::AndriusKarpavicius
ALTER TABLE com_message ADD CONSTRAINT fk_1pyl5u7tyess63kwnpvmpk261 FOREIGN KEY (campaign_id) REFERENCES com_campaign (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-486', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1037, '8:7929d23e6e5ebfd5babb55bc5d23dc7a', 'addForeignKeyConstraint baseTableName=com_message, constraintName=fk_1pyl5u7tyess63kwnpvmpk261, referencedTableName=com_campaign', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-489::AndriusKarpavicius
ALTER TABLE billing_wallet ADD CONSTRAINT fk_1vdcto7usl11bexyjehfqw004 FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-489', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1039, '8:12c2bb96ac513db9a8e01313d7048342', 'addForeignKeyConstraint baseTableName=billing_wallet, constraintName=fk_1vdcto7usl11bexyjehfqw004, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-494::AndriusKarpavicius
ALTER TABLE adm_notif_im ADD CONSTRAINT fk_2g7q7yhplcohaydhp9a8fuq57 FOREIGN KEY (id) REFERENCES adm_notification (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-494', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1041, '8:d6b953d2cf0884e0dc1cac083e353241', 'addForeignKeyConstraint baseTableName=adm_notif_im, constraintName=fk_2g7q7yhplcohaydhp9a8fuq57, referencedTableName=adm_notification', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-497::AndriusKarpavicius
ALTER TABLE billing_user_account ADD CONSTRAINT fk_2hdhukmy9gs6qhdsjyngtlmb7 FOREIGN KEY (wallet_id) REFERENCES billing_wallet (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-497', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1043, '8:0573e007b996efe52a48e145be1ff624', 'addForeignKeyConstraint baseTableName=billing_user_account, constraintName=fk_2hdhukmy9gs6qhdsjyngtlmb7, referencedTableName=billing_wallet', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-504::AndriusKarpavicius
ALTER TABLE cat_price_plan_matrix ADD CONSTRAINT fk_2u5oqudtp5x9ga8r1envegpyt FOREIGN KEY (trading_country_id) REFERENCES billing_trading_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-504', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1045, '8:eba8b27d28ab0b05d21c941ecb86220d', 'addForeignKeyConstraint baseTableName=cat_price_plan_matrix, constraintName=fk_2u5oqudtp5x9ga8r1envegpyt, referencedTableName=billing_trading_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-509::AndriusKarpavicius
ALTER TABLE adm_notif_email ADD CONSTRAINT fk_322kxmwl69di0jhj28u776766 FOREIGN KEY (id) REFERENCES adm_notification (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-509', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1047, '8:ee229d4eef1ae27f4b9b4b7f4e01cf39', 'addForeignKeyConstraint baseTableName=adm_notif_email, constraintName=fk_322kxmwl69di0jhj28u776766, referencedTableName=adm_notification', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-511::AndriusKarpavicius
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_32r2ed0015tnd2pp5196vcqpy FOREIGN KEY (reservation_id) REFERENCES billing_reservation (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-511', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1049, '8:cf7dbc775ab2e24833f10b654532a6ae', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_32r2ed0015tnd2pp5196vcqpy, referencedTableName=billing_reservation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-512::AndriusKarpavicius
ALTER TABLE ar_ddrequest_item ADD CONSTRAINT fk_33rma6e4cn4p76wl5t2dxk12q FOREIGN KEY (ddrequest_lot_id) REFERENCES ar_ddrequest_lot (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-512', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1051, '8:d5e13636aaee40218f65d4d0f3c621be', 'addForeignKeyConstraint baseTableName=ar_ddrequest_item, constraintName=fk_33rma6e4cn4p76wl5t2dxk12q, referencedTableName=ar_ddrequest_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-518::AndriusKarpavicius
ALTER TABLE cat_chrg_edr ADD CONSTRAINT fk_3mqb6u4hyx9wnus0nqdoyoypx FOREIGN KEY (charge_tmpl_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-518', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1053, '8:087e45ad8c9c6cf381d1c4d03744bd53', 'addForeignKeyConstraint baseTableName=cat_chrg_edr, constraintName=fk_3mqb6u4hyx9wnus0nqdoyoypx, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-521::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_3p1fql2al00q8f67l8725hssj FOREIGN KEY (sub_category_tax) REFERENCES billing_tax (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-521', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1055, '8:0edc2645e42db9491755ce6e853dd639', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_3p1fql2al00q8f67l8725hssj, referencedTableName=billing_tax', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-524::AndriusKarpavicius
ALTER TABLE ar_ddrequest_lot_op ADD CONSTRAINT fk_3riuxoqaodw7b6jbeoofjx6se FOREIGN KEY (ddrequest_lot_id) REFERENCES ar_ddrequest_lot (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-524', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1057, '8:565feac24c9c8997dbaec856e2c5c659', 'addForeignKeyConstraint baseTableName=ar_ddrequest_lot_op, constraintName=fk_3riuxoqaodw7b6jbeoofjx6se, referencedTableName=ar_ddrequest_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-528::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_3xyx5uv28ockwy46ejub2ex FOREIGN KEY (trading_currency_id) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-528', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1059, '8:57de21fe41a90d25054fcd8ca4497bd9', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_3xyx5uv28ockwy46ejub2ex, referencedTableName=billing_trading_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-529::AndriusKarpavicius
ALTER TABLE billing_priceplan_inst ADD CONSTRAINT fk_3y3p1q0o8tw5u0vcoddukbbyd FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-529', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1061, '8:bff4c169a74b2bead7700b46c9165b3a', 'addForeignKeyConstraint baseTableName=billing_priceplan_inst, constraintName=fk_3y3p1q0o8tw5u0vcoddukbbyd, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-535::AndriusKarpavicius
ALTER TABLE billing_charge_instance ADD CONSTRAINT fk_4anpnb5ta9fic7bjqoi393850 FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-535', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1063, '8:cb2c23f509a155030d2fe692854367e0', 'addForeignKeyConstraint baseTableName=billing_charge_instance, constraintName=fk_4anpnb5ta9fic7bjqoi393850, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-536::AndriusKarpavicius
ALTER TABLE adm_role_permission ADD CONSTRAINT fk_4au8lqa3bc46gks4dmpb4h4l6 FOREIGN KEY (permission_id) REFERENCES adm_permission (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-536', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1065, '8:b5d6afaee30d78c300662bc3ef5a3c8a', 'addForeignKeyConstraint baseTableName=adm_role_permission, constraintName=fk_4au8lqa3bc46gks4dmpb4h4l6, referencedTableName=adm_permission', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-537::AndriusKarpavicius
ALTER TABLE crm_provider ADD CONSTRAINT fk_4ek32592buri3max5vqhj1u3t FOREIGN KEY (customer_account_id) REFERENCES ar_customer_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-537', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1067, '8:73a24d84368b5d2861f6080dddf56e8e', 'addForeignKeyConstraint baseTableName=crm_provider, constraintName=fk_4ek32592buri3max5vqhj1u3t, referencedTableName=ar_customer_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-538::AndriusKarpavicius
ALTER TABLE adm_notif_webhook_header ADD CONSTRAINT fk_4h6yt55gudw9l1719aw6untt2 FOREIGN KEY (webhook_id) REFERENCES adm_notif_webhooks (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-538', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1069, '8:ce8147a0111d1a07bf1c71ab183b1d13', 'addForeignKeyConstraint baseTableName=adm_notif_webhook_header, constraintName=fk_4h6yt55gudw9l1719aw6untt2, referencedTableName=adm_notif_webhooks', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-540::AndriusKarpavicius
ALTER TABLE cat_discount_plan_item ADD CONSTRAINT fk_4jfa3r8q8aq8jyhs89d6dgk2c FOREIGN KEY (discount_plan_id) REFERENCES cat_discount_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-540', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1071, '8:4bd8bd6241c26581f9280fa0482a20fe', 'addForeignKeyConstraint baseTableName=cat_discount_plan_item, constraintName=fk_4jfa3r8q8aq8jyhs89d6dgk2c, referencedTableName=cat_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-543::AndriusKarpavicius
ALTER TABLE adm_notif_email_list ADD CONSTRAINT fk_4vtpt0lvrub50uph180ifdkga FOREIGN KEY (emailnotification_id) REFERENCES adm_notif_email (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-543', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1073, '8:42a069ecfeb7bdf59d66f76c4bb3cffd', 'addForeignKeyConstraint baseTableName=adm_notif_email_list, constraintName=fk_4vtpt0lvrub50uph180ifdkga, referencedTableName=adm_notif_email', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-548::AndriusKarpavicius
ALTER TABLE crm_customer ADD CONSTRAINT fk_5b7wkhes4x4bebav4y7nwr8c1 FOREIGN KEY (customer_category_id) REFERENCES crm_customer_category (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-548', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1075, '8:6dbcedb9d54213c10fc2aeb2e6d370e4', 'addForeignKeyConstraint baseTableName=crm_customer, constraintName=fk_5b7wkhes4x4bebav4y7nwr8c1, referencedTableName=crm_customer_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-552::AndriusKarpavicius
ALTER TABLE billing_priceplan_inst ADD CONSTRAINT fk_5ek3y1hovn2vthjdsxo2hmf41 FOREIGN KEY (trading_currency_id) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-552', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1077, '8:5b4ab6c6a29cd0cd97dd66f949b985e9', 'addForeignKeyConstraint baseTableName=billing_priceplan_inst, constraintName=fk_5ek3y1hovn2vthjdsxo2hmf41, referencedTableName=billing_trading_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-554::AndriusKarpavicius
ALTER TABLE cat_offer_serv_templates ADD CONSTRAINT fk_5gvoe7fuemcnpabaapjx9an66 FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-554', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1079, '8:0245c0b4859ab88d882528e5dd8bdbbe', 'addForeignKeyConstraint baseTableName=cat_offer_serv_templates, constraintName=fk_5gvoe7fuemcnpabaapjx9an66, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-555::AndriusKarpavicius
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_5htics7k9v44an8ap11wivraf FOREIGN KEY (wallet_id) REFERENCES billing_wallet (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-555', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1081, '8:38d00400a3b2079780fa3a943df28270', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_5htics7k9v44an8ap11wivraf, referencedTableName=billing_wallet', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-557::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_5ihltpd1fpifa5nlgx8672odg FOREIGN KEY (trading_country_id) REFERENCES billing_trading_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-557', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1083, '8:4247c39689c3d807d16cbc4ed6f4efbb', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_5ihltpd1fpifa5nlgx8672odg, referencedTableName=billing_trading_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-559::AndriusKarpavicius
ALTER TABLE billing_billing_run ADD CONSTRAINT fk_5k4t0lm6oyd495l5nisxpdda FOREIGN KEY (billing_cycle_id) REFERENCES billing_cycle (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-559', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1085, '8:98db4c78bb1fd25e94644ba54c2f90c5', 'addForeignKeyConstraint baseTableName=billing_billing_run, constraintName=fk_5k4t0lm6oyd495l5nisxpdda, referencedTableName=billing_cycle', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-560::AndriusKarpavicius
ALTER TABLE adm_inbound_req_headers ADD CONSTRAINT fk_5l2gy0e4dol6gtr05sq929hnx FOREIGN KEY (inboundrequest_id) REFERENCES adm_inbound_request (id) ON UPDATE NO ACTION ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-560', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1087, '8:30ca25c7120b1f637500a63d5a429fea', 'addForeignKeyConstraint baseTableName=adm_inbound_req_headers, constraintName=fk_5l2gy0e4dol6gtr05sq929hnx, referencedTableName=adm_inbound_request', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-561::AndriusKarpavicius
ALTER TABLE crm_provider ADD CONSTRAINT fk_5llfbkuo4biup0stpfma3t1yg FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-561', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1089, '8:cbc855deb30fe95ba9ca5a58cea6659d', 'addForeignKeyConstraint baseTableName=crm_provider, constraintName=fk_5llfbkuo4biup0stpfma3t1yg, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-566::AndriusKarpavicius
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_60qrdadyj5wvmyii1einfb2lo FOREIGN KEY (counter_id) REFERENCES billing_counter (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-566', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1091, '8:2bbc9689e80a0af5372692f74db7756f', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_60qrdadyj5wvmyii1einfb2lo, referencedTableName=billing_counter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-568::AndriusKarpavicius
ALTER TABLE billing_reservation ADD CONSTRAINT fk_662t2ypc8sljgg2hvsri0l0oo FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-568', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1093, '8:9327819a3497007b4f956ff8292bbaec', 'addForeignKeyConstraint baseTableName=billing_reservation, constraintName=fk_662t2ypc8sljgg2hvsri0l0oo, referencedTableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-571::AndriusKarpavicius
ALTER TABLE com_message ADD CONSTRAINT fk_6dxm4rgmyeu9wp565rhchil5l FOREIGN KEY (contact_id) REFERENCES com_contact (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-571', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1095, '8:1827c9a1025565afef76cb09ec7ad007', 'addForeignKeyConstraint baseTableName=com_message, constraintName=fk_6dxm4rgmyeu9wp565rhchil5l, referencedTableName=com_contact', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-572::AndriusKarpavicius
ALTER TABLE adm_notif_im_user ADD CONSTRAINT fk_6g7agb8u5whyi5ukj627l2qc9 FOREIGN KEY (users_id) REFERENCES adm_user (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-572', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1097, '8:78ffdf19a992f8bc5e0c4fd3f60822d2', 'addForeignKeyConstraint baseTableName=adm_notif_im_user, constraintName=fk_6g7agb8u5whyi5ukj627l2qc9, referencedTableName=adm_user', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-575::AndriusKarpavicius
ALTER TABLE billing_discount_language ADD CONSTRAINT fk_6h9v65yaq2ko1soqrhjiiicqa FOREIGN KEY (discount_id) REFERENCES billing_discount (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-575', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1099, '8:4891650a595ea661e1cdcd557d6b4a23', 'addForeignKeyConstraint baseTableName=billing_discount_language, constraintName=fk_6h9v65yaq2ko1soqrhjiiicqa, referencedTableName=billing_discount', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-577::AndriusKarpavicius
ALTER TABLE billing_reservation ADD CONSTRAINT fk_6o5pe4stw4fx6f4ltsrs2f2jn FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-577', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1101, '8:f9f3315d70621d9c2ec4c5e1d5f1155b', 'addForeignKeyConstraint baseTableName=billing_reservation, constraintName=fk_6o5pe4stw4fx6f4ltsrs2f2jn, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-580::AndriusKarpavicius
ALTER TABLE ar_action_dunning ADD CONSTRAINT fk_6v2pj23pubnpy19ug8ifqr5bi FOREIGN KEY (recorded_invoice_id) REFERENCES ar_account_operation (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-580', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1103, '8:2049138ab44d0283657de299bbbca70c', 'addForeignKeyConstraint baseTableName=ar_action_dunning, constraintName=fk_6v2pj23pubnpy19ug8ifqr5bi, referencedTableName=ar_account_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-584::AndriusKarpavicius
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_75hyldnus6ti0y40vwcl49ued FOREIGN KEY (charge_instance_id) REFERENCES billing_charge_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-584', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1105, '8:390256fab54802afd337eb9b35b6781f', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_75hyldnus6ti0y40vwcl49ued, referencedTableName=billing_charge_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-588::AndriusKarpavicius
ALTER TABLE ar_account_operation ADD CONSTRAINT fk_7cx4bkm26pn11matqqj275rqf FOREIGN KEY (customer_account_id) REFERENCES ar_customer_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-588', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1107, '8:6fb6486dbe12365967e382ca923b7d36', 'addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_7cx4bkm26pn11matqqj275rqf, referencedTableName=ar_customer_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-590::AndriusKarpavicius
ALTER TABLE cat_discount_plan_item ADD CONSTRAINT fk_7g01q48hl5yo6gxig0rwugsjt FOREIGN KEY (invoice_category_id) REFERENCES billing_invoice_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-590', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1109, '8:65811733a70cc56d0b26484c38c73239', 'addForeignKeyConstraint baseTableName=cat_discount_plan_item, constraintName=fk_7g01q48hl5yo6gxig0rwugsjt, referencedTableName=billing_invoice_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-591::AndriusKarpavicius
ALTER TABLE ar_matching_amount ADD CONSTRAINT fk_7gk0wua5hliyxpayp6lr0d3gf FOREIGN KEY (account_operation_id) REFERENCES ar_account_operation (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-591', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1111, '8:e704e9b786b9080de132f04d7e8f3a14', 'addForeignKeyConstraint baseTableName=ar_matching_amount, constraintName=fk_7gk0wua5hliyxpayp6lr0d3gf, referencedTableName=ar_account_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-594::AndriusKarpavicius
ALTER TABLE cat_charge_template ADD CONSTRAINT fk_7rod1pdt2un6wjrv7og61xhil FOREIGN KEY (invoice_sub_category) REFERENCES billing_invoice_sub_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-594', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1113, '8:50d089e265ff7b7edc1183a71ee24a99', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_7rod1pdt2un6wjrv7og61xhil, referencedTableName=billing_invoice_sub_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-596::AndriusKarpavicius
ALTER TABLE crm_customer ADD CONSTRAINT fk_7x19mvbp8qjnyx4iwnsi7lsdb FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-596', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1115, '8:23a7404f170c1ad9f157c25a8db4561a', 'addForeignKeyConstraint baseTableName=crm_customer, constraintName=fk_7x19mvbp8qjnyx4iwnsi7lsdb, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-598::AndriusKarpavicius
ALTER TABLE crm_provider ADD CONSTRAINT fk_823qcm3rbvf74ntkmc8syb2w3 FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-598', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1117, '8:fdef47276d343facffcc950451414086', 'addForeignKeyConstraint baseTableName=crm_provider, constraintName=fk_823qcm3rbvf74ntkmc8syb2w3, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-599::AndriusKarpavicius
ALTER TABLE crm_provider ADD CONSTRAINT fk_82krx5kxchy237uw8rwdqi9c4 FOREIGN KEY (currency_id) REFERENCES adm_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-599', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1119, '8:186f14115e41765369734ca60f247ead', 'addForeignKeyConstraint baseTableName=crm_provider, constraintName=fk_82krx5kxchy237uw8rwdqi9c4, referencedTableName=adm_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-602::AndriusKarpavicius
ALTER TABLE cat_calendar_interval ADD CONSTRAINT fk_872pn60c94wp61plarqpmth21 FOREIGN KEY (calendar_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-602', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1121, '8:1036adf74714932d3540e8921556f080', 'addForeignKeyConstraint baseTableName=cat_calendar_interval, constraintName=fk_872pn60c94wp61plarqpmth21, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-603::AndriusKarpavicius
ALTER TABLE billing_billing_account ADD CONSTRAINT fk_890ehdn0ssnd9c39rj5h0ualp FOREIGN KEY (billing_cycle) REFERENCES billing_cycle (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-603', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1123, '8:b2509e06a3cbd0ed3d3ce32c95b84579', 'addForeignKeyConstraint baseTableName=billing_billing_account, constraintName=fk_890ehdn0ssnd9c39rj5h0ualp, referencedTableName=billing_cycle', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-606::AndriusKarpavicius
ALTER TABLE crm_seller ADD CONSTRAINT fk_8f32lmslardn8lenxgmjqhp3 FOREIGN KEY (trading_country_id) REFERENCES billing_trading_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-606', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1125, '8:6014aa09e643d41dbe623545d0d17297', 'addForeignKeyConstraint baseTableName=crm_seller, constraintName=fk_8f32lmslardn8lenxgmjqhp3, referencedTableName=billing_trading_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-607::AndriusKarpavicius
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_8g8jlmakt1wyw73oxs5yltlsd FOREIGN KEY (aggregate_id_t) REFERENCES billing_invoice_agregate (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-607', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1127, '8:bb9af53b4e1456e8a4b1dac963c15f83', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_8g8jlmakt1wyw73oxs5yltlsd, referencedTableName=billing_invoice_agregate', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-609::AndriusKarpavicius
ALTER TABLE adm_notif_history ADD CONSTRAINT fk_8k2sxhjmrswxnecfo74bdmnsa FOREIGN KEY (inbound_request_id) REFERENCES adm_inbound_request (id) ON UPDATE NO ACTION ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-609', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1129, '8:e819c2e984c6338806c29d014d1b4854', 'addForeignKeyConstraint baseTableName=adm_notif_history, constraintName=fk_8k2sxhjmrswxnecfo74bdmnsa, referencedTableName=adm_inbound_request', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-612::AndriusKarpavicius
ALTER TABLE billing_charge_instance ADD CONSTRAINT fk_8tdcpq8ixa51nrk3ui4t8hdmq FOREIGN KEY (charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-612', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1131, '8:43828dcb34ed21d6d4cdb7bd0ff194a7', 'addForeignKeyConstraint baseTableName=billing_charge_instance, constraintName=fk_8tdcpq8ixa51nrk3ui4t8hdmq, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-613::AndriusKarpavicius
ALTER TABLE billing_subscription ADD CONSTRAINT fk_8uhfpy4ahtyqpk8s3ye42d09n FOREIGN KEY (offer_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-613', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1133, '8:7137ddbb1a5d3a2a6a3773ec9a88c0c5', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_8uhfpy4ahtyqpk8s3ye42d09n, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-614::AndriusKarpavicius
ALTER TABLE dwh_chart_pie ADD CONSTRAINT fk_8vdeospih0frijbyesgetnpgq FOREIGN KEY (id) REFERENCES dwh_chart (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-614', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1135, '8:942aedd968086726c6a039c19476599e', 'addForeignKeyConstraint baseTableName=dwh_chart_pie, constraintName=fk_8vdeospih0frijbyesgetnpgq, referencedTableName=dwh_chart', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-615::AndriusKarpavicius
ALTER TABLE report_emails ADD CONSTRAINT fk_8w3p2bve2i4l9uayn4qgiw5i1 FOREIGN KEY (report_id) REFERENCES bi_report (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-615', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1137, '8:9d5ff3255d1de0cd7c34fe7609d98551', 'addForeignKeyConstraint baseTableName=report_emails, constraintName=fk_8w3p2bve2i4l9uayn4qgiw5i1, referencedTableName=bi_report', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-616::AndriusKarpavicius
ALTER TABLE billing_counter ADD CONSTRAINT fk_8wqr2tvmet4ppmh3dckx0arn FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-616', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1139, '8:41bdef3c782d52f4e96a951b694162be', 'addForeignKeyConstraint baseTableName=billing_counter, constraintName=fk_8wqr2tvmet4ppmh3dckx0arn, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-623::AndriusKarpavicius
ALTER TABLE cat_serv_rec_wallet_template ADD CONSTRAINT fk_9b8d2ybpb5tcws4rdlshtsitm FOREIGN KEY (wallet_template_id) REFERENCES cat_wallet_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-623', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1141, '8:bac810b399189add93412439259069f6', 'addForeignKeyConstraint baseTableName=cat_serv_rec_wallet_template, constraintName=fk_9b8d2ybpb5tcws4rdlshtsitm, referencedTableName=cat_wallet_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-629::AndriusKarpavicius
ALTER TABLE crm_seller ADD CONSTRAINT fk_9kbreo3t9k9wk0vo2xld9rin2 FOREIGN KEY (trading_language_id) REFERENCES billing_trading_language (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-629', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1143, '8:406b063b4236cc94a965bc58d2113f0f', 'addForeignKeyConstraint baseTableName=crm_seller, constraintName=fk_9kbreo3t9k9wk0vo2xld9rin2, referencedTableName=billing_trading_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-631::AndriusKarpavicius
ALTER TABLE billing_invoice ADD CONSTRAINT fk_9lqkbfo4yjqqbopmorht5acs7 FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-631', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1145, '8:c2cee097137c3224412b751d7ab96aaf', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_9lqkbfo4yjqqbopmorht5acs7, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-632::AndriusKarpavicius
ALTER TABLE cat_serv_trm_wallet_template ADD CONSTRAINT fk_9mex36caetcfv4c9f689yfdhw FOREIGN KEY (service_trm_templt_id) REFERENCES cat_serv_trm_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-632', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1147, '8:918d81dc8504dd06fe195af62f607824', 'addForeignKeyConstraint baseTableName=cat_serv_trm_wallet_template, constraintName=fk_9mex36caetcfv4c9f689yfdhw, referencedTableName=cat_serv_trm_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-634::AndriusKarpavicius
ALTER TABLE adm_notification ADD CONSTRAINT fk_9o7xuvhq1a4hi7q0gkmylg1jn FOREIGN KEY (counter_instance_id) REFERENCES billing_counter (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-634', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1149, '8:5b9896ce22fb4999b8dbb48d0da0c335', 'addForeignKeyConstraint baseTableName=adm_notification, constraintName=fk_9o7xuvhq1a4hi7q0gkmylg1jn, referencedTableName=billing_counter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-635::AndriusKarpavicius
ALTER TABLE cat_chrg_edr ADD CONSTRAINT fk_9ty5cer66o6ixc5kxf49ikt5 FOREIGN KEY (trigg_edr_id) REFERENCES cat_triggered_edr (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-635', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1151, '8:f5597d886f051b6cb6dbba6f96fc3c61', 'addForeignKeyConstraint baseTableName=cat_chrg_edr, constraintName=fk_9ty5cer66o6ixc5kxf49ikt5, referencedTableName=cat_triggered_edr', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-636::AndriusKarpavicius
ALTER TABLE billing_trading_language ADD CONSTRAINT fk_9wqyi2luy5iwrbd1f17dgy33w FOREIGN KEY (language_id) REFERENCES adm_language (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-636', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1153, '8:139a8fe8590677823d349a18a56977c8', 'addForeignKeyConstraint baseTableName=billing_trading_language, constraintName=fk_9wqyi2luy5iwrbd1f17dgy33w, referencedTableName=adm_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-637::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_9xtwx023h5d9x6uwo19gn30ur FOREIGN KEY (tax_id) REFERENCES billing_tax (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-637', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1155, '8:53908c101c7a293e9ec7c11bc977f8e7', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_9xtwx023h5d9x6uwo19gn30ur, referencedTableName=billing_tax', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-640::AndriusKarpavicius
ALTER TABLE billing_tax_language ADD CONSTRAINT fk_a41c18k21jxwnxvu0dhs9bxgl FOREIGN KEY (trading_language_id) REFERENCES billing_trading_language (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-640', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1157, '8:7ee6d96bf511cb9beb8212a8008ed4a7', 'addForeignKeyConstraint baseTableName=billing_tax_language, constraintName=fk_a41c18k21jxwnxvu0dhs9bxgl, referencedTableName=billing_trading_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-641::AndriusKarpavicius
ALTER TABLE cat_serv_sub_wallet_template ADD CONSTRAINT fk_a6swrmjyqqabj90t321vhonyf FOREIGN KEY (service_sub_templt_id) REFERENCES cat_serv_sub_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-641', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1159, '8:dfb88edd4019e7618b368d21fac8cf24', 'addForeignKeyConstraint baseTableName=cat_serv_sub_wallet_template, constraintName=fk_a6swrmjyqqabj90t321vhonyf, referencedTableName=cat_serv_sub_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-642::AndriusKarpavicius
ALTER TABLE ar_customer_account ADD CONSTRAINT fk_aaptbcu3lj7b87m97em457i3w FOREIGN KEY (customer_id) REFERENCES crm_customer (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-642', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1161, '8:d4a27222913f2a5554d2775e870a1679', 'addForeignKeyConstraint baseTableName=ar_customer_account, constraintName=fk_aaptbcu3lj7b87m97em457i3w, referencedTableName=crm_customer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-644::AndriusKarpavicius
ALTER TABLE adm_user_role ADD CONSTRAINT fk_adtro5wh9g4byvy0pxpwwboxq FOREIGN KEY (user_id) REFERENCES adm_user (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-644', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1163, '8:032cac08e991244f2e34129d34e79fb3', 'addForeignKeyConstraint baseTableName=adm_user_role, constraintName=fk_adtro5wh9g4byvy0pxpwwboxq, referencedTableName=adm_user', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-646::AndriusKarpavicius
ALTER TABLE billing_counter_period ADD CONSTRAINT fk_ah6awbukub9hunnmg30i5qgfd FOREIGN KEY (counter_instance_id) REFERENCES billing_counter (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-646', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1165, '8:408b66e3ffbd116ff29107012e900d8b', 'addForeignKeyConstraint baseTableName=billing_counter_period, constraintName=fk_ah6awbukub9hunnmg30i5qgfd, referencedTableName=billing_counter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-651::AndriusKarpavicius
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_amwacie0nqfumpd1sc7y9nv0p FOREIGN KEY (aggregate_id_r) REFERENCES billing_invoice_agregate (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-651', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1167, '8:92656585b8de372775843a42e1eeaf71', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_amwacie0nqfumpd1sc7y9nv0p, referencedTableName=billing_invoice_agregate', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-652::AndriusKarpavicius
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_anslvrbm465ossqx8surjyu22 FOREIGN KEY (wallet_id) REFERENCES billing_wallet (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-652', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1169, '8:79d5ed56313d89f752989615deff6f1e', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_anslvrbm465ossqx8surjyu22, referencedTableName=billing_wallet', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-654::AndriusKarpavicius
ALTER TABLE billing_discount_language ADD CONSTRAINT fk_ath36sr0ck77jhr68mm1w10dg FOREIGN KEY (trading_language_id) REFERENCES billing_trading_language (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-654', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1171, '8:7dc3873a574495cfa2ae32dbc38a2d07', 'addForeignKeyConstraint baseTableName=billing_discount_language, constraintName=fk_ath36sr0ck77jhr68mm1w10dg, referencedTableName=billing_trading_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-655::AndriusKarpavicius
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_awekpkm39bhaqrf2k2gwvd4p5 FOREIGN KEY (aggregate_serv_id) REFERENCES billing_service_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-655', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1173, '8:a363c4403a413a163f0f529415d4ed13', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_awekpkm39bhaqrf2k2gwvd4p5, referencedTableName=billing_service_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-658::AndriusKarpavicius
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_bbnhg8vn7jkttghphr65iwug5 FOREIGN KEY (billing_account__id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-658', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1175, '8:4c30669c07525afb8e6d9de045892c20', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_bbnhg8vn7jkttghphr65iwug5, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-662::AndriusKarpavicius
ALTER TABLE billing_invoice ADD CONSTRAINT fk_bo8b1b4gdnqloyib62h1qfwq2 FOREIGN KEY (trading_country_id) REFERENCES billing_trading_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-662', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1177, '8:c607562df351f1a490a316f36e232c06', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_bo8b1b4gdnqloyib62h1qfwq2, referencedTableName=billing_trading_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-664::AndriusKarpavicius
ALTER TABLE ar_action_dunning ADD CONSTRAINT fk_bqvc94w3y6lx7u0tc0jfsfwt7 FOREIGN KEY (customer_account_id) REFERENCES ar_customer_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-664', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1179, '8:403e215d42cdcb904153ba55d5ed4014', 'addForeignKeyConstraint baseTableName=ar_action_dunning, constraintName=fk_bqvc94w3y6lx7u0tc0jfsfwt7, referencedTableName=ar_customer_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-667::AndriusKarpavicius
ALTER TABLE cat_calendar_hours ADD CONSTRAINT fk_bw7sxqdsqtsddknk0qqdc91j9 FOREIGN KEY (calendar_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-667', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1181, '8:4ed3b2da1c9a668ea2ccd45ae035cc58', 'addForeignKeyConstraint baseTableName=cat_calendar_hours, constraintName=fk_bw7sxqdsqtsddknk0qqdc91j9, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-673::AndriusKarpavicius
ALTER TABLE cat_discount_plan_item ADD CONSTRAINT fk_c8jrrvbxq6974yskydgo0wkn2 FOREIGN KEY (invoice_sub_category_id) REFERENCES billing_invoice_sub_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-673', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1183, '8:849aa048bbc1e2e5ffcfedaec99a0dea', 'addForeignKeyConstraint baseTableName=cat_discount_plan_item, constraintName=fk_c8jrrvbxq6974yskydgo0wkn2, referencedTableName=billing_invoice_sub_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-674::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_c91o61obn07uoo459jxwhfdiq FOREIGN KEY (trading_language_id) REFERENCES billing_trading_language (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-674', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1185, '8:02591cd5c16e45a908062d778e0ac6d4', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_c91o61obn07uoo459jxwhfdiq, referencedTableName=billing_trading_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-675::AndriusKarpavicius
ALTER TABLE billing_wallet ADD CONSTRAINT fk_c9nba6gws3ooqqqdlc07uqiha FOREIGN KEY (cat_wallet_template_id) REFERENCES cat_wallet_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-675', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1187, '8:30407edefd049d4a89f14dce7b34c7a6', 'addForeignKeyConstraint baseTableName=billing_wallet, constraintName=fk_c9nba6gws3ooqqqdlc07uqiha, referencedTableName=cat_wallet_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-677::AndriusKarpavicius
ALTER TABLE billing_service_instance ADD CONSTRAINT fk_caafr2v98pc78pkpp214twojx FOREIGN KEY (service_template_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-677', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1189, '8:899e260df2ee13936fd5dd8703bdfd32', 'addForeignKeyConstraint baseTableName=billing_service_instance, constraintName=fk_caafr2v98pc78pkpp214twojx, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-678::AndriusKarpavicius
ALTER TABLE billing_reservation ADD CONSTRAINT fk_cau8elf0u0q5vi6voqv07rx8p FOREIGN KEY (wallet_id) REFERENCES billing_wallet (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-678', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1191, '8:8f3c9f597b1ea3e77c956d8070ef5f11', 'addForeignKeyConstraint baseTableName=billing_reservation, constraintName=fk_cau8elf0u0q5vi6voqv07rx8p, referencedTableName=billing_wallet', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-682::AndriusKarpavicius
ALTER TABLE adm_inbound_req_cookies ADD CONSTRAINT fk_cfd55de59w792gxpcd478ujfq FOREIGN KEY (inboundrequest_id) REFERENCES adm_inbound_request (id) ON UPDATE NO ACTION ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-682', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1193, '8:f005cb65282f92422ef045a5c25bc0ec', 'addForeignKeyConstraint baseTableName=adm_inbound_req_cookies, constraintName=fk_cfd55de59w792gxpcd478ujfq, referencedTableName=adm_inbound_request', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-684::AndriusKarpavicius
ALTER TABLE billing_service_instance ADD CONSTRAINT fk_cjdtigou2dhmp30e1je4l4la3 FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-684', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1195, '8:6f49e0c592b400d312a49716cbe7b1d4', 'addForeignKeyConstraint baseTableName=billing_service_instance, constraintName=fk_cjdtigou2dhmp30e1je4l4la3, referencedTableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-685::AndriusKarpavicius
ALTER TABLE crm_seller ADD CONSTRAINT fk_clryk9sfqcnt5m298cpbfvnm9 FOREIGN KEY (parent_seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-685', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1197, '8:08b4cddf7e750e734613312889b4686f', 'addForeignKeyConstraint baseTableName=crm_seller, constraintName=fk_clryk9sfqcnt5m298cpbfvnm9, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-687::AndriusKarpavicius
ALTER TABLE billing_service_instance ADD CONSTRAINT fk_ctwb65gvm9ywajg9pim86cqut FOREIGN KEY (sub_termin_reason_id) REFERENCES billing_subscrip_termin_reason (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-687', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1199, '8:9998aca6e4095329f502fcebeaf32156', 'addForeignKeyConstraint baseTableName=billing_service_instance, constraintName=fk_ctwb65gvm9ywajg9pim86cqut, referencedTableName=billing_subscrip_termin_reason', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-690::AndriusKarpavicius
ALTER TABLE billing_subscription ADD CONSTRAINT fk_d4iavkklx1qg1ani36hpg3o3i FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-690', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1201, '8:265758dc36c6888a7ad89c36dd8669c2', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_d4iavkklx1qg1ani36hpg3o3i, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-692::AndriusKarpavicius
ALTER TABLE adm_notif_im_user ADD CONSTRAINT fk_damvosa961a8nk1d0sxq9eft3 FOREIGN KEY (instantmessagingnotification_id) REFERENCES adm_notif_im (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-692', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1203, '8:0ed1b496fe7d5fa1b8b6c3c623cb15af', 'addForeignKeyConstraint baseTableName=adm_notif_im_user, constraintName=fk_damvosa961a8nk1d0sxq9eft3, referencedTableName=adm_notif_im', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-693::AndriusKarpavicius
ALTER TABLE cat_counter_template ADD CONSTRAINT fk_db0agy1pteutwwsb61imqu8f6 FOREIGN KEY (calendar_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-693', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1205, '8:3855387046c58f8cb5f9733eb2b875cc', 'addForeignKeyConstraint baseTableName=cat_counter_template, constraintName=fk_db0agy1pteutwwsb61imqu8f6, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-694::AndriusKarpavicius
ALTER TABLE dwh_chart_bar ADD CONSTRAINT fk_deinn6saryvr8li5c8vjoga6a FOREIGN KEY (id) REFERENCES dwh_chart (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-694', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1207, '8:fc192ff9310e64224d61667d7550bd33', 'addForeignKeyConstraint baseTableName=dwh_chart_bar, constraintName=fk_deinn6saryvr8li5c8vjoga6a, referencedTableName=dwh_chart', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-698::AndriusKarpavicius
ALTER TABLE adm_inbound_req_params ADD CONSTRAINT fk_djmbjb6ja9fapeadjyj395020 FOREIGN KEY (inboundrequest_id) REFERENCES adm_inbound_request (id) ON UPDATE NO ACTION ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-698', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1209, '8:7b0b63237f82c60bd84beca01247b18b', 'addForeignKeyConstraint baseTableName=adm_inbound_req_params, constraintName=fk_djmbjb6ja9fapeadjyj395020, referencedTableName=adm_inbound_request', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-699::AndriusKarpavicius
ALTER TABLE cat_serv_usage_wallet_template ADD CONSTRAINT fk_djsiyqv4nss0aba3dfvxlo0g9 FOREIGN KEY (wallet_template_id) REFERENCES cat_wallet_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-699', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1211, '8:e8513d33941dd3f7c4d0ba0b3a5cab00', 'addForeignKeyConstraint baseTableName=cat_serv_usage_wallet_template, constraintName=fk_djsiyqv4nss0aba3dfvxlo0g9, referencedTableName=cat_wallet_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-700::AndriusKarpavicius
ALTER TABLE crm_custom_field_tmpl_val ADD CONSTRAINT fk_dsb0t79daf6j4gecorhl833tf FOREIGN KEY (customfieldtemplate_id) REFERENCES crm_custom_field_tmpl (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-700', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1213, '8:ce986f803f202812bb054a7df9ea7707', 'addForeignKeyConstraint baseTableName=crm_custom_field_tmpl_val, constraintName=fk_dsb0t79daf6j4gecorhl833tf, referencedTableName=crm_custom_field_tmpl', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-702::AndriusKarpavicius
ALTER TABLE billing_charge_instance ADD CONSTRAINT fk_dwdlb9d5mlvdddm3yowwa9uem FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-702', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1215, '8:a26f58bf259bc26a68dffc1b3d21571c', 'addForeignKeyConstraint baseTableName=billing_charge_instance, constraintName=fk_dwdlb9d5mlvdddm3yowwa9uem, referencedTableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-705::AndriusKarpavicius
ALTER TABLE com_contact_com_message ADD CONSTRAINT fk_e1trke21afbfr3v8wqnsks2is FOREIGN KEY (messages_id) REFERENCES com_message (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-705', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1217, '8:c436b27c0a8f693ae57573c7a7b2341d', 'addForeignKeyConstraint baseTableName=com_contact_com_message, constraintName=fk_e1trke21afbfr3v8wqnsks2is, referencedTableName=com_message', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-707::AndriusKarpavicius
ALTER TABLE bi_report_emails ADD CONSTRAINT fk_e5pijp4pbuitmvarlbblnyula FOREIGN KEY (email_id) REFERENCES crm_email (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-707', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1219, '8:35d2a8936c50d93330cad9be39aaa8d4', 'addForeignKeyConstraint baseTableName=bi_report_emails, constraintName=fk_e5pijp4pbuitmvarlbblnyula, referencedTableName=crm_email', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-708::AndriusKarpavicius
ALTER TABLE billing_invoice ADD CONSTRAINT fk_e6lpg28vestq5376ftwurc3dq FOREIGN KEY (trading_language_id) REFERENCES billing_trading_language (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-708', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1221, '8:1590a32817d93d86ffb9f767519578cd', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_e6lpg28vestq5376ftwurc3dq, referencedTableName=billing_trading_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-712::AndriusKarpavicius
ALTER TABLE billing_billing_run_list ADD CONSTRAINT fk_enol93c3egcl0hf5uhrvd8n85 FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-712', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1223, '8:c03445c014718b3029549236597828fe', 'addForeignKeyConstraint baseTableName=billing_billing_run_list, constraintName=fk_enol93c3egcl0hf5uhrvd8n85, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-713::AndriusKarpavicius
ALTER TABLE dwh_chart_line ADD CONSTRAINT fk_ertp1u2by6dldfhs76wcivhty FOREIGN KEY (id) REFERENCES dwh_chart (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-713', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1225, '8:174388153e09b775f713cf641dbf0208', 'addForeignKeyConstraint baseTableName=dwh_chart_line, constraintName=fk_ertp1u2by6dldfhs76wcivhty, referencedTableName=dwh_chart', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-714::AndriusKarpavicius
ALTER TABLE billing_chrginst_wallet ADD CONSTRAINT fk_espkcwuorhst9youte9r59vfq FOREIGN KEY (chrg_instance_id) REFERENCES billing_charge_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-714', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1227, '8:7b8ffe8b6783fe5103e4dd712e2470df', 'addForeignKeyConstraint baseTableName=billing_chrginst_wallet, constraintName=fk_espkcwuorhst9youte9r59vfq, referencedTableName=billing_charge_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-716::AndriusKarpavicius
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_eucl7of9ovyut1c4r2jkf01u6 FOREIGN KEY (priceplan_id) REFERENCES cat_price_plan_matrix (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-716', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1229, '8:9cd85231139c2484aefbcf6cc0250e24', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_eucl7of9ovyut1c4r2jkf01u6, referencedTableName=cat_price_plan_matrix', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-718::AndriusKarpavicius
ALTER TABLE cat_serv_rec_charge_template ADD CONSTRAINT fk_exhkf6tlyfmkjik41o7pdaklk FOREIGN KEY (service_template_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-718', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1231, '8:780ac50018bacec114da37bf7917cd93', 'addForeignKeyConstraint baseTableName=cat_serv_rec_charge_template, constraintName=fk_exhkf6tlyfmkjik41o7pdaklk, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-720::AndriusKarpavicius
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_f0v21kf4sbdcq1wwqsxmb5tsk FOREIGN KEY (priceplan_id) REFERENCES cat_price_plan_matrix (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-720', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1233, '8:786b5df9b98ef0a43029f1d1f1fc5696', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_f0v21kf4sbdcq1wwqsxmb5tsk, referencedTableName=cat_price_plan_matrix', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-723::AndriusKarpavicius
ALTER TABLE billing_counter ADD CONSTRAINT fk_f3e8vebhfnmyikf3xwui2eqn5 FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-723', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1235, '8:92739e60a9b4ab49fce946ae17ebddd5', 'addForeignKeyConstraint baseTableName=billing_counter, constraintName=fk_f3e8vebhfnmyikf3xwui2eqn5, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-726::AndriusKarpavicius
ALTER TABLE rating_edr ADD CONSTRAINT fk_f5tulmo519cm4il45bhborgq1 FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-726', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1237, '8:1529a60e2c5cb93f1a5ce9ceccdb36b8', 'addForeignKeyConstraint baseTableName=rating_edr, constraintName=fk_f5tulmo519cm4il45bhborgq1, referencedTableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-727::AndriusKarpavicius
ALTER TABLE ar_ddrequest_item ADD CONSTRAINT fk_fac0a9x4wkq2eawtebunbibxy FOREIGN KEY (payment_id) REFERENCES ar_account_operation (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-727', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1239, '8:e1c39000c2e5522ac22fbcd8c56cbc0a', 'addForeignKeyConstraint baseTableName=ar_ddrequest_item, constraintName=fk_fac0a9x4wkq2eawtebunbibxy, referencedTableName=ar_account_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-728::AndriusKarpavicius
ALTER TABLE billing_counter ADD CONSTRAINT fk_fasnjr9ad2layx0fy99yqaqgh FOREIGN KEY (counter_template_id) REFERENCES cat_counter_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-728', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1241, '8:bae29f4449415f4e778e80b86e88eb9e', 'addForeignKeyConstraint baseTableName=billing_counter, constraintName=fk_fasnjr9ad2layx0fy99yqaqgh, referencedTableName=cat_counter_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-730::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_fgcgjix0bu0jcnnh7h92gdl3f FOREIGN KEY (invoicecategory) REFERENCES billing_invoice_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-730', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1243, '8:65c9b2106767a685f8ea40975f3c4103', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_fgcgjix0bu0jcnnh7h92gdl3f, referencedTableName=billing_invoice_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-738::AndriusKarpavicius
ALTER TABLE billing_billing_account ADD CONSTRAINT fk_fr8rdcj2vx5ityva2l4fkcns4 FOREIGN KEY (customer_account_id) REFERENCES ar_customer_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-738', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1245, '8:628239ac908147507a3cee2e02ff7d19', 'addForeignKeyConstraint baseTableName=billing_billing_account, constraintName=fk_fr8rdcj2vx5ityva2l4fkcns4, referencedTableName=ar_customer_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-739::AndriusKarpavicius
ALTER TABLE cat_calendar ADD CONSTRAINT fk_fskhdurrqlhc43f27gsprqqwn FOREIGN KEY (join_cal_2_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-739', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1247, '8:bb63624c9f2a2dfa80fc039238d0ad1c', 'addForeignKeyConstraint baseTableName=cat_calendar, constraintName=fk_fskhdurrqlhc43f27gsprqqwn, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-742::AndriusKarpavicius
ALTER TABLE billing_billing_account ADD CONSTRAINT fk_ftwju9g5tva4btwupb5yy8wuc FOREIGN KEY (termin_reason_id) REFERENCES billing_subscrip_termin_reason (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-742', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1249, '8:66134f91a6ef709123fd712dd3ae1bab', 'addForeignKeyConstraint baseTableName=billing_billing_account, constraintName=fk_ftwju9g5tva4btwupb5yy8wuc, referencedTableName=billing_subscrip_termin_reason', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-743::AndriusKarpavicius
ALTER TABLE billing_billing_run_list ADD CONSTRAINT fk_fvujybj16rexoar6bbg65rtmw FOREIGN KEY (billing_run_id) REFERENCES billing_billing_run (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-743', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1251, '8:ea4e4f2d203dcc42adbcd6ea1dabc7f8', 'addForeignKeyConstraint baseTableName=billing_billing_run_list, constraintName=fk_fvujybj16rexoar6bbg65rtmw, referencedTableName=billing_billing_run', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-745::AndriusKarpavicius
ALTER TABLE adm_notification ADD CONSTRAINT fk_g2g3git8jshnvyt4quial8rly FOREIGN KEY (counter_template_id) REFERENCES cat_counter_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-745', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1253, '8:04b5ce41c57dc6ba71ccbc077e795cd3', 'addForeignKeyConstraint baseTableName=adm_notification, constraintName=fk_g2g3git8jshnvyt4quial8rly, referencedTableName=cat_counter_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-751::AndriusKarpavicius
ALTER TABLE ar_action_dunning ADD CONSTRAINT fk_gbkp9rahk5rqst7xvptmohhhl FOREIGN KEY (dunning_lot_id) REFERENCES ar_dunning_lot (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-751', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1255, '8:5403d9c0dfc7a7ce6d1951a0f348f7e4', 'addForeignKeyConstraint baseTableName=ar_action_dunning, constraintName=fk_gbkp9rahk5rqst7xvptmohhhl, referencedTableName=ar_dunning_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-754::AndriusKarpavicius
ALTER TABLE cat_serv_usage_charge_template ADD CONSTRAINT fk_gdamyabsva5cqay9nk1fm1rr7 FOREIGN KEY (counter_template_id) REFERENCES cat_counter_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-754', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1257, '8:95767653a7fe2b16557b21913a8e6ca3', 'addForeignKeyConstraint baseTableName=cat_serv_usage_charge_template, constraintName=fk_gdamyabsva5cqay9nk1fm1rr7, referencedTableName=cat_counter_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-756::AndriusKarpavicius
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_gq86s178gc3orumcl8symk4nn FOREIGN KEY (invoice_id) REFERENCES billing_invoice (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-756', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1259, '8:9e026c70d0140cb0a6f7d81a08975820', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_gq86s178gc3orumcl8symk4nn, referencedTableName=billing_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-757::AndriusKarpavicius
ALTER TABLE billing_invoice ADD CONSTRAINT fk_gr6elpjoiw7nyro2tdwsar20v FOREIGN KEY (recorded_invoice_id) REFERENCES ar_account_operation (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-757', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1261, '8:3d3b7b6413500678644454287fca7f26', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_gr6elpjoiw7nyro2tdwsar20v, referencedTableName=ar_account_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-763::AndriusKarpavicius
ALTER TABLE adm_inbound_resp_headers ADD CONSTRAINT fk_h07be9b84xmmx5ypkbunkxwxt FOREIGN KEY (inboundrequest_id) REFERENCES adm_inbound_request (id) ON UPDATE NO ACTION ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-763', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1263, '8:066dc11d097abc0d8fff5a8da0f64610', 'addForeignKeyConstraint baseTableName=adm_inbound_resp_headers, constraintName=fk_h07be9b84xmmx5ypkbunkxwxt, referencedTableName=adm_inbound_request', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-767::AndriusKarpavicius
ALTER TABLE billing_rejected_billing_accounts ADD CONSTRAINT fk_hamqnc1lpwfm4b3qjbefi24rn FOREIGN KEY (billing_account) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-767', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1265, '8:d5558f56608c76d9e53030070ea80bed', 'addForeignKeyConstraint baseTableName=billing_rejected_billing_accounts, constraintName=fk_hamqnc1lpwfm4b3qjbefi24rn, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-768::AndriusKarpavicius
ALTER TABLE medina_access ADD CONSTRAINT fk_hcav39o2ux8q2oaaqva8b5c8c FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-768', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1267, '8:5e55d1f96cef3248260e511c4fecb1b1', 'addForeignKeyConstraint baseTableName=medina_access, constraintName=fk_hcav39o2ux8q2oaaqva8b5c8c, referencedTableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-771::AndriusKarpavicius
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_hg1a5impet68w8a37dehlnib0 FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-771', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1269, '8:5dd7076de0f6e82c33075c0c37dd9519', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_hg1a5impet68w8a37dehlnib0, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-773::AndriusKarpavicius
ALTER TABLE cat_calendar_hours ADD CONSTRAINT fk_hlmhwditgy8p9em0e631ynw6r FOREIGN KEY (hour_id) REFERENCES cat_hour_in_day (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-773', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1271, '8:05102071a51f17b2e8b94ed774dd59be', 'addForeignKeyConstraint baseTableName=cat_calendar_hours, constraintName=fk_hlmhwditgy8p9em0e631ynw6r, referencedTableName=cat_hour_in_day', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-775::AndriusKarpavicius
ALTER TABLE billing_invoice_cat_lang ADD CONSTRAINT fk_hslb4pch5bj6m6xsy0tqmnn4j FOREIGN KEY (trading_language_id) REFERENCES billing_trading_language (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-775', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1273, '8:0815de1314f759e8015f31e6adccfde9', 'addForeignKeyConstraint baseTableName=billing_invoice_cat_lang, constraintName=fk_hslb4pch5bj6m6xsy0tqmnn4j, referencedTableName=billing_trading_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-778::AndriusKarpavicius
ALTER TABLE cat_serv_sub_charge_template ADD CONSTRAINT fk_hxp6httf1qfs3tsvquux363y7 FOREIGN KEY (service_template_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-778', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1275, '8:ecde47088103d85d2bb3e4ad85a63949', 'addForeignKeyConstraint baseTableName=cat_serv_sub_charge_template, constraintName=fk_hxp6httf1qfs3tsvquux363y7, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-779::AndriusKarpavicius
ALTER TABLE billing_invoice ADD CONSTRAINT fk_hyqj44hv50qhdvvvqp5eujrur FOREIGN KEY (billing_run_id) REFERENCES billing_billing_run (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-779', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1277, '8:83a3b5833f8f9ca9e1ef3ead2d534530', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_hyqj44hv50qhdvvvqp5eujrur, referencedTableName=billing_billing_run', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-780::AndriusKarpavicius
ALTER TABLE dwh_chart ADD CONSTRAINT fk_i6lkk8x010ktvw2clmmmmp9os FOREIGN KEY (msr_qty_id) REFERENCES dwh_measurable_quant (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-780', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1279, '8:9e7c9eb8840ce2a149546a6b78ab1d85', 'addForeignKeyConstraint baseTableName=dwh_chart, constraintName=fk_i6lkk8x010ktvw2clmmmmp9os, referencedTableName=dwh_measurable_quant', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-782::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_i8v257236336x3tpy7ili7ys2 FOREIGN KEY (billing_run_id) REFERENCES billing_billing_run (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-782', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1281, '8:6018c247bc3a9aa42c0c281a4d32e14e', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_i8v257236336x3tpy7ili7ys2, referencedTableName=billing_billing_run', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-784::AndriusKarpavicius
ALTER TABLE billing_resrv_countid ADD CONSTRAINT fk_ibxc01nbhutnxtkoextnrm0a6 FOREIGN KEY (reservation_id) REFERENCES billing_reservation (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-784', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1283, '8:0f38939235171095b2cb22d5fbe453fc', 'addForeignKeyConstraint baseTableName=billing_resrv_countid, constraintName=fk_ibxc01nbhutnxtkoextnrm0a6, referencedTableName=billing_reservation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-787::AndriusKarpavicius
ALTER TABLE bi_job_history ADD CONSTRAINT fk_ifdipuijxgp2i9k26n7bc2jnr FOREIGN KEY (job_id) REFERENCES bi_job (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-787', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1285, '8:706a8311ee03a08652b45bcc661b1967', 'addForeignKeyConstraint baseTableName=bi_job_history, constraintName=fk_ifdipuijxgp2i9k26n7bc2jnr, referencedTableName=bi_job', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-789::AndriusKarpavicius
ALTER TABLE cat_price_plan_matrix ADD CONSTRAINT fk_ihqc2by1drw4jp17umkkjcguc FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-789', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1287, '8:77f51b4cd56a20664ea272fda4ce8454', 'addForeignKeyConstraint baseTableName=cat_price_plan_matrix, constraintName=fk_ihqc2by1drw4jp17umkkjcguc, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-790::AndriusKarpavicius
ALTER TABLE billing_billing_account ADD CONSTRAINT fk_ii78vj9v7bqdip985wona13qm FOREIGN KEY (trading_country_id) REFERENCES billing_trading_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-790', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1289, '8:53ebc146905c1bd6e6feaf79db9f55ac', 'addForeignKeyConstraint baseTableName=billing_billing_account, constraintName=fk_ii78vj9v7bqdip985wona13qm, referencedTableName=billing_trading_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-793::AndriusKarpavicius
ALTER TABLE adm_notif_email_user ADD CONSTRAINT fk_ioh6e5l8yglwedbkvmrhuuc9i FOREIGN KEY (emailnotification_id) REFERENCES adm_notif_email (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-793', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1291, '8:91991925c34aab4d88789fd9aab59715', 'addForeignKeyConstraint baseTableName=adm_notif_email_user, constraintName=fk_ioh6e5l8yglwedbkvmrhuuc9i, referencedTableName=adm_notif_email', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-794::AndriusKarpavicius
ALTER TABLE adm_notif_im_list ADD CONSTRAINT fk_irak9kuf31eoi04whmof2o1vp FOREIGN KEY (instantmessagingnotification_id) REFERENCES adm_notif_im (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-794', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1293, '8:55772ce034a031e0c480fe48033b041d', 'addForeignKeyConstraint baseTableName=adm_notif_im_list, constraintName=fk_irak9kuf31eoi04whmof2o1vp, referencedTableName=adm_notif_im', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-797::AndriusKarpavicius
ALTER TABLE billing_rejected_billing_accounts ADD CONSTRAINT fk_iyfs5u3t9m0hc9rkeadr6atq9 FOREIGN KEY (billing_run) REFERENCES billing_billing_run (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-797', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1295, '8:46a304564db405d338499f835d78e6fb', 'addForeignKeyConstraint baseTableName=billing_rejected_billing_accounts, constraintName=fk_iyfs5u3t9m0hc9rkeadr6atq9, referencedTableName=billing_billing_run', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-802::AndriusKarpavicius
ALTER TABLE cat_price_plan_matrix ADD CONSTRAINT fk_j45dy6ja0ulbs15erjw2abtin FOREIGN KEY (valid_cal_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-802', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1297, '8:74d466748d120cc0a5b9351ee52ccef3', 'addForeignKeyConstraint baseTableName=cat_price_plan_matrix, constraintName=fk_j45dy6ja0ulbs15erjw2abtin, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-804::AndriusKarpavicius
ALTER TABLE billing_billing_run ADD CONSTRAINT fk_j7uk7f4r30ar8my36b338fgp3 FOREIGN KEY (pr_country_id) REFERENCES adm_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-804', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1299, '8:9f65255693b773942ed411b8a012a283', 'addForeignKeyConstraint baseTableName=billing_billing_run, constraintName=fk_j7uk7f4r30ar8my36b338fgp3, referencedTableName=adm_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-805::AndriusKarpavicius
ALTER TABLE adm_country ADD CONSTRAINT fk_j9hs06oggl0dsm766xegjd7cl FOREIGN KEY (currency_id) REFERENCES adm_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-805', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1301, '8:3ec39e34ae22598bfdc23d189a6b701d', 'addForeignKeyConstraint baseTableName=adm_country, constraintName=fk_j9hs06oggl0dsm766xegjd7cl, referencedTableName=adm_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-806::AndriusKarpavicius
ALTER TABLE com_msg_tmpl_variable ADD CONSTRAINT fk_ja18lr86yy3lu9qy06wkhkjeg FOREIGN KEY (template_id) REFERENCES com_message_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-806', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1303, '8:146127a71a523ba3c96ec9da2dd1bfdb', 'addForeignKeyConstraint baseTableName=com_msg_tmpl_variable, constraintName=fk_ja18lr86yy3lu9qy06wkhkjeg, referencedTableName=com_message_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-809::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_jbw5pwksdd6x3f6ystkruwb60 FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-809', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1305, '8:3b492a7c078e27f9b9be5652ca25d4bb', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_jbw5pwksdd6x3f6ystkruwb60, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-812::AndriusKarpavicius
ALTER TABLE cat_serv_sub_wallet_template ADD CONSTRAINT fk_jl5jtnqtxuaupodubdf49we35 FOREIGN KEY (wallet_template_id) REFERENCES cat_wallet_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-812', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1307, '8:c4c2eaf9d54e304f93023b5f5f3adca2', 'addForeignKeyConstraint baseTableName=cat_serv_sub_wallet_template, constraintName=fk_jl5jtnqtxuaupodubdf49we35, referencedTableName=cat_wallet_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-813::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_jlvgkggvct8w375rh8xnp0045 FOREIGN KEY (tax_invoice_agregate) REFERENCES billing_invoice_agregate (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-813', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1309, '8:b62d3984375cdf103bb6cdfc8bf013e0', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_jlvgkggvct8w375rh8xnp0045, referencedTableName=billing_invoice_agregate', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-814::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_jol1l9b38nefwe19h55gjhi FOREIGN KEY (category_invoice_agregate) REFERENCES billing_invoice_agregate (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-814', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1311, '8:165747495355a87e6064fd9c5c2c1e2d', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_jol1l9b38nefwe19h55gjhi, referencedTableName=billing_invoice_agregate', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-819::AndriusKarpavicius
ALTER TABLE cat_serv_rec_wallet_template ADD CONSTRAINT fk_jvxy2yssvh2lglsjux5lysuev FOREIGN KEY (service_rec_templt_id) REFERENCES cat_serv_rec_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-819', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1313, '8:adf6ca6f5293be311fdd57fce3155354', 'addForeignKeyConstraint baseTableName=cat_serv_rec_wallet_template, constraintName=fk_jvxy2yssvh2lglsjux5lysuev, referencedTableName=cat_serv_rec_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-820::AndriusKarpavicius
ALTER TABLE cat_calendar_days ADD CONSTRAINT fk_jwbui370vw0u0i4bprhep89va FOREIGN KEY (day_id) REFERENCES cat_day_in_year (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-820', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1315, '8:9e3d3e1e16755b63634a3010248efb15', 'addForeignKeyConstraint baseTableName=cat_calendar_days, constraintName=fk_jwbui370vw0u0i4bprhep89va, referencedTableName=cat_day_in_year', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-821::AndriusKarpavicius
ALTER TABLE crm_customer ADD CONSTRAINT fk_jy0ltntuxo83krlvovb0gmmcu FOREIGN KEY (customer_brand_id) REFERENCES crm_customer_brand (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-821', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1317, '8:6f6ceaad82122ecd7f52bccf9b246578', 'addForeignKeyConstraint baseTableName=crm_customer, constraintName=fk_jy0ltntuxo83krlvovb0gmmcu, referencedTableName=crm_customer_brand', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-829::AndriusKarpavicius
ALTER TABLE billing_trading_country ADD CONSTRAINT fk_k9rx9xam7tpfhxdd9ebir310v FOREIGN KEY (country_id) REFERENCES adm_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-829', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1319, '8:e57f77d79af7eacd81e3bcd9b464f454', 'addForeignKeyConstraint baseTableName=billing_trading_country, constraintName=fk_k9rx9xam7tpfhxdd9ebir310v, referencedTableName=adm_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-833::AndriusKarpavicius
ALTER TABLE billing_billing_run ADD CONSTRAINT fk_kh24jie5tlw4y93g44d4aq4es FOREIGN KEY (pr_language_id) REFERENCES adm_language (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-833', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1321, '8:a60f6c8709faf7c7d679f43471ba62b4', 'addForeignKeyConstraint baseTableName=billing_billing_run, constraintName=fk_kh24jie5tlw4y93g44d4aq4es, referencedTableName=adm_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-837::AndriusKarpavicius
ALTER TABLE cat_price_plan_matrix ADD CONSTRAINT fk_kwd24d6mb0ac27a9smche8u8u FOREIGN KEY (trading_currency_id) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-837', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1323, '8:b2a48f2ad30aac91c4582f995fee3301', 'addForeignKeyConstraint baseTableName=cat_price_plan_matrix, constraintName=fk_kwd24d6mb0ac27a9smche8u8u, referencedTableName=billing_trading_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-840::AndriusKarpavicius
ALTER TABLE crm_seller ADD CONSTRAINT fk_seller_title FOREIGN KEY (title_id) REFERENCES adm_title (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE crm_customer ADD CONSTRAINT fk_cust_title FOREIGN KEY (title_id) REFERENCES adm_title (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE ar_customer_account ADD CONSTRAINT fk_ca_title FOREIGN KEY (title_id) REFERENCES adm_title (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_billing_account ADD CONSTRAINT fk_ba_title FOREIGN KEY (title_id) REFERENCES adm_title (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_user_account ADD CONSTRAINT fk_ua_title FOREIGN KEY (title_id) REFERENCES adm_title (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE com_contact ADD CONSTRAINT fk_com_contact_title FOREIGN KEY (title_id) REFERENCES adm_title (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-840', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1325, '8:d508d644f6506790ec9a1bdf5df0ad7b', 'addForeignKeyConstraint baseTableName=crm_seller, constraintName=fk_seller_title, referencedTableName=adm_title; addForeignKeyConstraint baseTableName=crm_customer, constraintName=fk_cust_title, referencedTableName=adm_title; addForeignKeyConstrai...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-856::AndriusKarpavicius
ALTER TABLE billing_billing_account ADD CONSTRAINT fk_luc75yfv40lypmgdljmbeu1l2 FOREIGN KEY (trading_language_id) REFERENCES billing_trading_language (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-856', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1327, '8:395052d1863d4b12e30b9da506b4e99f', 'addForeignKeyConstraint baseTableName=billing_billing_account, constraintName=fk_luc75yfv40lypmgdljmbeu1l2, referencedTableName=billing_trading_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-860::AndriusKarpavicius
ALTER TABLE billing_invoice ADD CONSTRAINT fk_m1k0p8afwiq28x9jfexqy8bvx FOREIGN KEY (trading_currency_id) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-860', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1329, '8:dada3b619db068245b09835cf92a052d', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_m1k0p8afwiq28x9jfexqy8bvx, referencedTableName=billing_trading_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-861::AndriusKarpavicius
ALTER TABLE cat_offer_serv_templates ADD CONSTRAINT fk_m4r0891967ixswyppuy3oh925 FOREIGN KEY (service_template_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-861', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1331, '8:2eae80db1d18c1e0d70fdab310054a0a', 'addForeignKeyConstraint baseTableName=cat_offer_serv_templates, constraintName=fk_m4r0891967ixswyppuy3oh925, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-862::AndriusKarpavicius
ALTER TABLE crm_provider ADD CONSTRAINT fk_m5u8n11dsbf2q9yy5vy5ehwmf FOREIGN KEY (language_id) REFERENCES adm_language (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-862', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1333, '8:c2fbd83eb073f78b2e04ca6aa1efb712', 'addForeignKeyConstraint baseTableName=crm_provider, constraintName=fk_m5u8n11dsbf2q9yy5vy5ehwmf, referencedTableName=adm_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-865::AndriusKarpavicius
ALTER TABLE cat_serv_trm_wallet_template ADD CONSTRAINT fk_mds23tfwffrfaiag61ujhh2mt FOREIGN KEY (wallet_template_id) REFERENCES cat_wallet_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-865', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1335, '8:1f743daa125cca4e21f0bd885c6bf370', 'addForeignKeyConstraint baseTableName=cat_serv_trm_wallet_template, constraintName=fk_mds23tfwffrfaiag61ujhh2mt, referencedTableName=cat_wallet_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-866::AndriusKarpavicius
ALTER TABLE crm_seller ADD CONSTRAINT fk_mhpt572myu8mok6vrf6kbari2 FOREIGN KEY (trading_currency_id) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-866', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1337, '8:cd736efabe74bcd0eb7686aa333a0bb1', 'addForeignKeyConstraint baseTableName=crm_seller, constraintName=fk_mhpt572myu8mok6vrf6kbari2, referencedTableName=billing_trading_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-868::AndriusKarpavicius
ALTER TABLE adm_notif_email_user ADD CONSTRAINT fk_mp4h7biod5wtjo1x3yp80q3um FOREIGN KEY (users_id) REFERENCES adm_user (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-868', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1339, '8:0037c2a7c9119e81f70dde593d462ce5', 'addForeignKeyConstraint baseTableName=adm_notif_email_user, constraintName=fk_mp4h7biod5wtjo1x3yp80q3um, referencedTableName=adm_user', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-871::AndriusKarpavicius
ALTER TABLE adm_notif_webhooks ADD CONSTRAINT fk_n1n2i3ht998wlegdshme4gykm FOREIGN KEY (id) REFERENCES adm_notification (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-871', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1341, '8:567e7d13ae0e34e2cb389dc0d1620077', 'addForeignKeyConstraint baseTableName=adm_notif_webhooks, constraintName=fk_n1n2i3ht998wlegdshme4gykm, referencedTableName=adm_notification', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-872::AndriusKarpavicius
ALTER TABLE billing_invoice_cat_lang ADD CONSTRAINT fk_n38yh52xgofxupiojjjp6w0ss FOREIGN KEY (invoice_category_id) REFERENCES billing_invoice_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-872', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1343, '8:9bc7201b6c8b9790e42cce0dcae6cb34', 'addForeignKeyConstraint baseTableName=billing_invoice_cat_lang, constraintName=fk_n38yh52xgofxupiojjjp6w0ss, referencedTableName=billing_invoice_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-879::AndriusKarpavicius
ALTER TABLE billing_billing_account ADD CONSTRAINT fk_nhkxa8vr7ta6e0l7xg5j7injp FOREIGN KEY (billing_run) REFERENCES billing_billing_run (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-879', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1345, '8:47ab8763479839e7eea3929ce06f92e1', 'addForeignKeyConstraint baseTableName=billing_billing_account, constraintName=fk_nhkxa8vr7ta6e0l7xg5j7injp, referencedTableName=billing_billing_run', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-880::AndriusKarpavicius
ALTER TABLE ar_dunning_lot ADD CONSTRAINT fk_ni07ki1fjggoysarccglqdy7k FOREIGN KEY (dunning_history_id) REFERENCES bi_job_history (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-880', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1347, '8:0a751c8360c024dfdd72cd13ccf7c886', 'addForeignKeyConstraint baseTableName=ar_dunning_lot, constraintName=fk_ni07ki1fjggoysarccglqdy7k, referencedTableName=bi_job_history', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-885::AndriusKarpavicius
ALTER TABLE adm_notif_email_attach ADD CONSTRAINT fk_nsvkcha8gfihqji903fs5n516 FOREIGN KEY (emailnotification_id) REFERENCES adm_notif_email (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-885', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1349, '8:db847acee0f496a4800e13c50bd17335', 'addForeignKeyConstraint baseTableName=adm_notif_email_attach, constraintName=fk_nsvkcha8gfihqji903fs5n516, referencedTableName=adm_notif_email', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-887::AndriusKarpavicius
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_o2mp1mqcyi2l7q2b1p88h20dw FOREIGN KEY (billing_run_id) REFERENCES billing_billing_run (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-887', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1351, '8:bc99fb373872f591beee6a6b0a140a2e', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_o2mp1mqcyi2l7q2b1p88h20dw, referencedTableName=billing_billing_run', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-889::AndriusKarpavicius
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_o5yu3c0bnac626w755w5f0voc FOREIGN KEY (invoice_sub_category_id) REFERENCES billing_invoice_sub_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-889', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1353, '8:64c59affb368f84a9fd4c323e771bd5b', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_o5yu3c0bnac626w755w5f0voc, referencedTableName=billing_invoice_sub_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-897::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_oj0fk2nkpqevu9warau9u2m FOREIGN KEY (wallet_id) REFERENCES billing_wallet (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-897', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1355, '8:98d2b4612b12cdc8315c1dab3ec92a3f', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_oj0fk2nkpqevu9warau9u2m, referencedTableName=billing_wallet', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-903::AndriusKarpavicius
ALTER TABLE cat_serv_usage_charge_template ADD CONSTRAINT fk_oxrjl1e7g6y1ehtpbse9cl1bi FOREIGN KEY (service_template_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-903', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1357, '8:249239b1d98389661f42f3e66049e371', 'addForeignKeyConstraint baseTableName=cat_serv_usage_charge_template, constraintName=fk_oxrjl1e7g6y1ehtpbse9cl1bi, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-906::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_p3lcj2g3sjry0355gqki3crfo FOREIGN KEY (invoicesubcategory) REFERENCES billing_invoice_sub_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-906', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1359, '8:b260b534f1409ded5dbd3c2755ebb402', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_p3lcj2g3sjry0355gqki3crfo, referencedTableName=billing_invoice_sub_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-912::AndriusKarpavicius
ALTER TABLE billing_charge_instance ADD CONSTRAINT fk_pgo533tdbe0f5aq3rqv6oaouv FOREIGN KEY (trading_country) REFERENCES billing_trading_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-912', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1361, '8:e52140a10fce4caed7e80d824f7c329c', 'addForeignKeyConstraint baseTableName=billing_charge_instance, constraintName=fk_pgo533tdbe0f5aq3rqv6oaouv, referencedTableName=billing_trading_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-916::AndriusKarpavicius
ALTER TABLE billing_user_account ADD CONSTRAINT fk_pvrmaqdyj4v7c2i5qa7cldvp6 FOREIGN KEY (termin_reason_id) REFERENCES billing_subscrip_termin_reason (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-916', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1363, '8:b74a8f92a5453499119473345d76dbb1', 'addForeignKeyConstraint baseTableName=billing_user_account, constraintName=fk_pvrmaqdyj4v7c2i5qa7cldvp6, referencedTableName=billing_subscrip_termin_reason', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-917::AndriusKarpavicius
ALTER TABLE billing_billing_run ADD CONSTRAINT fk_pwbkc74fonnsw237agcx8q4yh FOREIGN KEY (pr_currency_id) REFERENCES adm_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-917', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1365, '8:d9c85b50bdf066971d53a29c9e320b42', 'addForeignKeyConstraint baseTableName=billing_billing_run, constraintName=fk_pwbkc74fonnsw237agcx8q4yh, referencedTableName=adm_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-920::AndriusKarpavicius
ALTER TABLE billing_user_account ADD CONSTRAINT fk_q0dpia4wwv4l8x31b4ovxx7ce FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-920', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1367, '8:9e1be63c431779bba5ea94384130031e', 'addForeignKeyConstraint baseTableName=billing_user_account, constraintName=fk_q0dpia4wwv4l8x31b4ovxx7ce, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-921::AndriusKarpavicius
ALTER TABLE crm_provider ADD CONSTRAINT fk_q2j1979epl7edcd9uogum5f7w FOREIGN KEY (country_id) REFERENCES adm_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-921', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1369, '8:edc6f7149f7b257aeea2807689f17733', 'addForeignKeyConstraint baseTableName=crm_provider, constraintName=fk_q2j1979epl7edcd9uogum5f7w, referencedTableName=adm_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-925::AndriusKarpavicius
ALTER TABLE report_emails ADD CONSTRAINT fk_q4qvf0tlci0disibhrkhm1j3y FOREIGN KEY (email_id) REFERENCES crm_email (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-925', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1371, '8:8140338d80208d2c390f38204cd0aa1e', 'addForeignKeyConstraint baseTableName=report_emails, constraintName=fk_q4qvf0tlci0disibhrkhm1j3y, referencedTableName=crm_email', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-926::AndriusKarpavicius
ALTER TABLE billing_subscription ADD CONSTRAINT fk_q6d91d7b6bc2ypdbx4tjbr0ac FOREIGN KEY (sub_termin_reason_id) REFERENCES billing_subscrip_termin_reason (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-926', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1373, '8:82a0e975ca2572ca96be5832237fe4ef', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_q6d91d7b6bc2ypdbx4tjbr0ac, referencedTableName=billing_subscrip_termin_reason', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-928::AndriusKarpavicius
ALTER TABLE cat_price_plan_matrix ADD CONSTRAINT fk_qfuhf684i6lsatohaxe9m2f61 FOREIGN KEY (offer_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-928', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1375, '8:d919201bab0b13caae7515434f07674a', 'addForeignKeyConstraint baseTableName=cat_price_plan_matrix, constraintName=fk_qfuhf684i6lsatohaxe9m2f61, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-931::AndriusKarpavicius
ALTER TABLE adm_user_role ADD CONSTRAINT fk_qm8p95secwfawo60ydmfexipj FOREIGN KEY (role_id) REFERENCES adm_role (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-931', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1377, '8:157ef8331fbea0fb1e991873b07e1dba', 'addForeignKeyConstraint baseTableName=adm_user_role, constraintName=fk_qm8p95secwfawo60ydmfexipj, referencedTableName=adm_role', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-932::AndriusKarpavicius
ALTER TABLE crm_provider ADD CONSTRAINT fk_qnko98glwxl0fa47s3a2c13ib FOREIGN KEY (customer_id) REFERENCES crm_customer (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-932', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1379, '8:c1ee6d466657f6974ceb869b766f2c9f', 'addForeignKeyConstraint baseTableName=crm_provider, constraintName=fk_qnko98glwxl0fa47s3a2c13ib, referencedTableName=crm_customer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-936::AndriusKarpavicius
ALTER TABLE com_contact_com_message ADD CONSTRAINT fk_qt1luy1u282dcl8c3s8ct9erj FOREIGN KEY (com_contact_id) REFERENCES com_contact (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-936', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1381, '8:79b085f5c26c9e8030c56513a821de84', 'addForeignKeyConstraint baseTableName=com_contact_com_message, constraintName=fk_qt1luy1u282dcl8c3s8ct9erj, referencedTableName=com_contact', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-939::AndriusKarpavicius
ALTER TABLE billing_charge_instance ADD CONSTRAINT fk_qy24ot93d7lan8ghf0gek7wfb FOREIGN KEY (trading_currency) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-939', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1383, '8:b82c1f151b3fd68d3c8ea790430a79bd', 'addForeignKeyConstraint baseTableName=billing_charge_instance, constraintName=fk_qy24ot93d7lan8ghf0gek7wfb, referencedTableName=billing_trading_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-940::AndriusKarpavicius
ALTER TABLE dwh_measured_value ADD CONSTRAINT fk_r84wig2o1808ybsy4jm0158aj FOREIGN KEY (measurable_quantity) REFERENCES dwh_measurable_quant (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-940', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1385, '8:abdbe98473b5d02c6827801d59ad72b1', 'addForeignKeyConstraint baseTableName=dwh_measured_value, constraintName=fk_r84wig2o1808ybsy4jm0158aj, referencedTableName=dwh_measurable_quant', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-942::AndriusKarpavicius
ALTER TABLE billing_cycle ADD CONSTRAINT fk_r9kcmcn6nyrdvg5t81oowjf3q FOREIGN KEY (calendar) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-942', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1387, '8:17b615c2c2928d24e7609afb414cec8b', 'addForeignKeyConstraint baseTableName=billing_cycle, constraintName=fk_r9kcmcn6nyrdvg5t81oowjf3q, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-945::AndriusKarpavicius
ALTER TABLE com_msg_var_value ADD CONSTRAINT fk_rebglohh2k5d8etwlemsy42ey FOREIGN KEY (message) REFERENCES com_message (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-945', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1389, '8:c52c23f3d03e6f23d84049d94d294d6f', 'addForeignKeyConstraint baseTableName=com_msg_var_value, constraintName=fk_rebglohh2k5d8etwlemsy42ey, referencedTableName=com_message', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-946::AndriusKarpavicius
ALTER TABLE bi_report_emails ADD CONSTRAINT fk_rfbvc0x1132dpv5vumm8lp76f FOREIGN KEY (report_id) REFERENCES bi_report (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-946', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1391, '8:497336e89df8af5bfb9a846a6f1cf1c9', 'addForeignKeyConstraint baseTableName=bi_report_emails, constraintName=fk_rfbvc0x1132dpv5vumm8lp76f, referencedTableName=bi_report', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-947::AndriusKarpavicius
ALTER TABLE cat_serv_trm_charge_template ADD CONSTRAINT fk_rfluuqo2xx0vxu0410qtcls6m FOREIGN KEY (service_template_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-947', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1393, '8:65f36e0ee3c36b1cf3c5fc16effad231', 'addForeignKeyConstraint baseTableName=cat_serv_trm_charge_template, constraintName=fk_rfluuqo2xx0vxu0410qtcls6m, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-948::AndriusKarpavicius
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_rjpm9k6xsumg297fxefffyryh FOREIGN KEY (aggregate_id_f) REFERENCES billing_invoice_agregate (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-948', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1395, '8:e621eaaa33e961be2ce480f500651d40', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_rjpm9k6xsumg297fxefffyryh, referencedTableName=billing_invoice_agregate', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-949::AndriusKarpavicius
ALTER TABLE billing_chrginst_wallet ADD CONSTRAINT fk_rmhpvs7y2f70xbo4v94cg0lmy FOREIGN KEY (wallet_instance_id) REFERENCES billing_wallet (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-949', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1397, '8:f4593e866177c512cad276e76a5f37ad', 'addForeignKeyConstraint baseTableName=billing_chrginst_wallet, constraintName=fk_rmhpvs7y2f70xbo4v94cg0lmy, referencedTableName=billing_wallet', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-951::AndriusKarpavicius
ALTER TABLE adm_notif_history ADD CONSTRAINT fk_ro7f48utjcqduq62a0h9veyse FOREIGN KEY (notification_id) REFERENCES adm_notification (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-951', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1399, '8:68f2a05b4bd05d6efa69e36b059321c0', 'addForeignKeyConstraint baseTableName=adm_notif_history, constraintName=fk_ro7f48utjcqduq62a0h9veyse, referencedTableName=adm_notification', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-954::AndriusKarpavicius
ALTER TABLE adm_country ADD CONSTRAINT fk_rwj0gv80o7o8ufd4fgsweafcp FOREIGN KEY (language_id) REFERENCES adm_language (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-954', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1401, '8:adc246c829dcb40af9c564e03e771fba', 'addForeignKeyConstraint baseTableName=adm_country, constraintName=fk_rwj0gv80o7o8ufd4fgsweafcp, referencedTableName=adm_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-955::AndriusKarpavicius
ALTER TABLE cat_calendar_days ADD CONSTRAINT fk_rwouj86saa1b0ox91xjgs05ea FOREIGN KEY (calendar_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-955', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1403, '8:2b2ffc60918e1d9c342edf9c47f32919', 'addForeignKeyConstraint baseTableName=cat_calendar_days, constraintName=fk_rwouj86saa1b0ox91xjgs05ea, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-958::AndriusKarpavicius
ALTER TABLE adm_role_permission ADD CONSTRAINT fk_s1wxui3m4sv9x5mbyi8gp77hu FOREIGN KEY (role_id) REFERENCES adm_role (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-958', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1405, '8:f37f657acd4c7c258af2adacb905e39b', 'addForeignKeyConstraint baseTableName=adm_role_permission, constraintName=fk_s1wxui3m4sv9x5mbyi8gp77hu, referencedTableName=adm_role', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-966::AndriusKarpavicius
ALTER TABLE ar_customer_account ADD CONSTRAINT fk_sj9gf0r8v1hjihl7qosbtnfdp FOREIGN KEY (trading_currency_id) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-966', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1407, '8:3bcbce71ad7954c08c30ed0b0e405b3a', 'addForeignKeyConstraint baseTableName=ar_customer_account, constraintName=fk_sj9gf0r8v1hjihl7qosbtnfdp, referencedTableName=billing_trading_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-970::AndriusKarpavicius
ALTER TABLE billing_tax_language ADD CONSTRAINT fk_stn0ce8rlgqun9j1acm9nx8tk FOREIGN KEY (tax_id) REFERENCES billing_tax (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-970', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1409, '8:608dc4b686a4a8d70912499729f7b11b', 'addForeignKeyConstraint baseTableName=billing_tax_language, constraintName=fk_stn0ce8rlgqun9j1acm9nx8tk, referencedTableName=billing_tax', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-972::AndriusKarpavicius
ALTER TABLE billing_discplan_inst ADD CONSTRAINT fk_syr7kuj91e9nvtj725becu8sr FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-972', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1411, '8:a2e9342811e07debff989406a2d1f616', 'addForeignKeyConstraint baseTableName=billing_discplan_inst, constraintName=fk_syr7kuj91e9nvtj725becu8sr, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-974::AndriusKarpavicius
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_t98kqb1prnfw6scvudimx1u0q FOREIGN KEY (currency_id) REFERENCES adm_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-974', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1413, '8:334052e350fbc177495c0a9fb2a5849e', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_t98kqb1prnfw6scvudimx1u0q, referencedTableName=adm_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-980::AndriusKarpavicius
ALTER TABLE billing_invoice_sub_cat ADD CONSTRAINT fk_thcocka474paj6d2ql8nnsvu1 FOREIGN KEY (invoice_category_id) REFERENCES billing_invoice_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-980', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1415, '8:602d9fcb3b299831f9b61775f0fe5437', 'addForeignKeyConstraint baseTableName=billing_invoice_sub_cat, constraintName=fk_thcocka474paj6d2ql8nnsvu1, referencedTableName=billing_invoice_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-981::AndriusKarpavicius
ALTER TABLE cat_serv_usage_wallet_template ADD CONSTRAINT fk_tiptj63pxitxaivwa5pc9m6gm FOREIGN KEY (service_usage_templt_id) REFERENCES cat_serv_usage_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-981', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1417, '8:ff4db6750f4ce9c90882fbd28293ca15', 'addForeignKeyConstraint baseTableName=cat_serv_usage_wallet_template, constraintName=fk_tiptj63pxitxaivwa5pc9m6gm, referencedTableName=cat_serv_usage_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-983::AndriusKarpavicius
ALTER TABLE cat_calendar ADD CONSTRAINT fk_tl28syslj879hbfvlau8n4gym FOREIGN KEY (join_cal_1_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-983', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1419, '8:9bcc8db48744ba7cf8ed271787917346', 'addForeignKeyConstraint baseTableName=cat_calendar, constraintName=fk_tl28syslj879hbfvlau8n4gym, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-984::AndriusKarpavicius
ALTER TABLE billing_trading_currency ADD CONSTRAINT fk_tmo8nfjd2matrvhtdgw1fp7m2 FOREIGN KEY (currency_id) REFERENCES adm_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-984', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1421, '8:0aa7ba8a09d5772affaae9c3684e70cd', 'addForeignKeyConstraint baseTableName=billing_trading_currency, constraintName=fk_tmo8nfjd2matrvhtdgw1fp7m2, referencedTableName=adm_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-988::AndriusKarpavicius
ALTER TABLE ar_matching_amount ADD CONSTRAINT fk_wnbeqoiv9cho17331pob3t8j FOREIGN KEY (matching_code_id) REFERENCES ar_matching_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-988', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1423, '8:4cfa2790bd204bbb06a818dfa9389429', 'addForeignKeyConstraint baseTableName=ar_matching_amount, constraintName=fk_wnbeqoiv9cho17331pob3t8j, referencedTableName=ar_matching_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-992::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fkc92fa77a520f2e17 FOREIGN KEY (sub_cat_invoice_agregate_id) REFERENCES billing_invoice_agregate (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-992', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1425, '8:1b513e87229408e641c5b3a45ea03651', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fkc92fa77a520f2e17, referencedTableName=billing_invoice_agregate', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-996::AndriusKarpavicius
ALTER TABLE adm_notification_params ADD CONSTRAINT fk_params_notification FOREIGN KEY (notification_id) REFERENCES adm_notification (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-996', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1427, '8:190cd76358ca5108d2b2438caa33ff78', 'addForeignKeyConstraint baseTableName=adm_notification_params, constraintName=fk_params_notification, referencedTableName=adm_notification', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-997::AndriusKarpavicius
ALTER TABLE adm_notif_job_params ADD CONSTRAINT fk_params_job_trigger FOREIGN KEY (jobtrigger_id) REFERENCES adm_notif_job (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-997', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1429, '8:840728896af6e0efea4bc12ed42db5bf', 'addForeignKeyConstraint baseTableName=adm_notif_job_params, constraintName=fk_params_job_trigger, referencedTableName=adm_notif_job', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1000::AndriusKarpavicius
ALTER TABLE meveo_filter_oc_field_names ADD CONSTRAINT fk_meveo_filter_order_condition_field_names FOREIGN KEY (order_condition_id) REFERENCES meveo_filter_order_condition (id) ON UPDATE CASCADE ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1000', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1431, '8:4d316aa7cdc38464f08553aa0c2f7e3d', 'addForeignKeyConstraint baseTableName=meveo_filter_oc_field_names, constraintName=fk_meveo_filter_order_condition_field_names, referencedTableName=meveo_filter_order_condition', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1003::AndriusKarpavicius
ALTER TABLE meveo_filter ADD CONSTRAINT fk_meveo_filter_filter_condition FOREIGN KEY (filter_condition_id) REFERENCES meveo_filter_condition (id) ON UPDATE CASCADE ON DELETE CASCADE;

ALTER TABLE meveo_filter ADD CONSTRAINT fk_meveo_filter_order_condition FOREIGN KEY (order_condition_id) REFERENCES meveo_filter_order_condition (id) ON UPDATE CASCADE ON DELETE CASCADE;

ALTER TABLE meveo_filter ADD CONSTRAINT fk_meveo_filter_primary_selector FOREIGN KEY (primary_selector_id) REFERENCES meveo_filter_selector (id) ON UPDATE CASCADE ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1003', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1433, '8:5a8156e23191cfc1ba0e44039b0719c8', 'addForeignKeyConstraint baseTableName=meveo_filter, constraintName=fk_meveo_filter_filter_condition, referencedTableName=meveo_filter_condition; addForeignKeyConstraint baseTableName=meveo_filter, constraintName=fk_meveo_filter_order_condition, re...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1004::AndriusKarpavicius
ALTER TABLE meveo_filter_selector ADD CONSTRAINT fk_meveo_filter_secondary_selector FOREIGN KEY (filter_id) REFERENCES meveo_filter (id) ON UPDATE CASCADE ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1004', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1435, '8:9e82c8ced03176cf4f7b9721f89ed802', 'addForeignKeyConstraint baseTableName=meveo_filter_selector, constraintName=fk_meveo_filter_secondary_selector, referencedTableName=meveo_filter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1006::AndriusKarpavicius
ALTER TABLE meveo_filter_condition ADD CONSTRAINT fk_meveo_or_composite_filter_condition_or FOREIGN KEY (composite_or_filter_condition_id) REFERENCES meveo_or_composite_filter_condition (id) ON UPDATE CASCADE ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1006', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1437, '8:d7d7323c14abe77ce53305db2de6b1b6', 'addForeignKeyConstraint baseTableName=meveo_filter_condition, constraintName=fk_meveo_or_composite_filter_condition_or, referencedTableName=meveo_or_composite_filter_condition', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1007::AndriusKarpavicius
ALTER TABLE meveo_filter_condition ADD CONSTRAINT fk_meveo_and_composite_filter_condition_and FOREIGN KEY (composite_and_filter_condition_id) REFERENCES meveo_and_composite_filter_condition (id) ON UPDATE CASCADE ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1007', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1439, '8:e47f4d13fe19de69fdfe662b67929540', 'addForeignKeyConstraint baseTableName=meveo_filter_condition, constraintName=fk_meveo_and_composite_filter_condition_and, referencedTableName=meveo_and_composite_filter_condition', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1008::AndriusKarpavicius
ALTER TABLE meveo_filter_selector_display_fields ADD CONSTRAINT fk_meveo_filter_selector_display_fields FOREIGN KEY (filter_selector_id) REFERENCES meveo_filter_selector (id) ON UPDATE CASCADE ON DELETE CASCADE;

ALTER TABLE meveo_filter_selector_export_fields ADD CONSTRAINT fk_meveo_filter_selector_export_fields FOREIGN KEY (filter_selector_id) REFERENCES meveo_filter_selector (id) ON UPDATE CASCADE ON DELETE CASCADE;

ALTER TABLE meveo_filter_selector_ignore_fields ADD CONSTRAINT fk_filter_selector_ignore_fields FOREIGN KEY (filter_selector_id) REFERENCES meveo_filter_selector (id) ON UPDATE CASCADE ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1008', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1441, '8:6a82f80c50177b3f6d2faf89a9a09865', 'addForeignKeyConstraint baseTableName=meveo_filter_selector_display_fields, constraintName=fk_meveo_filter_selector_display_fields, referencedTableName=meveo_filter_selector; addForeignKeyConstraint baseTableName=meveo_filter_selector_export_field...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1009::AndriusKarpavicius
ALTER TABLE job_execution ADD CONSTRAINT fk_job_execution_job_instance_id FOREIGN KEY (job_instance_id) REFERENCES meveo_job_instance (id) ON UPDATE CASCADE ON DELETE CASCADE;

ALTER TABLE ar_customer_account ADD CONSTRAINT fk_ar_credit_category_ar_customer_account FOREIGN KEY (credit_category_id) REFERENCES ar_credit_category (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1009', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1443, '8:2c32d9934b4b54982d42612929235faf', 'addForeignKeyConstraint baseTableName=job_execution, constraintName=fk_job_execution_job_instance_id, referencedTableName=meveo_job_instance; addForeignKeyConstraint baseTableName=ar_customer_account, constraintName=fk_ar_credit_category_ar_custom...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1011::AndriusKarpavicius
ALTER TABLE com_meveo_instance ADD CONSTRAINT fk_398jtw7cvvcjmyalvke9iwoqw FOREIGN KEY (customer_id) REFERENCES crm_customer (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE com_meveo_instance ADD CONSTRAINT fk_userid FOREIGN KEY (user_id) REFERENCES adm_user (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1011', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1445, '8:95e16c944f56dd5201cc30be0d8746dc', 'addForeignKeyConstraint baseTableName=com_meveo_instance, constraintName=fk_398jtw7cvvcjmyalvke9iwoqw, referencedTableName=crm_customer; addForeignKeyConstraint baseTableName=com_meveo_instance, constraintName=fk_userid, referencedTableName=adm_user', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1013::AndriusKarpavicius
ALTER TABLE crm_custom_field_tmpl ADD CONSTRAINT fk_cft_calendar FOREIGN KEY (calendar_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1013', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1447, '8:d484d17509f7c069c526c628687bd788', 'addForeignKeyConstraint baseTableName=crm_custom_field_tmpl, constraintName=fk_cft_calendar, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1016::AndriusKarpavicius
ALTER TABLE meveo_job_instance ADD CONSTRAINT fk_following_job_id FOREIGN KEY (following_job_id) REFERENCES meveo_job_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE meveo_job_instance ADD CONSTRAINT fk_4hgoocwc77rh6ne8fct0f2y2h FOREIGN KEY (timerentity_id) REFERENCES meveo_timer (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1016', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1449, '8:103b3568bba1727442e7fb0aa0feb7ed', 'addForeignKeyConstraint baseTableName=meveo_job_instance, constraintName=fk_following_job_id, referencedTableName=meveo_job_instance; addForeignKeyConstraint baseTableName=meveo_job_instance, constraintName=fk_4hgoocwc77rh6ne8fct0f2y2h, referenced...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1018::AndriusKarpavicius
ALTER TABLE adm_notification ADD CONSTRAINT fk_notif_script_instance FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1018', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1451, '8:e6954ed8b47776f174c1b7f55b1aec10', 'addForeignKeyConstraint baseTableName=adm_notification, constraintName=fk_notif_script_instance, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1019::AndriusKarpavicius
ALTER TABLE adm_notif_job ADD CONSTRAINT fk_job_trigger_notif FOREIGN KEY (job_instance_id) REFERENCES meveo_job_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1019', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1453, '8:ccdf67af9474f788238f8dd516ab39b4', 'addForeignKeyConstraint baseTableName=adm_notif_job, constraintName=fk_job_trigger_notif, referencedTableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1027::AndriusKarpavicius
ALTER TABLE billing_invoice ADD CONSTRAINT fk_billing_invoice_adjusted_invoice FOREIGN KEY (invoice_id) REFERENCES billing_invoice (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1027', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1455, '8:8b33d226401d2cca90ffd77dbbd59451', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_billing_invoice_adjusted_invoice, referencedTableName=billing_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1032::AndriusKarpavicius
ALTER TABLE adm_script_notification ADD CONSTRAINT fk_n1n2i3ht998wlegdshme8gyfd FOREIGN KEY (id) REFERENCES adm_notification (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1032', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1457, '8:969686b12b710625aaa8c36461ba9c19', 'addForeignKeyConstraint baseTableName=adm_script_notification, constraintName=fk_n1n2i3ht998wlegdshme8gyfd, referencedTableName=adm_notification', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1039::AndriusKarpavicius
ALTER TABLE meveo_module_item ADD CONSTRAINT fk_meveo_module_item_meveo_module FOREIGN KEY (module_id) REFERENCES meveo_module (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1039', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1459, '8:b7f7ed05f4d5c219549714c6464e3961', 'addForeignKeyConstraint baseTableName=meveo_module_item, constraintName=fk_meveo_module_item_meveo_module, referencedTableName=meveo_module', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1044::AndriusKarpavicius
ALTER TABLE cat_offer_template ADD CONSTRAINT fk_cat_offer_template_script_instance_termination FOREIGN KEY (termination_script_instance_id) REFERENCES meveo_script_instance (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1044', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1461, '8:eb2cf5ca8dee688b6f63982e223aa564', 'addForeignKeyConstraint baseTableName=cat_offer_template, constraintName=fk_cat_offer_template_script_instance_termination, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1045::AndriusKarpavicius
ALTER TABLE cat_offer_template ADD CONSTRAINT fk_cat_offer_template_script_instance_subscription FOREIGN KEY (subscription_script_instance_id) REFERENCES meveo_script_instance (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1045', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1463, '8:4dbc2dc06f3bcc56e10ab8efd2881087', 'addForeignKeyConstraint baseTableName=cat_offer_template, constraintName=fk_cat_offer_template_script_instance_subscription, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1046::AndriusKarpavicius
ALTER TABLE cat_service_template ADD CONSTRAINT fk_cat_service_template_script_instance_termination FOREIGN KEY (termination_script_instance_id) REFERENCES meveo_script_instance (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1046', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1465, '8:92d2fc88e5ffd6cd8e7e087a5ddbe505', 'addForeignKeyConstraint baseTableName=cat_service_template, constraintName=fk_cat_service_template_script_instance_termination, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1047::AndriusKarpavicius
ALTER TABLE cat_service_template ADD CONSTRAINT fk_cat_service_template_script_instance_activation FOREIGN KEY (activation_script_instance_id) REFERENCES meveo_script_instance (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1047', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1467, '8:a85a2ad25139d1e4d3773df11c56ba2a', 'addForeignKeyConstraint baseTableName=cat_service_template, constraintName=fk_cat_service_template_script_instance_activation, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1050::AndriusKarpavicius
ALTER TABLE adm_script_exec_role ADD CONSTRAINT fk_sc_exc_role_sc FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1050', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1469, '8:fa680615dc5c26966ff790c05573fbc6', 'addForeignKeyConstraint baseTableName=adm_script_exec_role, constraintName=fk_sc_exc_role_sc, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1052::AndriusKarpavicius
ALTER TABLE adm_script_sourc_role ADD CONSTRAINT fk_sc_src_role_sc FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1052', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1471, '8:66a5dbb73a7e70443a5ef27fbd5f3805', 'addForeignKeyConstraint baseTableName=adm_script_sourc_role, constraintName=fk_sc_src_role_sc, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1057::AndriusKarpavicius
ALTER TABLE cat_offer_template_category ADD CONSTRAINT fk_offer_cat_template_offer_cat_template FOREIGN KEY (offer_template_category_id) REFERENCES cat_offer_template_category (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1057', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1473, '8:0564713bc123849b967e15996e67b21d', 'addForeignKeyConstraint baseTableName=cat_offer_template_category, constraintName=fk_offer_cat_template_offer_cat_template, referencedTableName=cat_offer_template_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1058::AndriusKarpavicius
ALTER TABLE cat_business_offer_model ADD CONSTRAINT fk_cat_bom_meveo_module FOREIGN KEY (id) REFERENCES meveo_module (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1058', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1475, '8:7d0aca21fc11e34ca2097ce516d626e0', 'addForeignKeyConstraint baseTableName=cat_business_offer_model, constraintName=fk_cat_bom_meveo_module, referencedTableName=meveo_module', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1059::AndriusKarpavicius
ALTER TABLE cat_business_offer_model ADD CONSTRAINT fk_cat_bom_offer_template FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1059', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1477, '8:a9da60cc974a6706fa7fcac043353e45', 'addForeignKeyConstraint baseTableName=cat_business_offer_model, constraintName=fk_cat_bom_offer_template, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1061::AndriusKarpavicius
ALTER TABLE cat_business_serv_model ADD CONSTRAINT fk_cat_bsm_meveo_module FOREIGN KEY (id) REFERENCES meveo_module (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1061', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1479, '8:d8401e6b4604c79edb2ba2c850501396', 'addForeignKeyConstraint baseTableName=cat_business_serv_model, constraintName=fk_cat_bsm_meveo_module, referencedTableName=meveo_module', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1062::AndriusKarpavicius
ALTER TABLE cat_business_serv_model ADD CONSTRAINT fk_cat_bsm_service_template FOREIGN KEY (service_template_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1062', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1481, '8:f53064e2fdafe1baab483b74ca4addbe', 'addForeignKeyConstraint baseTableName=cat_business_serv_model, constraintName=fk_cat_bsm_service_template, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1064::AndriusKarpavicius
ALTER TABLE cat_offer_serv_incomp ADD CONSTRAINT fk_cat_os_incomp_service_template FOREIGN KEY (service_template_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1064', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1483, '8:6f0a8f6ff4d9dfc3b408d4ce04498b12', 'addForeignKeyConstraint baseTableName=cat_offer_serv_incomp, constraintName=fk_cat_os_incomp_service_template, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1065::AndriusKarpavicius
ALTER TABLE cat_offer_serv_incomp ADD CONSTRAINT fk_cat_os_incomp_offer_template FOREIGN KEY (offer_service_template_id) REFERENCES cat_offer_serv_templates (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1065', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1485, '8:d401024d76a0b33aa3e230271c283c40', 'addForeignKeyConstraint baseTableName=cat_offer_serv_incomp, constraintName=fk_cat_os_incomp_offer_template, referencedTableName=cat_offer_serv_templates', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1066::AndriusKarpavicius
ALTER TABLE cat_offer_template ADD CONSTRAINT fk_cat_offer_template_bom FOREIGN KEY (business_offer_model_id) REFERENCES cat_business_offer_model (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1066', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1487, '8:7f164dbc2d7ad158e9e88f5fd118c42a', 'addForeignKeyConstraint baseTableName=cat_offer_template, constraintName=fk_cat_offer_template_bom, referencedTableName=cat_business_offer_model', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1067::AndriusKarpavicius
ALTER TABLE cat_service_template ADD CONSTRAINT fk_cat_service_template_bsm FOREIGN KEY (business_service_model_id) REFERENCES cat_business_serv_model (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1067', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1489, '8:523e395174c2049de1b3ccbb4ee39bc2', 'addForeignKeyConstraint baseTableName=cat_service_template, constraintName=fk_cat_service_template_bsm, referencedTableName=cat_business_serv_model', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1068::AndriusKarpavicius
ALTER TABLE crm_custom_field_tmpl_mcols ADD CONSTRAINT fk_cft_mcols_cft FOREIGN KEY (cft_id) REFERENCES crm_custom_field_tmpl (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1068', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1491, '8:ad4edbe123e90c98e8a569c1caf34f93', 'addForeignKeyConstraint baseTableName=crm_custom_field_tmpl_mcols, constraintName=fk_cft_mcols_cft, referencedTableName=crm_custom_field_tmpl', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1073::AndriusKarpavicius
ALTER TABLE ar_revenue_recog_rule ADD CONSTRAINT fk_ar_revenue_recog_rule_script FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1073', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1493, '8:13d91fe6699342a912a7aca803fb3111', 'addForeignKeyConstraint baseTableName=ar_revenue_recog_rule, constraintName=fk_ar_revenue_recog_rule_script, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1074::AndriusKarpavicius
ALTER TABLE cat_charge_template ADD CONSTRAINT fk_cat_charge_template_recog_rule FOREIGN KEY (revenue_recog_rule_id) REFERENCES ar_revenue_recog_rule (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1074', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1495, '8:0366b33eadee19cecdd05fbb745c3e85', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_cat_charge_template_recog_rule, referencedTableName=ar_revenue_recog_rule', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1076::AndriusKarpavicius
ALTER TABLE ar_revenue_schedule ADD CONSTRAINT fk_ar_revenue_schedule_charge FOREIGN KEY (charge_instance_id) REFERENCES billing_charge_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1076', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1497, '8:d128143ede3d00370f25b4d451d14132', 'addForeignKeyConstraint baseTableName=ar_revenue_schedule, constraintName=fk_ar_revenue_schedule_charge, referencedTableName=billing_charge_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1078::AndriusKarpavicius
ALTER TABLE meveo_module ADD CONSTRAINT fk_meveo_module_script_instance FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1078', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1499, '8:4afa78e8d4b5124c5fe8de9b0ab89f9a', 'addForeignKeyConstraint baseTableName=meveo_module, constraintName=fk_meveo_module_script_instance, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1082::AndriusKarpavicius
ALTER TABLE crm_custom_action ADD CONSTRAINT fk_cust_action_script_instance FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1082', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1501, '8:77a7419567faf85038447c73d77242cb', 'addForeignKeyConstraint baseTableName=crm_custom_action, constraintName=fk_cust_action_script_instance, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1086::AndriusKarpavicius
ALTER TABLE billing_invoice_type ADD CONSTRAINT fk_occ_template_id_billing_invoice_type FOREIGN KEY (occ_template_id) REFERENCES ar_occ_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1086', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1503, '8:b6a09e54cbebad2446f6e59d1a16e8a3', 'addForeignKeyConstraint baseTableName=billing_invoice_type, constraintName=fk_occ_template_id_billing_invoice_type, referencedTableName=ar_occ_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1087::AndriusKarpavicius
ALTER TABLE billing_invoice_type_applies_to ADD CONSTRAINT fk_invoice_type_appl_to_id_billing_invoice_type_applies_to FOREIGN KEY (invoice_type_id) REFERENCES billing_invoice_type (id) ON UPDATE CASCADE ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1087', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1505, '8:27f1fe1e7666ad07d3d21dc76c245e4c', 'addForeignKeyConstraint baseTableName=billing_invoice_type_applies_to, constraintName=fk_invoice_type_appl_to_id_billing_invoice_type_applies_to, referencedTableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1088::AndriusKarpavicius
ALTER TABLE billing_invoice_type_applies_to ADD CONSTRAINT fk_applies_to_id_billing_invoice_type_applies_to FOREIGN KEY (applies_to_id) REFERENCES billing_invoice_type (id) ON UPDATE CASCADE ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1088', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1507, '8:572590050fc1994b80d80322523fa434', 'addForeignKeyConstraint baseTableName=billing_invoice_type_applies_to, constraintName=fk_applies_to_id_billing_invoice_type_applies_to, referencedTableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1089::AndriusKarpavicius
ALTER TABLE billing_invoice ADD CONSTRAINT fk_invoice_type_id_billing_invoice FOREIGN KEY (invoice_type_id) REFERENCES billing_invoice_type (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1089', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1509, '8:54d6e209d1ab9952749dcc8b2dc446a1', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_invoice_type_id_billing_invoice, referencedTableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1092::AndriusKarpavicius
ALTER TABLE billing_cycle ADD CONSTRAINT fk_invoice_type_id_billing_cycle FOREIGN KEY (invoice_type_id) REFERENCES billing_invoice_type (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1092', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1511, '8:e0d0411e53087cad3633f12e2aa0e5c0', 'addForeignKeyConstraint baseTableName=billing_cycle, constraintName=fk_invoice_type_id_billing_cycle, referencedTableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1093::AndriusKarpavicius
ALTER TABLE billing_invoice_type ADD CONSTRAINT fk_occ_templ_negative_id_billing_invoice_type FOREIGN KEY (occ_templ_negative_id) REFERENCES ar_occ_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1093', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1513, '8:6c5e100ded4f2f46d5b097ee6cb9cf9d', 'addForeignKeyConstraint baseTableName=billing_invoice_type, constraintName=fk_occ_templ_negative_id_billing_invoice_type, referencedTableName=ar_occ_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1094::AndriusKarpavicius
ALTER TABLE cat_triggered_edr ADD CONSTRAINT fk_meveo_instance_id_com_meveo_instance FOREIGN KEY (meveo_instance_id) REFERENCES com_meveo_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1094', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1515, '8:a636abd074116e4ede936cc1caeb479b', 'addForeignKeyConstraint baseTableName=cat_triggered_edr, constraintName=fk_meveo_instance_id_com_meveo_instance, referencedTableName=com_meveo_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1101::AndriusKarpavicius
ALTER TABLE ord_order_item ADD CONSTRAINT fk_ord_order_item_ord_order FOREIGN KEY (order_id) REFERENCES ord_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1101', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1517, '8:c14576ea2b13738263f4a5f5ab5876ce', 'addForeignKeyConstraint baseTableName=ord_order_item, constraintName=fk_ord_order_item_ord_order, referencedTableName=ord_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1102::AndriusKarpavicius
ALTER TABLE ord_order_item ADD CONSTRAINT fk_ord_order_item_user_account FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1102', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1519, '8:c95b09d850602291d321dd72ac0b58af', 'addForeignKeyConstraint baseTableName=ord_order_item, constraintName=fk_ord_order_item_user_account, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1103::AndriusKarpavicius
ALTER TABLE ord_order_item ADD CONSTRAINT fk_ord_order_item_subscription FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1103', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1521, '8:910180ee414d0fa9ce5e67f260976cf9', 'addForeignKeyConstraint baseTableName=ord_order_item, constraintName=fk_ord_order_item_subscription, referencedTableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1107::AndriusKarpavicius
ALTER TABLE cat_product_offer_digital_res ADD CONSTRAINT fk_cat_product_offer_digital_res_l FOREIGN KEY (product_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1107', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1523, '8:b6bc380fefe3eb812986cd3590029feb', 'addForeignKeyConstraint baseTableName=cat_product_offer_digital_res, constraintName=fk_cat_product_offer_digital_res_l, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1108::AndriusKarpavicius
ALTER TABLE cat_product_offer_digital_res ADD CONSTRAINT fk_cat_product_offer_digital_res_r FOREIGN KEY (digital_resource_id) REFERENCES cat_digital_resource (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1108', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1525, '8:dbc09e4ce5fc058c02af089ecdbbb4fb', 'addForeignKeyConstraint baseTableName=cat_product_offer_digital_res, constraintName=fk_cat_product_offer_digital_res_r, referencedTableName=cat_digital_resource', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1110::AndriusKarpavicius
ALTER TABLE cat_offer_template ADD CONSTRAINT fk_cat_off_tpl_buss_prod_mod FOREIGN KEY (business_product_model_id) REFERENCES cat_business_product_model (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1110', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1527, '8:10cb7934fed352ed2b1c4d64920ae9e4', 'addForeignKeyConstraint baseTableName=cat_offer_template, constraintName=fk_cat_off_tpl_buss_prod_mod, referencedTableName=cat_business_product_model', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1111::AndriusKarpavicius
ALTER TABLE cat_offer_template ADD CONSTRAINT fk_off_tpl_prodcal FOREIGN KEY (invoicing_calendar_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1111', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1529, '8:66356fe7c039e4dae9b329aaadb70e83', 'addForeignKeyConstraint baseTableName=cat_offer_template, constraintName=fk_off_tpl_prodcal, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1112::AndriusKarpavicius
ALTER TABLE cat_offer_product_template ADD CONSTRAINT fk_cat_off_pro_tpl_offer_template FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1112', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1531, '8:52dff59229a9719f8f66460ad2791d43', 'addForeignKeyConstraint baseTableName=cat_offer_product_template, constraintName=fk_cat_off_pro_tpl_offer_template, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1113::AndriusKarpavicius
ALTER TABLE cat_offer_product_template ADD CONSTRAINT fk_cat_off_prod_tpl_off_tpl FOREIGN KEY (product_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1113', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1533, '8:6e54775710ccc1e68f3273a5c09cdddf', 'addForeignKeyConstraint baseTableName=cat_offer_product_template, constraintName=fk_cat_off_prod_tpl_off_tpl, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1114::AndriusKarpavicius
ALTER TABLE cat_bundle_product_template ADD CONSTRAINT fk_cat_bun_pro_tpl_prod_off_tpl FOREIGN KEY (product_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1114', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1535, '8:95189db87c5b7a29119b00e366f427a1', 'addForeignKeyConstraint baseTableName=cat_bundle_product_template, constraintName=fk_cat_bun_pro_tpl_prod_off_tpl, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1115::AndriusKarpavicius
ALTER TABLE cat_bundle_product_template ADD CONSTRAINT fk_cat_bun_prod_tpl_prod_off_tpl FOREIGN KEY (bundle_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1115', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1537, '8:37ea8f1655c8b2674727000d1628e7d7', 'addForeignKeyConstraint baseTableName=cat_bundle_product_template, constraintName=fk_cat_bun_prod_tpl_prod_off_tpl, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1116::AndriusKarpavicius
ALTER TABLE billing_charge_instance ADD CONSTRAINT fk_chrg_instance_ua FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1116', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1539, '8:f3b6f781cd0fb75ca6dc126a26d3e919', 'addForeignKeyConstraint baseTableName=billing_charge_instance, constraintName=fk_chrg_instance_ua, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1121::AndriusKarpavicius
ALTER TABLE billing_product_instance ADD CONSTRAINT fk_productci_off_tpl FOREIGN KEY (product_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1121', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1541, '8:dbbf96915e9be5705909cb44243de899', 'addForeignKeyConstraint baseTableName=billing_product_instance, constraintName=fk_productci_off_tpl, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1122::AndriusKarpavicius
ALTER TABLE billing_product_instance ADD CONSTRAINT fk_prod_instance_ua FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1122', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1543, '8:c253394289bd0cc390cc77932d4cabed', 'addForeignKeyConstraint baseTableName=billing_product_instance, constraintName=fk_prod_instance_ua, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1123::AndriusKarpavicius
ALTER TABLE ord_item_prd_instance ADD CONSTRAINT fk_ord_item_prd_instance_order FOREIGN KEY (order_item_id) REFERENCES ord_order_item (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1123', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1545, '8:445842175ee8b5c3b9d0b9cedc90d7d8', 'addForeignKeyConstraint baseTableName=ord_item_prd_instance, constraintName=fk_ord_item_prd_instance_order, referencedTableName=ord_order_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1124::AndriusKarpavicius
ALTER TABLE ord_item_prd_instance ADD CONSTRAINT fk_ord_item_prd_instance_prd_instance FOREIGN KEY (prd_instance_id) REFERENCES billing_product_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1124', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1547, '8:8711ccc763973ac83e7d12a0d7bca3dd', 'addForeignKeyConstraint baseTableName=ord_item_prd_instance, constraintName=fk_ord_item_prd_instance_prd_instance, referencedTableName=billing_product_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1125::AndriusKarpavicius
ALTER TABLE ord_item_offerings ADD CONSTRAINT fk_ord_item_offerings_order FOREIGN KEY (order_item_id) REFERENCES ord_order_item (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1125', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1549, '8:d2e86183622b67f570e158d884e6a4c7', 'addForeignKeyConstraint baseTableName=ord_item_offerings, constraintName=fk_ord_item_offerings_order, referencedTableName=ord_order_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1126::AndriusKarpavicius
ALTER TABLE ord_item_offerings ADD CONSTRAINT fk_ord_item_offerings_prd_offering FOREIGN KEY (prd_offering_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1126', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1551, '8:83982dc44fa4b5d444ebd325d388db3e', 'addForeignKeyConstraint baseTableName=ord_item_offerings, constraintName=fk_ord_item_offerings_prd_offering, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1130::AndriusKarpavicius
ALTER TABLE hierarchy_entity ADD CONSTRAINT fk_hierarchy_entity_hierarchy_entity FOREIGN KEY (parent_id) REFERENCES hierarchy_entity (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1130', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1553, '8:e0872ef9121fc154e9fd733aa3df4614', 'addForeignKeyConstraint baseTableName=hierarchy_entity, constraintName=fk_hierarchy_entity_hierarchy_entity, referencedTableName=hierarchy_entity', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1135::AndriusKarpavicius
ALTER TABLE wf_transition_decision_rule ADD CONSTRAINT fk_transition_id_wf_transition FOREIGN KEY (transition_id) REFERENCES wf_transition (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1135', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1555, '8:243ef83ce6accb5454545499b8cc3f73', 'addForeignKeyConstraint baseTableName=wf_transition_decision_rule, constraintName=fk_transition_id_wf_transition, referencedTableName=wf_transition', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1136::AndriusKarpavicius
ALTER TABLE wf_transition_decision_rule ADD CONSTRAINT fk_decision_rule_id_decision_rule FOREIGN KEY (decision_rule_id) REFERENCES wf_decision_rule (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1136', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1557, '8:6e65927a63aa9259f63a4cebf247beca', 'addForeignKeyConstraint baseTableName=wf_transition_decision_rule, constraintName=fk_decision_rule_id_decision_rule, referencedTableName=wf_decision_rule', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1137::AndriusKarpavicius
ALTER TABLE crm_seller ADD CONSTRAINT fk_seller_bam FOREIGN KEY (bam_id) REFERENCES crm_business_account_model (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE crm_customer ADD CONSTRAINT fk_cust_bam FOREIGN KEY (bam_id) REFERENCES crm_business_account_model (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE ar_customer_account ADD CONSTRAINT fk_ca_bam FOREIGN KEY (bam_id) REFERENCES crm_business_account_model (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_billing_account ADD CONSTRAINT fk_ba_bam FOREIGN KEY (bam_id) REFERENCES crm_business_account_model (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_user_account ADD CONSTRAINT fk_ua_bam FOREIGN KEY (bam_id) REFERENCES crm_business_account_model (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE com_contact ADD CONSTRAINT fk_com_contact_bam FOREIGN KEY (bam_id) REFERENCES crm_business_account_model (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1137', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1559, '8:91090fbde3dca67740ced01965782501', 'addForeignKeyConstraint baseTableName=crm_seller, constraintName=fk_seller_bam, referencedTableName=crm_business_account_model; addForeignKeyConstraint baseTableName=crm_customer, constraintName=fk_cust_bam, referencedTableName=crm_business_accoun...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1143::AndriusKarpavicius
ALTER TABLE wf_history ADD CONSTRAINT fk_workflow_wf_history_wf_workflow FOREIGN KEY (workflow_id) REFERENCES wf_workflow (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1143', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1561, '8:137aefeb09646228b176d919278d42c8', 'addForeignKeyConstraint baseTableName=wf_history, constraintName=fk_workflow_wf_history_wf_workflow, referencedTableName=wf_workflow', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1144::AndriusKarpavicius
ALTER TABLE wf_history_action ADD CONSTRAINT fk_workflow_history_wf_history_action_wf_history FOREIGN KEY (wf_history_id) REFERENCES wf_history (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1144', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1563, '8:e26708d02a832aae680b66e55e5687b6', 'addForeignKeyConstraint baseTableName=wf_history_action, constraintName=fk_workflow_history_wf_history_action_wf_history, referencedTableName=wf_history', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1145::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1145', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1565, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1151::AndriusKarpavicius
ALTER TABLE ord_quote_item ADD CONSTRAINT fk_ord_quote_item_ord_order FOREIGN KEY (quote_id) REFERENCES ord_quote (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1151', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1567, '8:99b48d8f8fa3327f526ef41639f0fccf', 'addForeignKeyConstraint baseTableName=ord_quote_item, constraintName=fk_ord_quote_item_ord_order, referencedTableName=ord_quote', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1152::AndriusKarpavicius
ALTER TABLE ord_quote_item ADD CONSTRAINT fk_ord_quote_item_user_account FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1152', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1569, '8:7ce8878fed5d7ff1c3225854ac585aec', 'addForeignKeyConstraint baseTableName=ord_quote_item, constraintName=fk_ord_quote_item_user_account, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1153::AndriusKarpavicius
ALTER TABLE ord_quot_item_offerings ADD CONSTRAINT fk_ord_quote_item_offerings_order FOREIGN KEY (quote_item_id) REFERENCES ord_quote_item (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1153', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1571, '8:7eae27a7193d0e17592a595135dc319a', 'addForeignKeyConstraint baseTableName=ord_quot_item_offerings, constraintName=fk_ord_quote_item_offerings_order, referencedTableName=ord_quote_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1154::AndriusKarpavicius
ALTER TABLE ord_quot_item_offerings ADD CONSTRAINT fk_ord_quote_item_offerings_prd_offering FOREIGN KEY (prd_offering_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1154', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1573, '8:40bc04785bf06f883bbccdca27e3c2ef', 'addForeignKeyConstraint baseTableName=ord_quot_item_offerings, constraintName=fk_ord_quote_item_offerings_prd_offering, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1155::AndriusKarpavicius
ALTER TABLE billing_invoices_orders ADD CONSTRAINT "fk_invoice_id_bill_invoices-orders" FOREIGN KEY (invoice_id) REFERENCES billing_invoice (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1155', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1575, '8:8b93f04f03ba7e6d88e5798161ebf546', 'addForeignKeyConstraint baseTableName=billing_invoices_orders, constraintName=fk_invoice_id_bill_invoices-orders, referencedTableName=billing_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1156::AndriusKarpavicius
ALTER TABLE billing_invoices_orders ADD CONSTRAINT "fk_order_id_bill_invoices-orders" FOREIGN KEY (order_id) REFERENCES ord_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1156', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1577, '8:8b4b45aa84607cf05c8b102000ca7e47', 'addForeignKeyConstraint baseTableName=billing_invoices_orders, constraintName=fk_order_id_bill_invoices-orders, referencedTableName=ord_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1158::AndriusKarpavicius
ALTER TABLE cat_product_templ_charge_templ ADD CONSTRAINT fk_prd_templ_ct_pt_id FOREIGN KEY (product_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1158', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1579, '8:698323d2918c323a6a65b4d6814a635d', 'addForeignKeyConstraint baseTableName=cat_product_templ_charge_templ, constraintName=fk_prd_templ_ct_pt_id, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1159::AndriusKarpavicius
ALTER TABLE ord_quote ADD CONSTRAINT fk_ord_quote_user_account FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1159', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1581, '8:4678daf1963e0e774f91629347e33388', 'addForeignKeyConstraint baseTableName=ord_quote, constraintName=fk_ord_quote_user_account, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1160::AndriusKarpavicius
ALTER TABLE billing_invoice ADD CONSTRAINT fk_bill_invoice_quote FOREIGN KEY (quote_id) REFERENCES ord_quote (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1160', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1583, '8:3ef2c24ca0ad24a9806f6cc680c37dd5', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_bill_invoice_quote, referencedTableName=ord_quote', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1161::AndriusKarpavicius
ALTER TABLE billing_seq_invtyp_sell ADD CONSTRAINT fk_2rjk30cy77bs2jxqwsbrhk6qb FOREIGN KEY (invoicetype_id) REFERENCES billing_invoice_type (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1161', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1585, '8:d24bce50d3ca0e6ec93e304fa9149624', 'addForeignKeyConstraint baseTableName=billing_seq_invtyp_sell, constraintName=fk_2rjk30cy77bs2jxqwsbrhk6qb, referencedTableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1162::AndriusKarpavicius
ALTER TABLE billing_seq_invtyp_sell ADD CONSTRAINT fk_ivmab13iml7v0n29giw9w8kor FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1162', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1587, '8:3fdb86899c4c3c4f265701f7e8cbcf59', 'addForeignKeyConstraint baseTableName=billing_seq_invtyp_sell, constraintName=fk_ivmab13iml7v0n29giw9w8kor, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1163::AndriusKarpavicius
ALTER TABLE ar_payment_token ADD CONSTRAINT fk_ca_id_payment_token FOREIGN KEY (customer_account_id) REFERENCES ar_customer_account (id) ON UPDATE NO ACTION ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1163', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1589, '8:7d36d4b49e1f5e0682642334c6037520', 'addForeignKeyConstraint baseTableName=ar_payment_token, constraintName=fk_ca_id_payment_token, referencedTableName=ar_customer_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-11633::hhanine
ALTER TABLE ar_credit_category ADD CONSTRAINT fk_acc_id_payment_token FOREIGN KEY (provider_id) REFERENCES crm_provider (id) ON UPDATE NO ACTION ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-11633', 'hhanine', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1591, '8:74482d3789b0428773aa467033d99a98', 'addForeignKeyConstraint baseTableName=ar_credit_category, constraintName=fk_acc_id_payment_token, referencedTableName=crm_provider', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1164::AndriusKarpavicius
ALTER TABLE billing_subscription ADD CONSTRAINT fk_sub_auto_tr_id FOREIGN KEY (auto_termin_reason_id) REFERENCES billing_subscrip_termin_reason (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1164', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1593, '8:7c25984265b898b77a62898991aa32f0', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_sub_auto_tr_id, referencedTableName=billing_subscrip_termin_reason', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1165::AndriusKarpavicius
ALTER TABLE ord_order ADD CONSTRAINT fk_order_payment_method FOREIGN KEY (payment_method_id) REFERENCES ar_payment_token (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1165', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1595, '8:fdcebf1cd971e8cc8e26d9b5809af51c', 'addForeignKeyConstraint baseTableName=ord_order, constraintName=fk_order_payment_method, referencedTableName=ar_payment_token', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1166::AndriusKarpavicius
ALTER TABLE ord_order ADD CONSTRAINT fk_order_quote FOREIGN KEY (quote_id) REFERENCES ord_quote (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1166', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1597, '8:ed050002146d7285331aabda34ac0475', 'addForeignKeyConstraint baseTableName=ord_order, constraintName=fk_order_quote, referencedTableName=ord_quote', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1167::AndriusKarpavicius
ALTER TABLE ar_payment_gateway ADD CONSTRAINT fk_paygw_script_instance FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1167', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1599, '8:9b6d3706babd2b4f468633a833db2526', 'addForeignKeyConstraint baseTableName=ar_payment_gateway, constraintName=fk_paygw_script_instance, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1169::AndriusKarpavicius
ALTER TABLE ar_payment_gateway ADD CONSTRAINT fk_paygw_trad_currency FOREIGN KEY (trading_currency_id) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1169', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1601, '8:159f84bbb63296e1e09020a4df047f67', 'addForeignKeyConstraint baseTableName=ar_payment_gateway, constraintName=fk_paygw_trad_currency, referencedTableName=billing_trading_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1170::AndriusKarpavicius
ALTER TABLE cat_offer_template ADD CONSTRAINT fk_offer_script FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1170', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1603, '8:0b3d3ad3760a24e7402557462c0e652c', 'addForeignKeyConstraint baseTableName=cat_offer_template, constraintName=fk_offer_script, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1171::AndriusKarpavicius
ALTER TABLE cat_product_offer_seller ADD CONSTRAINT fk_pos_seller FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1171', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1605, '8:800e4eb2e7fcbf28e498d0fc65e64d87', 'addForeignKeyConstraint baseTableName=cat_product_offer_seller, constraintName=fk_pos_seller, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1172::AndriusKarpavicius
ALTER TABLE cat_product_offer_seller ADD CONSTRAINT fk_pos_product FOREIGN KEY (product_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1172', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1607, '8:aa0a2605bf19e5d73b7e1a3f3a52d647', 'addForeignKeyConstraint baseTableName=cat_product_offer_seller, constraintName=fk_pos_product, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1173::AndriusKarpavicius
ALTER TABLE cat_price_plan_matrix ADD CONSTRAINT fk_pp_script FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1173', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1609, '8:a63240dca3aca583ff85ed00759bd8c1', 'addForeignKeyConstraint baseTableName=cat_price_plan_matrix, constraintName=fk_pp_script, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1174::AndriusKarpavicius
ALTER TABLE ar_payment_history ADD CONSTRAINT fk_payhisto_ao_pay FOREIGN KEY (payment_id) REFERENCES ar_account_operation (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1174', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1611, '8:55fbd32cc5d85ee5fc6a1468faffec9e', 'addForeignKeyConstraint baseTableName=ar_payment_history, constraintName=fk_payhisto_ao_pay, referencedTableName=ar_account_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1175::AndriusKarpavicius
ALTER TABLE ar_payment_history ADD CONSTRAINT fk_payhisto_ao_refund FOREIGN KEY (refund_id) REFERENCES ar_account_operation (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1175', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1613, '8:8eeff2b2e1362015142a358ac4d3282d', 'addForeignKeyConstraint baseTableName=ar_payment_history, constraintName=fk_payhisto_ao_refund, referencedTableName=ar_account_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1176::AndriusKarpavicius
ALTER TABLE crm_seller ADD CONSTRAINT fk_seller_country_id FOREIGN KEY (address_country_id) REFERENCES adm_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE crm_customer ADD CONSTRAINT fk_cust_country_id FOREIGN KEY (address_country_id) REFERENCES adm_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE ar_customer_account ADD CONSTRAINT fk_ca_country_id FOREIGN KEY (address_country_id) REFERENCES adm_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_billing_account ADD CONSTRAINT fk_ba_country_id FOREIGN KEY (address_country_id) REFERENCES adm_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_user_account ADD CONSTRAINT fk_ua_country_id FOREIGN KEY (address_country_id) REFERENCES adm_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE com_contact ADD CONSTRAINT fk_com_contact_country_id FOREIGN KEY (address_country_id) REFERENCES adm_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1176', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1615, '8:047e89ec6f4315435f47e48ccf72bec7', 'addForeignKeyConstraint baseTableName=crm_seller, constraintName=fk_seller_country_id, referencedTableName=adm_country; addForeignKeyConstraint baseTableName=crm_customer, constraintName=fk_cust_country_id, referencedTableName=adm_country; addFore...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1177::AndriusKarpavicius
ALTER TABLE com_sender_config ADD CONSTRAINT fk_country_id_sender FOREIGN KEY (address_country_id) REFERENCES adm_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1177', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1617, '8:d5e854fc07bbdf54f3ceb6aacd7d1312', 'addForeignKeyConstraint baseTableName=com_sender_config, constraintName=fk_country_id_sender, referencedTableName=adm_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1178::AndriusKarpavicius
ALTER TABLE crm_provider_contact ADD CONSTRAINT fk_country_id_prov_contact FOREIGN KEY (address_country_id) REFERENCES adm_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1178', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1619, '8:a2e91482d1f710e1a2d7e86707e81f8a', 'addForeignKeyConstraint baseTableName=crm_provider_contact, constraintName=fk_country_id_prov_contact, referencedTableName=adm_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1179::AndriusKarpavicius
ALTER TABLE crm_provider ADD CONSTRAINT fk_country_id_prov FOREIGN KEY (address_country_id) REFERENCES adm_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1179', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1621, '8:e3604ba0407b31e54c5a9fd4d3425bb2', 'addForeignKeyConstraint baseTableName=crm_provider, constraintName=fk_country_id_prov, referencedTableName=adm_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1181::AndriusKarpavicius
ALTER TABLE ord_order_item ADD CONSTRAINT fk_country_id_order FOREIGN KEY (address_country_id) REFERENCES adm_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1181', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1623, '8:8ed0dce77dd5083a3a1ed5d7ab458898', 'addForeignKeyConstraint baseTableName=ord_order_item, constraintName=fk_country_id_order, referencedTableName=adm_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1182::AndriusKarpavicius
ALTER TABLE ar_payment_gateway ADD CONSTRAINT fk_paygw_country FOREIGN KEY (country_id) REFERENCES adm_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1182', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1625, '8:75b3350867560de1d91031c6f2afda58', 'addForeignKeyConstraint baseTableName=ar_payment_gateway, constraintName=fk_paygw_country, referencedTableName=adm_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1183::AndriusKarpavicius
ALTER TABLE dwh_report_extract ADD CONSTRAINT fk_report_extract_script_instance FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1183', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1627, '8:30aa8d35b7723e065bf5cf98ec65cdf3', 'addForeignKeyConstraint baseTableName=dwh_report_extract, constraintName=fk_report_extract_script_instance, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1184::AndriusKarpavicius
ALTER TABLE billing_accounting_code ADD CONSTRAINT fk_billing_accounting_code_parent FOREIGN KEY (parent_accounting_code_id) REFERENCES billing_accounting_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1184', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1629, '8:a790c180836f5ef03fb7f5d2b16754bf', 'addForeignKeyConstraint baseTableName=billing_accounting_code, constraintName=fk_billing_accounting_code_parent, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1185::AndriusKarpavicius
ALTER TABLE billing_invoice_sub_cat ADD CONSTRAINT fk_billing_invoice_sub_cat_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1185', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1631, '8:31543634ac0846cb7f13a1ed590bf823', 'addForeignKeyConstraint baseTableName=billing_invoice_sub_cat, constraintName=fk_billing_invoice_sub_cat_accounting_code, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1186::AndriusKarpavicius
ALTER TABLE billing_tax ADD CONSTRAINT fk_billing_tax_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1186', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1633, '8:de9e3fab9ada706f3706caa6b7312c04', 'addForeignKeyConstraint baseTableName=billing_tax, constraintName=fk_billing_tax_accounting_code, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1187::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_billing_invoice_aggregate_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1187', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1635, '8:67b4de4c052fa2755fadc14095848343', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_billing_invoice_aggregate_accounting_code, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1188::AndriusKarpavicius
ALTER TABLE dwh_account_operation ADD CONSTRAINT fk_dwh_account_operation_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1188', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1637, '8:f079f6ec49cf870f43483606b3d11e47', 'addForeignKeyConstraint baseTableName=dwh_account_operation, constraintName=fk_dwh_account_operation_accounting_code, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1189::AndriusKarpavicius
ALTER TABLE dwh_journal_entries ADD CONSTRAINT fk_dwh_journal_entries_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1189', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1639, '8:60494e43519fc7117f6b48e75640f3d9', 'addForeignKeyConstraint baseTableName=dwh_journal_entries, constraintName=fk_dwh_journal_entries_accounting_code, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1190::AndriusKarpavicius
ALTER TABLE ar_occ_template ADD CONSTRAINT fk_ar_occ_template_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1190', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1641, '8:a011439d0210d5e6e01fa89342d067f7', 'addForeignKeyConstraint baseTableName=ar_occ_template, constraintName=fk_ar_occ_template_accounting_code, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1191::AndriusKarpavicius
ALTER TABLE ar_account_operation ADD CONSTRAINT fk_ar_account_operation_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1191', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1643, '8:ef96328d4d4f99e74d2e5bbb21fc9160', 'addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_ar_account_operation_accounting_code, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1192::AndriusKarpavicius
ALTER TABLE ord_order_history ADD CONSTRAINT fk_order_history_order_item FOREIGN KEY (order_item_id) REFERENCES ord_order_item (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1192', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1645, '8:ccabd3afd9c33ca5c262e4e1869cfb1a', 'addForeignKeyConstraint baseTableName=ord_order_history, constraintName=fk_order_history_order_item, referencedTableName=ord_order_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1193::AndriusKarpavicius
ALTER TABLE ord_order_history ADD CONSTRAINT fk_order_history_billing_service_instance FOREIGN KEY (service_instance_id) REFERENCES billing_service_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1193', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1647, '8:ecae242b896f0541e00f02b29740a1e6', 'addForeignKeyConstraint baseTableName=ord_order_history, constraintName=fk_order_history_billing_service_instance, referencedTableName=billing_service_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1194::AndriusKarpavicius
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_billing_wallet_operation_billing_invoice_sub_cat FOREIGN KEY (invoice_sub_category_id) REFERENCES billing_invoice_sub_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1194', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1649, '8:5b3372a6bb6f922e072d768b03da5610', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_billing_wallet_operation_billing_invoice_sub_cat, referencedTableName=billing_invoice_sub_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1195::AndriusKarpavicius
ALTER TABLE dwh_report_extract_execution ADD CONSTRAINT dwh_report_extract_execution_re_fk FOREIGN KEY (report_extract_id) REFERENCES dwh_report_extract (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1195', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1651, '8:d5ff2eb6c51b5cd367c8159047fece72', 'addForeignKeyConstraint baseTableName=dwh_report_extract_execution, constraintName=dwh_report_extract_execution_re_fk, referencedTableName=dwh_report_extract', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1196::AndriusKarpavicius
ALTER TABLE meveo_script_instance ADD CONSTRAINT "fk_meveo_script_instance-category" FOREIGN KEY (script_instance_cat_id) REFERENCES meveo_script_instance_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1196', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1653, '8:11c1096608ac96c41437623873826a41', 'addForeignKeyConstraint baseTableName=meveo_script_instance, constraintName=fk_meveo_script_instance-category, referencedTableName=meveo_script_instance_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1197::AndriusKarpavicius
ALTER TABLE cat_service_template ADD CONSTRAINT fk_st_auto_tr_id FOREIGN KEY (auto_termin_reason_id) REFERENCES billing_subscrip_termin_reason (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1197', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1655, '8:6d788710329b3c7a393e4d97b904011a', 'addForeignKeyConstraint baseTableName=cat_service_template, constraintName=fk_st_auto_tr_id, referencedTableName=billing_subscrip_termin_reason', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1198::AndriusKarpavicius
ALTER TABLE billing_service_instance ADD CONSTRAINT fk_si_auto_tr_id FOREIGN KEY (auto_termin_reason_id) REFERENCES billing_subscrip_termin_reason (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1198', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1657, '8:f2ec726451c0a5f0d69174a2ed3a53c7', 'addForeignKeyConstraint baseTableName=billing_service_instance, constraintName=fk_si_auto_tr_id, referencedTableName=billing_subscrip_termin_reason', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1199::AndriusKarpavicius
ALTER TABLE billing_invoice_cat ADD CONSTRAINT fk_occ_cat_inv FOREIGN KEY (occ_template_id) REFERENCES ar_occ_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1199', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1659, '8:ed9629fe6410a1b3f8ffd91399d328b0', 'addForeignKeyConstraint baseTableName=billing_invoice_cat, constraintName=fk_occ_cat_inv, referencedTableName=ar_occ_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1200::AndriusKarpavicius
ALTER TABLE billing_invoice_cat ADD CONSTRAINT fk_occ_neg_cat_inv FOREIGN KEY (occ_templ_negative_id) REFERENCES ar_occ_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1200', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1661, '8:ebac1068cd8291631360903dcfa70e98', 'addForeignKeyConstraint baseTableName=billing_invoice_cat, constraintName=fk_occ_neg_cat_inv, referencedTableName=ar_occ_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1201::AndriusKarpavicius
ALTER TABLE ar_account_operation ADD CONSTRAINT fk_inv_aos FOREIGN KEY (recorded_invoice_id) REFERENCES ar_account_operation (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1201', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1663, '8:7b717ef81be6d0407c65422fdc50ff07', 'addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_inv_aos, referencedTableName=ar_account_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1202::AndriusKarpavicius
ALTER TABLE ar_account_operation ADD CONSTRAINT fk_inv_cat_agregate FOREIGN KEY (cat_inv_agregate_id) REFERENCES billing_invoice_agregate (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1202', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1665, '8:b77411f3d8a75faa5d36c4690538e75f', 'addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_inv_cat_agregate, referencedTableName=billing_invoice_agregate', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1203::AndriusKarpavicius
ALTER TABLE billing_invoice_type ADD CONSTRAINT fk_invoice_type_script_instance FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1203', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1667, '8:f6151f1d1d834a9a6a235c12d73b6725', 'addForeignKeyConstraint baseTableName=billing_invoice_type, constraintName=fk_invoice_type_script_instance, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1204::AndriusKarpavicius
ALTER TABLE billing_seq_invtyp_sell ADD CONSTRAINT fk_billing_seq_invtyp_sell_billing_seq_invoice FOREIGN KEY (invoice_sequence_id) REFERENCES billing_seq_invoice (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1204', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1669, '8:eedeb2e463dd68dea4467797661a62e5', 'addForeignKeyConstraint baseTableName=billing_seq_invtyp_sell, constraintName=fk_billing_seq_invtyp_sell_billing_seq_invoice, referencedTableName=billing_seq_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1205::AndriusKarpavicius
ALTER TABLE billing_invoice_type ADD CONSTRAINT fk_billing_invoice_type_billing_seq_invoice FOREIGN KEY (invoice_sequence_id) REFERENCES billing_seq_invoice (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1205', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1671, '8:d86bfcf9004f9f617d1d1fe9ce56c018', 'addForeignKeyConstraint baseTableName=billing_invoice_type, constraintName=fk_billing_invoice_type_billing_seq_invoice, referencedTableName=billing_seq_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1206::AndriusKarpavicius
ALTER TABLE billing_subscription ADD CONSTRAINT fk_billing_subscription_crm_seller FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1206', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1673, '8:4da099c7855f1e0e3789a54f62710797', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_billing_subscription_crm_seller, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1207::AndriusKarpavicius
ALTER TABLE billing_invoice ADD CONSTRAINT fk_billing_invoice_crm_seller FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1207', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1675, '8:ba98fe01a584f843e1d62d679d511b1c', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_billing_invoice_crm_seller, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1208::AndriusKarpavicius
ALTER TABLE billing_product_instance ADD CONSTRAINT fk_billing_product_instance_crm_seller FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1208', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1677, '8:3506486476cb78a82205010b057c990a', 'addForeignKeyConstraint baseTableName=billing_product_instance, constraintName=fk_billing_product_instance_crm_seller, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1209::AndriusKarpavicius
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_billing_rated_transaction_crm_seller FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1209', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1679, '8:f35dbe5b04c9abd334015237553e5336', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_billing_rated_transaction_crm_seller, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1211::AndriusKarpavicius
ALTER TABLE ar_ddrequest_lot_op ADD CONSTRAINT fk_op_ddreq_builder_id FOREIGN KEY (ddrequest_builder_id) REFERENCES ar_ddrequest_builder (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1211', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1681, '8:77a39cbd7f9dbf36cd6b7c663cfa5984', 'addForeignKeyConstraint baseTableName=ar_ddrequest_lot_op, constraintName=fk_op_ddreq_builder_id, referencedTableName=ar_ddrequest_builder', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1212::AndriusKarpavicius
ALTER TABLE ar_ddrequest_lot_op ADD CONSTRAINT fk_op_ddreq_filter_id FOREIGN KEY (filter_id) REFERENCES meveo_filter (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1212', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1683, '8:cf4d1b06a964f1f873c02337c83a92bf', 'addForeignKeyConstraint baseTableName=ar_ddrequest_lot_op, constraintName=fk_op_ddreq_filter_id, referencedTableName=meveo_filter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1213::AndriusKarpavicius
ALTER TABLE ar_ddrequest_lot ADD CONSTRAINT fk_lot_req_builder_id FOREIGN KEY (ddrequest_builder_id) REFERENCES ar_ddrequest_builder (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1213', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1685, '8:e4a61969f3a6d283c365825bb71c163e', 'addForeignKeyConstraint baseTableName=ar_ddrequest_lot, constraintName=fk_lot_req_builder_id, referencedTableName=ar_ddrequest_builder', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1214::AndriusKarpavicius
ALTER TABLE ar_account_operation ADD CONSTRAINT fk_ao_ddreq_item_id FOREIGN KEY (ddrequest_item_id) REFERENCES ar_ddrequest_item (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1214', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1687, '8:7424e7f190be1d2f1a42aaf674216f1f', 'addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_ao_ddreq_item_id, referencedTableName=ar_ddrequest_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1215::AndriusKarpavicius
ALTER TABLE billing_invoice_sub_cat ADD CONSTRAINT fk_occ_sub_cat_inv FOREIGN KEY (occ_template_id) REFERENCES ar_occ_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1215', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1689, '8:40dcd576516a4f10a06138c042ec9b89', 'addForeignKeyConstraint baseTableName=billing_invoice_sub_cat, constraintName=fk_occ_sub_cat_inv, referencedTableName=ar_occ_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1216::AndriusKarpavicius
ALTER TABLE billing_invoice_sub_cat ADD CONSTRAINT fk_occ_neg_sub_cat_inv FOREIGN KEY (occ_templ_negative_id) REFERENCES ar_occ_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1216', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1691, '8:e29ecad59c6352316a7bdaa59049db2d', 'addForeignKeyConstraint baseTableName=billing_invoice_sub_cat, constraintName=fk_occ_neg_sub_cat_inv, referencedTableName=ar_occ_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1217::AndriusKarpavicius
ALTER TABLE ar_account_operation ADD CONSTRAINT fk_inv_sub_cat_agregate FOREIGN KEY (sub_cat_inv_agregate_id) REFERENCES billing_invoice_agregate (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1217', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1693, '8:d6c78aa53599f8b967972826be5c189f', 'addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_inv_sub_cat_agregate, referencedTableName=billing_invoice_agregate', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1218::AndriusKarpavicius
ALTER TABLE ar_payment_schedule_tmpl ADD CONSTRAINT fk_ps_calendar FOREIGN KEY (calendar_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1218', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1695, '8:1ca79c38f7740649f2bed1619ca6067c', 'addForeignKeyConstraint baseTableName=ar_payment_schedule_tmpl, constraintName=fk_ps_calendar, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1219::AndriusKarpavicius
ALTER TABLE ar_payment_schedule_tmpl ADD CONSTRAINT fk_ps_service_template FOREIGN KEY (service_template_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1219', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1697, '8:43ba02247b9392c8838a7264731d6eaa', 'addForeignKeyConstraint baseTableName=ar_payment_schedule_tmpl, constraintName=fk_ps_service_template, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1220::AndriusKarpavicius
ALTER TABLE ar_payment_schedule_tmpl ADD CONSTRAINT fk_ps_invoice_type FOREIGN KEY (adv_pay_inv_type_id) REFERENCES billing_invoice_type (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1220', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1699, '8:df58c1e4f320ebe20549534e823bdd5a', 'addForeignKeyConstraint baseTableName=ar_payment_schedule_tmpl, constraintName=fk_ps_invoice_type, referencedTableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1221::AndriusKarpavicius
ALTER TABLE ar_payment_schedule_tmpl ADD CONSTRAINT fk_ps_usage_charge FOREIGN KEY (adv_pay_sub_cat_id) REFERENCES billing_invoice_sub_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1221', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1701, '8:6b24016f6611729e0a9e8634e888c96f', 'addForeignKeyConstraint baseTableName=ar_payment_schedule_tmpl, constraintName=fk_ps_usage_charge, referencedTableName=billing_invoice_sub_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1222::AndriusKarpavicius
ALTER TABLE ar_payment_schedule_inst ADD CONSTRAINT fk_payment_schedule_tmpl_id FOREIGN KEY (payment_schedule_tmpl_id) REFERENCES ar_payment_schedule_tmpl (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1222', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1703, '8:84de826962fa5f236cb9c47a72ebd0c4', 'addForeignKeyConstraint baseTableName=ar_payment_schedule_inst, constraintName=fk_payment_schedule_tmpl_id, referencedTableName=ar_payment_schedule_tmpl', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1223::AndriusKarpavicius
ALTER TABLE ar_payment_schedule_inst ADD CONSTRAINT fk_service_instance_id FOREIGN KEY (service_instance_id) REFERENCES billing_service_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1223', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1705, '8:8d3cc9a70873044530c21c77fec7eb3b', 'addForeignKeyConstraint baseTableName=ar_payment_schedule_inst, constraintName=fk_service_instance_id, referencedTableName=billing_service_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1224::AndriusKarpavicius
ALTER TABLE ar_payment_schedule_inst_item ADD CONSTRAINT fk_ps_item_ps_innst FOREIGN KEY (payment_schedule_inst_id) REFERENCES ar_payment_schedule_inst (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1224', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1707, '8:fdae27baf64e254dff2722b2dae8a90e', 'addForeignKeyConstraint baseTableName=ar_payment_schedule_inst_item, constraintName=fk_ps_item_ps_innst, referencedTableName=ar_payment_schedule_inst', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1225::AndriusKarpavicius
ALTER TABLE ar_payment_schedule_inst_item ADD CONSTRAINT fk_ao_ps_id FOREIGN KEY (ao_ps_id) REFERENCES ar_account_operation (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1225', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1709, '8:922c169f3fb3736d469d1d245fed77b6', 'addForeignKeyConstraint baseTableName=ar_payment_schedule_inst_item, constraintName=fk_ao_ps_id, referencedTableName=ar_account_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1226::AndriusKarpavicius
ALTER TABLE ar_payment_schedule_inst_item ADD CONSTRAINT fk_invoice_id FOREIGN KEY (invoice_id) REFERENCES billing_invoice (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1226', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1711, '8:1c73bd0eeae76abe94a83e314579770d', 'addForeignKeyConstraint baseTableName=ar_payment_schedule_inst_item, constraintName=fk_invoice_id, referencedTableName=billing_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1227::AndriusKarpavicius
ALTER TABLE ar_account_operation ADD CONSTRAINT fk_pay_schdl_inst_item_id FOREIGN KEY (pay_schdl_inst_item_id) REFERENCES ar_payment_schedule_inst_item (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1227', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1713, '8:2138795c162372247e6fe28c4489fb87', 'addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_pay_schdl_inst_item_id, referencedTableName=ar_payment_schedule_inst_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1228::AndriusKarpavicius
ALTER TABLE billing_service_instance ADD CONSTRAINT fk_calendar_srv_inst FOREIGN KEY (calendar_ps_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1228', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1715, '8:d96785427526e4e474dbd46e9cd0c9d8', 'addForeignKeyConstraint baseTableName=billing_service_instance, constraintName=fk_calendar_srv_inst, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1229::AndriusKarpavicius
ALTER TABLE crm_customer_sequence ADD CONSTRAINT fk_crm_customer_sequence_seller FOREIGN KEY (seller_id) REFERENCES crm_seller (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1229', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1717, '8:995213ad21b82940ed0b2a28a74b7fc5', 'addForeignKeyConstraint baseTableName=crm_customer_sequence, constraintName=fk_crm_customer_sequence_seller, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1231::AndriusKarpavicius
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_rt_tax FOREIGN KEY (tax_id) REFERENCES billing_tax (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1231', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1719, '8:58a02365d50222be1cbb17d79c4bf60e', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_rt_tax, referencedTableName=billing_tax', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1232::AndriusKarpavicius
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_rt_ua FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1232', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1721, '8:9e5b17e115dca4d0e12625c3a866b73f', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_rt_ua, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1233::AndriusKarpavicius
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_wo_tax FOREIGN KEY (tax_id) REFERENCES billing_tax (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1233', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1723, '8:a54589a762a9030425d209bcc878f912', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_wo_tax, referencedTableName=billing_tax', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1234::AndriusKarpavicius
ALTER TABLE billing_invoice ADD CONSTRAINT fk_inv_subscription FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1234', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1725, '8:c82a776a4531ce0618d385b5076a1f30', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_inv_subscription, referencedTableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1235::AndriusKarpavicius
ALTER TABLE billing_invoice ADD CONSTRAINT fk_inv_order FOREIGN KEY (order_id) REFERENCES ord_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1235', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1727, '8:77c4a828828a1b958bc86fabaec1f69c', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_inv_order, referencedTableName=ord_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1236::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_ia_dpi FOREIGN KEY (discount_plan_item_id) REFERENCES cat_discount_plan_item (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1236', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1729, '8:b9ef150de6833ec8ac724755a980b665', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_ia_dpi, referencedTableName=cat_discount_plan_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1239::AndriusKarpavicius
ALTER TABLE crm_provider ADD CONSTRAINT fk_provider_invoice_config FOREIGN KEY (invoice_config_id) REFERENCES billing_invoice_configuration (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1239', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1731, '8:55b388b9d1df60bcd8be4ab69656877e', 'addForeignKeyConstraint baseTableName=crm_provider, constraintName=fk_provider_invoice_config, referencedTableName=billing_invoice_configuration', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1240::AndriusKarpavicius
ALTER TABLE crm_provider ADD CONSTRAINT fk_provider_gdpr_config FOREIGN KEY (gdpr_config_id) REFERENCES adm_gdpr_configuration (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1240', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1733, '8:b0b5a685f99b5338c87903d81d6d8211', 'addForeignKeyConstraint baseTableName=crm_provider, constraintName=fk_provider_gdpr_config, referencedTableName=adm_gdpr_configuration', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1241::AndriusKarpavicius
ALTER TABLE ar_payment_schedule_tmpl ADD CONSTRAINT fk_ps_script_instance FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1241', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1735, '8:013bbdb9bf5ba5e80df1bb2fa9ff2816', 'addForeignKeyConstraint baseTableName=ar_payment_schedule_tmpl, constraintName=fk_ps_script_instance, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1242::AndriusKarpavicius
ALTER TABLE billing_invoice_agregate ADD CONSTRAINT fk_icmfsev8m5n386ifttcgelv40 FOREIGN KEY (invoice_id) REFERENCES billing_invoice (id) ON UPDATE CASCADE ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1242', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1737, '8:de266810ea4ebcbaca28db024a43cd20', 'addForeignKeyConstraint baseTableName=billing_invoice_agregate, constraintName=fk_icmfsev8m5n386ifttcgelv40, referencedTableName=billing_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1243::AndriusKarpavicius
ALTER TABLE ar_account_operation ADD CONSTRAINT fk_ao_rejected_payment_id FOREIGN KEY (rejected_payment_id) REFERENCES ar_account_operation (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1243', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1739, '8:5227e5e71e119535c9ed5f07ad5d9824', 'addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_ao_rejected_payment_id, referencedTableName=ar_account_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1244::AndriusKarpavicius
ALTER TABLE billing_discount_plan_instance ADD CONSTRAINT billing_discount_plan_instance_dp_fk FOREIGN KEY (discount_plan_id) REFERENCES cat_discount_plan (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1244', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1741, '8:1a405dd13decfcb65f9a8d0844f9274c', 'addForeignKeyConstraint baseTableName=billing_discount_plan_instance, constraintName=billing_discount_plan_instance_dp_fk, referencedTableName=cat_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1245::AndriusKarpavicius
ALTER TABLE billing_discount_plan_instance ADD CONSTRAINT billing_discount_plan_instance_ba_fk FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1245', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1743, '8:5fd01b257eb27494e6dcdb8186151a19', 'addForeignKeyConstraint baseTableName=billing_discount_plan_instance, constraintName=billing_discount_plan_instance_ba_fk, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1246::AndriusKarpavicius
ALTER TABLE ar_payment_gateway_rum_sequence ADD CONSTRAINT fk_ar_payment_gateway_rum_sequence FOREIGN KEY (payment_gateway_id) REFERENCES ar_payment_gateway (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1246', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1745, '8:d37e16d6f790fa55f69c8345a1adb82c', 'addForeignKeyConstraint baseTableName=ar_payment_gateway_rum_sequence, constraintName=fk_ar_payment_gateway_rum_sequence, referencedTableName=ar_payment_gateway', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1247::AndriusKarpavicius
ALTER TABLE cat_serv_rec_charge_template ADD CONSTRAINT fk_serv_rec_charge_template_counter_template FOREIGN KEY (counter_template_id) REFERENCES cat_counter_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1247', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1747, '8:71a9c59e5b1c671d426758be4ca4fa04', 'addForeignKeyConstraint baseTableName=cat_serv_rec_charge_template, constraintName=fk_serv_rec_charge_template_counter_template, referencedTableName=cat_counter_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1249::AndriusKarpavicius
ALTER TABLE ar_ddrequest_item ADD CONSTRAINT fk_dd_item_refund_id FOREIGN KEY (refund_id) REFERENCES ar_account_operation (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1249', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1749, '8:9a82819febea8b21aa0bbcae09eccb4f', 'addForeignKeyConstraint baseTableName=ar_ddrequest_item, constraintName=fk_dd_item_refund_id, referencedTableName=ar_account_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1250::AndriusKarpavicius
ALTER TABLE ar_ddrequest_lot_op ADD CONSTRAINT fk_dd_item_sell_id FOREIGN KEY (seller_id) REFERENCES crm_seller (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1250', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1751, '8:0e4d053dee3cc1fede1a0616f2dcce2a', 'addForeignKeyConstraint baseTableName=ar_ddrequest_lot_op, constraintName=fk_dd_item_sell_id, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1251::AndriusKarpavicius
ALTER TABLE ar_payment_gateway ADD CONSTRAINT fk_sell_id_pg FOREIGN KEY (seller_id) REFERENCES crm_seller (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1251', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1753, '8:db7966d7238b802104965020b195d17d', 'addForeignKeyConstraint baseTableName=ar_payment_gateway, constraintName=fk_sell_id_pg, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1252::AndriusKarpavicius
ALTER TABLE ar_account_operation ADD CONSTRAINT fk_sell_id_ao FOREIGN KEY (seller_id) REFERENCES crm_seller (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1252', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1755, '8:8e91c95ee0b1a3c45612880a42a86701', 'addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_sell_id_ao, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1253::AndriusKarpavicius
ALTER TABLE ar_ddrequest_lot ADD CONSTRAINT fk_sell_id_dd_lot FOREIGN KEY (seller_id) REFERENCES crm_seller (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1253', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1757, '8:3ab4971d70de9ed6f62af13e6e9a01f8', 'addForeignKeyConstraint baseTableName=ar_ddrequest_lot, constraintName=fk_sell_id_dd_lot, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1254::AndriusKarpavicius
ALTER TABLE crm_customer_category ADD CONSTRAINT fk_crm_customer_category_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1254', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1759, '8:1e823d8e6b1e0c31d5170a1016c964ab', 'addForeignKeyConstraint baseTableName=crm_customer_category, constraintName=fk_crm_customer_category_accounting_code, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1255::AndriusKarpavicius
ALTER TABLE ar_other_transaction ADD CONSTRAINT fk_ar_other_transaction_general_ledger FOREIGN KEY (general_ledger_id) REFERENCES billing_general_ledger (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1255', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1761, '8:9752fcee03b8516387181b1d21b73200', 'addForeignKeyConstraint baseTableName=ar_other_transaction, constraintName=fk_ar_other_transaction_general_ledger, referencedTableName=billing_general_ledger', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1256::AndriusKarpavicius
ALTER TABLE ar_other_transaction ADD CONSTRAINT fk_ar_other_transaction_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1256', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1763, '8:bb264afbd6fd796441dcc49824c9aa94', 'addForeignKeyConstraint baseTableName=ar_other_transaction, constraintName=fk_ar_other_transaction_accounting_code, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1257::AndriusKarpavicius
ALTER TABLE crm_seller ADD CONSTRAINT fk_crm_seller_general_ledger FOREIGN KEY (general_ledger_id) REFERENCES billing_general_ledger (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1257', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1765, '8:a89c9eec035b48b94dbbcb0bf5d1d07b', 'addForeignKeyConstraint baseTableName=crm_seller, constraintName=fk_crm_seller_general_ledger, referencedTableName=billing_general_ledger', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1258::AndriusKarpavicius
ALTER TABLE ar_payment_ventilation ADD CONSTRAINT fk_ar_payment_ventilation_ar_customer_account FOREIGN KEY (customer_account_id) REFERENCES ar_customer_account (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1258', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1767, '8:497177d5d642970bad6f10f70212b409', 'addForeignKeyConstraint baseTableName=ar_payment_ventilation, constraintName=fk_ar_payment_ventilation_ar_customer_account, referencedTableName=ar_customer_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1259::AndriusKarpavicius
ALTER TABLE ar_payment_ventilation ADD CONSTRAINT fk_ar_payment_ventilation_ar_other_transaction_origin FOREIGN KEY (original_ot_id) REFERENCES ar_other_transaction (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1259', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1769, '8:afd67e9aee5504422385901cee0562c7', 'addForeignKeyConstraint baseTableName=ar_payment_ventilation, constraintName=fk_ar_payment_ventilation_ar_other_transaction_origin, referencedTableName=ar_other_transaction', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1260::AndriusKarpavicius
ALTER TABLE ar_payment_ventilation ADD CONSTRAINT fk_ar_payment_ventilation_ar_other_transaction FOREIGN KEY (new_ot_id) REFERENCES ar_other_transaction (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1260', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1771, '8:3a4a62b4da2454dcd2c3aa6da689b4e1', 'addForeignKeyConstraint baseTableName=ar_payment_ventilation, constraintName=fk_ar_payment_ventilation_ar_other_transaction, referencedTableName=ar_other_transaction', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1261::AndriusKarpavicius
ALTER TABLE ar_payment_ventilation ADD CONSTRAINT fk_ar_payment_ventilation_ar_account_operation FOREIGN KEY (account_operation_id) REFERENCES ar_account_operation (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1261', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1773, '8:55786cbe56f3302a1db8dba749abf5a0', 'addForeignKeyConstraint baseTableName=ar_payment_ventilation, constraintName=fk_ar_payment_ventilation_ar_account_operation, referencedTableName=ar_account_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1262::AndriusKarpavicius
ALTER TABLE wf_status ADD CONSTRAINT fk_status_generic_wf FOREIGN KEY (generic_wf_id) REFERENCES wf_generic_workflow (id) ON UPDATE CASCADE ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1262', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1775, '8:5b867ed8fc02f53121941110e03c6475', 'addForeignKeyConstraint baseTableName=wf_status, constraintName=fk_status_generic_wf, referencedTableName=wf_generic_workflow', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1263::AndriusKarpavicius
ALTER TABLE ar_account_operation ADD CONSTRAINT fk_ao_subscription_id FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1263', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1777, '8:b6af32a297ddad8054324d6fe6eb9d66', 'addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_ao_subscription_id, referencedTableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1264::AndriusKarpavicius
ALTER TABLE dunning_document ADD CONSTRAINT fk_dunning_document_ca FOREIGN KEY (customer_account_id) REFERENCES ar_customer_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1264', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1779, '8:defc1a53d56ffeb37a8f988d9983cfb1', 'addForeignKeyConstraint baseTableName=dunning_document, constraintName=fk_dunning_document_ca, referencedTableName=ar_customer_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1265::AndriusKarpavicius
ALTER TABLE dunning_document ADD CONSTRAINT fk_dunning_document_subscription FOREIGN KEY (billing_subscription_id) REFERENCES billing_subscription (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1265', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1781, '8:1700d3e9d2fbda764421af2ee622e074', 'addForeignKeyConstraint baseTableName=dunning_document, constraintName=fk_dunning_document_subscription, referencedTableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1266::AndriusKarpavicius
ALTER TABLE ar_account_operation ADD CONSTRAINT fk_ar_account_operation_dunning_document FOREIGN KEY (dunning_document_id) REFERENCES dunning_document (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1266', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1783, '8:2d2069e93b446f5b2d1305e133333f78', 'addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_ar_account_operation_dunning_document, referencedTableName=dunning_document', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1267::AndriusKarpavicius
ALTER TABLE wf_generic_transition ADD CONSTRAINT fk_transition_generic_wf FOREIGN KEY (generic_wf_id) REFERENCES wf_generic_workflow (id) ON UPDATE CASCADE ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1267', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1785, '8:10a20f4d058c41af830471ad955d48ae', 'addForeignKeyConstraint baseTableName=wf_generic_transition, constraintName=fk_transition_generic_wf, referencedTableName=wf_generic_workflow', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1268::AndriusKarpavicius
ALTER TABLE wf_generic_transition ADD CONSTRAINT fk_wf_action_script FOREIGN KEY (action_script_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1268', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1787, '8:06f969c039e725966e9c9c9cb5f06bed', 'addForeignKeyConstraint baseTableName=wf_generic_transition, constraintName=fk_wf_action_script, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1269::AndriusKarpavicius
ALTER TABLE wf_instance ADD CONSTRAINT fk_instance_generic_wf FOREIGN KEY (generic_wf_id) REFERENCES wf_generic_workflow (id) ON UPDATE CASCADE ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1269', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1789, '8:51ea1314a4d9ee849e86e39ad1a6c8d1', 'addForeignKeyConstraint baseTableName=wf_instance, constraintName=fk_instance_generic_wf, referencedTableName=wf_generic_workflow', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1270::AndriusKarpavicius
ALTER TABLE wf_instance ADD CONSTRAINT fk_instance_wf_status FOREIGN KEY (current_wf_status_id) REFERENCES wf_status (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1270', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1791, '8:ee6d0a84be727faa75f144bf92e9c69a', 'addForeignKeyConstraint baseTableName=wf_instance, constraintName=fk_instance_wf_status, referencedTableName=wf_status', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1271::AndriusKarpavicius
ALTER TABLE wf_instance_history ADD CONSTRAINT fk_history_wf_instance FOREIGN KEY (wf_instance_id) REFERENCES wf_instance (id) ON UPDATE NO ACTION ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1271', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1793, '8:5dac69c504de19e1ce6298259fdc9bbc', 'addForeignKeyConstraint baseTableName=wf_instance_history, constraintName=fk_history_wf_instance, referencedTableName=wf_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1272::AndriusKarpavicius
ALTER TABLE billing_invoice_type ADD CONSTRAINT fk_inv_email_template FOREIGN KEY (email_template_id) REFERENCES com_message_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1272', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1795, '8:7d125e0b3e2b38b92b0cb8f777c7e3b0', 'addForeignKeyConstraint baseTableName=billing_invoice_type, constraintName=fk_inv_email_template, referencedTableName=com_message_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1273::AndriusKarpavicius
ALTER TABLE billing_billing_account ADD CONSTRAINT fk_ba_email_template FOREIGN KEY (email_template_id) REFERENCES com_message_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1273', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1797, '8:cfbcf77325eafa1883290df922504ebb', 'addForeignKeyConstraint baseTableName=billing_billing_account, constraintName=fk_ba_email_template, referencedTableName=com_message_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1274::AndriusKarpavicius
ALTER TABLE billing_subscription ADD CONSTRAINT fk_sub_email_template FOREIGN KEY (email_template_id) REFERENCES com_message_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1274', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1799, '8:b655ea4da851d8a1b4fb549ce3fbca0f', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_sub_email_template, referencedTableName=com_message_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1275::AndriusKarpavicius
ALTER TABLE ord_order ADD CONSTRAINT fk_ordr_email_template FOREIGN KEY (email_template_id) REFERENCES com_message_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1275', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1801, '8:4dc181d3502378b69af1103ecfe091e1', 'addForeignKeyConstraint baseTableName=ord_order, constraintName=fk_ordr_email_template, referencedTableName=com_message_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1277::AndriusKarpavicius
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_wallet_operation_service_instance FOREIGN KEY (service_instance_id) REFERENCES billing_service_instance (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1277', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1803, '8:76bdaa813b8a704d5b6efb4918040334', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_wallet_operation_service_instance, referencedTableName=billing_service_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1278::AndriusKarpavicius
ALTER TABLE billing_discount_plan_instance ADD CONSTRAINT billing_discount_plan_instance_bs_fk FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1278', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1805, '8:0c6bc08c0a3760ab0163e6f873e68e27', 'addForeignKeyConstraint baseTableName=billing_discount_plan_instance, constraintName=billing_discount_plan_instance_bs_fk, referencedTableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1279::AbdelmounaimAkadid
ALTER TABLE adm_notif_email ADD CONSTRAINT fk_com_message_template FOREIGN KEY (email_template_id) REFERENCES com_message_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1279', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1807, '8:1a2a77767e2d56876e7761d626277416', 'addForeignKeyConstraint baseTableName=adm_notif_email, constraintName=fk_com_message_template, referencedTableName=com_message_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1280::AbdelmounaimAkadid
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_billing_rated_transaction_offer_template FOREIGN KEY (offer_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1280', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1809, '8:9186eeea225fa2944b7d8bf38b816681', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_billing_rated_transaction_offer_template, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1281::AbdelmounaimAkadid
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_billing_wallet_operation_offer_template FOREIGN KEY (offer_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1281', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1811, '8:6349f359c3113271e554ca5a03954e9a', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_billing_wallet_operation_offer_template, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1282::AbdelmounaimAkadid
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_rt_service_instance FOREIGN KEY (service_instance_id) REFERENCES billing_service_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1282', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1813, '8:968d84d9b61b2473c10dd1e1a2fdb70b', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_rt_service_instance, referencedTableName=billing_service_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1283::AbdelmounaimAkadid
ALTER TABLE billing_service_instance ADD CONSTRAINT fk_si_init_active FOREIGN KEY (calendar_init_active_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1283', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1815, '8:9535f7cef69daa121564f4db4624596b', 'addForeignKeyConstraint baseTableName=billing_service_instance, constraintName=fk_si_init_active, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1284::AbdelmounaimAkadid
ALTER TABLE billing_service_instance ADD CONSTRAINT fk_si_renew_for FOREIGN KEY (calendar_renew_for_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1284', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1817, '8:899d66f2da85a1bba2ab151db74dffb7', 'addForeignKeyConstraint baseTableName=billing_service_instance, constraintName=fk_si_renew_for, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1285::AbdelmounaimAkadid
ALTER TABLE cat_service_template ADD CONSTRAINT fk_st_init_active FOREIGN KEY (calendar_init_active_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1285', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1819, '8:164736d9c3a6628a1de85b2f4046c50c', 'addForeignKeyConstraint baseTableName=cat_service_template, constraintName=fk_st_init_active, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1286::AbdelmounaimAkadid
ALTER TABLE cat_service_template ADD CONSTRAINT fk_st_renew_for FOREIGN KEY (calendar_renew_for_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1286', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1821, '8:1d79beddf877ff3f6eab041487851404', 'addForeignKeyConstraint baseTableName=cat_service_template, constraintName=fk_st_renew_for, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1287::AbdelmounaimAkadid
ALTER TABLE cat_offer_template ADD CONSTRAINT fk_ot_init_active FOREIGN KEY (calendar_init_active_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1287', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1823, '8:b2a2263a317417fc01cb39571e39d452', 'addForeignKeyConstraint baseTableName=cat_offer_template, constraintName=fk_ot_init_active, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1288::AbdelmounaimAkadid
ALTER TABLE cat_offer_template ADD CONSTRAINT fk_ot_renew_for FOREIGN KEY (calendar_renew_for_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1288', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1825, '8:4d752ec7ff6b1340b0b51602237e4dc1', 'addForeignKeyConstraint baseTableName=cat_offer_template, constraintName=fk_ot_renew_for, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1289::AbdelmounaimAkadid
ALTER TABLE billing_subscription ADD CONSTRAINT fk_bs_init_active FOREIGN KEY (calendar_init_active_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1289', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1827, '8:a921d509e5e6836c041f44611979ca53', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_bs_init_active, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1290::AbdelmounaimAkadid
ALTER TABLE billing_subscription ADD CONSTRAINT fk_bs_renew_for FOREIGN KEY (calendar_renew_for_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1290', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1829, '8:9caba30f964a78b6a05216268399a7ce', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_bs_renew_for, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1291::AbdelmounaimAkadid
ALTER TABLE billing_counter ADD CONSTRAINT fk_billing_counter_subscription_id FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1291', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1831, '8:79b2bc9e757d22ca9df285f42e1c6f4b', 'addForeignKeyConstraint baseTableName=billing_counter, constraintName=fk_billing_counter_subscription_id, referencedTableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1292::AbdelmounaimAkadid
ALTER TABLE billing_counter ADD CONSTRAINT fk_billing_counter_service_instance_id FOREIGN KEY (service_instance_id) REFERENCES billing_service_instance (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1292', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1833, '8:c15ea0fb8497ec20f48e836e7ad21eed', 'addForeignKeyConstraint baseTableName=billing_counter, constraintName=fk_billing_counter_service_instance_id, referencedTableName=billing_service_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1293::AbdelmounaimAkadid
ALTER TABLE flat_file ADD CONSTRAINT fk_d4iavkklx1qg1ani36bari5o5i FOREIGN KEY (file_format_id) REFERENCES adm_file_format (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1293', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1835, '8:f797c9d90368e7ab9f2c4b3bc0155ae1', 'addForeignKeyConstraint baseTableName=flat_file, constraintName=fk_d4iavkklx1qg1ani36bari5o5i, referencedTableName=adm_file_format', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1294::AbdelmounaimAkadid
ALTER TABLE ar_accounting_writing ADD CONSTRAINT fk_accounting_writing_origin_writing FOREIGN KEY (origin_writing_id) REFERENCES ar_accounting_writing (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1294', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1837, '8:15a63f0721803084096eb0ef49fe4123', 'addForeignKeyConstraint baseTableName=ar_accounting_writing, constraintName=fk_accounting_writing_origin_writing, referencedTableName=ar_accounting_writing', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1295::AbdelmounaimAkadid
ALTER TABLE ar_accounting_writing ADD CONSTRAINT fk_accounting_writing_tax FOREIGN KEY (tax_id) REFERENCES billing_tax (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1295', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1839, '8:6f7a0b19583f346660e69d950d7eabd5', 'addForeignKeyConstraint baseTableName=ar_accounting_writing, constraintName=fk_accounting_writing_tax, referencedTableName=billing_tax', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1296::AbdelmounaimAkadid
ALTER TABLE ar_accounting_writing ADD CONSTRAINT fk_accounting_writing_invoice_category FOREIGN KEY (invoice_category_id) REFERENCES billing_invoice_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1296', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1841, '8:04b1d60aaa2dd04da370a247c2ca0cd2', 'addForeignKeyConstraint baseTableName=ar_accounting_writing, constraintName=fk_accounting_writing_invoice_category, referencedTableName=billing_invoice_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1297::AbdelmounaimAkadid
ALTER TABLE ar_accounting_writing ADD CONSTRAINT fk_accounting_writing_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1297', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1843, '8:364b91f10e6193bff3d20d6642cd5464', 'addForeignKeyConstraint baseTableName=ar_accounting_writing, constraintName=fk_accounting_writing_accounting_code, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1298::AbdelmounaimAkadid
ALTER TABLE ar_account_operation ADD CONSTRAINT fk_billing_invoice FOREIGN KEY (invoice_id) REFERENCES billing_invoice (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1298', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1845, '8:7b870bd6f41aaa4080a4f441ae9cd574', 'addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_billing_invoice, referencedTableName=billing_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1299::AbdelmounaimAkadid
ALTER TABLE adm_file_format_file_type ADD CONSTRAINT fk_4au8lqa3bc46gks4dmpbbari4h4l6 FOREIGN KEY (file_format_id) REFERENCES adm_file_format (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1299', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1847, '8:9b9230b839eab78dc40e766857d6cd66', 'addForeignKeyConstraint baseTableName=adm_file_format_file_type, constraintName=fk_4au8lqa3bc46gks4dmpbbari4h4l6, referencedTableName=adm_file_format', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1300::AbdelmounaimAkadid
ALTER TABLE adm_file_format_file_type ADD CONSTRAINT fk_s1wxui3m4sv9x5mbyi8gpbari77hu FOREIGN KEY (file_type_id) REFERENCES adm_file_type (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1300', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1849, '8:3778f94d02cac1f383ca09efbf951702', 'addForeignKeyConstraint baseTableName=adm_file_format_file_type, constraintName=fk_s1wxui3m4sv9x5mbyi8gpbari77hu, referencedTableName=adm_file_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1301::AbdelmounaimAkadid
ALTER TABLE billing_invoice ADD CONSTRAINT fk_invoice_pm FOREIGN KEY (payment_method_id) REFERENCES ar_payment_token (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1301', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1851, '8:a955c38eda846c432eedf0607b66b7dd', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_invoice_pm, referencedTableName=ar_payment_token', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1302::AbdelmounaimAkadid
ALTER TABLE billing_subscription ADD CONSTRAINT fk_billing_subscription_invoice_sub_cat FOREIGN KEY (minimum_invoice_sub_category_id) REFERENCES billing_invoice_sub_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1302', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1853, '8:5e56f71f540400fe482cf5a20d538179', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_billing_subscription_invoice_sub_cat, referencedTableName=billing_invoice_sub_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1303::AbdelmounaimAkadid
ALTER TABLE cat_offer_template ADD CONSTRAINT fk_billing_cat_offer_template_invoice_sub_cat FOREIGN KEY (minimum_invoice_sub_category_id) REFERENCES billing_invoice_sub_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1303', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1855, '8:eca5fba1c01f936d058b8902d00c6611', 'addForeignKeyConstraint baseTableName=cat_offer_template, constraintName=fk_billing_cat_offer_template_invoice_sub_cat, referencedTableName=billing_invoice_sub_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1304::AbdelmounaimAkadid
ALTER TABLE billing_billing_account ADD CONSTRAINT fk_billing_billing_account_invoice_sub_cat FOREIGN KEY (minimum_invoice_sub_category_id) REFERENCES billing_invoice_sub_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1304', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1857, '8:8d1c18b2210f12706ef7639c79423bef', 'addForeignKeyConstraint baseTableName=billing_billing_account, constraintName=fk_billing_billing_account_invoice_sub_cat, referencedTableName=billing_invoice_sub_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1305::AbdelmounaimAkadid
ALTER TABLE billing_service_instance ADD CONSTRAINT fk_billing_service_instance_invoice_sub_cat FOREIGN KEY (minimum_invoice_sub_category_id) REFERENCES billing_invoice_sub_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1305', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1859, '8:da52211b3b9ee5f6e15148341bb17b13', 'addForeignKeyConstraint baseTableName=billing_service_instance, constraintName=fk_billing_service_instance_invoice_sub_cat, referencedTableName=billing_invoice_sub_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1306::AbdelmounaimAkadid
ALTER TABLE cat_service_template ADD CONSTRAINT fk_billing_cat_service_template_invoice_sub_cat FOREIGN KEY (minimum_invoice_sub_category_id) REFERENCES billing_invoice_sub_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1306', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1861, '8:adf9926f25bac084d4a6747ae9e516d5', 'addForeignKeyConstraint baseTableName=cat_service_template, constraintName=fk_billing_cat_service_template_invoice_sub_cat, referencedTableName=billing_invoice_sub_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1307::AbdelmounaimAkadid
ALTER TABLE cat_serv_usage_charge_template ADD CONSTRAINT fk_443th9siwouj4fg746sgyfqtv FOREIGN KEY (charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1307', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1863, '8:6922e7c358b028ae1e9128c947bc5157', 'addForeignKeyConstraint baseTableName=cat_serv_usage_charge_template, constraintName=fk_443th9siwouj4fg746sgyfqtv, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1308::AbdelmounaimAkadid
ALTER TABLE cat_charge_template ADD CONSTRAINT fk_ailcl9mls5y7bjr9yur52767h FOREIGN KEY (calendar_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1308', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1865, '8:c736ba957c32b87234871dbace7693df', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_ailcl9mls5y7bjr9yur52767h, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1309::AbdelmounaimAkadid
ALTER TABLE cat_serv_rec_charge_template ADD CONSTRAINT fk_foohp8o0xupxmxcwblexcfqpp FOREIGN KEY (charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1309', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1867, '8:663923955472a29c1bac7b6148f37e9f', 'addForeignKeyConstraint baseTableName=cat_serv_rec_charge_template, constraintName=fk_foohp8o0xupxmxcwblexcfqpp, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1312::AbdelmounaimAkadid
ALTER TABLE cat_offer_template ADD CONSTRAINT fk_cat_off_tpl_prod_chrg_tpl FOREIGN KEY (product_charge_tmpl_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1312', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1869, '8:a0d9930d27309632c20a923f2404bdf1', 'addForeignKeyConstraint baseTableName=cat_offer_template, constraintName=fk_cat_off_tpl_prod_chrg_tpl, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1313::AbdelmounaimAkadid
ALTER TABLE cat_product_templ_charge_templ ADD CONSTRAINT fk_prd_templ_ct_pct_id FOREIGN KEY (product_charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1313', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1871, '8:feb4202377a3565361c404a16ae74527', 'addForeignKeyConstraint baseTableName=cat_product_templ_charge_templ, constraintName=fk_prd_templ_ct_pct_id, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1314::AbdelmounaimAkadid
ALTER TABLE cat_serv_sub_charge_template ADD CONSTRAINT fk_3yhjbdockv9jvyw9iqmqlha63 FOREIGN KEY (charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1314', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1873, '8:cc15b0682f507c7eaa5bfbeeef3dcaef', 'addForeignKeyConstraint baseTableName=cat_serv_sub_charge_template, constraintName=fk_3yhjbdockv9jvyw9iqmqlha63, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1315::AbdelmounaimAkadid
ALTER TABLE cat_serv_trm_charge_template ADD CONSTRAINT fk_5ehn1daxca6x6t7pvdpuo4n6m FOREIGN KEY (charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1315', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1875, '8:4c1ff0f41b5a727782d128e6dfb65cd3', 'addForeignKeyConstraint baseTableName=cat_serv_trm_charge_template, constraintName=fk_5ehn1daxca6x6t7pvdpuo4n6m, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1316::AbdelmounaimAkadid
ALTER TABLE billing_charge_instance ADD CONSTRAINT fk_5q5wxh2nq7gbd9bcds59egh3e FOREIGN KEY (service_instance_id) REFERENCES billing_service_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1316', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1877, '8:3fa0c08b3d1517ff7190e2a9e26b693a', 'addForeignKeyConstraint baseTableName=billing_charge_instance, constraintName=fk_5q5wxh2nq7gbd9bcds59egh3e, referencedTableName=billing_service_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1317::AbdelmounaimAkadid
ALTER TABLE billing_charge_instance ADD CONSTRAINT fk_n5h6xvrtm2a2av5jik9vr0cp5 FOREIGN KEY (counter_id) REFERENCES billing_counter (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1317', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1879, '8:c84bc6f21555b19e05d029bb3e8c074e', 'addForeignKeyConstraint baseTableName=billing_charge_instance, constraintName=fk_n5h6xvrtm2a2av5jik9vr0cp5, referencedTableName=billing_counter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1318::AbdelmounaimAkadid
ALTER TABLE billing_charge_instance ADD CONSTRAINT fk_productci_prodins FOREIGN KEY (product_instance_id) REFERENCES billing_product_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1318', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1881, '8:aaf702349c3ac3daceefd51a18216a1e', 'addForeignKeyConstraint baseTableName=billing_charge_instance, constraintName=fk_productci_prodins, referencedTableName=billing_product_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1319::AbdelmounaimAkadid
ALTER TABLE cat_charge_template ADD CONSTRAINT fk_input_cat_charge_template_cat_unit_of_measure FOREIGN KEY (input_unitofmeasure) REFERENCES cat_unit_of_measure (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1319', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1883, '8:5682a39fb541f088dd1a47db8fc3aa58', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_input_cat_charge_template_cat_unit_of_measure, referencedTableName=cat_unit_of_measure', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1320::AbdelmounaimAkadid
ALTER TABLE cat_charge_template ADD CONSTRAINT fk_rating_cat_charge_template_cat_unit_of_measure FOREIGN KEY (rating_unitofmeasure) REFERENCES cat_unit_of_measure (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1320', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1885, '8:316cee33296f2d9103f779f7d6d08baa', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_rating_cat_charge_template_cat_unit_of_measure, referencedTableName=cat_unit_of_measure', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1321::AbdelmounaimAkadid
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_input_billing_wallet_operation_cat_unit_of_measure FOREIGN KEY (input_unitofmeasure) REFERENCES cat_unit_of_measure (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1321', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1887, '8:14f4cc25405a2c4303705ca2370f3b05', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_input_billing_wallet_operation_cat_unit_of_measure, referencedTableName=cat_unit_of_measure', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1322::AbdelmounaimAkadid
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_rating_billing_wallet_operation_cat_unit_of_measure FOREIGN KEY (rating_unitofmeasure) REFERENCES cat_unit_of_measure (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1322', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1889, '8:b259fabf0fbbc2662802e751360697ec', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_rating_billing_wallet_operation_cat_unit_of_measure, referencedTableName=cat_unit_of_measure', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1323::AbdelmounaimAkadid
ALTER TABLE cat_serv_trm_charge_template ADD CONSTRAINT fk_serv_trm_charge_template_counter_template FOREIGN KEY (counter_template_id) REFERENCES cat_counter_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1323', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1891, '8:4a9abcd3caf6debcac74a7816c3341fa', 'addForeignKeyConstraint baseTableName=cat_serv_trm_charge_template, constraintName=fk_serv_trm_charge_template_counter_template, referencedTableName=cat_counter_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1324::AbdelmounaimAkadid
ALTER TABLE cat_serv_sub_charge_template ADD CONSTRAINT fk_serv_sub_charge_template_counter_template FOREIGN KEY (counter_template_id) REFERENCES cat_counter_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1324', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1893, '8:f695d4ce91af5725872479a2b7fc3a76', 'addForeignKeyConstraint baseTableName=cat_serv_sub_charge_template, constraintName=fk_serv_sub_charge_template_counter_template, referencedTableName=cat_counter_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1325::AbdelmounaimAkadid
ALTER TABLE billing_counter ADD CONSTRAINT fk_billing_counter_customer_id FOREIGN KEY (customer_id) REFERENCES crm_customer (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1325', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1895, '8:17fdb95c8ee867ebe6f54b1cc14ea5c7', 'addForeignKeyConstraint baseTableName=billing_counter, constraintName=fk_billing_counter_customer_id, referencedTableName=crm_customer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1326::AbdelmounaimAkadid
ALTER TABLE billing_counter ADD CONSTRAINT fk_billing_counter_customer_account_id FOREIGN KEY (customer_account_id) REFERENCES ar_customer_account (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1326', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1897, '8:1b7c318bd401c94947bd6c78c49ba801', 'addForeignKeyConstraint baseTableName=billing_counter, constraintName=fk_billing_counter_customer_account_id, referencedTableName=ar_customer_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1327::AbdelmounaimAkadid
ALTER TABLE billing_tax_mapping ADD CONSTRAINT fk_billing_tax_mapping_tax_category_id FOREIGN KEY (tax_category_id) REFERENCES billing_tax_category (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1327', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1899, '8:f6dc73fbb7e6b7b62bf783260466d61d', 'addForeignKeyConstraint baseTableName=billing_tax_mapping, constraintName=fk_billing_tax_mapping_tax_category_id, referencedTableName=billing_tax_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1328::AbdelmounaimAkadid
ALTER TABLE billing_tax_mapping ADD CONSTRAINT fk_billing_tax_mapping_tax_class_id FOREIGN KEY (tax_class_id) REFERENCES billing_tax_class (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1328', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1901, '8:bfa4d1e067e6f7de5111f35c12a5b6b0', 'addForeignKeyConstraint baseTableName=billing_tax_mapping, constraintName=fk_billing_tax_mapping_tax_class_id, referencedTableName=billing_tax_class', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1329::AbdelmounaimAkadid
ALTER TABLE billing_tax_mapping ADD CONSTRAINT fk_billing_tax_mapping_seller_country_id FOREIGN KEY (seller_country_id) REFERENCES billing_trading_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1329', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1903, '8:50722a677ad121b5b037856713a416f1', 'addForeignKeyConstraint baseTableName=billing_tax_mapping, constraintName=fk_billing_tax_mapping_seller_country_id, referencedTableName=billing_trading_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1330::AbdelmounaimAkadid
ALTER TABLE billing_tax_mapping ADD CONSTRAINT fk_billing_tax_mapping_buyer_country_id FOREIGN KEY (buyer_country_id) REFERENCES billing_trading_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1330', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1905, '8:f0ab53452e61482a8e81f68da594946e', 'addForeignKeyConstraint baseTableName=billing_tax_mapping, constraintName=fk_billing_tax_mapping_buyer_country_id, referencedTableName=billing_trading_country', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1331::AbdelmounaimAkadid
ALTER TABLE billing_tax_mapping ADD CONSTRAINT fk_billing_tax_mapping_tax_id FOREIGN KEY (tax_id) REFERENCES billing_tax (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1331', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1907, '8:c32c237c315f4bb9d1f794944bd277aa', 'addForeignKeyConstraint baseTableName=billing_tax_mapping, constraintName=fk_billing_tax_mapping_tax_id, referencedTableName=billing_tax', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1332::AbdelmounaimAkadid
ALTER TABLE billing_tax_mapping ADD CONSTRAINT fk_billing_tax_mapping_tax_script_id FOREIGN KEY (tax_script_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1332', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1909, '8:c93283a708843e3b6ddff6eff24d497a', 'addForeignKeyConstraint baseTableName=billing_tax_mapping, constraintName=fk_billing_tax_mapping_tax_script_id, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1333::AbdelmounaimAkadid
ALTER TABLE crm_customer_category ADD CONSTRAINT fk_crm_customer_category_tax_category_id FOREIGN KEY (tax_category_id) REFERENCES billing_tax_category (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1333', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1911, '8:8b17e294fb06e456c97d99397aa9844a', 'addForeignKeyConstraint baseTableName=crm_customer_category, constraintName=fk_crm_customer_category_tax_category_id, referencedTableName=billing_tax_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1334::AbdelmounaimAkadid
ALTER TABLE billing_billing_account ADD CONSTRAINT fk_billing_account_tax_category_id FOREIGN KEY (tax_category_id) REFERENCES billing_tax_category (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1334', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1913, '8:16d6c2c0a287fed226814c323ac634fc', 'addForeignKeyConstraint baseTableName=billing_billing_account, constraintName=fk_billing_account_tax_category_id, referencedTableName=billing_tax_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1335::AbdelmounaimAkadid
ALTER TABLE cat_charge_template ADD CONSTRAINT fk_cat_charge_template_tax_class_id FOREIGN KEY (tax_class_id) REFERENCES billing_tax_class (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1335', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1915, '8:27e036489e236415e6914a18084387da', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_cat_charge_template_tax_class_id, referencedTableName=billing_tax_class', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1336::AbdelmounaimAkadid
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_billing_wallet_operation_tax_class_id FOREIGN KEY (tax_class_id) REFERENCES billing_tax_class (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1336', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1917, '8:855b4c4c99c2ae703686acc699c7df44', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_billing_wallet_operation_tax_class_id, referencedTableName=billing_tax_class', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1337::AbdelmounaimAkadid
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_billing_rated_transaction_tax_class_id FOREIGN KEY (tax_class_id) REFERENCES billing_tax_class (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1337', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1919, '8:45c87f183f7fe7def752b4f664014268', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_billing_rated_transaction_tax_class_id, referencedTableName=billing_tax_class', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1338::AbdelmounaimAkadid
ALTER TABLE cat_charge_template ADD CONSTRAINT fk_charge_template_rating_script_id FOREIGN KEY (rating_script_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1338', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1921, '8:992647dba6385e1445e3d275bcb467f7', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_charge_template_rating_script_id, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1339::AbdelmounaimAkadid
ALTER TABLE crm_customer ADD CONSTRAINT fk_customer_minimum_target_account_id FOREIGN KEY (minimum_target_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1339', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1923, '8:86071cd7ebdc80c16a291d46e108d36e', 'addForeignKeyConstraint baseTableName=crm_customer, constraintName=fk_customer_minimum_target_account_id, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1340::AbdelmounaimAkadid
ALTER TABLE ar_customer_account ADD CONSTRAINT fk_ca_minimum_target_account_id FOREIGN KEY (minimum_target_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1340', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1925, '8:4ae7d3f46789bced07a7cebc2d48e5e8', 'addForeignKeyConstraint baseTableName=ar_customer_account, constraintName=fk_ca_minimum_target_account_id, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1341::AbdelmounaimAkadid
ALTER TABLE crm_seller ADD CONSTRAINT fk_seller_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE crm_customer ADD CONSTRAINT fk_cust_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE ar_customer_account ADD CONSTRAINT fk_ca_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_billing_account ADD CONSTRAINT fk_ba_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_user_account ADD CONSTRAINT fk_ua_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1341', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1927, '8:5bce246ca25edafd2513e6734f08d918', 'addForeignKeyConstraint baseTableName=crm_seller, constraintName=fk_seller_minimum_charge_template_id, referencedTableName=cat_charge_template; addForeignKeyConstraint baseTableName=crm_customer, constraintName=fk_cust_minimum_charge_template_id, ...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1342::AbdelmounaimAkadid
ALTER TABLE billing_subscription ADD CONSTRAINT fk_su_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1342', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1929, '8:266674cb0137a32dc081ff3b7487ca81', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_su_minimum_charge_template_id, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1343::AbdelmounaimAkadid
ALTER TABLE billing_service_instance ADD CONSTRAINT fk_si_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1343', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1931, '8:6ef99a020f1ace30192f4e0af6737249', 'addForeignKeyConstraint baseTableName=billing_service_instance, constraintName=fk_si_minimum_charge_template_id, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1344::AbdelmounaimAkadid
ALTER TABLE cat_offer_template ADD CONSTRAINT fk_ot_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1344', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1933, '8:a9fbc9db53e48efe26a594cf118fd2d6', 'addForeignKeyConstraint baseTableName=cat_offer_template, constraintName=fk_ot_minimum_charge_template_id, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1345::AbdelmounaimAkadid
ALTER TABLE cat_service_template ADD CONSTRAINT fk_st_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1345', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1935, '8:60f72fbc30837a1ce7f763d2a5113ca7', 'addForeignKeyConstraint baseTableName=cat_service_template, constraintName=fk_st_minimum_charge_template_id, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1346::AbdelmounaimAkadid
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_input_billing_rated_transaction_cat_unit_of_measure FOREIGN KEY (input_unitofmeasure) REFERENCES cat_unit_of_measure (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1346', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1937, '8:de03197f22c431c4246d3d0cfb28d9f5', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_input_billing_rated_transaction_cat_unit_of_measure, referencedTableName=cat_unit_of_measure', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1347::AbdelmounaimAkadid
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_rating_billing_rated_transaction_cat_unit_of_measure FOREIGN KEY (rating_unitofmeasure) REFERENCES cat_unit_of_measure (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1347', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1939, '8:dedc07802d8ae7131b9c7c9356c652fb', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_rating_billing_rated_transaction_cat_unit_of_measure, referencedTableName=cat_unit_of_measure', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1348::AbdelmounaimAkadid
ALTER TABLE billing_counter_period_values ADD CONSTRAINT billing_counter_period_values_counterperiod_id_fk FOREIGN KEY (counterperiod_id) REFERENCES billing_counter_period (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1348', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1941, '8:62208354045de216b8bf715f2664d7c2', 'addForeignKeyConstraint baseTableName=billing_counter_period_values, constraintName=billing_counter_period_values_counterperiod_id_fk, referencedTableName=billing_counter_period', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1349::AbdelmounaimAkadid
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_rt_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1349', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1943, '8:f2cb1c7758b96dd170f15e7e400b172c', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_rt_accounting_code, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1350::AbdelmounaimAkadid
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_wo_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1350', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1945, '8:3346f1f8f4f5473f2e61fa19897874a1', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_wo_accounting_code, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1351::AbdelmounaimAkadid
ALTER TABLE cat_fixed_date ADD CONSTRAINT cat_fixed_date_cat_calendar_fk FOREIGN KEY (cat_calendar_id) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1351', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1947, '8:69d2335346e3883eac10087d50d360b8', 'addForeignKeyConstraint baseTableName=cat_fixed_date, constraintName=cat_fixed_date_cat_calendar_fk, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1352::AbdelmounaimAkadid
ALTER TABLE ar_payment_schedule_tmpl ADD CONSTRAINT fk_tax_class_pst FOREIGN KEY (tax_class_id) REFERENCES billing_tax_class (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1352', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1949, '8:18303ab413296249cc47aa163a67fc3d', 'addForeignKeyConstraint baseTableName=ar_payment_schedule_tmpl, constraintName=fk_tax_class_pst, referencedTableName=billing_tax_class', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1353::AbdelmounaimAkadid
ALTER TABLE wo_aggregation_settings ADD CONSTRAINT wallet_operation_filter_id_fk FOREIGN KEY (wallet_operation_filter_id) REFERENCES meveo_filter (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1353', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1951, '8:ff746c96677b7d7c1b024af1b151fa14', 'addForeignKeyConstraint baseTableName=wo_aggregation_settings, constraintName=wallet_operation_filter_id_fk, referencedTableName=meveo_filter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1354::AbdelmounaimAkadid
ALTER TABLE wo_aggregation_line ADD CONSTRAINT wo_aggregation_settings_id_fk FOREIGN KEY (wo_aggregation_settings_id) REFERENCES wo_aggregation_settings (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1354', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1953, '8:4b28118f2cb2f036c1244c8d4049e086', 'addForeignKeyConstraint baseTableName=wo_aggregation_line, constraintName=wo_aggregation_settings_id_fk, referencedTableName=wo_aggregation_settings', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1356::AbdelmounaimAkadid
ALTER TABLE document ADD CONSTRAINT document_category_id_fk FOREIGN KEY (document_category_id) REFERENCES document_category (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1356', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1955, '8:5eab8523d52e488eb7cc9de3f7b6bef5', 'addForeignKeyConstraint baseTableName=document, constraintName=document_category_id_fk, referencedTableName=document_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1359::AbdelmounaimAkadid
ALTER TABLE billing_subscription ADD CONSTRAINT fk_subscription_pm FOREIGN KEY (payment_method_id) REFERENCES ar_payment_token (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1359', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1957, '8:0daafe523a6e5e4b9105f584b65713ed', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_subscription_pm, referencedTableName=ar_payment_token', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1360::AbdelmounaimAkadid
ALTER TABLE billing_billing_account ADD CONSTRAINT fk_billing_account_pm FOREIGN KEY (payment_method_id) REFERENCES ar_payment_token (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1360', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1959, '8:dbe439d02c5491857c8e684d247e5a6a', 'addForeignKeyConstraint baseTableName=billing_billing_account, constraintName=fk_billing_account_pm, referencedTableName=ar_payment_token', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1361::AbdelmounaimAkadid
ALTER TABLE ar_payment_token ADD CONSTRAINT document_ar_payment_token_id_fk FOREIGN KEY (document_id) REFERENCES document (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1361', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1961, '8:239f092aea25e4e0bac0809bb213d5f5', 'addForeignKeyConstraint baseTableName=ar_payment_token, constraintName=document_ar_payment_token_id_fk, referencedTableName=document', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1362::AbdelmounaimAkadid
ALTER TABLE job_execution_error ADD CONSTRAINT job_execution_error_job_instance_fk FOREIGN KEY (job_instance_id) REFERENCES meveo_job_instance (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1362', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1963, '8:e274dd15620844736e8df4ec89be8331', 'addForeignKeyConstraint baseTableName=job_execution_error, constraintName=job_execution_error_job_instance_fk, referencedTableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1363::AbdelmounaimAkadid
ALTER TABLE cat_offer_allowed_offer_change ADD CONSTRAINT cat_offer_allowed_offer_change_fk1 FOREIGN KEY (offer_tmpl_id) REFERENCES cat_offer_template (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1363', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1965, '8:fbec7cd25dac8040f3d539fe03c63831', 'addForeignKeyConstraint baseTableName=cat_offer_allowed_offer_change, constraintName=cat_offer_allowed_offer_change_fk1, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1364::AbdelmounaimAkadid
ALTER TABLE cat_offer_allowed_offer_change ADD CONSTRAINT cat_offer_allowed_offer_change_fk2 FOREIGN KEY (allowed_offer_change_id) REFERENCES cat_offer_template (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1364', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1967, '8:8d552ad2b527542e31bbbc00448bf359', 'addForeignKeyConstraint baseTableName=cat_offer_allowed_offer_change, constraintName=cat_offer_allowed_offer_change_fk2, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1365::AbdelmounaimAkadid
ALTER TABLE ar_ao_payment_histories ADD CONSTRAINT fk_ao_id FOREIGN KEY (ao_id) REFERENCES ar_account_operation (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1365', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1969, '8:12c90a8de7590d1e863765b38ee8bdec', 'addForeignKeyConstraint baseTableName=ar_ao_payment_histories, constraintName=fk_ao_id, referencedTableName=ar_account_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1366::AbdelmounaimAkadid
ALTER TABLE ar_ao_payment_histories ADD CONSTRAINT fk_histo_id FOREIGN KEY (history_id) REFERENCES ar_payment_history (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1366', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1971, '8:2a1d1856687977ade78b13922457dbb1', 'addForeignKeyConstraint baseTableName=ar_ao_payment_histories, constraintName=fk_histo_id, referencedTableName=ar_payment_history', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1367::AbdelmounaimAkadid
ALTER TABLE wf_generic_action ADD CONSTRAINT fk_wf_generic_action_transition_id FOREIGN KEY (transition_id) REFERENCES wf_generic_transition (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1367', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1973, '8:d5282d16d53622a0a2ada02132015a3d', 'addForeignKeyConstraint baseTableName=wf_generic_action, constraintName=fk_wf_generic_action_transition_id, referencedTableName=wf_generic_transition', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1368::AbdelmounaimAkadid
ALTER TABLE wf_generic_action ADD CONSTRAINT fk_wf_generic_action_notification_id FOREIGN KEY (notification_id) REFERENCES adm_notification (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1368', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1975, '8:170afd10947b4e12f2794349d62617e1', 'addForeignKeyConstraint baseTableName=wf_generic_action, constraintName=fk_wf_generic_action_notification_id, referencedTableName=adm_notification', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1369::AbdelmounaimAkadid
ALTER TABLE wf_generic_action ADD CONSTRAINT fk_wf_generic_action_script_id FOREIGN KEY (action_script_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1369', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1977, '8:b9c76eba7ea2a082bf693de0fc8e8d1f', 'addForeignKeyConstraint baseTableName=wf_generic_action, constraintName=fk_wf_generic_action_script_id, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1370::AbdelmounaimAkadid
ALTER TABLE billing_billing_run ADD CONSTRAINT fk_billing_billing_run_next_billing_run FOREIGN KEY (next_billing_run_id) REFERENCES billing_billing_run (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1370', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1979, '8:39a0a3c52094c49ee5ba87e8aa00271d', 'addForeignKeyConstraint baseTableName=billing_billing_run, constraintName=fk_billing_billing_run_next_billing_run, referencedTableName=billing_billing_run', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1371::AbdelmounaimAkadid
ALTER TABLE billing_cycle ADD CONSTRAINT fk_billing_cycle_billing_run_validation_script FOREIGN KEY (billing_run_validation_script_id) REFERENCES meveo_script_instance (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1371', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1981, '8:10938a401eab809f5252e94cfacd719d', 'addForeignKeyConstraint baseTableName=billing_cycle, constraintName=fk_billing_cycle_billing_run_validation_script, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1372::AbdelmounaimAkadid
ALTER TABLE billing_invoice_type ADD CONSTRAINT fk_billing_invoice_type_invoice_validation_script FOREIGN KEY (invoice_validation_script_id) REFERENCES meveo_script_instance (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1372', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1983, '8:2671267a1c0fa36d06556d041877f50e', 'addForeignKeyConstraint baseTableName=billing_invoice_type, constraintName=fk_billing_invoice_type_invoice_validation_script, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1373::AbdelmounaimAkadid
ALTER TABLE adm_custom_generic_entity_code ADD CONSTRAINT fk_dm_custom_generic_entity_code_sequence_id FOREIGN KEY (sequence_id) REFERENCES generic_sequence (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1373', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1985, '8:210ba89e3f03c34ac1d3a62724a1acbf', 'addForeignKeyConstraint baseTableName=adm_custom_generic_entity_code, constraintName=fk_dm_custom_generic_entity_code_sequence_id, referencedTableName=generic_sequence', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1374::ZBariki
ALTER TABLE billing_invoice_line ADD CONSTRAINT fk_il_aggregate_id_f FOREIGN KEY (aggregate_id_f) REFERENCES billing_invoice_agregate (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1374', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1987, '8:093eb826226f4c6cd1a08f1458a94158', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=fk_il_aggregate_id_f, referencedTableName=billing_invoice_agregate', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk1-8743::hichamHANINE
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_billing_rt_origin_ba FOREIGN KEY (origin_billing_account) REFERENCES billing_billing_account (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk1-8743', 'hichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1989, '8:fe5b288400a6b36f2e4a55e5335a262f', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_billing_rt_origin_ba, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk1-9442::hichamHANINE
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_billing_rt_rules_contract FOREIGN KEY (rules_contract_id) REFERENCES cpq_contract (id);

ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_billing_wa_op_rules_contract FOREIGN KEY (rules_contract_id) REFERENCES cpq_contract (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk1-9442', 'hichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1991, '8:189f7b66e233bad7ce31dc91679aa451', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_billing_rt_rules_contract, referencedTableName=cpq_contract; addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_billing_wa_op_rules_c...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1373::NabilOuachi
ALTER TABLE cat_service_template ADD CONSTRAINT "fk-product-service_template" FOREIGN KEY (product_id) REFERENCES cpq_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1373', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1993, '8:500aa441fb352f7660e300608a80e996', 'addForeignKeyConstraint baseTableName=cat_service_template, constraintName=fk-product-service_template, referencedTableName=cpq_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1374::NabilOuachi
ALTER TABLE cat_service_template ADD CONSTRAINT "fk-product-offer_template" FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1374', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1995, '8:a8b10489a0a08f21379dbdfab4bc1995', 'addForeignKeyConstraint baseTableName=cat_service_template, constraintName=fk-product-offer_template, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1375::NabilOuachi
ALTER TABLE cat_service_template ADD CONSTRAINT "fk-product-grouped_service" FOREIGN KEY (grouped_service_id) REFERENCES cpq_grouped_service (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1375', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1997, '8:61b8e8f3dceb7e5edcc4f2fd1f7a3462', 'addForeignKeyConstraint baseTableName=cat_service_template, constraintName=fk-product-grouped_service, referencedTableName=cpq_grouped_service', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1376::NabilOuachi
ALTER TABLE cat_service_template ADD CONSTRAINT "fk-product-service_type" FOREIGN KEY (service_type_id) REFERENCES cpq_service_type (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1376', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 1999, '8:026ccb8ff5f0b9df9da4f5ef7e9b1146', 'addForeignKeyConstraint baseTableName=cat_service_template, constraintName=fk-product-service_type, referencedTableName=cpq_service_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1378::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT "fk-product-charge_template" FOREIGN KEY (product_id) REFERENCES cpq_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1378', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2001, '8:904a8cd3658d9c7afcd90e8b849d3833', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk-product-charge_template, referencedTableName=cpq_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1379::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT "fk-offer_template-charge_template" FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1379', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2003, '8:3e5ea90d109859ab3b3bd4078c531142', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk-offer_template-charge_template, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1380::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT "fk1-service_template-charge_template" FOREIGN KEY (service_template_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1380', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2005, '8:45d0826d07b2c03e4649fccc709dd5f1', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk1-service_template-charge_template, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1381::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT "fk-price_plan-charge_template" FOREIGN KEY (price_plan_matrix_id) REFERENCES cat_price_plan_matrix (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1381', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2007, '8:d294f098477127e562fa94dea0fe5a70', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk-price_plan-charge_template, referencedTableName=cat_price_plan_matrix', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1382::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT "fk2-service_template-charge_template" FOREIGN KEY (duration_service) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1382', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2009, '8:87f1649c9f8c5cbcfc6cb0635a951d33', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk2-service_template-charge_template, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1383::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT "fk-cat_calendar-charge_template" FOREIGN KEY (recurrence_calendar) REFERENCES cat_calendar (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1383', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2011, '8:1876c2a37e7cff64258177d2c3b2f9e4', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk-cat_calendar-charge_template, referencedTableName=cat_calendar', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1384::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT "fk3-service_template-charge_template" FOREIGN KEY (calendar_service) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1384', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2013, '8:9238f2f19f551a78953f76ccb9830340', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk3-service_template-charge_template, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1385::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT "fk4-service_template-charge_template" FOREIGN KEY (usage_service_template_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1385', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2015, '8:d493b54476db17d3711d9cc8f82b4938', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk4-service_template-charge_template, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1386::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT "fk5-service_template-charge_template" FOREIGN KEY (param1_service_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1386', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2017, '8:96c31360737603e57bc4d528a5f196af', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk5-service_template-charge_template, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1387::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT "fk6-service_template-charge_template" FOREIGN KEY (param2_service_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1387', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2019, '8:55d99e471ce59ae360e69b59c83b6b4e', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk6-service_template-charge_template, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1389::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT "fk12-service_template-charge_template" FOREIGN KEY (dim3_matrix_service) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1389', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2021, '8:a4b8abec81d7ae74bc76bee00b3b2e97', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk12-service_template-charge_template, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1390::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT "fk8-service_template-charge_template" FOREIGN KEY (param3_service_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1390', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2023, '8:7da5133912d1f82cb126de469f7f2c4e', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk8-service_template-charge_template, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1391::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT "fk9-service_template-charge_template" FOREIGN KEY (param4_service_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1391', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2025, '8:403e0b13b439baffe8dce200cab64a66', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk9-service_template-charge_template, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1392::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT "fk10-service_template-charge_template" FOREIGN KEY (dim1_matrix_service) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1392', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2027, '8:9fcac48358dff2e772637a011807059c', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk10-service_template-charge_template, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1393::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT "fk11-service_template-charge_template" FOREIGN KEY (dim2_matrix_service) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1393', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2029, '8:c2c923805a16442cd630fcf7d6227252', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk11-service_template-charge_template, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1397::NabilOuachi
ALTER TABLE cpq_offer_template_tags ADD CONSTRAINT cpq_offer_template_tags_offer_template_id_fk FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1397', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2031, '8:25970e5745a23d4ddd9401c1790888f8', 'addForeignKeyConstraint baseTableName=cpq_offer_template_tags, constraintName=cpq_offer_template_tags_offer_template_id_fk, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1398::NabilOuachi
ALTER TABLE cpq_offer_template_tags ADD CONSTRAINT cpq_offer_template_tags_tag_id_fk FOREIGN KEY (tag_id) REFERENCES cpq_tag (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1398', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2033, '8:534790d58d3c5777f30f061f0040cd79', 'addForeignKeyConstraint baseTableName=cpq_offer_template_tags, constraintName=cpq_offer_template_tags_tag_id_fk, referencedTableName=cpq_tag', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1399::NabilOuachi
ALTER TABLE cpq_service_template_tags ADD CONSTRAINT cpq_service_template_tags_offer_template_id_fk FOREIGN KEY (service_template_id) REFERENCES cat_service_template (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1399', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2035, '8:37f7ab91ffffd20d7aa596ba6de2f234', 'addForeignKeyConstraint baseTableName=cpq_service_template_tags, constraintName=cpq_service_template_tags_offer_template_id_fk, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1400::NabilOuachi
ALTER TABLE cpq_service_template_tags ADD CONSTRAINT cpq_service_template_tags_tag_id_fk FOREIGN KEY (tag_id) REFERENCES cpq_tag (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1400', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2037, '8:3454d53098e6b1f0f88e9afc51a7b73b', 'addForeignKeyConstraint baseTableName=cpq_service_template_tags, constraintName=cpq_service_template_tags_tag_id_fk, referencedTableName=cpq_tag', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1401::NabilOuachi
ALTER TABLE cpq_product_version_services ADD CONSTRAINT fk_cpq_product_version_services_product_version_id FOREIGN KEY (product_version_id) REFERENCES cpq_product_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1401', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2039, '8:9a97cfffc6671bb6ee0d228c53d0174f', 'addForeignKeyConstraint baseTableName=cpq_product_version_services, constraintName=fk_cpq_product_version_services_product_version_id, referencedTableName=cpq_product_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1402::NabilOuachi
ALTER TABLE cpq_product_version_services ADD CONSTRAINT fk_cpq_product_version_services_service_template_id FOREIGN KEY (service_template_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1402', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2041, '8:91c452df8a68b6343a3ca7ff44547f9c', 'addForeignKeyConstraint baseTableName=cpq_product_version_services, constraintName=fk_cpq_product_version_services_service_template_id, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1403::NabilOuachi
ALTER TABLE cpq_quote_article_line ADD CONSTRAINT fk_cpq_quote_article_line_quote_billable_account_id FOREIGN KEY (billable_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1403', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2043, '8:0e43261b5b63b47834d78db20fcda320', 'addForeignKeyConstraint baseTableName=cpq_quote_article_line, constraintName=fk_cpq_quote_article_line_quote_billable_account_id, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1404::NabilOuachi
ALTER TABLE quote_offer ADD CONSTRAINT fk_quote_offer_offer_template_id FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1404', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2045, '8:020c3607a53dab32229205f295af7631', 'addForeignKeyConstraint baseTableName=quote_offer, constraintName=fk_quote_offer_offer_template_id, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1405::NabilOuachi
ALTER TABLE quote_offer ADD CONSTRAINT fk_quote_offer_billable_account_id FOREIGN KEY (billable_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1405', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2047, '8:709ae6a71c54d997c2ea9be386a32bb6', 'addForeignKeyConstraint baseTableName=quote_offer, constraintName=fk_quote_offer_billable_account_id, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1406::NabilOuachi
ALTER TABLE quote_offer ADD CONSTRAINT fk_quote_offer_quote_version_id FOREIGN KEY (quote_version_id) REFERENCES cpq_quote_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1406', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2049, '8:a7ad68064ff878c1e03eb1081eaf2302', 'addForeignKeyConstraint baseTableName=quote_offer, constraintName=fk_quote_offer_quote_version_id, referencedTableName=cpq_quote_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1407::NabilOuachi
ALTER TABLE quote_offer ADD CONSTRAINT fk_quote_offer_quote_customer_service_id FOREIGN KEY (quote_customer_service_id) REFERENCES cpq_quote_lot (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1407', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2051, '8:f7e7726190dddd7241e02e5dc055666e', 'addForeignKeyConstraint baseTableName=quote_offer, constraintName=fk_quote_offer_quote_customer_service_id, referencedTableName=cpq_quote_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1408::NabilOuachi
ALTER TABLE cpq_quote_product ADD CONSTRAINT fk_cpq_quote_product_offer_quote_id FOREIGN KEY (offer_quote_id) REFERENCES quote_offer (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1408', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2053, '8:aaba276b3f66d303f68e6c482957ce41', 'addForeignKeyConstraint baseTableName=cpq_quote_product, constraintName=fk_cpq_quote_product_offer_quote_id, referencedTableName=quote_offer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1409::NabilOuachi
ALTER TABLE cpq_offer_component ADD CONSTRAINT fk_cpq_offer_component_offer_template_id FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1409', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2055, '8:9e8d3494c30900616d99f1b3f3b00afb', 'addForeignKeyConstraint baseTableName=cpq_offer_component, constraintName=fk_cpq_offer_component_offer_template_id, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1411::NabilOuachi
ALTER TABLE cpq_attribute ADD CONSTRAINT fk_cpq_attribute_parent_attributes_id FOREIGN KEY (parent_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1411', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2057, '8:db5a1bb2e621ebdd573e292c4d037fe5', 'addForeignKeyConstraint baseTableName=cpq_attribute, constraintName=fk_cpq_attribute_parent_attributes_id, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1413::NabilOuachi
ALTER TABLE cpq_attribute_allowed_values ADD CONSTRAINT fk_cpq_attribute_allowed_values_attribute_type_id FOREIGN KEY (attribute_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1413', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2059, '8:8ddf947c91e6227ea23a790ffe180e4d', 'addForeignKeyConstraint baseTableName=cpq_attribute_allowed_values, constraintName=fk_cpq_attribute_allowed_values_attribute_type_id, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1414::NabilOuachi
ALTER TABLE cpq_product_version_attributes ADD CONSTRAINT cpq_product_version_attributes_attribute_id FOREIGN KEY (attribute_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1414', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2061, '8:809b06492a344be6da24b98d6fdb52e4', 'addForeignKeyConstraint baseTableName=cpq_product_version_attributes, constraintName=cpq_product_version_attributes_attribute_id, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1415::NabilOuachi
ALTER TABLE cpq_product_version_attributes ADD CONSTRAINT cpq_product_version_attributes_product_version_id FOREIGN KEY (product_version_id) REFERENCES cpq_product_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1415', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2063, '8:9ddc6394f79e49025082b9f6a3ed6570', 'addForeignKeyConstraint baseTableName=cpq_product_version_attributes, constraintName=cpq_product_version_attributes_product_version_id, referencedTableName=cpq_product_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1416::NabilOuachi
ALTER TABLE cpq_service_template_attributes ADD CONSTRAINT cpq_service_template_attributes_attribute_id FOREIGN KEY (attribute_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1416', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2065, '8:199e91614ac0da8393dd8a12f4a4afcf', 'addForeignKeyConstraint baseTableName=cpq_service_template_attributes, constraintName=cpq_service_template_attributes_attribute_id, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1417::NabilOuachi
ALTER TABLE cpq_service_template_attributes ADD CONSTRAINT "cpq_service_template_attributes_serviceTemplate_id" FOREIGN KEY (service_template_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1417', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2067, '8:45ba09456fcf12027eb2d5ba64ff8589', 'addForeignKeyConstraint baseTableName=cpq_service_template_attributes, constraintName=cpq_service_template_attributes_serviceTemplate_id, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1418::NabilOuachi
ALTER TABLE cpq_quote_lot ADD CONSTRAINT fk_cpq_quote_lot_cpq_quote_version_id FOREIGN KEY (cpq_quote_version_id) REFERENCES cpq_quote_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1418', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2069, '8:02ac1d5e852d931f8f565b1d9c1e671f', 'addForeignKeyConstraint baseTableName=cpq_quote_lot, constraintName=fk_cpq_quote_lot_cpq_quote_version_id, referencedTableName=cpq_quote_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1419::NabilOuachi
ALTER TABLE cpq_quote_version ADD CONSTRAINT fk_cpq_quote_version_cpq_quote_id FOREIGN KEY (cpq_quote_id) REFERENCES cpq_quote (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1419', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2071, '8:9be17e6ecb889ffc59c078455c2f67c5', 'addForeignKeyConstraint baseTableName=cpq_quote_version, constraintName=fk_cpq_quote_version_cpq_quote_id, referencedTableName=cpq_quote', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1420::NabilOuachi
ALTER TABLE cpq_quote ADD CONSTRAINT fk_cpq_quote_seller_id FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1420', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2073, '8:218e9a5a92cc7fa4af59930dd2bfd14c', 'addForeignKeyConstraint baseTableName=cpq_quote, constraintName=fk_cpq_quote_seller_id, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1421::NabilOuachi
ALTER TABLE cpq_quote ADD CONSTRAINT fk_cpq_quote_billable_account_id FOREIGN KEY (billable_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1421', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2075, '8:a14360a06afcda5c4459ba8b8e42cedb', 'addForeignKeyConstraint baseTableName=cpq_quote, constraintName=fk_cpq_quote_billable_account_id, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1422::NabilOuachi
ALTER TABLE cpq_quote ADD CONSTRAINT fk_cpq_quote_applicant_account_id FOREIGN KEY (applicant_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1422', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2077, '8:35934087693a380300bac8f5a983be62', 'addForeignKeyConstraint baseTableName=cpq_quote, constraintName=fk_cpq_quote_applicant_account_id, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1423::NabilOuachi
ALTER TABLE cpq_quote_version ADD CONSTRAINT fk_cpq_quote_version_contract_id FOREIGN KEY (contract_id) REFERENCES cpq_contract (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1423', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2079, '8:2f3036f9c8f949ad699f2f7c6d60223d', 'addForeignKeyConstraint baseTableName=cpq_quote_version, constraintName=fk_cpq_quote_version_contract_id, referencedTableName=cpq_contract', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1424::NabilOuachi
ALTER TABLE cpq_quote_product ADD CONSTRAINT fk_quote_version_id FOREIGN KEY (quote_version_id) REFERENCES cpq_quote_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1424', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2081, '8:543fe7a9de047292a1eb561f152eba7b', 'addForeignKeyConstraint baseTableName=cpq_quote_product, constraintName=fk_quote_version_id, referencedTableName=cpq_quote_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1425::NabilOuachi
ALTER TABLE cpq_quote_product ADD CONSTRAINT fk_cpq_quote_product_cpq_quote_id FOREIGN KEY (cpq_quote_id) REFERENCES cpq_quote (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1425', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2083, '8:8b78902c1b13f72e29e62ab87e172a9a', 'addForeignKeyConstraint baseTableName=cpq_quote_product, constraintName=fk_cpq_quote_product_cpq_quote_id, referencedTableName=cpq_quote', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1426::NabilOuachi
ALTER TABLE cpq_quote_price ADD CONSTRAINT "fk_quote_price_quote_article_Line" FOREIGN KEY (quote_article_line_id) REFERENCES cpq_quote_article_line (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1426', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2085, '8:b7ff4eb55643699b8edd0e394a41254c', 'addForeignKeyConstraint baseTableName=cpq_quote_price, constraintName=fk_quote_price_quote_article_Line, referencedTableName=cpq_quote_article_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1427::NabilOuachi
ALTER TABLE cpq_quote_price ADD CONSTRAINT fk_quote_price_quote_version FOREIGN KEY (quote_version_id) REFERENCES cpq_quote_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1427', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2087, '8:a13014f1243c0274bb2543bd4992bfb3', 'addForeignKeyConstraint baseTableName=cpq_quote_price, constraintName=fk_quote_price_quote_version, referencedTableName=cpq_quote_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1428::NabilOuachi
ALTER TABLE cpq_quote_attribute ADD CONSTRAINT fk_cpq_quote_attribute_cpq_attribute_id FOREIGN KEY (cpq_attribute_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1428', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2089, '8:eab4f30341f706fb95720b7a2a6d258a', 'addForeignKeyConstraint baseTableName=cpq_quote_attribute, constraintName=fk_cpq_quote_attribute_cpq_attribute_id, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1429::NabilOuachi
ALTER TABLE cpq_quote_attribute ADD CONSTRAINT fk_cpq_quote_attribute_cpq_quote_product_id FOREIGN KEY (cpq_quote_product_id) REFERENCES cpq_quote_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1429', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2091, '8:4db3de403ee528c667907ad92673fd62', 'addForeignKeyConstraint baseTableName=cpq_quote_attribute, constraintName=fk_cpq_quote_attribute_cpq_quote_product_id, referencedTableName=cpq_quote_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1430::NabilOuachi
ALTER TABLE cpq_offer_component_tags ADD CONSTRAINT cpq_offer_component_tags_offer_component_id_fk FOREIGN KEY (offer_component_id) REFERENCES cat_offer_template (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1430', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2093, '8:f194e6c77696f0a8bccff445edee0fa4', 'addForeignKeyConstraint baseTableName=cpq_offer_component_tags, constraintName=cpq_offer_component_tags_offer_component_id_fk, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1431::NabilOuachi
ALTER TABLE cpq_offer_component_tags ADD CONSTRAINT cpq_offer_component_tags_tag_id_fk FOREIGN KEY (tag_id) REFERENCES cpq_tag (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1431', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2095, '8:9c0c51e066b5b52c2f05632f59ea9095', 'addForeignKeyConstraint baseTableName=cpq_offer_component_tags, constraintName=cpq_offer_component_tags_tag_id_fk, referencedTableName=cpq_tag', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1432::NabilOuachi
ALTER TABLE cpq_product_version_grouped_attributes ADD CONSTRAINT cpq_product_version_grouped__attribute_id FOREIGN KEY (grouped_attributes_id) REFERENCES cpq_grouped_attributes (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1432', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2097, '8:7b99232a3dec6802573cd08f6cf74d89', 'addForeignKeyConstraint baseTableName=cpq_product_version_grouped_attributes, constraintName=cpq_product_version_grouped__attribute_id, referencedTableName=cpq_grouped_attributes', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1433::NabilOuachi
ALTER TABLE cpq_product_version_grouped_attributes ADD CONSTRAINT cpq_product_version_grouped_attributes_product_version_id FOREIGN KEY (product_version_id) REFERENCES cpq_product_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1433', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2099, '8:f2e12ef46eaa9b868983086ae86f5217', 'addForeignKeyConstraint baseTableName=cpq_product_version_grouped_attributes, constraintName=cpq_product_version_grouped_attributes_product_version_id, referencedTableName=cpq_product_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1434::NabilOuachi
ALTER TABLE billing_accounting_article ADD CONSTRAINT fk_billing_accounting_article_tax_class FOREIGN KEY (tax_class_id) REFERENCES billing_tax_class (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1434', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2101, '8:9c23cdc89d8e7952f831371b82197213', 'addForeignKeyConstraint baseTableName=billing_accounting_article, constraintName=fk_billing_accounting_article_tax_class, referencedTableName=billing_tax_class', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1435::NabilOuachi
ALTER TABLE billing_accounting_article ADD CONSTRAINT fk_billing_accounting_article_invoice_sub_category FOREIGN KEY (invoice_sub_category_id) REFERENCES billing_invoice_sub_cat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1435', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2103, '8:8319214c15bf364471716758fef45bae', 'addForeignKeyConstraint baseTableName=billing_accounting_article, constraintName=fk_billing_accounting_article_invoice_sub_category, referencedTableName=billing_invoice_sub_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1436::NabilOuachi
ALTER TABLE billing_accounting_article ADD CONSTRAINT fk_billing_accounting_article_article_family FOREIGN KEY (article_family_id) REFERENCES billing_article_family (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1436', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2105, '8:b6be1b78b2a203b74fbfc063b9678d80', 'addForeignKeyConstraint baseTableName=billing_accounting_article, constraintName=fk_billing_accounting_article_article_family, referencedTableName=billing_article_family', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1437::NabilOuachi
ALTER TABLE billing_accounting_article ADD CONSTRAINT fk_billing_accounting_article_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1437', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2107, '8:dfad93a4a59747bdba40891e9f98be53', 'addForeignKeyConstraint baseTableName=billing_accounting_article, constraintName=fk_billing_accounting_article_accounting_code, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1438::NabilOuachi
ALTER TABLE billing_article_family ADD CONSTRAINT fk_billing_article_family_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1438', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2109, '8:6dce4fa39611b6c94290f61f165a3367', 'addForeignKeyConstraint baseTableName=billing_article_family, constraintName=fk_billing_article_family_accounting_code, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1439::NabilOuachi
ALTER TABLE billing_article_family ADD CONSTRAINT fk_billing_article_family_article_family_ref FOREIGN KEY (article_family_ref_id) REFERENCES billing_article_family (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1439', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2111, '8:c54f0de695f76a5343d9b5bb1e7027a1', 'addForeignKeyConstraint baseTableName=billing_article_family, constraintName=fk_billing_article_family_article_family_ref, referencedTableName=billing_article_family', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1440::NabilOuachi
ALTER TABLE billing_article_mapping ADD CONSTRAINT fk_billing_article_mapping_mapping_script FOREIGN KEY (mapping_script_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1440', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2113, '8:51c656be313e7cc3a00facceb399a096', 'addForeignKeyConstraint baseTableName=billing_article_mapping, constraintName=fk_billing_article_mapping_mapping_script, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1441::NabilOuachi
ALTER TABLE billing_article_mapping_line ADD CONSTRAINT fk_billing_article_mapping_line_article_mapping FOREIGN KEY (article_mapping_id) REFERENCES billing_article_mapping (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1441', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2115, '8:143298813d5ab4f5383e4fafce419104', 'addForeignKeyConstraint baseTableName=billing_article_mapping_line, constraintName=fk_billing_article_mapping_line_article_mapping, referencedTableName=billing_article_mapping', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1442::NabilOuachi
ALTER TABLE billing_article_mapping_line ADD CONSTRAINT fk_billing_article_mapping_line_article FOREIGN KEY (article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1442', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2117, '8:e8ad4173909bc467614b6050b04cb3b1', 'addForeignKeyConstraint baseTableName=billing_article_mapping_line, constraintName=fk_billing_article_mapping_line_article, referencedTableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1443::NabilOuachi
ALTER TABLE billing_article_mapping_line ADD CONSTRAINT fk_billing_article_mapping_line_charge_template FOREIGN KEY (charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1443', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2119, '8:ee5c40409ccf31623572083577cbeda5', 'addForeignKeyConstraint baseTableName=billing_article_mapping_line, constraintName=fk_billing_article_mapping_line_charge_template, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1444::NabilOuachi
ALTER TABLE billing_article_mapping_line ADD CONSTRAINT fk_billing_article_mapping_line_offer_template FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1444', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2121, '8:9a32fb4de64cd11223a20287fdf2a48a', 'addForeignKeyConstraint baseTableName=billing_article_mapping_line, constraintName=fk_billing_article_mapping_line_offer_template, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1445::NabilOuachi
ALTER TABLE billing_article_mapping_line ADD CONSTRAINT fk_billing_article_mapping_line_product_template FOREIGN KEY (product_id) REFERENCES cpq_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1445', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2123, '8:3cbb526adce24ce52f9db7b03b79a3b3', 'addForeignKeyConstraint baseTableName=billing_article_mapping_line, constraintName=fk_billing_article_mapping_line_product_template, referencedTableName=cpq_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1447::NabilOuachi
ALTER TABLE billing_attribute_mapping ADD CONSTRAINT attribute_mapping_article_mapping_line_fk FOREIGN KEY (article_mapping_line_id) REFERENCES billing_article_mapping_line (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1447', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2125, '8:7a5d9c8550b2e7b130b8466647109dbf', 'addForeignKeyConstraint baseTableName=billing_attribute_mapping, constraintName=attribute_mapping_article_mapping_line_fk, referencedTableName=billing_article_mapping_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1448::NabilOuachi
ALTER TABLE billing_attribute_mapping ADD CONSTRAINT attribute_mapping_attribute_fk FOREIGN KEY (attribute_id) REFERENCES cpq_attribute (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1448', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2127, '8:200c1cd90c8d221c7a3c0a6de63a922f', 'addForeignKeyConstraint baseTableName=billing_attribute_mapping, constraintName=attribute_mapping_attribute_fk, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1449::NabilOuachi
ALTER TABLE cpq_billing_account_tags ADD CONSTRAINT cpq_billing_account_tags_billing_account_id_fk FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1449', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2129, '8:26a488336a0fb270df8be188db227f1b', 'addForeignKeyConstraint baseTableName=cpq_billing_account_tags, constraintName=cpq_billing_account_tags_billing_account_id_fk, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1450::NabilOuachi
ALTER TABLE cpq_billing_account_tags ADD CONSTRAINT cpq_billing_account_tags_tag_id_fk FOREIGN KEY (tag_id) REFERENCES cpq_tag (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1450', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2131, '8:9e950c40b7cf71d724dd996f652e04c8', 'addForeignKeyConstraint baseTableName=cpq_billing_account_tags, constraintName=cpq_billing_account_tags_tag_id_fk, referencedTableName=cpq_tag', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1451::NabilOuachi
ALTER TABLE cpq_attribute_charge ADD CONSTRAINT cpq_attribute_charge_charge_id_fk FOREIGN KEY (charge_id) REFERENCES cat_charge_template (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1451', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2133, '8:ae2ec10a6beac8f5903f7893179f199e', 'addForeignKeyConstraint baseTableName=cpq_attribute_charge, constraintName=cpq_attribute_charge_charge_id_fk, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1452::NabilOuachi
ALTER TABLE cpq_attribute_charge ADD CONSTRAINT cpq_attribute_charge_attribute_id_fk FOREIGN KEY (attribute_id) REFERENCES cpq_attribute (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1452', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2135, '8:9e61ffd29bc930ae801642da5aaabcda', 'addForeignKeyConstraint baseTableName=cpq_attribute_charge, constraintName=cpq_attribute_charge_attribute_id_fk, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1453::NabilOuachi
ALTER TABLE cat_discount_plan_item ADD CONSTRAINT fk__cat_discount_plan_item__accounting_article FOREIGN KEY (accounting_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1453', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2137, '8:56b2b9fc7bea0482f4180bf0a3f87d1d', 'addForeignKeyConstraint baseTableName=cat_discount_plan_item, constraintName=fk__cat_discount_plan_item__accounting_article, referencedTableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1454::NabilOuachi
ALTER TABLE quote_offer ADD CONSTRAINT fk__quote_offer__cat_discount_plan FOREIGN KEY (discount_plan_id) REFERENCES cat_discount_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1454', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2139, '8:07eedfe51e70a70fbcb92ae1516b5cf6', 'addForeignKeyConstraint baseTableName=quote_offer, constraintName=fk__quote_offer__cat_discount_plan, referencedTableName=cat_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1455::NabilOuachi
ALTER TABLE cpq_quote_version ADD CONSTRAINT fk_cpq_quote_version_discount_plan FOREIGN KEY (discount_plan_id) REFERENCES cat_discount_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1455', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2141, '8:afec7bf848ae499ebf2a4000c437b245', 'addForeignKeyConstraint baseTableName=cpq_quote_version, constraintName=fk_cpq_quote_version_discount_plan, referencedTableName=cat_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1456::NabilOuachi
ALTER TABLE cpq_quote_product ADD CONSTRAINT fk__cpq_quote_product__cat_discount_plan FOREIGN KEY (discount_plan_id) REFERENCES cat_discount_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1456', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2143, '8:66099218b7772e7245ae2e520dbd80da', 'addForeignKeyConstraint baseTableName=cpq_quote_product, constraintName=fk__cpq_quote_product__cat_discount_plan, referencedTableName=cat_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1458::NabilOuachi
ALTER TABLE cpq_commercial_rule_header ADD CONSTRAINT fk_attribute_trade_rule_header FOREIGN KEY (attribute_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1458', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2145, '8:efad974db8502851480af674fd0c49de', 'addForeignKeyConstraint baseTableName=cpq_commercial_rule_header, constraintName=fk_attribute_trade_rule_header, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1459::NabilOuachi
ALTER TABLE cpq_commercial_rule_line ADD CONSTRAINT fk_attribute_rule_line FOREIGN KEY (attribute_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1459', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2147, '8:478bc8cfcd17321a767ca649145eca32', 'addForeignKeyConstraint baseTableName=cpq_commercial_rule_line, constraintName=fk_attribute_rule_line, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1460::NabilOuachi
ALTER TABLE cpq_commercial_rule_line ADD CONSTRAINT fk_grouped_attributes_commercial_rule_line FOREIGN KEY (grouped_attributes_id) REFERENCES cpq_grouped_attributes (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1460', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2149, '8:ec6a79656947f9a0e173c91eee5ce30b', 'addForeignKeyConstraint baseTableName=cpq_commercial_rule_line, constraintName=fk_grouped_attributes_commercial_rule_line, referencedTableName=cpq_grouped_attributes', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1461::NabilOuachi
ALTER TABLE cpq_offer_attributes ADD CONSTRAINT fk_cpq_offer_attributes_offer_template_id FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1461', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2151, '8:ecd533ced0315d73d8b339d03c04a8ea', 'addForeignKeyConstraint baseTableName=cpq_offer_attributes, constraintName=fk_cpq_offer_attributes_offer_template_id, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1462::NabilOuachi
ALTER TABLE cpq_offer_attributes ADD CONSTRAINT fk_cpq_offer_attributes_attribute_id FOREIGN KEY (attribute_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1462', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2153, '8:2562849f49b798451c8c64e521c0eb0b', 'addForeignKeyConstraint baseTableName=cpq_offer_attributes, constraintName=fk_cpq_offer_attributes_attribute_id, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1463::NabilOuachi
ALTER TABLE cpq_commercial_order_billing_invoice ADD CONSTRAINT fk_cpq_commercial_order_billing_invoice_commercial_order_id FOREIGN KEY (commercial_order_id) REFERENCES cpq_commercial_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1463', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2155, '8:ca92d8380d9cd6f783805f6cb9ce16dd', 'addForeignKeyConstraint baseTableName=cpq_commercial_order_billing_invoice, constraintName=fk_cpq_commercial_order_billing_invoice_commercial_order_id, referencedTableName=cpq_commercial_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1464::NabilOuachi
ALTER TABLE cpq_commercial_order_billing_invoice ADD CONSTRAINT fk_cpq_commercial_order_billing_invoice_invoice_id FOREIGN KEY (invoice_id) REFERENCES billing_invoice (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1464', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2157, '8:93c87a8907ed5e92ef423b4182a24efe', 'addForeignKeyConstraint baseTableName=cpq_commercial_order_billing_invoice, constraintName=fk_cpq_commercial_order_billing_invoice_invoice_id, referencedTableName=billing_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1465::NabilOuachi
ALTER TABLE cpq_commercial_order ADD CONSTRAINT fk_cpq_commercial_order_invoice_type_id FOREIGN KEY (invoice_type_id) REFERENCES billing_invoice_type (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1465', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2159, '8:955bb1989e9cf8736b726412a2582576', 'addForeignKeyConstraint baseTableName=cpq_commercial_order, constraintName=fk_cpq_commercial_order_invoice_type_id, referencedTableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1466::NabilOuachi
ALTER TABLE cpq_commercial_order ADD CONSTRAINT fk_cpq_commercial_order_seller_id FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1466', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2161, '8:7a4a8955ac4ce1a112d6e5d45863593b', 'addForeignKeyConstraint baseTableName=cpq_commercial_order, constraintName=fk_cpq_commercial_order_seller_id, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1467::NabilOuachi
ALTER TABLE cpq_commercial_order ADD CONSTRAINT fk_cpq_commercial_order_billing_account_id FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1467', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2163, '8:4194fc876a5da4b1bb3441464e78a954', 'addForeignKeyConstraint baseTableName=cpq_commercial_order, constraintName=fk_cpq_commercial_order_billing_account_id, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1468::NabilOuachi
ALTER TABLE cpq_commercial_order ADD CONSTRAINT fk_cpq_commercial_order_cpq_quote_id FOREIGN KEY (cpq_quote_id) REFERENCES cpq_quote (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1468', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2165, '8:e9896e8fa09df5cb6615732d658b4781', 'addForeignKeyConstraint baseTableName=cpq_commercial_order, constraintName=fk_cpq_commercial_order_cpq_quote_id, referencedTableName=cpq_quote', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1469::NabilOuachi
ALTER TABLE cpq_commercial_order ADD CONSTRAINT fk_cpq_commercial_order_contract_id FOREIGN KEY (contract_id) REFERENCES cpq_contract (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1469', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2167, '8:0624266c9fc4442722259a2dfbd27935', 'addForeignKeyConstraint baseTableName=cpq_commercial_order, constraintName=fk_cpq_commercial_order_contract_id, referencedTableName=cpq_contract', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1470::NabilOuachi
ALTER TABLE cpq_commercial_order ADD CONSTRAINT fk_cpq_commercial_order_order_type_id FOREIGN KEY (order_type_id) REFERENCES cpq_order_type (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1470', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2169, '8:9447fe538580c2e3d46c8afedc0e8ac8', 'addForeignKeyConstraint baseTableName=cpq_commercial_order, constraintName=fk_cpq_commercial_order_order_type_id, referencedTableName=cpq_order_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1471::NabilOuachi
ALTER TABLE cpq_commercial_order ADD CONSTRAINT fk_cpq_commercial_order_invoicing_plan_id FOREIGN KEY (invoicing_plan_id) REFERENCES cpq_invoicing_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1471', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2171, '8:942830d86e596892375fb7b202c86271', 'addForeignKeyConstraint baseTableName=cpq_commercial_order, constraintName=fk_cpq_commercial_order_invoicing_plan_id, referencedTableName=cpq_invoicing_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1472::NabilOuachi
ALTER TABLE cpq_commercial_order ADD CONSTRAINT fk_cpq_commercial_order_order_parent_id FOREIGN KEY (order_parent_id) REFERENCES cpq_commercial_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1472', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2173, '8:fabd14a063d604f7bacda474d92f0c7f', 'addForeignKeyConstraint baseTableName=cpq_commercial_order, constraintName=fk_cpq_commercial_order_order_parent_id, referencedTableName=cpq_commercial_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1473::NabilOuachi
ALTER TABLE cpq_order_attribute ADD CONSTRAINT fk_cpq_order_lot_order_id FOREIGN KEY (order_id) REFERENCES cpq_commercial_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1473', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2175, '8:9d8d6615f4a16aa5543ea5cf7580dc9b', 'addForeignKeyConstraint baseTableName=cpq_order_attribute, constraintName=fk_cpq_order_lot_order_id, referencedTableName=cpq_commercial_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1474::NabilOuachi
ALTER TABLE cpq_order_attribute ADD CONSTRAINT fk_cpq_order_item_order_product_id FOREIGN KEY (order_product_id) REFERENCES cpq_order_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1474', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2177, '8:30094706dc7492eb6ba5d78f4d673517', 'addForeignKeyConstraint baseTableName=cpq_order_attribute, constraintName=fk_cpq_order_item_order_product_id, referencedTableName=cpq_order_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1475::NabilOuachi
ALTER TABLE cpq_order_attribute ADD CONSTRAINT fk_cpq_order_item_order_attribute_id FOREIGN KEY (cpq_attribute_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1475', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2179, '8:cce4c218bea3193866bd3eff596a329b', 'addForeignKeyConstraint baseTableName=cpq_order_attribute, constraintName=fk_cpq_order_item_order_attribute_id, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1476::NabilOuachi
ALTER TABLE cpq_order_offer ADD CONSTRAINT fk_cpq_order_offer FOREIGN KEY (order_id) REFERENCES cpq_commercial_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1476', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2181, '8:c578ff3ae0d419981e4ada255d209f0d', 'addForeignKeyConstraint baseTableName=cpq_order_offer, constraintName=fk_cpq_order_offer, referencedTableName=cpq_commercial_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1477::NabilOuachi
ALTER TABLE cpq_order_offer ADD CONSTRAINT fk_cpq_order_offer_template_id FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1477', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2183, '8:677e30754332d710fdd735d283f84e0c', 'addForeignKeyConstraint baseTableName=cpq_order_offer, constraintName=fk_cpq_order_offer_template_id, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1478::NabilOuachi
ALTER TABLE cpq_order_product ADD CONSTRAINT fk_cpq_order_product_order_id FOREIGN KEY (order_id) REFERENCES cpq_commercial_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1478', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2185, '8:d277ef9e9eed4ac6c6120210a0c4816f', 'addForeignKeyConstraint baseTableName=cpq_order_product, constraintName=fk_cpq_order_product_order_id, referencedTableName=cpq_commercial_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1479::NabilOuachi
ALTER TABLE cpq_order_product ADD CONSTRAINT fk_cpq_order_product_order_service_commercial_id FOREIGN KEY (order_service_commercial_id) REFERENCES cpq_order_lot (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1479', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2187, '8:d5f950100fae0b8d4ee5dad5e9cb58c1', 'addForeignKeyConstraint baseTableName=cpq_order_product, constraintName=fk_cpq_order_product_order_service_commercial_id, referencedTableName=cpq_order_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1480::NabilOuachi
ALTER TABLE cpq_order_product ADD CONSTRAINT fk_cpq_order_product_order_offer_id FOREIGN KEY (order_offer_id) REFERENCES cpq_order_offer (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1480', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2189, '8:144de1f44a353f27493d4492fc834c58', 'addForeignKeyConstraint baseTableName=cpq_order_product, constraintName=fk_cpq_order_product_order_offer_id, referencedTableName=cpq_order_offer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1481::NabilOuachi
ALTER TABLE cpq_order_product ADD CONSTRAINT fk_cpq_order_product_product_version_id FOREIGN KEY (product_version_id) REFERENCES cpq_product_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1481', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2191, '8:b8324cb5c844875b2fb3de2df545a752', 'addForeignKeyConstraint baseTableName=cpq_order_product, constraintName=fk_cpq_order_product_product_version_id, referencedTableName=cpq_product_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1482::NabilOuachi
ALTER TABLE order_article_line ADD CONSTRAINT "fk_order_article_Line_order_id" FOREIGN KEY (order_id) REFERENCES cpq_commercial_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1482', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2193, '8:d4985c4ff523065cdfe7dd6576870381', 'addForeignKeyConstraint baseTableName=order_article_line, constraintName=fk_order_article_Line_order_id, referencedTableName=cpq_commercial_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1483::NabilOuachi
ALTER TABLE order_article_line ADD CONSTRAINT "fk_order_article_Line_order_customer_service_id" FOREIGN KEY (order_customer_service_id) REFERENCES cpq_order_lot (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1483', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2195, '8:cddd98145e412f1d43903b5adb968be4', 'addForeignKeyConstraint baseTableName=order_article_line, constraintName=fk_order_article_Line_order_customer_service_id, referencedTableName=cpq_order_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1484::NabilOuachi
ALTER TABLE order_article_line ADD CONSTRAINT "fk_order_article_Line_accounting_article_id" FOREIGN KEY (accounting_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1484', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2197, '8:2c54ac30c5013a265be3885c134a24c7', 'addForeignKeyConstraint baseTableName=order_article_line, constraintName=fk_order_article_Line_accounting_article_id, referencedTableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1485::NabilOuachi
ALTER TABLE order_price ADD CONSTRAINT "fk_order_price_order_article_Line" FOREIGN KEY (order_article_line_id) REFERENCES order_article_line (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1485', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2199, '8:d39af923b4902bcb3f6ea5b34c75a23f', 'addForeignKeyConstraint baseTableName=order_price, constraintName=fk_order_price_order_article_Line, referencedTableName=order_article_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1486::NabilOuachi
ALTER TABLE order_price ADD CONSTRAINT fk_order_price_order_commercial_order FOREIGN KEY (order_id) REFERENCES cpq_commercial_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1486', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2201, '8:1672473f9481e999e1aff6c140cdc30c', 'addForeignKeyConstraint baseTableName=order_price, constraintName=fk_order_price_order_commercial_order, referencedTableName=cpq_commercial_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1487::NabilOuachi
ALTER TABLE cpq_order_invoice_access_point_list ADD CONSTRAINT fk_cpq_order_invoice_access_point_list_order_invoice_id FOREIGN KEY (order_invoice_id) REFERENCES cpq_order_invoice (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1487', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2203, '8:dacb97670afc5bfea60ed0e8ef3431ae', 'addForeignKeyConstraint baseTableName=cpq_order_invoice_access_point_list, constraintName=fk_cpq_order_invoice_access_point_list_order_invoice_id, referencedTableName=cpq_order_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1488::NabilOuachi
ALTER TABLE cpq_order_invoice_order_ref_list ADD CONSTRAINT fk_cpq_order_invoice_order_ref_list_order_invoice_id FOREIGN KEY (order_invoice_id) REFERENCES cpq_order_invoice (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1488', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2205, '8:12de953756f266c62a6d4017f2a82bd8', 'addForeignKeyConstraint baseTableName=cpq_order_invoice_order_ref_list, constraintName=fk_cpq_order_invoice_order_ref_list_order_invoice_id, referencedTableName=cpq_order_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1489::NabilOuachi
ALTER TABLE cpq_order_invoice ADD CONSTRAINT fk_cpq_order_invoice_seller_id FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1489', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2207, '8:4a083be96e010081df75641350762d80', 'addForeignKeyConstraint baseTableName=cpq_order_invoice, constraintName=fk_cpq_order_invoice_seller_id, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1490::NabilOuachi
ALTER TABLE cpq_order_invoice ADD CONSTRAINT fk_cpq_order_invoice_billing_account_id FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1490', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2209, '8:03c2aa868455db60fbe41189d6d2f607', 'addForeignKeyConstraint baseTableName=cpq_order_invoice, constraintName=fk_cpq_order_invoice_billing_account_id, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1590::NabilOuachi
ALTER TABLE cpq_order_invoice ADD CONSTRAINT fk_cpq_order_invoice_invoice_type_id FOREIGN KEY (invoice_type_id) REFERENCES billing_invoice_type (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1590', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2211, '8:068f22762acff19cec05b792ee0eeee0', 'addForeignKeyConstraint baseTableName=cpq_order_invoice, constraintName=fk_cpq_order_invoice_invoice_type_id, referencedTableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1491::NabilOuachi
ALTER TABLE cpq_order_invoice ADD CONSTRAINT fk_cpq_order_invoice_commercial_order_id FOREIGN KEY (commercial_order_id) REFERENCES cpq_commercial_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1491', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2213, '8:bb4dfaff7428c3027a643f2a31950f46', 'addForeignKeyConstraint baseTableName=cpq_order_invoice, constraintName=fk_cpq_order_invoice_commercial_order_id, referencedTableName=cpq_commercial_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1492::NabilOuachi
ALTER TABLE cpq_order_invoice ADD CONSTRAINT fk_cpq_order_invoice_payment_method_id FOREIGN KEY (payment_method_id) REFERENCES ar_payment_token (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1492', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2215, '8:93183eba248848b929fd428448c0739e', 'addForeignKeyConstraint baseTableName=cpq_order_invoice, constraintName=fk_cpq_order_invoice_payment_method_id, referencedTableName=ar_payment_token', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1493::NabilOuachi
ALTER TABLE billing_invoice_line ADD CONSTRAINT fk_billing_invoice_line_invoice_id FOREIGN KEY (invoice_id) REFERENCES billing_invoice (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1493', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2217, '8:c88d35f893bad617af140d8a8b88d4de', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=fk_billing_invoice_line_invoice_id, referencedTableName=billing_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1494::NabilOuachi
ALTER TABLE billing_invoice_line ADD CONSTRAINT fk_billing_invoice_line_accounting_article_id FOREIGN KEY (accounting_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1494', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2219, '8:0a464624847f655fb3faf8442efce486', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=fk_billing_invoice_line_accounting_article_id, referencedTableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1495::NabilOuachi
ALTER TABLE billing_invoice_line ADD CONSTRAINT fk_billing_invoice_line_offer_service_template_id FOREIGN KEY (offer_service_template_id) REFERENCES cat_offer_serv_templates (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1495', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2221, '8:b5c120caeb65a6a005a687151db673f4', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=fk_billing_invoice_line_offer_service_template_id, referencedTableName=cat_offer_serv_templates', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1496::NabilOuachi
ALTER TABLE billing_invoice_line ADD CONSTRAINT fk_billing_invoice_line_product_id FOREIGN KEY (product_id) REFERENCES cpq_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1496', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2223, '8:0ef3cc0dee04780d2d73378f94dfbda4', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=fk_billing_invoice_line_product_id, referencedTableName=cpq_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1497::NabilOuachi
ALTER TABLE billing_invoice_line ADD CONSTRAINT fk_billing_invoice_line_service_template_id FOREIGN KEY (service_template_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1497', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2225, '8:b9ef41a2a211cda7c02767d8c696c5ec', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=fk_billing_invoice_line_service_template_id, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1498::NabilOuachi
ALTER TABLE billing_invoice_line ADD CONSTRAINT fk_billing_invoice_line_discount_plan_id FOREIGN KEY (discount_plan_id) REFERENCES cat_discount_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1498', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2227, '8:553a133188c12e199e21c7d4eaebb327', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=fk_billing_invoice_line_discount_plan_id, referencedTableName=cat_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1499::NabilOuachi
ALTER TABLE billing_invoice_line ADD CONSTRAINT fk_billing_invoice_line_tax_id FOREIGN KEY (tax_id) REFERENCES billing_tax (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1499', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2229, '8:2b3d91a2dd3c523dcff580f21c7f7ebd', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=fk_billing_invoice_line_tax_id, referencedTableName=billing_tax', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1500::NabilOuachi
ALTER TABLE billing_invoice_line ADD CONSTRAINT fk_billing_invoice_line_commercial_order_id FOREIGN KEY (commercial_order_id) REFERENCES cpq_commercial_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1500', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2231, '8:f629d3553180970b30b4add023015345', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=fk_billing_invoice_line_commercial_order_id, referencedTableName=cpq_commercial_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1501::NabilOuachi
ALTER TABLE cpq_invoicing_plan_item ADD CONSTRAINT fk_cpq_invoicing_plan_item_billing_plan_id FOREIGN KEY (billing_plan_id) REFERENCES cpq_invoicing_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1501', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2233, '8:459b81ab142a549a06bd7b807185f63f', 'addForeignKeyConstraint baseTableName=cpq_invoicing_plan_item, constraintName=fk_cpq_invoicing_plan_item_billing_plan_id, referencedTableName=cpq_invoicing_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1502::NabilOuachi
ALTER TABLE billing_subscription ADD CONSTRAINT fk_billing_subscription_ FOREIGN KEY (commercial_order_id) REFERENCES cpq_commercial_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1502', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2235, '8:5ccba79f6abce6f1b32f066483a97c95', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_billing_subscription_, referencedTableName=cpq_commercial_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1503::NabilOuachi
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_billing_wallet_operation_order_id FOREIGN KEY (order_id) REFERENCES cpq_commercial_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1503', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2237, '8:b8923afc3adc780be196505737b52187', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_billing_wallet_operation_order_id, referencedTableName=cpq_commercial_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1504::NabilOuachi
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_billing_wallet_operation_product_version_id FOREIGN KEY (product_version_id) REFERENCES cpq_product_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1504', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2239, '8:16ba018459b80e02be78653dedb1758d', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_billing_wallet_operation_product_version_id, referencedTableName=cpq_product_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1505::NabilOuachi
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_billing_wallet_operation_accounting_article_id FOREIGN KEY (accounting_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1505', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2241, '8:5ceb3c4a8b74120690e62dfd41a0cd1b', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_billing_wallet_operation_accounting_article_id, referencedTableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1506::NabilOuachi
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_billing_wallet_operation_order_lot_id FOREIGN KEY (order_lot_id) REFERENCES cpq_order_lot (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1506', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2243, '8:69f69f09c2cac18d2482b95dc1809275', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_billing_wallet_operation_order_lot_id, referencedTableName=cpq_order_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1507::NabilOuachi
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_billing_rated_transaction_order_id FOREIGN KEY (order_id) REFERENCES cpq_commercial_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1507', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2245, '8:59b922356897e5bfa29bfc3a1a26b02a', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_billing_rated_transaction_order_id, referencedTableName=cpq_commercial_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1508::NabilOuachi
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_billing_rated_transaction_product_version_id FOREIGN KEY (product_version_id) REFERENCES cpq_product_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1508', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2247, '8:83c77689fd097efc2e989fa29bf9f9b8', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_billing_rated_transaction_product_version_id, referencedTableName=cpq_product_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1509::NabilOuachi
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_rated_transaction_accounting_article_id FOREIGN KEY (accounting_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1509', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2249, '8:0527bf38cc3dd3c656c2c0d1cf4418e8', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_rated_transaction_accounting_article_id, referencedTableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1510::NabilOuachi
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_rated_transaction_lot_id FOREIGN KEY (order_lot_id) REFERENCES cpq_order_lot (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1510', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2251, '8:861bad50beae693128026f4771b94c40', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_rated_transaction_lot_id, referencedTableName=cpq_order_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1511::NabilOuachi
ALTER TABLE cpq_price_plan_matrix_column ADD CONSTRAINT fk_price_plan_matrix_column_ppm_version FOREIGN KEY (ppm_version_id) REFERENCES cpq_price_plan_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1511', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2253, '8:98316b8a224f2b1a59f47dd1b1a9122e', 'addForeignKeyConstraint baseTableName=cpq_price_plan_matrix_column, constraintName=fk_price_plan_matrix_column_ppm_version, referencedTableName=cpq_price_plan_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1512::NabilOuachi
ALTER TABLE cpq_price_plan_matrix_column ADD CONSTRAINT fk_price_plan_matrix_column_product FOREIGN KEY (product_id) REFERENCES cpq_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1512', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2255, '8:ad2123d1e05b97c8bfd9194d1a233fa5', 'addForeignKeyConstraint baseTableName=cpq_price_plan_matrix_column, constraintName=fk_price_plan_matrix_column_product, referencedTableName=cpq_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1513::NabilOuachi
ALTER TABLE cpq_price_plan_matrix_column ADD CONSTRAINT fk_price_plan_matrix_column_attribute FOREIGN KEY (attribute_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1513', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2257, '8:aeb4035ce043c11a8d949022525f5c1c', 'addForeignKeyConstraint baseTableName=cpq_price_plan_matrix_column, constraintName=fk_price_plan_matrix_column_attribute, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1514::NabilOuachi
ALTER TABLE cpq_price_plan_matrix_column ADD CONSTRAINT fk_price_plan_matrix_column_offer_template FOREIGN KEY (offer_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1514', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2259, '8:1a7e8c263f6c4b76156492fd92c9dbe0', 'addForeignKeyConstraint baseTableName=cpq_price_plan_matrix_column, constraintName=fk_price_plan_matrix_column_offer_template, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1515::NabilOuachi
ALTER TABLE cpq_price_plan_matrix_value ADD CONSTRAINT fk_price_plan_matrix_value_price_plan_matrix_column FOREIGN KEY (ppm_column_id) REFERENCES cpq_price_plan_matrix_column (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1515', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2261, '8:e806ce19b53380816e6f358bc0a87565', 'addForeignKeyConstraint baseTableName=cpq_price_plan_matrix_value, constraintName=fk_price_plan_matrix_value_price_plan_matrix_column, referencedTableName=cpq_price_plan_matrix_column', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1516::NabilOuachi
ALTER TABLE cpq_price_plan_matrix_value ADD CONSTRAINT fk_price_plan_matrix_value_price_plan_matrix_line FOREIGN KEY (ppml_id) REFERENCES cpq_price_plan_matrix_line (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1516', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2263, '8:73d5b87b1e312a80657d152c9d245a3f', 'addForeignKeyConstraint baseTableName=cpq_price_plan_matrix_value, constraintName=fk_price_plan_matrix_value_price_plan_matrix_line, referencedTableName=cpq_price_plan_matrix_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1517::NabilOuachi
ALTER TABLE cpq_price_plan_matrix_line ADD CONSTRAINT fk_price_plan_matrix_line_price_plan_matrix_version FOREIGN KEY (ppm_version_id) REFERENCES cpq_price_plan_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1517', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2265, '8:8d1693f768f6efe5c167012a7bb34ec4', 'addForeignKeyConstraint baseTableName=cpq_price_plan_matrix_line, constraintName=fk_price_plan_matrix_line_price_plan_matrix_version, referencedTableName=cpq_price_plan_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1518::NabilOuachi
ALTER TABLE cpq_product_charge_template_mapping ADD CONSTRAINT fk_product_charge_template_mapping_product FOREIGN KEY (product_id) REFERENCES cpq_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1518', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2267, '8:4e3ee73d43cd10b48a89020c2a90b82d', 'addForeignKeyConstraint baseTableName=cpq_product_charge_template_mapping, constraintName=fk_product_charge_template_mapping_product, referencedTableName=cpq_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1519::NabilOuachi
ALTER TABLE cpq_product_charge_template_mapping ADD CONSTRAINT fk_product_charge_template_mapping_charge FOREIGN KEY (charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1519', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2269, '8:e350880fe325c22c7a78a44fcfa70358', 'addForeignKeyConstraint baseTableName=cpq_product_charge_template_mapping, constraintName=fk_product_charge_template_mapping_charge, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1520::NabilOuachi
ALTER TABLE cpq_product_charge_template_mapping ADD CONSTRAINT fk_product_charge_template_mapping_counter FOREIGN KEY (counter_template_id) REFERENCES cat_counter_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1520', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2271, '8:47b4846bcc14d078d7212fb334e32f8b', 'addForeignKeyConstraint baseTableName=cpq_product_charge_template_mapping, constraintName=fk_product_charge_template_mapping_counter, referencedTableName=cat_counter_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1521::NabilOuachi
ALTER TABLE cat_product_wallet_template_1 ADD CONSTRAINT fk_cat_product_wallet_template_product_charge_template_mapping FOREIGN KEY (product_templt_id) REFERENCES cpq_product_charge_template_mapping (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1521', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2273, '8:744c1f12f86904f4c4f8243cca4a6b46', 'addForeignKeyConstraint baseTableName=cat_product_wallet_template_1, constraintName=fk_cat_product_wallet_template_product_charge_template_mapping, referencedTableName=cpq_product_charge_template_mapping', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1522::NabilOuachi
ALTER TABLE cat_product_wallet_template_1 ADD CONSTRAINT fk_cat_product_wallet_template_product_wallet_template FOREIGN KEY (wallet_template_id) REFERENCES cat_wallet_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1522', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2275, '8:d19762f39e112b593164ec83a669ff83', 'addForeignKeyConstraint baseTableName=cat_product_wallet_template_1, constraintName=fk_cat_product_wallet_template_product_wallet_template, referencedTableName=cat_wallet_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1523::NabilOuachi
ALTER TABLE cat_product_counter_template ADD CONSTRAINT fk_cat_product_counter_template_product_charge_template_mapping FOREIGN KEY (product_templt_id) REFERENCES cpq_product_charge_template_mapping (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1523', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2277, '8:e23c4af00e0cf02ec695c7b1bf948b60', 'addForeignKeyConstraint baseTableName=cat_product_counter_template, constraintName=fk_cat_product_counter_template_product_charge_template_mapping, referencedTableName=cpq_product_charge_template_mapping', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1524::NabilOuachi
ALTER TABLE cat_product_counter_template ADD CONSTRAINT fk_cat_product_counter_template_cat_counter_template FOREIGN KEY (counter_template_id) REFERENCES cat_counter_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1524', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2279, '8:c5e31aa11be0a380f56ad9430b1d8065', 'addForeignKeyConstraint baseTableName=cat_product_counter_template, constraintName=fk_cat_product_counter_template_cat_counter_template, referencedTableName=cat_counter_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1525::NabilOuachi
ALTER TABLE cpq_quote ADD CONSTRAINT fk_cpq_quote_invoice_type_id FOREIGN KEY (invoice_type_id) REFERENCES billing_invoice_type (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1525', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2281, '8:194b6862c08b26b699f642ccc35940d8', 'addForeignKeyConstraint baseTableName=cpq_quote, constraintName=fk_cpq_quote_invoice_type_id, referencedTableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1526::NabilOuachi
ALTER TABLE cpq_quote_article_line ADD CONSTRAINT fk_cpq_quote_article_line_quote_accounting_article_id FOREIGN KEY (accounting_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1526', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2283, '8:313102e7e1acacd8e75cb15f2dcda745', 'addForeignKeyConstraint baseTableName=cpq_quote_article_line, constraintName=fk_cpq_quote_article_line_quote_accounting_article_id, referencedTableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1529::NabilOuachi
ALTER TABLE cpq_attribute_instance ADD CONSTRAINT fk_cpq_attribute_instance_cpq_attribute_id FOREIGN KEY (cpq_attribute_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1529', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2285, '8:bce4507e01f4651631c227d81b336cb0', 'addForeignKeyConstraint baseTableName=cpq_attribute_instance, constraintName=fk_cpq_attribute_instance_cpq_attribute_id, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1530::NabilOuachi
ALTER TABLE cpq_attribute_instance ADD CONSTRAINT fk_cpq_attribute_instance_service_instance_id FOREIGN KEY (service_instance_id) REFERENCES billing_service_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1530', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2287, '8:33a42ab6d01b0dbed02032b22e3d897e', 'addForeignKeyConstraint baseTableName=cpq_attribute_instance, constraintName=fk_cpq_attribute_instance_service_instance_id, referencedTableName=billing_service_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1531::NabilOuachi
ALTER TABLE cpq_attribute_instance ADD CONSTRAINT fk_cpq_attribute_instance_subscription_id FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1531', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2289, '8:be77bf5dd14d92262c83afd42d036a8c', 'addForeignKeyConstraint baseTableName=cpq_attribute_instance, constraintName=fk_cpq_attribute_instance_subscription_id, referencedTableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1532::NabilOuachi
ALTER TABLE cpq_quote_article_line ADD CONSTRAINT fk_cpq_quote_article_line_quote_product_id FOREIGN KEY (quote_product_id) REFERENCES cpq_quote_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1532', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2291, '8:fb4647c944e4510be21a378b0d7cd423', 'addForeignKeyConstraint baseTableName=cpq_quote_article_line, constraintName=fk_cpq_quote_article_line_quote_product_id, referencedTableName=cpq_quote_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1533::NabilOuachi
ALTER TABLE cpq_quote_article_line ADD CONSTRAINT fk_cpq_quote_article_line_quote_lot_id FOREIGN KEY (quote_lot_id) REFERENCES cpq_quote_lot (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1533', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2293, '8:da2d48901a7a8ae196e6e5673e62c558', 'addForeignKeyConstraint baseTableName=cpq_quote_article_line, constraintName=fk_cpq_quote_article_line_quote_lot_id, referencedTableName=cpq_quote_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1534::NabilOuachi
ALTER TABLE billing_service_instance ADD CONSTRAINT "fk_cpq_product_version_serviceInstance_id" FOREIGN KEY (product_version_id) REFERENCES cpq_product_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1534', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2295, '8:69d428a3884fb78ff12de1ab15efbd29', 'addForeignKeyConstraint baseTableName=billing_service_instance, constraintName=fk_cpq_product_version_serviceInstance_id, referencedTableName=cpq_product_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1535::NabilOuachi
ALTER TABLE billing_service_instance ADD CONSTRAINT "fk_cpq_quote_product_serviceInstance_id" FOREIGN KEY (quote_product_id) REFERENCES cpq_quote_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1535', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2297, '8:5178c92d59ccd40654ca452105562267', 'addForeignKeyConstraint baseTableName=billing_service_instance, constraintName=fk_cpq_quote_product_serviceInstance_id, referencedTableName=cpq_quote_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1536::NabilOuachi
ALTER TABLE cpq_commercial_order ADD CONSTRAINT fk_cpq_commercial_order_access_id FOREIGN KEY (access_id) REFERENCES medina_access (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1536', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2299, '8:7cf60b58002aa0a9f275bdc520623f73', 'addForeignKeyConstraint baseTableName=cpq_commercial_order, constraintName=fk_cpq_commercial_order_access_id, referencedTableName=medina_access', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1537::NabilOuachi
ALTER TABLE cpq_commercial_order ADD CONSTRAINT fk_cpq_commercial_order_user_account_id FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1537', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2301, '8:e01d44ac29012a18ed69ed5e615310ef', 'addForeignKeyConstraint baseTableName=cpq_commercial_order, constraintName=fk_cpq_commercial_order_user_account_id, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1538::NabilOuachi
ALTER TABLE billing_invoice_line ADD CONSTRAINT billing_invoice_line_billing_run_id_fk FOREIGN KEY (billing_run_id) REFERENCES billing_billing_run (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1538', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2303, '8:66e454199e842e82134d927bd87e1453', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=billing_invoice_line_billing_run_id_fk, referencedTableName=billing_billing_run', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1539::NabilOuachi
ALTER TABLE billing_invoice_line ADD CONSTRAINT billing_billing_account_id_fk FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1539', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2305, '8:24cf4305786b41f46669c63671c3b861', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=billing_billing_account_id_fk, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1540::NabilOuachi
ALTER TABLE billing_invoice_line ADD CONSTRAINT billing_service_instance_id_fk FOREIGN KEY (service_instance_id) REFERENCES billing_service_instance (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1540', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2307, '8:46974e8c5e087f873a3435844727257d', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=billing_service_instance_id_fk, referencedTableName=billing_service_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1541::NabilOuachi
ALTER TABLE billing_invoice_line ADD CONSTRAINT billing_subscription_id_fk FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1541', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2309, '8:183ce79ea7b150972f6c7db1815c2029', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=billing_subscription_id_fk, referencedTableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1542::NabilOuachi
ALTER TABLE billing_invoice_line ADD CONSTRAINT billing_offer_template_id_fk FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1542', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2311, '8:a9a69cf6737ba672db44651df4d6bfea', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=billing_offer_template_id_fk, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1543::NabilOuachi
ALTER TABLE billing_invoice_line ADD CONSTRAINT billing_invoice_line__order_lot__fk FOREIGN KEY (order_lot_id) REFERENCES cpq_order_lot (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1543', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2313, '8:fe14a9cd60e9c210d1ea0be3e01940e1', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=billing_invoice_line__order_lot__fk, referencedTableName=cpq_order_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1544::NabilOuachi
ALTER TABLE billing_invoice_line ADD CONSTRAINT billing_invoice_line__product_version__fk FOREIGN KEY (product_version_id) REFERENCES cpq_product_version (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1544', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2315, '8:fcdbc72904d799d63d9ee41103623234', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=billing_invoice_line__product_version__fk, referencedTableName=cpq_product_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1545::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT fk_cat_charge_template_attribute_id FOREIGN KEY (attribute_id) REFERENCES cpq_attribute (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1545', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2317, '8:a7628dd354a1b5af29c4d2fb67dec915', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_cat_charge_template_attribute_id, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1546::NabilOuachi
ALTER TABLE cpq_quote_price ADD CONSTRAINT fk_cpq_quote_price_charge_template_id FOREIGN KEY (charge_template_id) REFERENCES cat_charge_template (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1546', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2319, '8:afa44e72f36e59fa8736b4695c790d51', 'addForeignKeyConstraint baseTableName=cpq_quote_price, constraintName=fk_cpq_quote_price_charge_template_id, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1547::NabilOuachi
ALTER TABLE order_price ADD CONSTRAINT fk_order_price_charge_template_id FOREIGN KEY (charge_template_id) REFERENCES cat_charge_template (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1547', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2321, '8:fa93b7d71e14728e062fad46734760de', 'addForeignKeyConstraint baseTableName=order_price, constraintName=fk_order_price_charge_template_id, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1548::NabilOuachi
ALTER TABLE order_article_line ADD CONSTRAINT fk_order_article_line_order_product_id FOREIGN KEY (order_product_id) REFERENCES cpq_order_product (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1548', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2323, '8:7221aa67a25b9edef6253a2e7766ea45', 'addForeignKeyConstraint baseTableName=order_article_line, constraintName=fk_order_article_line_order_product_id, referencedTableName=cpq_order_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1549::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT fk_cat_charge_templat_attribute_duration_id FOREIGN KEY (attribute_duration_id) REFERENCES cpq_attribute (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1549', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2325, '8:897a633bf6d2f901c106b9cfb5a876a9', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_cat_charge_templat_attribute_duration_id, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1550::NabilOuachi
ALTER TABLE cat_charge_template ADD CONSTRAINT fk_cat_charge_template_attribute_calendar_id FOREIGN KEY (attribute_calendar_id) REFERENCES cpq_attribute (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1550', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2327, '8:47494e3740d80f6754a6144987956a9c', 'addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_cat_charge_template_attribute_calendar_id, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1551::NabilOuachi
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_billing_rated_transaction_invoice_line_id FOREIGN KEY (invoice_line_id) REFERENCES billing_invoice_line (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1551', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2329, '8:cb55f2127bde98578560384e637ddbec', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_billing_rated_transaction_invoice_line_id, referencedTableName=billing_invoice_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1552::NabilOuachi
ALTER TABLE cpq_product ADD CONSTRAINT fk_cpq_product_product_version_id FOREIGN KEY (product_version_id) REFERENCES cpq_product_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1552', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2331, '8:1915d10b5ea16e33e55a8e8a67c41995', 'addForeignKeyConstraint baseTableName=cpq_product, constraintName=fk_cpq_product_product_version_id, referencedTableName=cpq_product_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1553::NabilOuachi
ALTER TABLE cpq_attribute_instance ADD CONSTRAINT fk_cpq_attribute_instance_parent_id FOREIGN KEY (parent_id) REFERENCES cpq_attribute_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1553', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2333, '8:1a4c9d840c20e74fdcf47cc6567db717', 'addForeignKeyConstraint baseTableName=cpq_attribute_instance, constraintName=fk_cpq_attribute_instance_parent_id, referencedTableName=cpq_attribute_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1554::NabilOuachi
ALTER TABLE cpq_quote_attribute ADD CONSTRAINT fk_cpq_quote_instance_parent_id FOREIGN KEY (parent_id) REFERENCES cpq_quote_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1554', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2335, '8:365cac2f476b8b5a81cb2b3a9c19fa5a', 'addForeignKeyConstraint baseTableName=cpq_quote_attribute, constraintName=fk_cpq_quote_instance_parent_id, referencedTableName=cpq_quote_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1555::NabilOuachi
ALTER TABLE cpq_order_attribute ADD CONSTRAINT fk_cpq_order_instance_parent_id FOREIGN KEY (parent_id) REFERENCES cpq_order_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1555', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2337, '8:cd163de1ad53aee47b6482ec61e4f6ee', 'addForeignKeyConstraint baseTableName=cpq_order_attribute, constraintName=fk_cpq_order_instance_parent_id, referencedTableName=cpq_order_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1556::NabilOuachi
ALTER TABLE cpq_quote_attribute ADD CONSTRAINT fk_cpq_quote_attribute_quote_offer_id FOREIGN KEY (cpq_quote_offer_id) REFERENCES quote_offer (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1556', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2339, '8:af289fafd23589d9d6375314e7f127f2', 'addForeignKeyConstraint baseTableName=cpq_quote_attribute, constraintName=fk_cpq_quote_attribute_quote_offer_id, referencedTableName=quote_offer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1557::NabilOuachi
ALTER TABLE crm_customer ADD CONSTRAINT fk_crm_customer_iminimum_article_id FOREIGN KEY (minimum_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1557', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2341, '8:42b893fae2460fc06a7168f71b4d6dca', 'addForeignKeyConstraint baseTableName=crm_customer, constraintName=fk_crm_customer_iminimum_article_id, referencedTableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1558::NabilOuachi
ALTER TABLE ar_customer_account ADD CONSTRAINT fk_ar_customer_account_minimum_article_id FOREIGN KEY (minimum_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1558', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2343, '8:8c02498db41c45729c73a98bdc69fce5', 'addForeignKeyConstraint baseTableName=ar_customer_account, constraintName=fk_ar_customer_account_minimum_article_id, referencedTableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1559::NabilOuachi
ALTER TABLE billing_billing_account ADD CONSTRAINT fk_billing_billing_account_minimum_article_id FOREIGN KEY (minimum_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1559', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2345, '8:20a7d7ed01f01171a60a2f256abe3199', 'addForeignKeyConstraint baseTableName=billing_billing_account, constraintName=fk_billing_billing_account_minimum_article_id, referencedTableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1560::NabilOuachi
ALTER TABLE billing_user_account ADD CONSTRAINT fk_billing_user_account_minimum_article_id FOREIGN KEY (minimum_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1560', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2347, '8:cf906e6ddf02acc29168c9ae288dbbcb', 'addForeignKeyConstraint baseTableName=billing_user_account, constraintName=fk_billing_user_account_minimum_article_id, referencedTableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1561::NabilOuachi
ALTER TABLE billing_subscription ADD CONSTRAINT fk_billing_subscription_minimum_article_id FOREIGN KEY (minimum_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1561', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2349, '8:f27e69220a80a0ba7ac32b08a9e6598f', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_billing_subscription_minimum_article_id, referencedTableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1562::NabilOuachi
ALTER TABLE billing_service_instance ADD CONSTRAINT fk_billing_service_instance_minimum_article_id FOREIGN KEY (minimum_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1562', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2351, '8:783cb26598b52de379d17f4689813965', 'addForeignKeyConstraint baseTableName=billing_service_instance, constraintName=fk_billing_service_instance_minimum_article_id, referencedTableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1563::NabilOuachi
ALTER TABLE cat_offer_template ADD CONSTRAINT fk_cat_offer_template_minimum_article_id FOREIGN KEY (minimum_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1563', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2353, '8:d02d05a5cd92606ecc02b7b7bc5404fd', 'addForeignKeyConstraint baseTableName=cat_offer_template, constraintName=fk_cat_offer_template_minimum_article_id, referencedTableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1564::NabilOuachi
ALTER TABLE cpq_offer_template_media ADD CONSTRAINT cpq_offer_template_media_offer_template_id_fk FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1564', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2355, '8:1237895cb39e48f9170acb8d6b27021e', 'addForeignKeyConstraint baseTableName=cpq_offer_template_media, constraintName=cpq_offer_template_media_offer_template_id_fk, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1565::NabilOuachi
ALTER TABLE cpq_offer_template_media ADD CONSTRAINT cpq_offer_template_media_media_id_fk FOREIGN KEY (media_id) REFERENCES cpq_media (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1565', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2357, '8:673de6f64b16c8e8b990819d053c1d50', 'addForeignKeyConstraint baseTableName=cpq_offer_template_media, constraintName=cpq_offer_template_media_media_id_fk, referencedTableName=cpq_media', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1566::NabilOuachi
ALTER TABLE cpq_product_media ADD CONSTRAINT cpq_product_media_product_id_fk FOREIGN KEY (product_id) REFERENCES cpq_product (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1566', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2359, '8:e789ca2223732153b524c40944a2f02e', 'addForeignKeyConstraint baseTableName=cpq_product_media, constraintName=cpq_product_media_product_id_fk, referencedTableName=cpq_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1567::NabilOuachi
ALTER TABLE cpq_product_media ADD CONSTRAINT cpq_product_media_id_fk FOREIGN KEY (media_id) REFERENCES cpq_media (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1567', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2361, '8:227781898a6b44905313af4beabc01bf', 'addForeignKeyConstraint baseTableName=cpq_product_media, constraintName=cpq_product_media_id_fk, referencedTableName=cpq_media', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1568::NabilOuachi
ALTER TABLE cpq_attribute_media ADD CONSTRAINT cpq_attribute_media_attribute_id_fk FOREIGN KEY (attribute_id) REFERENCES cpq_attribute (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1568', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2363, '8:cc9f0d65b910c780bbf5a90553f8a587', 'addForeignKeyConstraint baseTableName=cpq_attribute_media, constraintName=cpq_attribute_media_attribute_id_fk, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1569::NabilOuachi
ALTER TABLE cpq_attribute_media ADD CONSTRAINT cpq_attribute_media_id_fk FOREIGN KEY (media_id) REFERENCES cpq_media (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1569', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2365, '8:0ba0c587b3921a966aff0a1cd9f60cea', 'addForeignKeyConstraint baseTableName=cpq_attribute_media, constraintName=cpq_attribute_media_id_fk, referencedTableName=cpq_media', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1570::NabilOuachi
ALTER TABLE cpq_grouped_attributes_attribute ADD CONSTRAINT fk_cpq_grouped_attributes_attribute_attribute_id FOREIGN KEY (attribute_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1570', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2367, '8:5732bfcc57d73d544a438b69b690055a', 'addForeignKeyConstraint baseTableName=cpq_grouped_attributes_attribute, constraintName=fk_cpq_grouped_attributes_attribute_attribute_id, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1571::NabilOuachi
ALTER TABLE cpq_grouped_attributes_attribute ADD CONSTRAINT fk_cpq_grouped_attributes_attribute_groupedattribute_id FOREIGN KEY (grouped_attributes) REFERENCES cpq_grouped_attributes (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1571', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2369, '8:17e21c2e5030af9aa88eee34dd863b42', 'addForeignKeyConstraint baseTableName=cpq_grouped_attributes_attribute, constraintName=fk_cpq_grouped_attributes_attribute_groupedattribute_id, referencedTableName=cpq_grouped_attributes', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1572::NabilOuachi
ALTER TABLE cpq_order_attribute ADD CONSTRAINT fk_cpq_order_item_cpq_order_offer_id FOREIGN KEY (cpq_order_offer_id) REFERENCES cpq_order_offer (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1572', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2371, '8:bce1e7d94e3f08dd663529c260600510', 'addForeignKeyConstraint baseTableName=cpq_order_attribute, constraintName=fk_cpq_order_item_cpq_order_offer_id, referencedTableName=cpq_order_offer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1573::NabilOuachi
ALTER TABLE billing_invoice ADD CONSTRAINT fk_billing_invoice_discount_plan_id FOREIGN KEY (discount_plan_id) REFERENCES cat_discount_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1573', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2373, '8:4cab5c445a9844e157dbd97f5cb1982b', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_billing_invoice_discount_plan_id, referencedTableName=cat_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1574::NabilOuachi
ALTER TABLE discount_plan_item_articles ADD CONSTRAINT discount_plan_item_articles_discount_plan_item_id_fk FOREIGN KEY (discount_plan_item_id) REFERENCES cat_discount_plan_item (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1574', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2375, '8:d1c4a00b240e98683d06da2af57514ac', 'addForeignKeyConstraint baseTableName=discount_plan_item_articles, constraintName=discount_plan_item_articles_discount_plan_item_id_fk, referencedTableName=cat_discount_plan_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1575::NabilOuachi
ALTER TABLE discount_plan_item_articles ADD CONSTRAINT discount_plan_item_articles_accounting_article_id_fk FOREIGN KEY (accounting_article_id) REFERENCES billing_accounting_article (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1575', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2377, '8:97b16861c581f64b3f6edf85a6b93e19', 'addForeignKeyConstraint baseTableName=discount_plan_item_articles, constraintName=discount_plan_item_articles_accounting_article_id_fk, referencedTableName=billing_accounting_article', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1576::NabilOuachi
ALTER TABLE cpq_product_discount_plan ADD CONSTRAINT fk_cpq_product_discount_plan_product_id FOREIGN KEY (product_id) REFERENCES cpq_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1576', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2379, '8:008026dd046bca1d4aceeea0632f8554', 'addForeignKeyConstraint baseTableName=cpq_product_discount_plan, constraintName=fk_cpq_product_discount_plan_product_id, referencedTableName=cpq_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1577::NabilOuachi
ALTER TABLE cpq_product_discount_plan ADD CONSTRAINT fk_cpq_product_discount_plan_discount_id FOREIGN KEY (discount_id) REFERENCES cat_discount_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1577', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2381, '8:680af78eaf678824a481d3daf8caa1ce', 'addForeignKeyConstraint baseTableName=cpq_product_discount_plan, constraintName=fk_cpq_product_discount_plan_discount_id, referencedTableName=cat_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1578::NabilOuachi
ALTER TABLE cat_discount_plan_item ADD CONSTRAINT fk_cat_discount_plan_item_price_plan_matrix_id FOREIGN KEY (price_plan_matrix_id) REFERENCES cat_price_plan_matrix (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1578', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2383, '8:ec63d2caeb61e45b56bf3fae5d45242f', 'addForeignKeyConstraint baseTableName=cat_discount_plan_item, constraintName=fk_cat_discount_plan_item_price_plan_matrix_id, referencedTableName=cat_price_plan_matrix', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1579::NabilOuachi
ALTER TABLE cpq_attribute_tag ADD CONSTRAINT fk_cpq_attribute_tag_attribute_id FOREIGN KEY (attribute_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1579', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2385, '8:d7a721d271e308b6cd4dda9bd07ec6e6', 'addForeignKeyConstraint baseTableName=cpq_attribute_tag, constraintName=fk_cpq_attribute_tag_attribute_id, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1580::NabilOuachi
ALTER TABLE cpq_attribute_tag ADD CONSTRAINT fk_cpq_attribute_tag_tag_id FOREIGN KEY (tag_id) REFERENCES cpq_tag (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1580', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2387, '8:76426ea20cc0c46331ede2374988d117', 'addForeignKeyConstraint baseTableName=cpq_attribute_tag, constraintName=fk_cpq_attribute_tag_tag_id, referencedTableName=cpq_tag', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1581::NabilOuachi
ALTER TABLE cpq_order_product ADD CONSTRAINT fk_cpq_order_product_discount_plan_id FOREIGN KEY (discount_plan_id) REFERENCES cat_discount_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1581', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2389, '8:c93507176761bbdec5ecf49e9a79ca4d', 'addForeignKeyConstraint baseTableName=cpq_order_product, constraintName=fk_cpq_order_product_discount_plan_id, referencedTableName=cat_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1582::NabilOuachi
ALTER TABLE cpq_order_offer ADD CONSTRAINT fk_cpq_order_offer_discount_plan_id FOREIGN KEY (discount_plan_id) REFERENCES cat_discount_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1582', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2391, '8:b89c4ae074dddf2cde6715fff507136c', 'addForeignKeyConstraint baseTableName=cpq_order_offer, constraintName=fk_cpq_order_offer_discount_plan_id, referencedTableName=cat_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1583::NabilOuachi
ALTER TABLE cpq_quote_version ADD CONSTRAINT fk_cpq_quote_version_invoicing_plan_id FOREIGN KEY (invoicing_plan_id) REFERENCES cpq_invoicing_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1583', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2393, '8:4fd57f6e9df26fa847db9ddd7634e302', 'addForeignKeyConstraint baseTableName=cpq_quote_version, constraintName=fk_cpq_quote_version_invoicing_plan_id, referencedTableName=cpq_invoicing_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1584::NabilOuachi
ALTER TABLE cpq_commercial_order_order_lot ADD CONSTRAINT fk_cpq_commercial_order_order_lot_commercial_order_id FOREIGN KEY (commercial_order_id) REFERENCES cpq_commercial_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1584', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2395, '8:f3a8acdd8e6b2c03dd300ce83c2a6036', 'addForeignKeyConstraint baseTableName=cpq_commercial_order_order_lot, constraintName=fk_cpq_commercial_order_order_lot_commercial_order_id, referencedTableName=cpq_commercial_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1585::NabilOuachi
ALTER TABLE cpq_commercial_order_order_lot ADD CONSTRAINT fk_cpq_commercial_order_order_lot_order_lot_id FOREIGN KEY (order_lot_id) REFERENCES cpq_order_lot (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1585', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2397, '8:9cd3a1175cb8abe7da23eff3c469f2e1', 'addForeignKeyConstraint baseTableName=cpq_commercial_order_order_lot, constraintName=fk_cpq_commercial_order_order_lot_order_lot_id, referencedTableName=cpq_order_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1586::NabilOuachi
ALTER TABLE crm_seller ADD CONSTRAINT fk_seller_legal_entity_type_id FOREIGN KEY (legal_entity_type_id) REFERENCES adm_title (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE crm_customer ADD CONSTRAINT fk_cust_legal_entity_type_id FOREIGN KEY (legal_entity_type_id) REFERENCES adm_title (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE ar_customer_account ADD CONSTRAINT fk_ca_legal_entity_type_id FOREIGN KEY (legal_entity_type_id) REFERENCES adm_title (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_billing_account ADD CONSTRAINT fk_ba_legal_entity_type_id FOREIGN KEY (legal_entity_type_id) REFERENCES adm_title (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_user_account ADD CONSTRAINT fk_ua_legal_entity_type_id FOREIGN KEY (legal_entity_type_id) REFERENCES adm_title (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE com_contact ADD CONSTRAINT fk_com_contact_legal_entity_type_id FOREIGN KEY (legal_entity_type_id) REFERENCES adm_title (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1586', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2399, '8:7b0b601f000f740453eb72cb97c4b592', 'addForeignKeyConstraint baseTableName=crm_seller, constraintName=fk_seller_legal_entity_type_id, referencedTableName=adm_title; addForeignKeyConstraint baseTableName=crm_customer, constraintName=fk_cust_legal_entity_type_id, referencedTableName=ad...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1587::NabilOuachi
ALTER TABLE cat_offer_template ADD CONSTRAINT offer_template_offer_template_fk FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1587', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2401, '8:cebe2256e0e8c5c2e130e090ca991dd9', 'addForeignKeyConstraint baseTableName=cat_offer_template, constraintName=offer_template_offer_template_fk, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1588::NabilOuachi
ALTER TABLE billing_invoice ADD CONSTRAINT fk_billing_invoice_commercial_order_id FOREIGN KEY (commercial_order_id) REFERENCES cpq_commercial_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1588', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2403, '8:a214d4da52dec675e4021cf7c4771a9c', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_billing_invoice_commercial_order_id, referencedTableName=cpq_commercial_order', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1589::Mbarek-Ay
ALTER TABLE cpq_product ADD CONSTRAINT fk_1y8p1q0o8tw5u0vcodfukdbez FOREIGN KEY (product_line_id) REFERENCES cpq_product_line (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1589', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2405, '8:a90c125222058dbf63849fd2bff6c2fa', 'addForeignKeyConstraint baseTableName=cpq_product, constraintName=fk_1y8p1q0o8tw5u0vcodfukdbez, referencedTableName=cpq_product_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1590::Mbarek-Ay
ALTER TABLE cpq_product ADD CONSTRAINT fk_5iap1p3o8tw5u0vcodazokdub FOREIGN KEY (customer_brand_id) REFERENCES crm_customer_brand (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1590', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2407, '8:3d20db7d72355d583b6f5cebb95d147c', 'addForeignKeyConstraint baseTableName=cpq_product, constraintName=fk_5iap1p3o8tw5u0vcodazokdub, referencedTableName=crm_customer_brand', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1591::Mbarek-Ay
ALTER TABLE cpq_product_line ADD CONSTRAINT fk_1ykj5q0o8tw5u0vcodpoqljca FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1591', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2409, '8:2d4728da448397f8b8a440bebde8084f', 'addForeignKeyConstraint baseTableName=cpq_product_line, constraintName=fk_1ykj5q0o8tw5u0vcodpoqljca, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1592::Mbarek-Ay
ALTER TABLE cpq_tag_type ADD CONSTRAINT fk_9axk5q0o8nddo2vcodpoqlopq FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1592', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2411, '8:a72e442bb9a81084a6e71b20d02ca95f', 'addForeignKeyConstraint baseTableName=cpq_tag_type, constraintName=fk_9axk5q0o8nddo2vcodpoqlopq, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1593::Mbarek-Ay
ALTER TABLE cpq_tag ADD CONSTRAINT fk_oop625q0o8tw5u0vcodospq5c FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1593', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2413, '8:dbdbd912dc260fb0c35210ae2b458945', 'addForeignKeyConstraint baseTableName=cpq_tag, constraintName=fk_oop625q0o8tw5u0vcodospq5c, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1594::Mbarek-Ay
ALTER TABLE cpq_product_line ADD CONSTRAINT fk_bnrqyk9sqqcnt5m298cpbfrqo3 FOREIGN KEY (parent_line) REFERENCES cpq_product_line (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1594', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2415, '8:3faab5e5295fd23334342a3ce5d259b2', 'addForeignKeyConstraint baseTableName=cpq_product_line, constraintName=fk_bnrqyk9sqqcnt5m298cpbfrqo3, referencedTableName=cpq_product_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1595::Mbarek-Ay
ALTER TABLE cpq_product_version ADD CONSTRAINT fk_pomyp8vq0o8t5u0vcodpoaopq FOREIGN KEY (product_id) REFERENCES cpq_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1595', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2417, '8:51e4c48a4fe67e0c904c2d78301b4e7b', 'addForeignKeyConstraint baseTableName=cpq_product_version, constraintName=fk_pomyp8vq0o8t5u0vcodpoaopq, referencedTableName=cpq_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1596::Mbarek-Ay
ALTER TABLE cpq_tag ADD CONSTRAINT fk_pomyppo52t5u0vcodpolcm FOREIGN KEY (tag_type_id) REFERENCES cpq_tag_type (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1596', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2419, '8:2b3e41c693b2a4316c727392fa2cf4dd', 'addForeignKeyConstraint baseTableName=cpq_tag, constraintName=fk_pomyppo52t5u0vcodpolcm, referencedTableName=cpq_tag_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1597::Mbarek-Ay
ALTER TABLE cpq_tag ADD CONSTRAINT fk_pomjqq6n5u0vcodkopm FOREIGN KEY (parent_tag_id) REFERENCES cpq_tag (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1597', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2421, '8:cad03916bac3d50d42fe9d9c24a6018e', 'addForeignKeyConstraint baseTableName=cpq_tag, constraintName=fk_pomjqq6n5u0vcodkopm, referencedTableName=cpq_tag', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1598::Mbarek-Ay
ALTER TABLE cpq_offer_component ADD CONSTRAINT fk_sspl5q1jj6jdakklqp FOREIGN KEY (product_id) REFERENCES cpq_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1598', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2423, '8:04069bbc4c1dba931959a88a14aa3e3a', 'addForeignKeyConstraint baseTableName=cpq_offer_component, constraintName=fk_sspl5q1jj6jdakklqp, referencedTableName=cpq_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1599::Mbarek-Ay
ALTER TABLE cpq_commercial_rule_line ADD CONSTRAINT fk_iw510u1o6ndaphf4 FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1599', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2425, '8:a5589dd82f3cbc2305aa7191007c5d6e', 'addForeignKeyConstraint baseTableName=cpq_commercial_rule_line, constraintName=fk_iw510u1o6ndaphf4, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1600::Mbarek-Ay
ALTER TABLE cpq_commercial_rule_line ADD CONSTRAINT fk_ii50ihu1qzsqikh2bo FOREIGN KEY (product_id) REFERENCES cpq_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1600', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2427, '8:6e5aec4d664bddaaba14e8fc9545b8ac', 'addForeignKeyConstraint baseTableName=cpq_commercial_rule_line, constraintName=fk_ii50ihu1qzsqikh2bo, referencedTableName=cpq_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1601::Mbarek-Ay
ALTER TABLE cpq_commercial_rule_line ADD CONSTRAINT fk_nh50ihuoo32sqijo5v FOREIGN KEY (product_version_id) REFERENCES cpq_product_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1601', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2429, '8:8362b603ba71f8d82a47cc49271e1156', 'addForeignKeyConstraint baseTableName=cpq_commercial_rule_line, constraintName=fk_nh50ihuoo32sqijo5v, referencedTableName=cpq_product_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1602::Mbarek-Ay
ALTER TABLE cpq_commercial_rule_line ADD CONSTRAINT fk_rule_item_rule_line FOREIGN KEY (commercial_rule_item_id) REFERENCES cpq_commercial_rule_item (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1602', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2431, '8:1d3cbcdae1618eb20bdae4c2a9cd1407', 'addForeignKeyConstraint baseTableName=cpq_commercial_rule_line, constraintName=fk_rule_item_rule_line, referencedTableName=cpq_commercial_rule_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1603::Mbarek-Ay
ALTER TABLE cpq_commercial_rule_header ADD CONSTRAINT fk_nhi85o6nnipl087 FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1603', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2433, '8:3325a0234ca1e877b93a17bf19ac9a74', 'addForeignKeyConstraint baseTableName=cpq_commercial_rule_header, constraintName=fk_nhi85o6nnipl087, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1604::Mbarek-Ay
ALTER TABLE cpq_commercial_rule_item ADD CONSTRAINT fk_commercial_rule_header_rule_item FOREIGN KEY (commercial_rule_header_id) REFERENCES cpq_commercial_rule_header (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1604', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2435, '8:35c6cf5890557cf3cb23ef857221a230', 'addForeignKeyConstraint baseTableName=cpq_commercial_rule_item, constraintName=fk_commercial_rule_header_rule_item, referencedTableName=cpq_commercial_rule_header', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1605::Mbarek-Ay
ALTER TABLE cpq_commercial_rule_header ADD CONSTRAINT fk_ggi871iihn0ii77 FOREIGN KEY (product_id) REFERENCES cpq_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1605', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2437, '8:a43feccccee883d8f684f6fd668975e2', 'addForeignKeyConstraint baseTableName=cpq_commercial_rule_header, constraintName=fk_ggi871iihn0ii77, referencedTableName=cpq_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1606::Mbarek-Ay
ALTER TABLE cpq_commercial_rule_header ADD CONSTRAINT fk_omk25ihukik058ijj20 FOREIGN KEY (product_version_id) REFERENCES cpq_product_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1606', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2439, '8:e9a6aa76fea7e483df1cc40d0668532f', 'addForeignKeyConstraint baseTableName=cpq_commercial_rule_header, constraintName=fk_omk25ihukik058ijj20, referencedTableName=cpq_product_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1607::Mbarek-Ay
ALTER TABLE cpq_commercial_rule_header ADD CONSTRAINT fk_hhokb05o32yhp50 FOREIGN KEY (tag_id) REFERENCES cpq_tag (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1607', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2441, '8:c19caf1b41f2d4bdd80678ceb25c204e', 'addForeignKeyConstraint baseTableName=cpq_commercial_rule_header, constraintName=fk_hhokb05o32yhp50, referencedTableName=cpq_tag', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1608::TarikFAKHOURI
ALTER TABLE cpq_quote_product ADD CONSTRAINT fk_quote_lot_id FOREIGN KEY (quote_lot_id) REFERENCES cpq_quote_lot (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1608', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2443, '8:93759bef775fbdc044600b73157a726d', 'addForeignKeyConstraint baseTableName=cpq_quote_product, constraintName=fk_quote_lot_id, referencedTableName=cpq_quote_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1609::TarikFAKHOURI
ALTER TABLE cpq_quote_product ADD CONSTRAINT fk_product_id FOREIGN KEY (product_version_id) REFERENCES cpq_product_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1609', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2445, '8:60be035038773f099b841ff3f9f9ef51', 'addForeignKeyConstraint baseTableName=cpq_quote_product, constraintName=fk_product_id, referencedTableName=cpq_product_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1610::TarikFAKHOURI
ALTER TABLE cpq_contract ADD CONSTRAINT fk_cpq_contract_seller_id FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1610', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2447, '8:72d0d1f6b3e0bdef6a774b1fb7059137', 'addForeignKeyConstraint baseTableName=cpq_contract, constraintName=fk_cpq_contract_seller_id, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1611::TarikFAKHOURI
ALTER TABLE cpq_contract ADD CONSTRAINT fk_cpq_contract_billing_account_id FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1611', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2449, '8:105a9bedbf0c63049645d04014985ce6', 'addForeignKeyConstraint baseTableName=cpq_contract, constraintName=fk_cpq_contract_billing_account_id, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1612::TarikFAKHOURI
ALTER TABLE cpq_contract ADD CONSTRAINT fk_cpq_contract_customer_account_id FOREIGN KEY (customer_account_id) REFERENCES ar_customer_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1612', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2451, '8:3911e00d670f7974d91650c839e879a3', 'addForeignKeyConstraint baseTableName=cpq_contract, constraintName=fk_cpq_contract_customer_account_id, referencedTableName=ar_customer_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1613::TarikFAKHOURI
ALTER TABLE cpq_contract ADD CONSTRAINT fk_cpq_contract_customer_id FOREIGN KEY (customer_id) REFERENCES crm_customer (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1613', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2453, '8:662d07beaed943ec1a5b0bf7a38814a0', 'addForeignKeyConstraint baseTableName=cpq_contract, constraintName=fk_cpq_contract_customer_id, referencedTableName=crm_customer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1614::TarikFAKHOURI
ALTER TABLE cpq_contract_item ADD CONSTRAINT fk_cpq_contract_item_cpq_contract_id FOREIGN KEY (cpq_contract_id) REFERENCES cpq_contract (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1614', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2455, '8:dda3537d3c8b79ae87a0a623fedda43b', 'addForeignKeyConstraint baseTableName=cpq_contract_item, constraintName=fk_cpq_contract_item_cpq_contract_id, referencedTableName=cpq_contract', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1615::TarikFAKHOURI
ALTER TABLE cpq_contract_item ADD CONSTRAINT fk_cpq_contract_item_offer_template_id FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1615', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2457, '8:07d9ef7bf76f4d450f359dbbbf239c61', 'addForeignKeyConstraint baseTableName=cpq_contract_item, constraintName=fk_cpq_contract_item_offer_template_id, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1616::TarikFAKHOURI
ALTER TABLE cpq_contract_item ADD CONSTRAINT fk_cpq_contract_item_cpq_product_id FOREIGN KEY (cpq_product_id) REFERENCES cpq_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1616', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2459, '8:82b3f866c4d1eef1156b9b7a333afb46', 'addForeignKeyConstraint baseTableName=cpq_contract_item, constraintName=fk_cpq_contract_item_cpq_product_id, referencedTableName=cpq_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1617::TarikFAKHOURI
ALTER TABLE cpq_contract_item ADD CONSTRAINT fk_cpq_contract_item_price_plan_id FOREIGN KEY (price_plan_id) REFERENCES cat_price_plan_matrix (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1617', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2461, '8:4ae9ae20c693ad6f1c7a97fa38a50988', 'addForeignKeyConstraint baseTableName=cpq_contract_item, constraintName=fk_cpq_contract_item_price_plan_id, referencedTableName=cat_price_plan_matrix', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1618::TarikFAKHOURI
ALTER TABLE cpq_contract_item ADD CONSTRAINT fk_cpq_contract_item_charge_template_id FOREIGN KEY (charge_template_id) REFERENCES cat_charge_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1618', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2463, '8:01bb3ff7b94c71596df33e01edc8e2ea', 'addForeignKeyConstraint baseTableName=cpq_contract_item, constraintName=fk_cpq_contract_item_charge_template_id, referencedTableName=cat_charge_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1619::TarikFAKHOURI
ALTER TABLE cpq_contract_item ADD CONSTRAINT fk_cpq_contract_item_service_template_id FOREIGN KEY (service_template_id) REFERENCES cat_service_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1619', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2465, '8:9400ad1124ac8ba67232ff272b2582e9', 'addForeignKeyConstraint baseTableName=cpq_contract_item, constraintName=fk_cpq_contract_item_service_template_id, referencedTableName=cat_service_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1620::Mbarek-Ay
ALTER TABLE cpq_grouped_service ADD CONSTRAINT "fk-product-product_version" FOREIGN KEY (product_version_id) REFERENCES cpq_product_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1620', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2467, '8:59b136a639a48ae76b6af557533a7782', 'addForeignKeyConstraint baseTableName=cpq_grouped_service, constraintName=fk-product-product_version, referencedTableName=cpq_product_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1621::Mbarek-Ay
ALTER TABLE cpq_tag_filter ADD CONSTRAINT "fk-tag-tag_filter" FOREIGN KEY (tag_id) REFERENCES cpq_tag (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1621', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2469, '8:91a685d9ad3a5f39fe55ec6b4ba053bc', 'addForeignKeyConstraint baseTableName=cpq_tag_filter, constraintName=fk-tag-tag_filter, referencedTableName=cpq_tag', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1622::Mbarek-Ay
ALTER TABLE cpq_commercial_rule_line ADD CONSTRAINT fk_cpq_tag_rule_line FOREIGN KEY (tag_id) REFERENCES cpq_tag (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1622', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2471, '8:b76ef546fdf4428285125e248ce5acce', 'addForeignKeyConstraint baseTableName=cpq_commercial_rule_line, constraintName=fk_cpq_tag_rule_line, referencedTableName=cpq_tag', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1623::NabilOuachi
ALTER TABLE cpq_price_plan_version ADD CONSTRAINT fk_cpq_price_pla_version_price_plan_matrix FOREIGN KEY (ppm_id) REFERENCES cat_price_plan_matrix (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1623', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2473, '8:67883e6ae3143275cad36c93de155218', 'addForeignKeyConstraint baseTableName=cpq_price_plan_version, constraintName=fk_cpq_price_pla_version_price_plan_matrix, referencedTableName=cat_price_plan_matrix', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1624::Mbarek-Ay
ALTER TABLE cpq_order_offer ADD CONSTRAINT fk_cpq_order_offer_quote_offer_id FOREIGN KEY (quote_offer_id) REFERENCES quote_offer (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1624', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2475, '8:223f8503a02de6aca0cc3e641bcf643b', 'addForeignKeyConstraint baseTableName=cpq_order_offer, constraintName=fk_cpq_order_offer_quote_offer_id, referencedTableName=quote_offer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1625::Mbarek-Ay
ALTER TABLE cpq_order_product ADD CONSTRAINT fk_cpq_order_product_quote_product_id FOREIGN KEY (quote_product_id) REFERENCES cpq_quote_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1625', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2477, '8:df24df72d2e90730a428a2e20aba68d6', 'addForeignKeyConstraint baseTableName=cpq_order_product, constraintName=fk_cpq_order_product_quote_product_id, referencedTableName=cpq_quote_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1626::Mbarek-Ay
ALTER TABLE cpq_order_lot ADD CONSTRAINT fk_cpq_order_lot_quote_lot_id FOREIGN KEY (quote_lot_id) REFERENCES cpq_quote_lot (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1626', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2479, '8:8b970fce6ae48a2ba2c77363fc53e359', 'addForeignKeyConstraint baseTableName=cpq_order_lot, constraintName=fk_cpq_order_lot_quote_lot_id, referencedTableName=cpq_quote_lot', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1627::Mbarek-Ay
ALTER TABLE cat_offer_template ADD CONSTRAINT fk_offer_template_offer_model_id FOREIGN KEY (offer_model_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1627', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2481, '8:9c317d474b5ae62da78487b301a11fb7', 'addForeignKeyConstraint baseTableName=cat_offer_template, constraintName=fk_offer_template_offer_model_id, referencedTableName=cat_offer_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1628::TarikFA.
ALTER TABLE cpq_product ADD CONSTRAINT fk_cpq_product_model_id FOREIGN KEY (product_model_id) REFERENCES cpq_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1628', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2483, '8:ca39723a4d415e6d74a56fbcd1cd7c84', 'addForeignKeyConstraint baseTableName=cpq_product, constraintName=fk_cpq_product_model_id, referencedTableName=cpq_product', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1629::Mbarek-Ay
ALTER TABLE cpq_quote_price ADD CONSTRAINT fk_cpq_quote_price_quote_offer FOREIGN KEY (quote_offer_id) REFERENCES quote_offer (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1629', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2485, '8:313abb9d082c7adcb38519e718033522', 'addForeignKeyConstraint baseTableName=cpq_quote_price, constraintName=fk_cpq_quote_price_quote_offer, referencedTableName=quote_offer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1630::Mbarek-Ay
ALTER TABLE order_price ADD CONSTRAINT fk_order_price_order_offer FOREIGN KEY (order_offer_id) REFERENCES cpq_order_offer (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1630', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2487, '8:71ea2fef2bca929703af764d44aed10b', 'addForeignKeyConstraint baseTableName=order_price, constraintName=fk_order_price_order_offer, referencedTableName=cpq_order_offer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1631::Rachid.Aityaazza
ALTER TABLE cpq_commercial_order ADD CONSTRAINT fk_cpq_commercial_order_discount_plan_id FOREIGN KEY (discount_plan_id) REFERENCES cat_discount_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1631', 'Rachid.Aityaazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2489, '8:e7e6ebb1aca3e5813b45646bc8bf8132', 'addForeignKeyConstraint baseTableName=cpq_commercial_order, constraintName=fk_cpq_commercial_order_discount_plan_id, referencedTableName=cat_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1632::Rachid.Aityaazza
ALTER TABLE cpq_quote_article_line ADD CONSTRAINT fk_quote_article_line_quote_version_id FOREIGN KEY (quote_version_id) REFERENCES cpq_quote_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1632', 'Rachid.Aityaazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2491, '8:9e55565782bbc4bd404e4cb93d45ffc4', 'addForeignKeyConstraint baseTableName=cpq_quote_article_line, constraintName=fk_quote_article_line_quote_version_id, referencedTableName=cpq_quote_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1633::MohammedELAZZOUZI
ALTER TABLE billing_billing_run ADD CONSTRAINT fk__billing_billing_run__invoice_type FOREIGN KEY (invoice_type_id) REFERENCES billing_invoice_type (id) ON UPDATE CASCADE ON DELETE CASCADE;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1633', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2493, '8:abb1e10e5df6562cbf8ea64d30f9269b', 'addForeignKeyConstraint baseTableName=billing_billing_run, constraintName=fk__billing_billing_run__invoice_type, referencedTableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1633::Mbarek-Ay
ALTER TABLE billing_subscription ADD CONSTRAINT fk_billing_subscription_order_offer_id FOREIGN KEY (order_offer_id) REFERENCES cpq_order_offer (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1633', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2495, '8:c0a7bd3852cabd79ee11f38eaa4e6b7d', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_billing_subscription_order_offer_id, referencedTableName=cpq_order_offer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1635::TarikFA.
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_billing_rated_transaction_subscription_id FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1635', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2497, '8:1eda6c8b95f007cdf21a5076ab221108', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_billing_rated_transaction_subscription_id, referencedTableName=billing_subscription', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1636::TarikFA.
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_billing_rated_transaction_charge_instance_id FOREIGN KEY (charge_instance_id) REFERENCES billing_charge_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1636', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2499, '8:987d149e49f7145fb7ab66cec4edb555', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_billing_rated_transaction_charge_instance_id, referencedTableName=billing_charge_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1581_FK_20210902::AbdelkaderBouazza
ALTER TABLE billing_subscription ADD CONSTRAINT fk_billing_next_subscription_id FOREIGN KEY (next_version) REFERENCES billing_subscription (id);

ALTER TABLE billing_subscription ADD CONSTRAINT fk_billing_previous_subscription_id FOREIGN KEY (previous_version) REFERENCES billing_subscription (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1581_FK_20210902', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2501, '8:a35637e0e9bfed9fff35868da04ec938', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_billing_next_subscription_id, referencedTableName=billing_subscription; addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_billing_previous_su...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1637::Mbarek-Ay
ALTER TABLE billing_invoice_line ADD CONSTRAINT fk_billing_invoice_line_cpq_quote_id FOREIGN KEY (cpq_quote_id) REFERENCES cpq_quote (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1637', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2503, '8:4fbfaa7b98ebdf355f5ccbf1506efa73', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=fk_billing_invoice_line_cpq_quote_id, referencedTableName=cpq_quote', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-540-1639::Mbarek-Ay
ALTER TABLE billing_invoice_line ADD CONSTRAINT fk_invoice_line_quote_offer_id FOREIGN KEY (quote_offer_id) REFERENCES quote_offer (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-540-1639', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2505, '8:eaeffc85f5d95db62b20a376e42edd16', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=fk_invoice_line_quote_offer_id, referencedTableName=quote_offer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-540-1640::Mbarek-Ay
ALTER TABLE billing_invoice_line ADD CONSTRAINT fk_invoice_line_order_offer_id FOREIGN KEY (order_offer_id) REFERENCES cpq_order_offer (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-540-1640', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2507, '8:57baea158716e74ab74b83442fadc44f', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=fk_invoice_line_order_offer_id, referencedTableName=cpq_order_offer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1650-1418::hhanine
ALTER TABLE crm_provider ADD CONSTRAINT fk_dunning_default_pause_reason_provider FOREIGN KEY (dunning_default_pause_reason_id) REFERENCES dunning_pause_reasons (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1650-1418', 'hhanine', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2509, '8:3ae63f82885320fe3d2d3a4a67759df8', 'addForeignKeyConstraint baseTableName=crm_provider, constraintName=fk_dunning_default_pause_reason_provider, referencedTableName=dunning_pause_reasons', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-refactoring::AbdelmounaimAkadid
ALTER TABLE report_query_fields ADD CONSTRAINT fk_report_query_fields_id FOREIGN KEY (id) REFERENCES report_query (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE query_scheduler ADD CONSTRAINT fk_report_query_scheduler FOREIGN KEY (report_query_id) REFERENCES report_query (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE query_scheduler ADD CONSTRAINT fk_job_instance_scheduler FOREIGN KEY (job_instance_id) REFERENCES meveo_job_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE meveo_job_instance ADD CONSTRAINT fk_job_query_scheduler_id FOREIGN KEY (query_scheduler_id) REFERENCES query_scheduler (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE query_scheduler_users ADD CONSTRAINT fk_usr_query_scheduler_id FOREIGN KEY (query_scheduler_id) REFERENCES query_scheduler (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE query_scheduler_users ADD CONSTRAINT fk_user_id FOREIGN KEY (user_id) REFERENCES adm_user (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE query_scheduler_emails ADD CONSTRAINT fk_query_scheduler_emails FOREIGN KEY (query_scheduler_id) REFERENCES query_scheduler (id) ON UPDATE CASCADE ON DELETE CASCADE;

ALTER TABLE query_execution_result ADD CONSTRAINT fk_scheduler_result FOREIGN KEY (query_scheduler_id) REFERENCES query_scheduler (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE query_execution_result ADD CONSTRAINT fk_report_query_execution FOREIGN KEY (report_query_id) REFERENCES report_query (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_settings ADD CONSTRAINT fk_dunning_settings_accounting_article_id FOREIGN KEY (accounting_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_stop_reasons ADD CONSTRAINT fk_dunning_settings_stop_reasons_id FOREIGN KEY (dunning_settings_id) REFERENCES dunning_settings (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_agent ADD CONSTRAINT fk_dunning_agent_dunning_settings FOREIGN KEY (dunning_settings_id) REFERENCES dunning_settings (id);

ALTER TABLE dunning_collection_plan_statuses ADD CONSTRAINT fk_dunning_collection_plan_statuses_dunning_settings FOREIGN KEY (dunning_settings_id) REFERENCES dunning_settings (id);

ALTER TABLE dunning_pause_reasons ADD CONSTRAINT fk_dunning_pause_reasons_dunning_settings FOREIGN KEY (dunning_settings_id) REFERENCES dunning_settings (id);

ALTER TABLE dunning_payment_retries ADD CONSTRAINT fk_dunning_payment_retries_dunning_settings FOREIGN KEY (dunning_settings_id) REFERENCES dunning_settings (id);

ALTER TABLE cpq_quote_version_media ADD CONSTRAINT fk_cpq_quote_version_media_id FOREIGN KEY (cpq_quote_version_id) REFERENCES cpq_quote_version (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE cpq_quote_version_media ADD CONSTRAINT fk_cpq_media_quote_version_id FOREIGN KEY (cpq_media_id) REFERENCES cpq_media (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE sub_accounting_period ADD CONSTRAINT fk_accounting_period FOREIGN KEY (accounting_period_id) REFERENCES accounting_period (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE ar_occ_template ADD CONSTRAINT fk_journal_template_scheduler FOREIGN KEY (journal_id) REFERENCES journal (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE ar_account_operation ADD CONSTRAINT fk_journal_account_operation_scheduler FOREIGN KEY (journal_id) REFERENCES journal (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE offer_template_attribute ADD CONSTRAINT offer_template_attribute_attribute_id FOREIGN KEY (attribute_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE offer_template_attribute ADD CONSTRAINT offer_template_attribute_offer_template_id FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE ar_dunning_action ADD CONSTRAINT fk_ar_dunning_action_meveo_script_instance FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE ar_dunning_action ADD CONSTRAINT fk_ar_dunning_action_email_template FOREIGN KEY (action_notification_template_id) REFERENCES com_message_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE ar_dunning_action ADD CONSTRAINT fk_dunning_action_agent FOREIGN KEY (dunning_agent_id) REFERENCES dunning_agent (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_policy_rule ADD CONSTRAINT fk_dunning_determine_level_by_id FOREIGN KEY (dunning_policy_id) REFERENCES dunning_policy (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_policy_rule_line ADD CONSTRAINT fk_dunning_policy_rule_id FOREIGN KEY (dunning_policy_rule_id) REFERENCES dunning_policy_rule (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_level ADD CONSTRAINT fk_dunning_level_min_balance_currency FOREIGN KEY (min_balance_currency_id) REFERENCES adm_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_level ADD CONSTRAINT fk_dunning_level_charge_currency FOREIGN KEY (charge_currency_id) REFERENCES adm_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_level_dunning_action ADD CONSTRAINT dunning_level_dunning_action_pkey_const FOREIGN KEY (dunning_level_id) REFERENCES dunning_level (id);

ALTER TABLE dunning_level_dunning_action ADD CONSTRAINT dunning_action_dunning_level_pkey_const FOREIGN KEY (dunning_action_id) REFERENCES ar_dunning_action (id);

ALTER TABLE dunning_policy_level ADD CONSTRAINT fk_dunning_policy_level_dunning_level FOREIGN KEY (dunning_level_id) REFERENCES dunning_level (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_policy_level ADD CONSTRAINT fk_dunning_policy_level_collection_plan_status FOREIGN KEY (collection_plan_status_id) REFERENCES dunning_collection_plan_statuses (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_policy_level ADD CONSTRAINT fk_dunning_policy_id FOREIGN KEY (dunning_policy_id) REFERENCES dunning_policy (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE ar_accounting_scheme ADD CONSTRAINT fk_acc_scheme_script_inst_id FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE SET NULL;

ALTER TABLE ar_occ_template ADD CONSTRAINT fk_occ_tmplt_accnt_scheme_id FOREIGN KEY (accounting_scheme_id) REFERENCES ar_accounting_scheme (id) ON UPDATE NO ACTION ON DELETE SET NULL;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-refactoring', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2511, '8:f4c79c831542475a8b81837e70721818', 'addForeignKeyConstraint baseTableName=report_query_fields, constraintName=fk_report_query_fields_id, referencedTableName=report_query; addForeignKeyConstraint baseTableName=query_scheduler, constraintName=fk_report_query_scheduler, referencedTable...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-540-1641::ZBariki
ALTER TABLE dunning_policy ADD CONSTRAINT fk_dunning_min_balance_currency_id FOREIGN KEY (min_balance_trigger_currency_id) REFERENCES adm_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-540-1641', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2513, '8:573d36414aeac0df9ee2091a4fa032a1', 'addForeignKeyConstraint baseTableName=dunning_policy, constraintName=fk_dunning_min_balance_currency_id, referencedTableName=adm_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-INTRD-2959::Mbarek-Ay
ALTER TABLE cpq_quote ADD CONSTRAINT fk_cpq_quote_user_account_id FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE quote_offer ADD CONSTRAINT fk_quote_offer_user_account_id FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-INTRD-2959', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2515, '8:6d34aaa0d96efaa35fe71f93d123573f', 'addForeignKeyConstraint baseTableName=cpq_quote, constraintName=fk_cpq_quote_user_account_id, referencedTableName=billing_user_account; addForeignKeyConstraint baseTableName=quote_offer, constraintName=fk_quote_offer_user_account_id, referencedTab...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-540-1642::HatimOUDAD
ALTER TABLE dunning_collection_plan ADD CONSTRAINT fk_dunning_collection_billing_account FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_collection_plan ADD CONSTRAINT fk_dunning_collection_pause_reason FOREIGN KEY (pause_reason_id) REFERENCES dunning_pause_reasons (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_collection_plan ADD CONSTRAINT fk_dunning_collection_stop_reason FOREIGN KEY (stop_reason_id) REFERENCES dunning_stop_reasons (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_collection_plan ADD CONSTRAINT fk_dunning_collection_related_policy FOREIGN KEY (related_policy_id) REFERENCES dunning_policy (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_collection_plan ADD CONSTRAINT fk_dunning_collection_plan_status FOREIGN KEY (status_id) REFERENCES dunning_collection_plan_statuses (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_collection_plan ADD CONSTRAINT fk_initial_collection_plan FOREIGN KEY (initial_collection_plan_id) REFERENCES dunning_collection_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_collection_plan ADD CONSTRAINT fk_collection_plan_related_invoice FOREIGN KEY (related_invoice_id) REFERENCES billing_invoice (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-540-1642', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2517, '8:58ad59885ade906395be6bb3c37210eb', 'addForeignKeyConstraint baseTableName=dunning_collection_plan, constraintName=fk_dunning_collection_billing_account, referencedTableName=billing_billing_account; addForeignKeyConstraint baseTableName=dunning_collection_plan, constraintName=fk_dunn...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2973_20211110-rebuild-str-fk::AmineBENAICHA
ALTER TABLE dunning_level_instance ADD CONSTRAINT fk_dunning_level_instance_collection_plan FOREIGN KEY (dunning_collection_plan_id) REFERENCES dunning_collection_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_level_instance ADD CONSTRAINT fk_dunning_collection_plan_statuses FOREIGN KEY (dunning_collection_plan_status_id) REFERENCES dunning_collection_plan_statuses (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_level_instance ADD CONSTRAINT fk_dunning_level_instance_dunning_level FOREIGN KEY (dunning_level_id) REFERENCES dunning_level (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_action_instance ADD CONSTRAINT fk_dunning_action_instance_agent FOREIGN KEY (dunning_agent_id) REFERENCES dunning_agent (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_action_instance ADD CONSTRAINT fk_dunning_action_instance_collection_plan FOREIGN KEY (dunning_collection_plan_id) REFERENCES dunning_collection_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE dunning_action_instance ADD CONSTRAINT fk_dunning_level_instance FOREIGN KEY (dunning_level_instance_id) REFERENCES dunning_level_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2973_20211110-rebuild-str-fk', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2519, '8:ccf1262b3a32f746203f6b15c1e8997f', 'addForeignKeyConstraint baseTableName=dunning_level_instance, constraintName=fk_dunning_level_instance_collection_plan, referencedTableName=dunning_collection_plan; addForeignKeyConstraint baseTableName=dunning_level_instance, constraintName=fk_du...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-540-1638::Mbarek-Ay
ALTER TABLE billing_invoice ADD CONSTRAINT fk_billing_invoice_cpq_quote_id FOREIGN KEY (cpq_quote_id) REFERENCES cpq_quote (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-540-1638', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2521, '8:f7a5d92fab7f00e237508f7fe39fbdbb', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_billing_invoice_cpq_quote_id, referencedTableName=cpq_quote', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-540-1643::HichamHanine
ALTER TABLE billing_accounting_article ADD CONSTRAINT fk_billing_accounting_article_invoice_type FOREIGN KEY (invoice_type_id) REFERENCES billing_invoice_type (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-540-1643', 'HichamHanine', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2523, '8:b2c03fccf268a19a4a52f231657f1b81', 'addForeignKeyConstraint baseTableName=billing_accounting_article, constraintName=fk_billing_accounting_article_invoice_type, referencedTableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-3461_20212128-rebuild-str-fk::hichamElHaloui
ALTER TABLE security_deposit_templat ADD CONSTRAINT fk_adm_currency_security_deposit_templat FOREIGN KEY (currency_id) REFERENCES adm_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE security_deposit ADD CONSTRAINT fk_security_deposit_templat_security_deposit FOREIGN KEY (templat_id) REFERENCES security_deposit_templat (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE security_deposit ADD CONSTRAINT fk_adm_currency_security_deposit FOREIGN KEY (currency_id) REFERENCES adm_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE security_deposit ADD CONSTRAINT fk_ar_customer_account_security_deposit FOREIGN KEY (customer_account_id) REFERENCES ar_customer_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE security_deposit ADD CONSTRAINT fk_billing_subscription_security_deposit FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE security_deposit ADD CONSTRAINT fk_billing_service_instance_security_deposit FOREIGN KEY (service_instance_id) REFERENCES billing_service_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-3461_20212128-rebuild-str-fk', 'hichamElHaloui', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2525, '8:ead94ad50b217fee511519236d6258f1', 'addForeignKeyConstraint baseTableName=security_deposit_templat, constraintName=fk_adm_currency_security_deposit_templat, referencedTableName=adm_currency; addForeignKeyConstraint baseTableName=security_deposit, constraintName=fk_security_deposit_t...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10283_20220930-rebuild-str-fk::HichamHANINE
ALTER TABLE security_deposit ADD CONSTRAINT fk_billing_account_security_deposit FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10283_20220930-rebuild-str-fk', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2527, '8:a0810f5dfae1164a7b6154b135da1acb', 'addForeignKeyConstraint baseTableName=security_deposit, constraintName=fk_billing_account_security_deposit, referencedTableName=billing_billing_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9946_20220920-rebuild-str-fk::HichamHANINE
ALTER TABLE security_deposit ADD CONSTRAINT fk_security_deposit_invoice FOREIGN KEY (sd_invoice_id) REFERENCES billing_invoice (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9946_20220920-rebuild-str-fk', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2529, '8:30decccd4ea6bde3ec6067d4f81b2bc0', 'addForeignKeyConstraint baseTableName=security_deposit, constraintName=fk_security_deposit_invoice, referencedTableName=billing_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4654_20220203-rebuild-str-fk::HanineHicham
ALTER TABLE security_deposit_transaction ADD CONSTRAINT fk_security_deposit_security_deposit_transaction FOREIGN KEY (security_deposit_id) REFERENCES security_deposit (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE security_deposit_transaction ADD CONSTRAINT fk_ar_account_operation_security_deposit_transaction FOREIGN KEY (account_operation_id) REFERENCES ar_account_operation (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4654_20220203-rebuild-str-fk', 'HanineHicham', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2531, '8:10f7d0ab81295b865622e0a21aed0c3a', 'addForeignKeyConstraint baseTableName=security_deposit_transaction, constraintName=fk_security_deposit_security_deposit_transaction, referencedTableName=security_deposit; addForeignKeyConstraint baseTableName=security_deposit_transaction, constrai...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-1644::Ilyasstalal
ALTER TABLE billing_user_account ADD CONSTRAINT fk_user_account_parent FOREIGN KEY (parent_useraccount_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-1644', 'Ilyasstalal', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2533, '8:275c47f589ecbfada8a342ca288ceeb3', 'addForeignKeyConstraint baseTableName=billing_user_account, constraintName=fk_user_account_parent, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5310-20220310-fk::HichamELHALOUI
ALTER TABLE open_order_threshold ADD CONSTRAINT open_order_threshold_open_order_template_id_fk FOREIGN KEY (open_order_template_id) REFERENCES open_order_template (id) ON UPDATE CASCADE ON DELETE CASCADE;

ALTER TABLE open_order_template_tags ADD CONSTRAINT open_order_template_tags_open_order_template_id_fk FOREIGN KEY (open_order_template_id) REFERENCES open_order_template (id);

ALTER TABLE open_order_template_tags ADD CONSTRAINT open_order_template_tags_tag_id_fk FOREIGN KEY (tag_id) REFERENCES cpq_tag (id);

ALTER TABLE open_order_template_products ADD CONSTRAINT open_order_template_products_open_order_template_id_fk FOREIGN KEY (open_order_template_id) REFERENCES open_order_template (id);

ALTER TABLE open_order_template_products ADD CONSTRAINT open_order_template_products_product_id_fk FOREIGN KEY (open_product_id) REFERENCES open_order_product (id);

ALTER TABLE open_order_template_articles ADD CONSTRAINT open_order_template_articles_open_order_template_id_fk FOREIGN KEY (open_order_template_id) REFERENCES open_order_template (id);

ALTER TABLE open_order_template_articles ADD CONSTRAINT open_order_template_articles_article_id_fk FOREIGN KEY (open_article_id) REFERENCES open_order_article (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5310-20220310-fk', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2535, '8:a85452fa06cce016dbcfe75a331cfc16', 'addForeignKeyConstraint baseTableName=open_order_threshold, constraintName=open_order_threshold_open_order_template_id_fk, referencedTableName=open_order_template; addForeignKeyConstraint baseTableName=open_order_template_tags, constraintName=open...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5636-20220318-fk::hhannine
ALTER TABLE exchange_rate ADD CONSTRAINT fk_exchange_rate_trading_currency_id FOREIGN KEY (trading_currency_id) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5636-20220318-fk', 'hhannine', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2537, '8:0c65d2a54d2b46c2da78a637383e0cb0', 'addForeignKeyConstraint baseTableName=exchange_rate, constraintName=fk_exchange_rate_trading_currency_id, referencedTableName=billing_trading_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13981_20230222-fk::HichamHANINE
ALTER TABLE ar_account_operation ADD CONSTRAINT fk_account_operation_trading_currency FOREIGN KEY (transactional_currency) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13981_20230222-fk', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2539, '8:1416d216098d4f863e4c7fc9868d3ea5', 'addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_account_operation_trading_currency, referencedTableName=billing_trading_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5804-20220321-fk::HatimOUDAD
ALTER TABLE cpq_order_product ADD CONSTRAINT fk_q6d91d7b6bc2ypdbx4tjbr0acbd FOREIGN KEY (sub_termin_reason_id) REFERENCES billing_subscrip_termin_reason (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE cpq_order_offer ADD CONSTRAINT fk_dwdlb9d5mlvdddm3yowwa9uembd FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5804-20220321-fk', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2541, '8:c3cc8d1d3f60179ad1019ea12d3c29e1', 'addForeignKeyConstraint baseTableName=cpq_order_product, constraintName=fk_q6d91d7b6bc2ypdbx4tjbr0acbd, referencedTableName=billing_subscrip_termin_reason; addForeignKeyConstraint baseTableName=cpq_order_offer, constraintName=fk_dwdlb9d5mlvdddm3yo...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4702-20220321-fk::ZBariki
ALTER TABLE ar_occ_template ADD CONSTRAINT fk_contra_accounting_code_id FOREIGN KEY (contra_accounting_code_id) REFERENCES billing_accounting_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4702-20220321-fk', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2543, '8:4bffab86baa89657f9988be4ae73d75e', 'addForeignKeyConstraint baseTableName=ar_occ_template, constraintName=fk_contra_accounting_code_id, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5994-20220328-fk::HichamELHALOUI
ALTER TABLE ar_occ_template ADD CONSTRAINT fk_contra_accounting_code2_id FOREIGN KEY (contra_accounting_code2_id) REFERENCES billing_accounting_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5994-20220328-fk', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2545, '8:a41a1e18bba992666ce2cadfc422058c', 'addForeignKeyConstraint baseTableName=ar_occ_template, constraintName=fk_contra_accounting_code2_id, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6136-20220406-fk::HatimOUDAD
ALTER TABLE cpq_order_offer ADD CONSTRAINT fk_q6d91d7b6bc2ypdbx4tjbr0acbdafs FOREIGN KEY (sub_termin_reason_id) REFERENCES billing_subscrip_termin_reason (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6136-20220406-fk', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2547, '8:cd4a0efb599f0f1d1e2b82cd62749120', 'addForeignKeyConstraint baseTableName=cpq_order_offer, constraintName=fk_q6d91d7b6bc2ypdbx4tjbr0acbdafs, referencedTableName=billing_subscrip_termin_reason', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-540-5991-fk1::Mbarek-Ay
ALTER TABLE cpq_assigned_attributes ADD CONSTRAINT fk_cpq_assigned_attributes_attribute_id FOREIGN KEY (attribute_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-540-5991-fk1', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2549, '8:96833378086007bb437e38c41e62c831', 'addForeignKeyConstraint baseTableName=cpq_assigned_attributes, constraintName=fk_cpq_assigned_attributes_attribute_id, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-540-5991-fk2::Mbarek-Ay
ALTER TABLE cpq_assigned_attributes ADD CONSTRAINT fk_cpq_assigned_attributes_assigned_attribute_id FOREIGN KEY (assigned_attribute_id) REFERENCES cpq_attribute (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-540-5991-fk2', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2551, '8:5831f5ed1505eb02d6d426b28919863d', 'addForeignKeyConstraint baseTableName=cpq_assigned_attributes, constraintName=fk_cpq_assigned_attributes_assigned_attribute_id, referencedTableName=cpq_attribute', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6056_20220413-fk::HatimOUDAD
ALTER TABLE cpq_quote_product ADD CONSTRAINT fk_q6d91d7b6bc2ypdbx4tjbr0acbdcc FOREIGN KEY (sub_termin_reason_id) REFERENCES billing_subscrip_termin_reason (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE quote_offer ADD CONSTRAINT fk_dwdlb9d5mlvdddm3yowwa9uembdcc FOREIGN KEY (subscription_id) REFERENCES billing_subscription (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6056_20220413-fk', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2553, '8:30d6e0884a0afa4332ef0439b9d7aa73', 'addForeignKeyConstraint baseTableName=cpq_quote_product, constraintName=fk_q6d91d7b6bc2ypdbx4tjbr0acbdcc, referencedTableName=billing_subscrip_termin_reason; addForeignKeyConstraint baseTableName=quote_offer, constraintName=fk_dwdlb9d5mlvdddm3yoww...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk1-540-6296-fk1::Mbarek-Ay
ALTER TABLE cpq_quote_price ADD CONSTRAINT fk_quote_price_cat_discount_plan_item FOREIGN KEY (discount_plan_item_id) REFERENCES cat_discount_plan_item (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk1-540-6296-fk1', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2555, '8:3224d43eea791b1376f9fdf3d291fa85', 'addForeignKeyConstraint baseTableName=cpq_quote_price, constraintName=fk_quote_price_cat_discount_plan_item, referencedTableName=cat_discount_plan_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk2-540-6296::Mbarek-Ay
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_wallet_operation_cat_discount_plan_item FOREIGN KEY (discount_plan_item_id) REFERENCES cat_discount_plan_item (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk2-540-6296', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2557, '8:1f871c5a231dc1f75f410acf70927e88', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_wallet_operation_cat_discount_plan_item, referencedTableName=cat_discount_plan_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk3-540-6296::Mbarek-Ay
ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_rated_transaction_cat_discount_plan_item FOREIGN KEY (discount_plan_item_id) REFERENCES cat_discount_plan_item (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk3-540-6296', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2559, '8:f92ac807abe0cdabb8fe54d6eddb2873', 'addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_rated_transaction_cat_discount_plan_item, referencedTableName=cat_discount_plan_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk4-540-6296::Mbarek-Ay
ALTER TABLE billing_invoice_line ADD CONSTRAINT fk_invoice_line_cat_discount_plan_item FOREIGN KEY (discount_plan_item_id) REFERENCES cat_discount_plan_item (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk4-540-6296', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2561, '8:a858ab37ec448837ee183bbfc892f7a3', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=fk_invoice_line_cat_discount_plan_item, referencedTableName=cat_discount_plan_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk-8036::hichamhanine
ALTER TABLE invoice_sub_totals ADD CONSTRAINT fk_invoice_sub_totals_invoice_type FOREIGN KEY (invoice_type_id) REFERENCES billing_invoice_type (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk-8036', 'hichamhanine', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2563, '8:d5e347c82d91e6384349712100198a45', 'addForeignKeyConstraint baseTableName=invoice_sub_totals, constraintName=fk_invoice_sub_totals_invoice_type, referencedTableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-5806_20220516-fk::HichamELHALOUI
ALTER TABLE finance_settings ADD CONSTRAINT fk_finance_settings_open_order_setting_id FOREIGN KEY (open_order_settings_id) REFERENCES open_order_setting (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-5806_20220516-fk', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2565, '8:73d69aa13f6655fff159a4920fc390c1', 'addForeignKeyConstraint baseTableName=finance_settings, constraintName=fk_finance_settings_open_order_setting_id, referencedTableName=open_order_setting', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7422_20220525-fk::ZBariki
ALTER TABLE ar_customer_account ADD CONSTRAINT fk_general_client_account FOREIGN KEY (general_client_account_id) REFERENCES billing_accounting_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7422_20220525-fk', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2567, '8:294b37a90c965ec07d826db5193f35cf', 'addForeignKeyConstraint baseTableName=ar_customer_account, constraintName=fk_general_client_account, referencedTableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7537_20220531-fk::TarikRabeh
ALTER TABLE billing_billing_run ADD CONSTRAINT fk_billing_billing_run_origin_billing_run FOREIGN KEY (origin_billing_run_id) REFERENCES billing_billing_run (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7537_20220531-fk', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2569, '8:2660bd5b1faa31cae0099bf485a860d3', 'addForeignKeyConstraint baseTableName=billing_billing_run, constraintName=fk_billing_billing_run_origin_billing_run, referencedTableName=billing_billing_run', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8026_20220622_fk::HatimOUDAD
ALTER TABLE open_order_quote ADD CONSTRAINT fk_open_order_template FOREIGN KEY (open_order_template_id) REFERENCES open_order_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE open_order_quote ADD CONSTRAINT fk_currency_quote FOREIGN KEY (currency_id) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE open_order_quote ADD CONSTRAINT fk_billing_account_quote FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE open_order_quote ADD CONSTRAINT fk_open_order FOREIGN KEY (open_order_id) REFERENCES open_order (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE open_order_threshold ADD CONSTRAINT fk_threshold_open_quote FOREIGN KEY (open_order_quote_id) REFERENCES open_order_quote (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8026_20220622_fk', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2571, '8:29cf1c43b13483ae5484e9c6d1c2acdc', 'addForeignKeyConstraint baseTableName=open_order_quote, constraintName=fk_open_order_template, referencedTableName=open_order_template; addForeignKeyConstraint baseTableName=open_order_quote, constraintName=fk_currency_quote, referencedTableName=b...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8022_20220624_fk::HatimOUDAD
ALTER TABLE open_order_article ADD CONSTRAINT fk_open_billing_accounting_article FOREIGN KEY (accounting_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE open_order_article ADD CONSTRAINT fk_open_order_template_article FOREIGN KEY (open_order_template_id) REFERENCES open_order_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE open_order_product ADD CONSTRAINT fk_product_open_order_product FOREIGN KEY (product_id) REFERENCES cpq_product (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE open_order_product ADD CONSTRAINT fk_open_order_template_product FOREIGN KEY (open_order_template_id) REFERENCES open_order_template (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8022_20220624_fk', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2573, '8:88cd02e7cce99f74c3593c8350545044', 'addForeignKeyConstraint baseTableName=open_order_article, constraintName=fk_open_billing_accounting_article, referencedTableName=billing_accounting_article; addForeignKeyConstraint baseTableName=open_order_article, constraintName=fk_open_order_tem...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8219_20220627_fk::HatimOUDAD
ALTER TABLE open_order_quote_tags ADD CONSTRAINT open_order_quote_tags_open_order_quote_id_fk FOREIGN KEY (open_order_quote_id) REFERENCES open_order_quote (id);

ALTER TABLE open_order_quote_tags ADD CONSTRAINT open_order_quote_tags_tag_id_fk FOREIGN KEY (tag_id) REFERENCES cpq_tag (id);

ALTER TABLE open_order_quote_products ADD CONSTRAINT open_order_quote_products_open_order_quote_id_fk FOREIGN KEY (open_order_quote_id) REFERENCES open_order_quote (id);

ALTER TABLE open_order_quote_products ADD CONSTRAINT open_order_quote_products_product_id_fk FOREIGN KEY (open_product_id) REFERENCES open_order_product (id);

ALTER TABLE open_order_quote_articles ADD CONSTRAINT open_order_quote_articles_open_order_quote_id_fk FOREIGN KEY (open_order_quote_id) REFERENCES open_order_quote (id);

ALTER TABLE open_order_quote_articles ADD CONSTRAINT open_order_quote_articles_article_id_fk FOREIGN KEY (open_article_id) REFERENCES open_order_article (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8219_20220627_fk', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2575, '8:34d75f59db09cbdcc87793bbecd30f7f', 'addForeignKeyConstraint baseTableName=open_order_quote_tags, constraintName=open_order_quote_tags_open_order_quote_id_fk, referencedTableName=open_order_quote; addForeignKeyConstraint baseTableName=open_order_quote_tags, constraintName=open_order_...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8117_20220629_rebuild_str_fk::ZBariki
ALTER TABLE open_order ADD CONSTRAINT open_order_open_order_template_id_fk FOREIGN KEY (open_order_template_id) REFERENCES open_order_template (id);

ALTER TABLE open_order ADD CONSTRAINT open_order_billing_account_id_fk FOREIGN KEY (billing_account_id) REFERENCES billing_billing_account (id);

ALTER TABLE open_order ADD CONSTRAINT open_order_currency_id_fk FOREIGN KEY (currency_id) REFERENCES billing_trading_currency (id);

ALTER TABLE open_order ADD CONSTRAINT open_order_open_order_quote_id_fk FOREIGN KEY (open_order_quote_id) REFERENCES open_order_quote (id);

ALTER TABLE open_order_threshold ADD CONSTRAINT open_order_threshold_open_order_id_fk FOREIGN KEY (open_order_id) REFERENCES open_order (id);

ALTER TABLE cpq_product ADD CONSTRAINT cpq_product_open_order_id_fk FOREIGN KEY (open_order_id) REFERENCES open_order (id);

ALTER TABLE crm_address_book_contact ADD CONSTRAINT address_book_contact_address_book_fk FOREIGN KEY (address_book_id) REFERENCES crm_address_book (id);

ALTER TABLE crm_address_book_contact ADD CONSTRAINT address_book_contact_contact_fk FOREIGN KEY (contact_id) REFERENCES com_contact (id);

ALTER TABLE crm_address_book ADD CONSTRAINT address_book_crm_customer_id_fk FOREIGN KEY (customer_id) REFERENCES crm_customer (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8117_20220629_rebuild_str_fk', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2577, '8:b0f184f4035a8627b52947b751aa32ae', 'addForeignKeyConstraint baseTableName=open_order, constraintName=open_order_open_order_template_id_fk, referencedTableName=open_order_template; addForeignKeyConstraint baseTableName=open_order, constraintName=open_order_billing_account_id_fk, refe...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10683_20221107_fk::AdilElJaouhari
ALTER TABLE meveo_script_parameter ADD CONSTRAINT script_parameter_script_instance_id_fk FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10683_20221107_fk', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2579, '8:70b343f9ec737658cb899a4973ea6f7c', 'addForeignKeyConstraint baseTableName=meveo_script_parameter, constraintName=script_parameter_script_instance_id_fk, referencedTableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-11775_20221120_fk::hichamELHALOUI
ALTER TABLE cpq_commercial_order ADD CONSTRAINT fk_cpq_commercial_order_billing_cycle FOREIGN KEY (billing_cycle_id) REFERENCES billing_cycle (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE cpq_commercial_order ADD CONSTRAINT fk_cpq_commercial_order_billing_run FOREIGN KEY (billing_run_id) REFERENCES billing_billing_run (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11775_20221120_fk', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2581, '8:1d0e06f4dc7940a07eff37252c807120', 'addForeignKeyConstraint baseTableName=cpq_commercial_order, constraintName=fk_cpq_commercial_order_billing_cycle, referencedTableName=billing_cycle; addForeignKeyConstraint baseTableName=cpq_commercial_order, constraintName=fk_cpq_commercial_order...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12614_20221227_fk::hichamELHALOUI
ALTER TABLE cpq_trading_price_plan_matrix_line ADD CONSTRAINT fk_cpq_trading_price_plan_matrix_line_id FOREIGN KEY (trading_currency_id) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE cpq_trading_price_plan_matrix_line ADD CONSTRAINT fk_price_plan_matrix_line_id FOREIGN KEY (price_plan_matrix_line_id) REFERENCES cpq_price_plan_matrix_line (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12614_20221227_fk', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2583, '8:3c401b6860fb51c8e8b7eee8f4f325a6', 'addForeignKeyConstraint baseTableName=cpq_trading_price_plan_matrix_line, constraintName=fk_cpq_trading_price_plan_matrix_line_id, referencedTableName=billing_trading_currency; addForeignKeyConstraint baseTableName=cpq_trading_price_plan_matrix_li...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12544_20230102_fk::bourras
ALTER TABLE cat_offer_template ADD CONSTRAINT fk_document_id FOREIGN KEY (document_id) REFERENCES document (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12544_20230102_fk', 'bourras', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2585, '8:08044bf34d1d8d8a20fa402b602a4705', 'addForeignKeyConstraint baseTableName=cat_offer_template, constraintName=fk_document_id, referencedTableName=document', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14522_20230301_fk::TarikFA.
ALTER TABLE billing_subscription ADD CONSTRAINT fk_contract_id FOREIGN KEY (contract_id) REFERENCES cpq_contract (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE quote_offer ADD CONSTRAINT fk_contract_id FOREIGN KEY (contract_id) REFERENCES cpq_contract (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14522_20230301_fk', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2587, '8:883311bd5f81096616826e0db9b3a37c', 'addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_contract_id, referencedTableName=cpq_contract; addForeignKeyConstraint baseTableName=quote_offer, constraintName=fk_contract_id, referencedTableName=cpq_contract', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14336_20230227_fk::ZBariki
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_wo_contract_line_id FOREIGN KEY (contract_line_id) REFERENCES cpq_contract_item (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14336_20230227_fk', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2589, '8:02b66791c67a89ddb43f06f1b8ba5609', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_wo_contract_line_id, referencedTableName=cpq_contract_item', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16039_20230512_fk::a.rouaguebe
ALTER TABLE cat_price_list_line ADD CONSTRAINT fk_pli_line_offer_category FOREIGN KEY (offer_category_id) REFERENCES cat_offer_template_category (id);

ALTER TABLE cat_price_list_line ADD CONSTRAINT fk_pli_line_offer_template FOREIGN KEY (offer_template_id) REFERENCES cat_offer_template (id);

ALTER TABLE cat_price_list_line ADD CONSTRAINT fk_pli_line_cpq_product FOREIGN KEY (product_id) REFERENCES cpq_product (id);

ALTER TABLE cat_price_list_line ADD CONSTRAINT fk_pli_line_charge_template FOREIGN KEY (charge_template_id) REFERENCES cat_charge_template (id);

ALTER TABLE cat_price_list_line ADD CONSTRAINT fk_pli_line_price_plan FOREIGN KEY (price_plan_id) REFERENCES cat_price_plan_matrix (id);

ALTER TABLE cat_price_list_line ADD CONSTRAINT fk_pli_line_price_list FOREIGN KEY (price_list_id) REFERENCES cat_price_list (id);

ALTER TABLE cat_price_list_line ADD CONSTRAINT fk_pli_line_product_line FOREIGN KEY (product_line_id) REFERENCES cpq_product_line (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16039_20230512_fk', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2591, '8:c874e262e0ecb42717d70fa784a635e7', 'addForeignKeyConstraint baseTableName=cat_price_list_line, constraintName=fk_pli_line_offer_category, referencedTableName=cat_offer_template_category; addForeignKeyConstraint baseTableName=cat_price_list_line, constraintName=fk_pli_line_offer_temp...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16036_20230516_fk::zelmeliani
ALTER TABLE cat_price_list_customer_brand ADD CONSTRAINT cat_price_list_customer_brand_pli_fk FOREIGN KEY (price_list_id) REFERENCES cat_price_list (id);

ALTER TABLE cat_price_list_customer_brand ADD CONSTRAINT cat_price_list_customer_brand_cb_fk FOREIGN KEY (customer_brand_id) REFERENCES crm_customer_brand (id);

ALTER TABLE cat_price_list_customer_category ADD CONSTRAINT cat_price_list_customer_category_pli_fk FOREIGN KEY (price_list_id) REFERENCES cat_price_list (id);

ALTER TABLE cat_price_list_customer_category ADD CONSTRAINT cat_price_list_customer_category_cc_fk FOREIGN KEY (customer_category_id) REFERENCES crm_customer_category (id);

ALTER TABLE cat_price_list_credit_category ADD CONSTRAINT cat_price_list_credit_category_pli_fk FOREIGN KEY (price_list_id) REFERENCES cat_price_list (id);

ALTER TABLE cat_price_list_credit_category ADD CONSTRAINT cat_price_list_credit_category_cc_fk FOREIGN KEY (credit_category_id) REFERENCES ar_credit_category (id);

ALTER TABLE cat_price_list_country ADD CONSTRAINT cat_price_list_country_pli_fk FOREIGN KEY (price_list_id) REFERENCES cat_price_list (id);

ALTER TABLE cat_price_list_country ADD CONSTRAINT cat_price_list_country_c_fk FOREIGN KEY (country_id) REFERENCES adm_country (id);

ALTER TABLE cat_price_list_currency ADD CONSTRAINT cat_price_list_currency_pli_fk FOREIGN KEY (price_list_id) REFERENCES cat_price_list (id);

ALTER TABLE cat_price_list_currency ADD CONSTRAINT cat_price_list_currency_c_fk FOREIGN KEY (currency_id) REFERENCES adm_currency (id);

ALTER TABLE cat_price_list_legal_entity ADD CONSTRAINT cat_price_list_legal_entity_pli_fk FOREIGN KEY (price_list_id) REFERENCES cat_price_list (id);

ALTER TABLE cat_price_list_legal_entity ADD CONSTRAINT cat_price_list_legal_entity_le_fk FOREIGN KEY (legal_entity_id) REFERENCES adm_title (id);

ALTER TABLE cat_price_list_payment_method ADD CONSTRAINT cat_price_list_payment_method_pli_fk FOREIGN KEY (price_list_id) REFERENCES cat_price_list (id);

ALTER TABLE cat_price_list_seller ADD CONSTRAINT cat_price_list_seller_pli_fk FOREIGN KEY (price_list_id) REFERENCES cat_price_list (id);

ALTER TABLE cat_price_list_seller ADD CONSTRAINT cat_price_list_seller_s_fk FOREIGN KEY (seller_id) REFERENCES crm_seller (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16036_20230516_fk', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2593, '8:ece6d1f505cdd6b851a3a1af2051330f', 'addForeignKeyConstraint baseTableName=cat_price_list_customer_brand, constraintName=cat_price_list_customer_brand_pli_fk, referencedTableName=cat_price_list; addForeignKeyConstraint baseTableName=cat_price_list_customer_brand, constraintName=cat_p...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16396_20230522_pli_quote-rebuild::a.rouaguebe
ALTER TABLE cpq_quote_version ADD CONSTRAINT fk_cpq_quote_version_price_list FOREIGN KEY (price_list_id) REFERENCES cat_price_list (id);

ALTER TABLE cpq_commercial_order ADD CONSTRAINT fk_cpq_commercial_order_price_list FOREIGN KEY (price_list_id) REFERENCES cat_price_list (id);

ALTER TABLE billing_subscription ADD CONSTRAINT fk_billing_subscription_price_list FOREIGN KEY (price_list_id) REFERENCES cat_price_list (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16396_20230522_pli_quote-rebuild', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2595, '8:271cace3d7d8833a10f94f1bcbe878f9', 'addForeignKeyConstraint baseTableName=cpq_quote_version, constraintName=fk_cpq_quote_version_price_list, referencedTableName=cat_price_list; addForeignKeyConstraint baseTableName=cpq_commercial_order, constraintName=fk_cpq_commercial_order_price_l...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16203_20230519_ba_pricelist_fk::a.rouaguebe
ALTER TABLE billing_billing_account ADD CONSTRAINT fk_ba_price_list FOREIGN KEY (price_list_id) REFERENCES cat_price_list (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16203_20230519_ba_pricelist_fk', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2597, '8:e7cf50124d80701b60e2ed2990a7f80a', 'addForeignKeyConstraint baseTableName=billing_billing_account, constraintName=fk_ba_price_list, referencedTableName=cat_price_list', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15849_20230509_FK::TarikFA.
ALTER TABLE billing_seller_media ADD CONSTRAINT fk_media_seller_id FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_seller_media ADD CONSTRAINT fk_seller_media_id FOREIGN KEY (media_id) REFERENCES cpq_media (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15849_20230509_FK', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2599, '8:ecd4678304138f0c419929afc168aa1d', 'addForeignKeyConstraint baseTableName=billing_seller_media, constraintName=fk_media_seller_id, referencedTableName=crm_seller; addForeignKeyConstraint baseTableName=billing_seller_media, constraintName=fk_seller_media_id, referencedTableName=cpq_m...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16366_20230529_fk::zelmeliani
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_billing_wallet_operation_pli_line FOREIGN KEY (price_list_line_id) REFERENCES cat_price_list_line (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16366_20230529_fk', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2601, '8:21fd7e2031241a834c9eed55ca4b1878', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_billing_wallet_operation_pli_line, referencedTableName=cat_price_list_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-constr-995::AndriusKarpavicius
alter table public.adm_notif_history add constraint adm_notif_history_nb_retry_check check (nb_retry <= 10);

alter table public.adm_notif_webhooks add constraint adm_notif_webhooks_http_port_check check (http_port <= 65535);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-constr-995', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2603, '8:8d7067037459933c1fb29b63d47775e9', 'sql; sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-index-996::AndriusKarpavicius
CREATE INDEX invoice_billing_run_index ON public.billing_invoice_agregate(billing_run_id);

CREATE INDEX transaction_billing_account_index ON public.billing_rated_transaction(billing_account__id);

CREATE INDEX transaction_billing_index ON public.billing_rated_transaction(invoice_id,wallet_id, invoice_sub_category_id);

CREATE INDEX invoice_agre_index ON public.billing_invoice_agregate(invoice_id);

CREATE INDEX billing_chrginst_wallet_index ON public.billing_chrginst_wallet(wallet_instance_id);

CREATE INDEX ar_customer_account_credit_cat_index ON public.ar_customer_account(credit_category_id);

CREATE INDEX meveo_module_index ON public.meveo_module(script_instance_id);

CREATE INDEX crm_seller_ctb_index ON public.crm_seller(primary_contact, title_id, bam_id);

CREATE INDEX crm_customer_ctb_index ON public.crm_customer(primary_contact, title_id, bam_id);

CREATE INDEX ar_customer_account_ctb_index ON public.ar_customer_account(primary_contact, title_id, bam_id);

CREATE INDEX billing_billing_account_ctb_index ON public.billing_billing_account(primary_contact, title_id, bam_id);

CREATE INDEX billing_user_account_ctb_index ON public.billing_user_account(primary_contact, title_id, bam_id);

CREATE INDEX meveo_module_item_index ON public.meveo_module_item(module_id);

CREATE INDEX billing_service_instance_index ON public.billing_service_instance(subscription_id);

CREATE INDEX billing_user_account_ba_index ON public.billing_user_account(billing_account_id);

CREATE INDEX billing_billing_account_ca_index ON public.billing_billing_account(customer_account_id);

CREATE INDEX crm_customer_index ON public.crm_customer(customer_brand_id);

CREATE INDEX ar_payment_customer_index ON public.ar_payment_token(customer_account_id);

CREATE INDEX billing_subscription_index ON public.billing_subscription(user_account_id);

CREATE INDEX cat_serv_trm_charge_template_index ON public.cat_serv_trm_charge_template(service_template_id);

CREATE INDEX cat_serv_usage_charge_template_index ON public.cat_serv_usage_charge_template(service_template_id);

CREATE INDEX cat_serv_usage_wallet_template_index ON public.cat_serv_usage_wallet_template(service_usage_templt_id);

CREATE INDEX cat_calendar_days_index ON public.cat_calendar_days(calendar_id);

CREATE INDEX cat_triggered_edr_index ON public.cat_triggered_edr(meveo_instance_id);

CREATE INDEX billing_invoice_index ON public.billing_invoice(invoice_id, invoice_type_id);

CREATE INDEX billing_wallet_operation_index ON public.billing_wallet_operation(wallet_id, charge_instance_id);

CREATE INDEX billing_wallet_index ON public.billing_wallet(user_account_id,cat_wallet_template_id);

CREATE INDEX billing_reservation_index ON public.billing_reservation(subscription_id, user_account_id,wallet_id);

CREATE INDEX cat_calendar_join_cal_1_id ON public.cat_calendar(join_cal_1_id);

CREATE INDEX cat_calendar_join_cal_2_id ON public.cat_calendar(join_cal_2_id);

CREATE INDEX bc_instance_inv_cal_id ON public.billing_charge_instance(invoicing_calendar_id);

CREATE INDEX invoicing_calendar_id_index ON public.cat_offer_template(invoicing_calendar_id);

CREATE INDEX cb_product_template_id_index ON public.cat_business_product_model(product_template_id);

CREATE INDEX cat_product_wallet_template_id_index ON public.cat_product_wallet_template(wallet_template_id);

CREATE INDEX adm_sc_instance_id_index ON public.adm_script_sourc_role(script_instance_id);

CREATE INDEX cat_bsm_st_id_index ON public.cat_business_serv_model(service_template_id);

CREATE INDEX cat_st_inv_cal_id_index ON public.cat_service_template(invoicing_calendar_id);

CREATE INDEX cat_st_serv_mod_id_index ON public.cat_service_template(business_service_model_id);

CREATE INDEX cat_rct_service_template_index ON public.cat_serv_rec_charge_template(service_template_id);

CREATE INDEX cat_rwt_wallet_template_index ON public.cat_serv_rec_wallet_template(wallet_template_id);

CREATE INDEX cat_su_wallet_template_index ON public.cat_serv_usage_wallet_template(wallet_template_id);

CREATE INDEX cat_ofrt_bp_model_index ON public.cat_offer_template(business_product_model_id);

CREATE INDEX cat_ofrt_valid_to_index ON public.cat_offer_template(valid_to);

CREATE INDEX cat_ofrt_valid_from_index ON public.cat_offer_template(valid_from);

CREATE INDEX cat_ofrpt_ofr_template_index ON public.cat_offer_product_template(offer_template_id);

CREATE INDEX cat_ofrpt_pr_template_index ON public.cat_offer_product_template(product_template_id);

CREATE INDEX crm_seller_bam_id_index ON public.crm_seller(bam_id);

CREATE INDEX crm_customer_bam_id_index ON public.crm_customer(bam_id);

CREATE INDEX ar_customer_account_bam_id_index ON public.ar_customer_account(bam_id);

CREATE INDEX billing_billing_account_bam_id_index ON public.billing_billing_account(bam_id);

CREATE INDEX billing_user_account_bam_id_index ON public.billing_user_account(bam_id);

CREATE INDEX crm_seller_title_id_index ON public.crm_seller(title_id);

CREATE INDEX crm_customer_title_id_index ON public.crm_customer(title_id);

CREATE INDEX ar_customer_account_title_id_index ON public.ar_customer_account(title_id);

CREATE INDEX billing_billing_account_title_id_index ON public.billing_billing_account(title_id);

CREATE INDEX billing_user_account_title_id_index ON public.billing_user_account(title_id);

CREATE INDEX com_contact_title_id_index ON public.com_contact(title_id);

CREATE INDEX crm_seller_primary_contact_index ON public.crm_seller(primary_contact);

CREATE INDEX crm_customer_primary_contact_index ON public.crm_customer(primary_contact);

CREATE INDEX ar_customer_account_primary_contact_index ON public.ar_customer_account(primary_contact);

CREATE INDEX billing_billing_account_primary_contact_index ON public.billing_billing_account(primary_contact);

CREATE INDEX billing_user_account_primary_contact_index ON public.billing_user_account(primary_contact);

CREATE INDEX com_contact_primary_contact_index ON public.com_contact(primary_contact);

CREATE INDEX crm_customer_cust_category_index ON public.crm_customer(customer_category_id);

CREATE INDEX ord_quote_version_index ON public.ord_quote(version);

CREATE INDEX billing_invoice_version_index ON public.billing_invoice(version);

CREATE INDEX ord_order_payment_index ON public.ord_order(payment_method_id);

CREATE INDEX ord_order_quote_index ON public.ord_order(quote_id);

CREATE INDEX ord_order_item_ua_index ON public.ord_order_item(user_account_id);

CREATE INDEX ord_order_item_order_index ON public.ord_order_item(order_id);

CREATE INDEX ord_order_item_sub_index ON public.ord_order_item(subscription_id);

CREATE INDEX cat_offer_serv_templates_svtmpte_index ON public. cat_offer_serv_templates(service_template_id);

CREATE INDEX cat_serv_sub_wallet_template_srvsubtmp_index ON public. cat_serv_sub_wallet_template(Service_sub_templt_id);

CREATE INDEX billing_wallet_ua_index ON public. billing_wallet (user_account_id);

CREATE INDEX cat_ofr_srv_tmpl_ofrtmpl_id_index ON public.cat_offer_serv_templates(offer_template_id);

CREATE INDEX cat_chrg_edr_chtmpl_index ON public.cat_chrg_edr(charge_tmpl_id);

CREATE INDEX cat_chrg_edr_trigg_edr_index ON public.cat_chrg_edr(trigg_edr_id);

CREATE INDEX medina_access_user_id_index ON public.medina_access(acces_user_id);

CREATE INDEX bc_instance_sub_id ON public.billing_charge_instance(subscription_id);

CREATE INDEX counter_period_ci_id ON public.billing_counter_period(counter_instance_id);

CREATE INDEX rating_edr_index ON public.rating_edr(origin_record);

CREATE INDEX rating_edr_wo_index ON public.rating_edr(wallet_operation_id);

CREATE INDEX ar_account_operation_index ON public.ar_account_operation(customer_account_id);

CREATE INDEX billing_invoice_quote_id ON public.billing_invoice(quote_id);

CREATE INDEX billing_invoice_agregate_category_inv_agg ON public.billing_invoice_agregate(category_invoice_agregate);

CREATE INDEX billing_invoice_billing_account_id ON public.billing_invoice(billing_account_id);

CREATE INDEX medina_access_subscription_id ON public.medina_access(subscription_id);

CREATE INDEX wf_instance_entity_id_idx ON public.wf_instance(entity_instance_id);

CREATE INDEX billing_charge_serv_inst_index ON public.billing_charge_instance(service_instance_id);

create index billing_invoice_agregate_tax_invoice_agregate_idx on public.billing_invoice_agregate (tax_invoice_agregate);

create index billing_invoice_agregate_sub_cat_invoice_agregate_id_idx on public.billing_invoice_agregate (sub_cat_invoice_agregate_id);

create index ar_account_operation_cat_inv_agregate_id_idx on public.ar_account_operation (cat_inv_agregate_id);

create index ar_account_operation_sub_cat_inv_agregate_id_idx on public.ar_account_operation (sub_cat_inv_agregate_id);

CREATE INDEX rating_cdr_ob_index ON public.rating_cdr(origin_batch);

CREATE INDEX rating_cdr_or_index ON public.rating_cdr(origin_record);

CREATE INDEX rating_cdr_status ON public.rating_cdr(status);

CREATE INDEX ao_inv_idx ON public.ar_account_operation  (invoice_id);

CREATE INDEX rt_argr_f_idx ON public.billing_rated_transaction  (aggregate_id_f);

CREATE INDEX ar_ao_dd_item_idx  ON public.ar_account_operation (ddrequest_item_id);

CREATE INDEX ao_ref_idx ON public.ar_account_operation (reference);

CREATE INDEX audit_field_changes_history_index on public.audit_field_changes_history (lower(entity_class), entity_id);

CREATE INDEX flat_file_orig_name_index on public.flat_file (lower(file_original_name));

CREATE INDEX job_execution_job_id_index on public.job_execution (job_instance_id);

CREATE INDEX ord_order_status_index on public.ord_order (status);

CREATE INDEX billing_service_instance_st_index on public.billing_service_instance (service_template_id);

CREATE INDEX billing_wallet_operation_sub_index on public.billing_wallet_operation (subscription_id);

CREATE INDEX billing_invoice_br_index on public.billing_invoice (billing_run_id);

CREATE INDEX idx_billing_invoice_agr_amount_on_aggr_id  ON billing_invoice_agr_amount (aggr_id);

CREATE INDEX idx_ar_ao_payment_histories__ao_id ON ar_ao_payment_histories(ao_id);

CREATE INDEX cpq_attribute_instance_service_instance_idx ON cpq_attribute_instance(service_instance_id);

CREATE INDEX billing_wallet_operation_charge_instance_idx ON billing_wallet_operation(charge_instance_id);

CREATE INDEX billing_dpi_si_index ON public.billing_discount_plan_instance(service_instance_id);

CREATE INDEX billing_redirection_rule_contract_index ON public.billing_redirection_rule(contract_id);

CREATE INDEX billing_wo_disc_wo_index ON public.billing_wallet_operation(discounted_wallet_operation_id);

CREATE INDEX idx__billing_wo__rules_contract_id ON public.billing_wallet_operation USING btree (rules_contract_id);

CREATE INDEX idx__billing_wo__contract_id ON public.billing_wallet_operation USING btree (contract_id);

CREATE INDEX rating_edr_subscription_index ON public.rating_edr(subscription_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-index-996', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2605, '8:3f1a5ed87b1bf83722f5468d4fc74d65', 'sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sq...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-index-997::AndriusKarpavicius
CREATE INDEX adm_title_index ON public.adm_title((lower(code)));

CREATE INDEX crm_customer_brand_index ON public.crm_customer_brand((lower(code)));

CREATE INDEX crm_customer_category_index ON public.crm_customer_category((lower(code)));

CREATE INDEX billing_charge_instance_index ON public.billing_charge_instance(invoicing_calendar_id, lower(code), charge_template_id);

CREATE INDEX seller_code ON public.crm_seller(lower(code));

CREATE INDEX customer_code ON public.crm_customer(lower(code));

CREATE INDEX ca_code ON public.ar_customer_account(lower(code));

CREATE INDEX ba_code ON public.billing_billing_account(lower(code));

CREATE INDEX ua_code ON public.billing_user_account(lower(code));

CREATE INDEX com_contact_code ON public.com_contact(lower(code));

CREATE INDEX cat_ofrt_code_index ON public.cat_offer_template((lower(code)));

CREATE INDEX cat_service_template_code_index ON public.cat_service_template(lower(code));

CREATE INDEX cat_charge_template_code_index ON public.cat_charge_template(lower(code));

CREATE INDEX billing_subscription_code_index ON public. billing_subscription(lower(code));

CREATE INDEX billing_service_instance_code_index ON public. billing_service_instance(lower(code));

CREATE INDEX billing_charge_instance_code_index ON public. billing_charge_instance(lower(code));

CREATE INDEX cpq_contract_item_code_index ON public.cpq_contract_item(lower(code));

CREATE INDEX cpq_contract_item_contract_index ON public.cpq_contract_item(cpq_contract_id);

CREATE INDEX seller_upper_code ON public.crm_seller(UPPER(code));

CREATE INDEX customer_upper_code ON public.crm_customer(UPPER(code));

CREATE INDEX ca_upper_code ON public.ar_customer_account(UPPER(code));

CREATE INDEX ba_upper_code ON public.billing_billing_account(UPPER(code));

CREATE INDEX ua_upper_code ON public.billing_user_account(UPPER(code));

CREATE INDEX com_contact_upper_code ON public.com_contact(UPPER(code));

CREATE INDEX cust_cei_cet_and_code_index ON public.cust_cei((lower(cet_code)),(lower(code)));

CREATE UNIQUE INDEX adm_file_type_code_index ON public.adm_file_type(lower(code));

CREATE UNIQUE INDEX adm_file_format_code_index ON public.adm_file_format(lower(code));

CREATE UNIQUE INDEX flat_file_code_index ON public.flat_file(lower(code));

CREATE UNIQUE INDEX adm_language_code_index ON public.adm_language(lower(language_code));

CREATE UNIQUE INDEX billing_tax_category_code_index ON public.billing_tax_category(lower(code));

CREATE UNIQUE INDEX billing_tax_class_code_index ON public.billing_tax_class(lower(code));

CREATE UNIQUE INDEX ord_order_item_code_index ON public.ord_order_item(lower(code));

CREATE UNIQUE INDEX wf_generic_workflow_code_index ON public.wf_generic_workflow(lower(code));

CREATE UNIQUE INDEX billing_invoice_template_filename_index ON public.billing_invoice_template(lower(file_name));

CREATE UNIQUE INDEX adm_notification_code_index ON public.adm_notification(lower(code));

CREATE UNIQUE INDEX cat_discount_plan_code_index ON public.cat_discount_plan(lower(code));

CREATE UNIQUE INDEX cat_price_plan_matrix_code_index ON public.cat_price_plan_matrix(lower(code));

CREATE UNIQUE INDEX com_contact_coords_code_index ON public.com_contact_coords(lower(code));

CREATE UNIQUE INDEX billing_subscrip_termin_reason_code_index ON public.billing_subscrip_termin_reason(lower(code));

CREATE UNIQUE INDEX billing_cycle_code_index ON public.billing_cycle(lower(code));

CREATE UNIQUE INDEX adm_currency_code_index ON public.adm_currency(lower(currency_code));

CREATE UNIQUE INDEX cat_triggered_edr_code_index ON public.cat_triggered_edr(lower(code));

CREATE UNIQUE INDEX com_sender_config_code_index ON public.com_sender_config(lower(code));

CREATE UNIQUE INDEX billing_tax_code_index ON public.billing_tax(lower(code));

CREATE UNIQUE INDEX crm_provider_code_index ON public.crm_provider(lower(code));

CREATE UNIQUE INDEX adm_inbound_request_code_index ON public.adm_inbound_request(lower(code));

CREATE UNIQUE INDEX com_campaign_code_index ON public.com_campaign(lower(code));

CREATE UNIQUE INDEX com_msg_var_value_code_index ON public.com_msg_var_value(lower(code));

CREATE UNIQUE INDEX com_msg_tmpl_variable_code_index ON public.com_msg_tmpl_variable(lower(code));

CREATE UNIQUE INDEX billing_invoice_template_code_index ON public.billing_invoice_template(lower(code));

CREATE UNIQUE INDEX cat_wallet_template_code_index ON public.cat_wallet_template(lower(code));

CREATE UNIQUE INDEX cat_calendar_code_index ON public.cat_calendar(lower(code));

CREATE UNIQUE INDEX adm_user_username_index ON public.adm_user(lower(username));

CREATE UNIQUE INDEX crm_provider_contact_code_index ON public.crm_provider_contact(lower(code));

CREATE UNIQUE INDEX rm_service_param_template_code_index ON public.rm_service_param_template(lower(code));

CREATE UNIQUE INDEX cat_counter_template_code_index ON public.cat_counter_template(lower(code));

CREATE UNIQUE INDEX ar_occ_template_code_index ON public.ar_occ_template(lower(code));

CREATE UNIQUE INDEX dwh_chart_code_index ON public.dwh_chart(lower(code));

CREATE UNIQUE INDEX billing_invoice_sub_cat_code_index ON public.billing_invoice_sub_cat(lower(code));

CREATE UNIQUE INDEX billing_invoice_cat_code_index ON public.billing_invoice_cat(lower(code));

CREATE UNIQUE INDEX com_message_template_code_index ON public.com_message_template(lower(code));

CREATE UNIQUE INDEX dwh_measurable_quant_code_index ON public.dwh_measurable_quant(lower(code));

CREATE UNIQUE INDEX bi_job_name_index ON public.bi_job(lower(name));

CREATE UNIQUE INDEX ar_credit_category_code_index ON public.ar_credit_category(lower(code));

CREATE UNIQUE INDEX meveo_filter_code_index ON public.meveo_filter(lower(code));

CREATE UNIQUE INDEX meveo_script_instance_code_index ON public.meveo_script_instance(lower(code));

CREATE UNIQUE INDEX com_meveo_instance_code_index ON public.com_meveo_instance(lower(code));

CREATE UNIQUE INDEX meveo_job_instance_code_index ON public.meveo_job_instance(lower(code));

CREATE UNIQUE INDEX meveo_timer_code_index ON public.meveo_timer(lower(code));

CREATE UNIQUE INDEX meveo_module_code_index ON public.meveo_module(lower(code));

CREATE UNIQUE INDEX cat_offer_template_category_code_index ON public.cat_offer_template_category(lower(code));

CREATE UNIQUE INDEX billing_invoice_type_code_index ON public.billing_invoice_type(lower(code));

CREATE UNIQUE INDEX wf_workflow_code_index ON public.wf_workflow(lower(code));

CREATE UNIQUE INDEX cat_channel_code_index ON public.cat_channel(lower(code));

CREATE UNIQUE INDEX ord_order_code_index ON public.ord_order(lower(code));

CREATE UNIQUE INDEX cat_digital_resource_code_index ON public.cat_digital_resource(lower(code));

CREATE UNIQUE INDEX ord_quote_code_index ON public.ord_quote(lower(code));

CREATE UNIQUE INDEX cust_cet_code_index ON public.cust_cet(lower(code));

CREATE UNIQUE INDEX billing_accounting_code_code_index ON public.billing_accounting_code(lower(code));

CREATE UNIQUE INDEX com_contact_email_index ON public.com_contact(lower(email));

CREATE UNIQUE INDEX billing_finance_segment_code_index ON public.billing_finance_segment(lower(code));

CREATE UNIQUE INDEX billing_general_ledger_code_index ON public.billing_general_ledger(lower(code));

CREATE UNIQUE INDEX hierarchy_entity_code_index ON public.hierarchy_entity(lower(code), hierarchy_type);

CREATE INDEX medina_access_lower_uid_index on public.medina_access (lower(acces_user_id));

CREATE INDEX idx_ar_payment_history_external_payment_id ON public.ar_payment_history (external_payment_id );

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-index-997', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2607, '8:080974e1c768035d2bbffa859167ecaf', 'sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sq...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-index-996-pg::MohamedSTITANE
CREATE INDEX cat_chrg_edr_index ON public.cat_chrg_edr(charge_tmpl_id,trigg_edr_id);

CREATE INDEX cat_service_template_bsm_index ON public.cat_service_template(business_service_model_id);

CREATE INDEX billing_user_account_id_index ON public. billing_user_account(id);

CREATE INDEX billing_subscription_minimum_amount_el_index on public.billing_subscription(minimum_amount_el) where minimum_amount_el is not null;

CREATE INDEX billing_service_instance_minimum_amount_el_index on public.billing_service_instance(minimum_amount_el) where minimum_amount_el is not null;

CREATE INDEX billing_service_instance_min_index ON public.billing_service_instance  (minimum_amount_el) WHERE minimum_amount_el IS NOT NULL;

CREATE INDEX billing_subscription_min_index ON public.billing_subscription  (minimum_amount_el) WHERE minimum_amount_el IS NOT NULL;

CREATE INDEX rt_ba_invoice_open_serv_index ON public.billing_rated_transaction (billing_account__id, usage_date, service_instance_id) where status='OPEN' and service_instance_id is not null;

CREATE INDEX rt_ba_invoice_open_sub_index ON public.billing_rated_transaction (billing_account__id, usage_date, subscription_id) where status='OPEN';

CREATE INDEX rt_sub_invoice_open_serv_index ON public.billing_rated_transaction (subscription_id, usage_date, service_instance_id) where status='OPEN' and subscription_id is not null;

CREATE INDEX rt_invoice_index ON public.billing_rated_transaction (invoice_id, invoice_sub_category_id, wallet_id) where status='BILLED';

CREATE INDEX rt_order_index ON public.billing_rated_transaction (order_number, status, usage_date) where order_number is not null;

CREATE INDEX wo_operation_date_index ON public.billing_wallet_operation ((operation_date::DATE));

CREATE INDEX edr_event_date_index ON public.rating_edr ((event_date::DATE));

CREATE INDEX rt_usage_date_index ON public.billing_rated_transaction ((usage_date::DATE));

CREATE INDEX billing_invoice_agregate_br_index on public.billing_invoice_agregate (billing_run_id);

CREATE INDEX rt_br_index ON billing_rated_transaction (billing_run_id) where status='BILLED';

CREATE INDEX rt_edr_id ON public.billing_rated_transaction (edr_id ASC NULLS LAST);

CREATE INDEX resa_origin_edr_id ON public.billing_reservation (origin_edr_id ASC NULLS LAST);

CREATE INDEX wo_edr_id ON public.billing_wallet_operation (edr_id ASC NULLS LAST);

CREATE INDEX cdr_header_edr_id ON public.rating_cdr (header_edr_id ASC NULLS LAST);

CREATE INDEX edr_header_edr_id ON public.rating_edr (header_edr_id ASC NULLS LAST);

CREATE INDEX rt_adjusted_rated_tx ON public.billing_rated_transaction (adjusted_rated_tx ASC NULLS LAST);

CREATE INDEX wo_rt_id ON public.billing_wallet_operation (rated_transaction_id ASC NULLS LAST);

CREATE INDEX wo_rerated_wo ON public.billing_wallet_operation (reratedwalletoperation_id ASC NULLS LAST);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-index-996-pg', 'MohamedSTITANE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2609, '8:f37d2a6dff1a5dd5a90ca20273014f8c', 'sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12047-20230112-rebuild::AbdelmounaimAkadid
CREATE INDEX idx__cpq_attribute_instance__subscription_id ON cpq_attribute_instance(subscription_id);

CREATE INDEX idx__cpq_attribute_instance__parent_id ON cpq_attribute_instance(parent_id);

CREATE INDEX idx__billing_rated_transaction__origin_billing_account ON billing_rated_transaction(origin_billing_account);

CREATE INDEX idx__billing_rated_transaction__rules_contract_id ON billing_rated_transaction(rules_contract_id);

CREATE INDEX idx__billing_rated_transaction__service_instance_id ON billing_rated_transaction(service_instance_id);

CREATE INDEX "rating_edr_eventKey_index_idx" ON rating_edr(event_key);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12047-20230112-rebuild', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2611, '8:bd7960a1896a02f92df3d8eb30879ff9', 'createIndex indexName=idx__cpq_attribute_instance__subscription_id, tableName=cpq_attribute_instance; createIndex indexName=idx__cpq_attribute_instance__parent_id, tableName=cpq_attribute_instance; createIndex indexName=idx__billing_rated_transact...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-17592-rt-indexes-rebuild::a.rouaguebe
create index idx__billing_billing_account__lower_code on public.billing_billing_account (lower(code));

create index idx__billing_rating_transaction__id_desc on public.billing_rated_transaction (id desc);

create index idx__billing_rating_transaction__usage_date_desc on public.billing_rated_transaction (usage_date desc);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-17592-rt-indexes-rebuild', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2613, '8:a0b706e65fbc59da99e8f8251f335ea0', 'sql; sql; sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-17581-wo-indexes-rebuild::a.rouaguebe
create index idx__billing_wo__charge_instance_id on billing_wallet_operation(charge_instance_id);

create index idx__billing_wo__billing_account_id on billing_wallet_operation(billing_account_id);

create index idx__billing_wo__subscription_id on billing_wallet_operation(subscription_id);

create index idx__charge_instance__lower_code on billing_charge_instance(lower(code));

create index idx__charge_instance__lower_description on billing_charge_instance(lower(description));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-17581-wo-indexes-rebuild', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2615, '8:8dc5c09f3fbcc0543bcd13b5db150d2a', 'sql; sql; sql; sql; sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-func-999::AndriusKarpavicius
CREATE OR REPLACE FUNCTION public.fn_unaccent(str TEXT) RETURNS TEXT AS $$
             BEGIN
                RETURN  translate($1,
                                 'çÇâàÂÀéèêÉÈÊîÎûÛôÔ',
                                 'cCaaAAeeeEEEiIuUoO');
            END;
            $$ LANGUAGE plpgsql;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-func-999', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2617, '8:3939d599480282bec22e02a537dfa9eb', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-4.6-struct-complete::AndriusKarpavicius
DELETE FROM DATABASECHANGELOG;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-4.6-struct-complete', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2619, '8:7ec071fa4b2524d5e7601b191846da2d', 'delete tableName=DATABASECHANGELOG', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4511_20190919-P::AndriusKarpavicius
create table public.rating_edr_open partition of public.rating_edr for values in('OPEN');

create table public.rating_edr_other partition of public.rating_edr default;

create table public.billing_wallet_operation_open partition of public.billing_wallet_operation for values in('OPEN');

create table public.billing_wallet_operation_other partition of public.billing_wallet_operation default;

create table public.billing_rated_transaction_open partition of public.billing_rated_transaction for values in('OPEN');

create table public.billing_rated_transaction_other partition of public.billing_rated_transaction default;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4511_20190919-P', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2621, '8:4973a2b4f4c456a428965c5a2f85856f', 'sql; sql; sql; sql; sql; sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5385_20220228_build::TarikFA.
ALTER TABLE cpq_quote_price ADD CONSTRAINT fk_discounted_quote_price FOREIGN KEY (discounted_quote_price) REFERENCES cpq_quote_price (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5385_20220228_build', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2623, '8:3139e85dab4ad31b2b6340980da2bec0', 'addForeignKeyConstraint baseTableName=cpq_quote_price, constraintName=fk_discounted_quote_price, referencedTableName=cpq_quote_price', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4798_20220303::MohamedSTITANE
create index cpq_commercial_rule_item_header_id_index on cpq_commercial_rule_item (commercial_rule_header_id);

create index cpq_tag_seller_id_index on cpq_tag (seller_id);

create index cpq_tag_tag_type_id_index on cpq_tag (tag_type_id);

create index cpq_tag_type_seller_id_index on cpq_tag_type (seller_id);

create index cpq_commercial_rule_header_attribute_id_index on cpq_commercial_rule_header (attribute_id);

create index cpq_commercial_rule_header_grouped_attributes_id_index on cpq_commercial_rule_header (grouped_attributes_id);

create index cpq_commercial_rule_header_grouped_service_id_index on cpq_commercial_rule_header (grouped_service_id);

create index cpq_commercial_rule_header_offer_template_id_index on cpq_commercial_rule_header (offer_template_id);

create index cpq_commercial_rule_header_product_id_index on cpq_commercial_rule_header (product_id);

create index cpq_commercial_rule_header_product_version_id_index on cpq_commercial_rule_header (product_version_id);

create index cpq_commercial_rule_header_service_template_id_index on cpq_commercial_rule_header (service_template_id);

create index cpq_commercial_rule_header_tag_id_index on cpq_commercial_rule_header (tag_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4798_20220303', 'MohamedSTITANE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2625, '8:e30b4961e877293d4ffea435a5a6c1c4', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7954_20220616::AbdelmounaimAkadid
CREATE INDEX idx_billing_invoice_line__invoice_id ON billing_invoice_line(invoice_id);

CREATE INDEX idx_billing_user_account__parent_useraccount_id ON billing_user_account(parent_useraccount_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7954_20220616', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2627, '8:4f0b073009d6b079d5385626ca284926', 'createIndex indexName=idx_billing_invoice_line__invoice_id, tableName=billing_invoice_line; createIndex indexName=idx_billing_user_account__parent_useraccount_id, tableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5529_20220304_build::TarikFA.
ALTER TABLE billing_invoice_line ADD CONSTRAINT fk_discounted_invoice_line FOREIGN KEY (discounted_invoice_line) REFERENCES billing_invoice_line (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5529_20220304_build', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2629, '8:c21d036c0a86fdcd0326089c0a3258ac', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=fk_discounted_invoice_line, referencedTableName=billing_invoice_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5777_2022-03-17_PG::MohammedSTITANE
CREATE OR REPLACE VIEW all_sequences_view AS select nextVal(quote_ident(sequencename))::text as seq_val, sequencename as seq_code
                FROM pg_catalog.pg_sequences;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5777_2022-03-17_PG', 'MohammedSTITANE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2631, '8:8c6fba0e3620e20e9afc4f63de78b473', 'createView viewName=all_sequences_view', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5841-21032022-fk::TarikRabeh
ALTER TABLE billing_billing_account ADD CONSTRAINT fk_trading_currency_id FOREIGN KEY (trading_currency_id) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5841-21032022-fk', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2633, '8:5ddfd864cf1341ac77269e444da8e2bc', 'addForeignKeyConstraint baseTableName=billing_billing_account, constraintName=fk_trading_currency_id, referencedTableName=billing_trading_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5881_20220322-rebuild::aelmalki
CREATE TABLE accounting_journal_entry (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), accounting_operation_id BIGINT NOT NULL, accounting_code_id BIGINT NOT NULL, seller_id BIGINT, customer_account_id BIGINT, tax_id BIGINT, direction VARCHAR(10) NOT NULL, amount numeric(23, 12) NOT NULL, analytic_code_1 VARCHAR(255), analytic_code_2 VARCHAR(255), analytic_code_3 VARCHAR(255), operation_number BIGINT, seller_code VARCHAR(255) NOT NULL, client_unique_id VARCHAR(100), currency VARCHAR(3) NOT NULL, supporting_document_ref BIGINT, supporting_document_type VARCHAR(255), transactional_amount numeric(23, 12), trading_currency VARCHAR(3), auxiliary_account_code VARCHAR(255), auxiliary_account_label VARCHAR(255), journal_code VARCHAR(50), category VARCHAR(50), account VARCHAR(50), label VARCHAR(255), customer_code VARCHAR(50), customer_name VARCHAR(255), seller_name VARCHAR(255), reference VARCHAR(50), document_type VARCHAR(50), matching_code VARCHAR(255), CONSTRAINT pk_accounting_journal_entry PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5881_20220322-rebuild', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2635, '8:53f4708550f50301c8936dc484f92703', 'createTable tableName=accounting_journal_entry', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5881_20220322-rebuild-fk::aelmalki
ALTER TABLE accounting_journal_entry ADD CONSTRAINT fk_accounting_entry_account_operation FOREIGN KEY (accounting_operation_id) REFERENCES ar_account_operation (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE accounting_journal_entry ADD CONSTRAINT fk_accounting_entry_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE accounting_journal_entry ADD CONSTRAINT fk_accounting_entry_seller FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE accounting_journal_entry ADD CONSTRAINT fk_accounting_entry_customer_account FOREIGN KEY (customer_account_id) REFERENCES ar_customer_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE accounting_journal_entry ADD CONSTRAINT fk_accounting_entry_tax FOREIGN KEY (tax_id) REFERENCES billing_tax (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5881_20220322-rebuild-fk', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2637, '8:7abae09b7eb9de72787b90e1971ec6ef', 'addForeignKeyConstraint baseTableName=accounting_journal_entry, constraintName=fk_accounting_entry_account_operation, referencedTableName=ar_account_operation; addForeignKeyConstraint baseTableName=accounting_journal_entry, constraintName=fk_accou...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6562_20220414-rebuild::aelmalki
CREATE TABLE accounting_accountingcode_mapping (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), accounting_article_id BIGINT, billing_country_id BIGINT, billing_currency_id BIGINT, seller_country_id BIGINT, seller_id BIGINT, criteria_el_value VARCHAR(500), accounting_code_id BIGINT, CONSTRAINT pk_accounting_accountingcode_mapping PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6562_20220414-rebuild', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2639, '8:6f5d6d4affecfc43d4122b4e0358a8b1', 'createTable tableName=accounting_accountingcode_mapping', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6562_20220414-rebuild-fk::aelmalki
ALTER TABLE accounting_accountingcode_mapping ADD CONSTRAINT fk_accountingcode_mapping_accounting_article FOREIGN KEY (accounting_article_id) REFERENCES billing_accounting_article (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE accounting_accountingcode_mapping ADD CONSTRAINT fk_accountingcode_mapping_billing_country FOREIGN KEY (billing_country_id) REFERENCES billing_trading_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE accounting_accountingcode_mapping ADD CONSTRAINT fk_accountingcode_mapping_trading_currency FOREIGN KEY (billing_currency_id) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE accounting_accountingcode_mapping ADD CONSTRAINT fk_accountingcode_mapping_seller_country FOREIGN KEY (seller_country_id) REFERENCES billing_trading_country (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE accounting_accountingcode_mapping ADD CONSTRAINT fk_accountingcode_mapping_seller FOREIGN KEY (seller_id) REFERENCES crm_seller (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE accounting_accountingcode_mapping ADD CONSTRAINT fk_accountingcode_mapping_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES billing_accounting_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6562_20220414-rebuild-fk', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2641, '8:cde68776b9d9095db4589c51977a30d5', 'addForeignKeyConstraint baseTableName=accounting_accountingcode_mapping, constraintName=fk_accountingcode_mapping_accounting_article, referencedTableName=billing_accounting_article; addForeignKeyConstraint baseTableName=accounting_accountingcode_m...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5859_20220321_build::TarikFA.
ALTER TABLE billing_discount_plan_instance ADD CONSTRAINT fk_discount_instance_service_instance FOREIGN KEY (service_instance_id) REFERENCES billing_service_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5859_20220321_build', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2643, '8:12d7757bdc578ad30b701bc445d63ffc', 'addForeignKeyConstraint baseTableName=billing_discount_plan_instance, constraintName=fk_discount_instance_service_instance, referencedTableName=billing_service_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5872_20220322_build::TarikFA.
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_discount_plan_id_wallet_operation FOREIGN KEY (discount_plan_id) REFERENCES cat_discount_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_discount_plan_id_rated_transaction FOREIGN KEY (discount_plan_id) REFERENCES cat_discount_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5872_20220322_build', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2645, '8:725c79e1c40efc95d012b3c0066ad817', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_discount_plan_id_wallet_operation, referencedTableName=cat_discount_plan; addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_discount...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5872_20220326_build::R.AITYAAZZA
ALTER TABLE cpq_quote_price ADD CONSTRAINT fk_discount_plan_id_quote_price FOREIGN KEY (discount_plan_id) REFERENCES cat_discount_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5872_20220326_build', 'R.AITYAAZZA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2647, '8:1223ad9ee4438aa6b72d9d9135011ad7', 'addForeignKeyConstraint baseTableName=cpq_quote_price, constraintName=fk_discount_plan_id_quote_price, referencedTableName=cat_discount_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6108_20220330_build::TarikFA.
ALTER TABLE order_price ADD CONSTRAINT fk_order_price_discounted_order FOREIGN KEY (discounted_order_price) REFERENCES order_price (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE order_price ADD CONSTRAINT fk_order_price_discount_plan FOREIGN KEY (discount_plan_id) REFERENCES cat_discount_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6108_20220330_build', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2649, '8:e5b6a36ec11a3fa0aa312f181cc456e9', 'addForeignKeyConstraint baseTableName=order_price, constraintName=fk_order_price_discounted_order, referencedTableName=order_price; addForeignKeyConstraint baseTableName=order_price, constraintName=fk_order_price_discount_plan, referencedTableName...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7399_20220603-rebuild::aelmalki
CREATE TABLE ar_payment_plan (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), amount_to_recover numeric(23, 12) NOT NULL, amount_per_installment numeric(23, 12) NOT NULL, remaining_amount numeric(23, 12), action_on_remaining_amount VARCHAR(255) NOT NULL, number_of_installments INTEGER NOT NULL, start_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, end_date TIMESTAMP WITHOUT TIME ZONE NOT NULL, recurring_unit VARCHAR(255) NOT NULL, status VARCHAR(255) NOT NULL, customer_account_id BIGINT NOT NULL, CONSTRAINT pk_ar_payment_plan PRIMARY KEY (id), CONSTRAINT ar_payment_plan_code_unique UNIQUE (code));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7399_20220603-rebuild', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2651, '8:f3214bb5f1caec8dbe661d8ba5b05df1', 'createTable tableName=ar_payment_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7399_20220603-rebuild-fk::aelmalki
ALTER TABLE ar_payment_plan ADD CONSTRAINT fk_payment_plan_customer_account FOREIGN KEY (customer_account_id) REFERENCES ar_customer_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7399_20220603-rebuild-fk', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2653, '8:bef66b7272233108ea69ead048cb67ae', 'addForeignKeyConstraint baseTableName=ar_payment_plan, constraintName=fk_payment_plan_customer_account, referencedTableName=ar_customer_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7399_20220603-rebuild-joined-table-created-aos::aelmalki
CREATE TABLE ar_payment_plan_created_aos (payment_plan_id BIGINT, account_operation_id BIGINT);

ALTER TABLE ar_payment_plan_created_aos ADD CONSTRAINT ar_payment_plan_created_aos_pkey PRIMARY KEY (payment_plan_id, account_operation_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7399_20220603-rebuild-joined-table-created-aos', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2655, '8:9616cbbe3725b1c56c97e578e2d03bcd', 'createTable tableName=ar_payment_plan_created_aos; addPrimaryKey constraintName=ar_payment_plan_created_aos_pkey, tableName=ar_payment_plan_created_aos', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7399_20220603-rebuild-joined-table-targeted-aos::aelmalki
CREATE TABLE ar_payment_plan_targeted_aos (payment_plan_id BIGINT, account_operation_id BIGINT);

ALTER TABLE ar_payment_plan_targeted_aos ADD CONSTRAINT ar_payment_plan_targeted_aos_pkey PRIMARY KEY (payment_plan_id, account_operation_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7399_20220603-rebuild-joined-table-targeted-aos', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2657, '8:7a89249d9cee65a74f7941e29c7b086b', 'createTable tableName=ar_payment_plan_targeted_aos; addPrimaryKey constraintName=ar_payment_plan_targeted_aos_pkey, tableName=ar_payment_plan_targeted_aos', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7770_20220613-rebuild-fk::aelmalki
ALTER TABLE billing_invoice ADD CONSTRAINT fk_billing_invoice_payment_plan_id FOREIGN KEY (payment_plan_id) REFERENCES ar_payment_plan (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7770_20220613-rebuild-fk', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2659, '8:4313783190a8c6bdbf77b85acd7afa8f', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_billing_invoice_payment_plan_id, referencedTableName=ar_payment_plan', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8109_20220622_str::ZBariki
CREATE INDEX accounting_journal_entry_auxiliary_accounting_code_idx ON accounting_journal_entry(auxiliary_account_code);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8109_20220622_str', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2661, '8:ebec9b1e2fe4b76637067076d205b9e9', 'createIndex indexName=accounting_journal_entry_auxiliary_accounting_code_idx, tableName=accounting_journal_entry', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8158_20220624_rebuild::TarikFA.
CREATE SEQUENCE edr_versioning_rule_seq;

CREATE SEQUENCE mediation_setting_seq;

CREATE TABLE mediation_setting (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), enable_edr_versioning INTEGER DEFAULT 0, CONSTRAINT pk_mediation_setting PRIMARY KEY (id));

CREATE TABLE edr_versioning_rule (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), priority INTEGER NOT NULL, criterial_el VARCHAR(2000) NOT NULL, key_el VARCHAR(2000) NOT NULL, is_new_version_el VARCHAR(2000) NOT NULL, mediation_setting_id BIGINT NOT NULL, CONSTRAINT pk_edr_versioning_rule PRIMARY KEY (id));

ALTER TABLE edr_versioning_rule ADD CONSTRAINT fk_edr_versioning_rule_mediation_setting FOREIGN KEY (mediation_setting_id) REFERENCES mediation_setting (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8158_20220624_rebuild', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2663, '8:ed83033debaeca9d603ff5594ca49596', 'createSequence sequenceName=edr_versioning_rule_seq; createSequence sequenceName=mediation_setting_seq; createTable tableName=mediation_setting; createTable tableName=edr_versioning_rule; addForeignKeyConstraint baseTableName=edr_versioning_rule, ...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8701_20220801_rebuild::ZBariki
CREATE TABLE billing_tax_composition (main_tax_id BIGINT NOT NULL, sub_tax_id BIGINT NOT NULL);

ALTER TABLE billing_tax_composition ADD CONSTRAINT billing_tax_composition_pkey PRIMARY KEY (main_tax_id, sub_tax_id);

ALTER TABLE billing_tax_composition ADD CONSTRAINT fk_billing_tax_composition_main_tax_id FOREIGN KEY (main_tax_id) REFERENCES billing_tax (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_tax_composition ADD CONSTRAINT fk_billing_tax_composition_sub_tax_id FOREIGN KEY (sub_tax_id) REFERENCES billing_tax (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8701_20220801_rebuild', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2665, '8:5c4a3c80409fdfc94bd2af4baf8c5991', 'createTable tableName=billing_tax_composition; addPrimaryKey constraintName=billing_tax_composition_pkey, tableName=billing_tax_composition; addForeignKeyConstraint baseTableName=billing_tax_composition, constraintName=fk_billing_tax_composition_m...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8777_20220728-rebuild::aelmalki
CREATE TABLE billing_run_job_execution (billing_run_id BIGINT NOT NULL, job_execution_id BIGINT NOT NULL);

ALTER TABLE billing_run_job_execution ADD CONSTRAINT billing_run_job_execution_billing_run_id_fk FOREIGN KEY (billing_run_id) REFERENCES billing_billing_run (id);

ALTER TABLE billing_run_job_execution ADD CONSTRAINT billing_run_job_execution_job_execution_id_fk FOREIGN KEY (job_execution_id) REFERENCES job_execution (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8777_20220728-rebuild', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2667, '8:2014e3605d3dd4b3e546f3149f250d72', 'createTable tableName=billing_run_job_execution; addForeignKeyConstraint baseTableName=billing_run_job_execution, constraintName=billing_run_job_execution_billing_run_id_fk, referencedTableName=billing_billing_run; addForeignKeyConstraint baseTabl...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9117_20220811-init-table::aelmalki
CREATE TABLE open_order_products (open_order_id BIGINT NOT NULL, open_product_id BIGINT NOT NULL);

CREATE TABLE open_order_articles (open_order_id BIGINT NOT NULL, open_article_id BIGINT NOT NULL);

ALTER TABLE open_order_products ADD CONSTRAINT open_order_products_pkey PRIMARY KEY (open_order_id, open_product_id);

ALTER TABLE open_order_articles ADD CONSTRAINT open_order_articles_pkey PRIMARY KEY (open_order_id, open_article_id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9117_20220811-init-table', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2669, '8:876c4e2dd9d20094f56f8b3334b40043', 'createTable tableName=open_order_products; createTable tableName=open_order_articles; addPrimaryKey constraintName=open_order_products_pkey, tableName=open_order_products; addPrimaryKey constraintName=open_order_articles_pkey, tableName=open_order...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9117_20220811-FK::aelmalki
ALTER TABLE open_order_products ADD CONSTRAINT open_order_products_open_order_id_fk FOREIGN KEY (open_order_id) REFERENCES open_order (id);

ALTER TABLE open_order_products ADD CONSTRAINT open_order_products_product_id_fk FOREIGN KEY (open_product_id) REFERENCES open_order_product (id);

ALTER TABLE open_order_articles ADD CONSTRAINT open_order_articles_open_order_id_fk FOREIGN KEY (open_order_id) REFERENCES open_order (id);

ALTER TABLE open_order_articles ADD CONSTRAINT open_order_articles_article_id_fk FOREIGN KEY (open_article_id) REFERENCES open_order_article (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9117_20220811-FK', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2671, '8:90c975f8af37b4d5b05c3d73f5923d1f', 'addForeignKeyConstraint baseTableName=open_order_products, constraintName=open_order_products_open_order_id_fk, referencedTableName=open_order; addForeignKeyConstraint baseTableName=open_order_products, constraintName=open_order_products_product_i...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9451_20220902_fk::KhalidHORRI
ALTER TABLE open_order_tags ADD CONSTRAINT open_order_tags_open_order_id_fk FOREIGN KEY (open_order_id) REFERENCES open_order (id);

ALTER TABLE open_order_tags ADD CONSTRAINT open_order_tags_tag_id_fk FOREIGN KEY (tag_id) REFERENCES cpq_tag (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9451_20220902_fk', 'KhalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2673, '8:74625abea186f434dc973e6c55b48f14', 'addForeignKeyConstraint baseTableName=open_order_tags, constraintName=open_order_tags_open_order_id_fk, referencedTableName=open_order; addForeignKeyConstraint baseTableName=open_order_tags, constraintName=open_order_tags_tag_id_fk, referencedTabl...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9581_20220907_FK::TarikFA.
ALTER TABLE billing_wallet_operation ADD CONSTRAINT price_plan_matrix_version_id_fk FOREIGN KEY (price_plan_matrix_version_id) REFERENCES cpq_price_plan_version (id);

ALTER TABLE billing_wallet_operation ADD CONSTRAINT price_plan_matrix_line_fk FOREIGN KEY (price_plan_matrix_line_id) REFERENCES cpq_price_plan_matrix_line (id);

ALTER TABLE billing_wallet_operation ADD CONSTRAINT contract_id_fk FOREIGN KEY (contract_id) REFERENCES cpq_contract (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9581_20220907_FK', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2675, '8:621f29d70e406e54743cb07f4a11ad32', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=price_plan_matrix_version_id_fk, referencedTableName=cpq_price_plan_version; addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=price_plan_m...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9598-20220909-contact-category::a.rouaguebe
CREATE TABLE com_contact_category (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, code VARCHAR(255) NOT NULL, description VARCHAR(255), creator VARCHAR(100), updater VARCHAR(100), uuid VARCHAR(60) DEFAULT uuid_generate_v4() NOT NULL, cf_values JSONB, CONSTRAINT com_contact_category_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9598-20220909-contact-category', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2677, '8:e6b26401a980afec6820ed515a76df83', 'createTable tableName=com_contact_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9854-20220915-contact-category-many-to-many::a.rouaguebe
CREATE TABLE com_contact_category_contact (contact_id BIGINT NOT NULL, contact_category_id BIGINT NOT NULL);

ALTER TABLE com_contact_category_contact ADD CONSTRAINT com_contact_category_contact_pk UNIQUE (contact_id, contact_category_id);

ALTER TABLE com_contact_category_contact ADD CONSTRAINT contact_category_id_fk FOREIGN KEY (contact_category_id) REFERENCES com_contact_category (id);

ALTER TABLE com_contact_category_contact ADD CONSTRAINT contact_id_fk FOREIGN KEY (contact_id) REFERENCES com_contact (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9854-20220915-contact-category-many-to-many', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2679, '8:25ac252f083ff3345d0a2c85fc55dbe4', 'createTable tableName=com_contact_category_contact; addUniqueConstraint constraintName=com_contact_category_contact_pk, tableName=com_contact_category_contact; addForeignKeyConstraint baseTableName=com_contact_category_contact, constraintName=cont...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10693_20221019-sd-adjustment::a.rouaguebe
ALTER TABLE security_deposit ADD CONSTRAINT fk_security_adjustment_invoice FOREIGN KEY (sd_adjustment_id) REFERENCES billing_invoice (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10693_20221019-sd-adjustment', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2681, '8:df91b52e300bd42a6d9332149a94c163', 'addForeignKeyConstraint baseTableName=security_deposit, constraintName=fk_security_adjustment_invoice, referencedTableName=billing_invoice', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10541_20221013_build::TarikFA.
CREATE TABLE billing_linked_invoices (id BIGINT NOT NULL, linked_invoice_id BIGINT NOT NULL, amount numeric(23, 12), type VARCHAR(50), transactional_amount numeric(23, 12));

ALTER TABLE billing_linked_invoices ADD CONSTRAINT billing_linked_invoices_pkey PRIMARY KEY (id, linked_invoice_id);

ALTER TABLE billing_linked_invoices ADD CONSTRAINT invoice_id_fk FOREIGN KEY (id) REFERENCES billing_invoice (id);

ALTER TABLE billing_linked_invoices ADD CONSTRAINT linked_invoice_id_fk FOREIGN KEY (linked_invoice_id) REFERENCES billing_invoice (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10541_20221013_build', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2683, '8:aaa3a4e750098d53a55c593176de79f6', 'createTable tableName=billing_linked_invoices; addPrimaryKey constraintName=billing_linked_invoices_pkey, tableName=billing_linked_invoices; addForeignKeyConstraint baseTableName=billing_linked_invoices, constraintName=invoice_id_fk, referencedTab...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10768-20221108-validationrule::a.rouaguebe
CREATE SEQUENCE billing_invoice_validation_rule_seq START WITH 1;

CREATE TABLE billing_invoice_validation_rule (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, description VARCHAR(255), invoice_type_id BIGINT NOT NULL, priority INTEGER, valid_from TIMESTAMP WITHOUT TIME ZONE, valid_to TIMESTAMP WITHOUT TIME ZONE, type VARCHAR(50) NOT NULL, fail_status VARCHAR(50), script_instance_id BIGINT, validation_el TEXT, rule_values JSONB, evaluation_mode VARCHAR(50) DEFAULT 'VALIDATION' NOT NULL, operator VARCHAR(10) DEFAULT 'OR', parent_id BIGINT, CONSTRAINT billing_invoice_validation_rule_pkey PRIMARY KEY (id));

ALTER TABLE billing_invoice_validation_rule ADD CONSTRAINT fk_validation_rule_meveo_script_instance FOREIGN KEY (script_instance_id) REFERENCES meveo_script_instance (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_invoice_validation_rule ADD CONSTRAINT fk_invoice_validation_rule_parent_id FOREIGN KEY (parent_id) REFERENCES billing_invoice_validation_rule (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10768-20221108-validationrule', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2685, '8:2960e90be5430a7cf4ca7b5f14da8baf', 'createSequence sequenceName=billing_invoice_validation_rule_seq; createTable tableName=billing_invoice_validation_rule; addForeignKeyConstraint baseTableName=billing_invoice_validation_rule, constraintName=fk_validation_rule_meveo_script_instance,...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-11780_20221128_fk::AdilElJaouhari
ALTER TABLE billing_invoice ADD CONSTRAINT fk_billing_invoice_validation_rule FOREIGN KEY (invoice_validation_rule_id) REFERENCES billing_invoice_validation_rule (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11780_20221128_fk', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2687, '8:06d6e84266b58ee15643993a5040b566', 'addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_billing_invoice_validation_rule, referencedTableName=billing_invoice_validation_rule', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12677_20221229_rebuild::AdilElJaouhari
CREATE TABLE crm_provider_order_line_type (provider_id BIGINT, order_line_type VARCHAR(20));

ALTER TABLE crm_provider_order_line_type ADD CONSTRAINT crm_provider_order_line_type_provider_fk FOREIGN KEY (provider_id) REFERENCES crm_provider (id);

ALTER TABLE crm_provider_order_line_type ADD CONSTRAINT crm_provider_order_line_type_uk UNIQUE (provider_id, order_line_type);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12677_20221229_rebuild', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2689, '8:373570f8f61c16673a436de8c242a38c', 'createTable tableName=crm_provider_order_line_type; addForeignKeyConstraint baseTableName=crm_provider_order_line_type, constraintName=crm_provider_order_line_type_provider_fk, referencedTableName=crm_provider; addUniqueConstraint constraintName=c...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10544_20221207-rebuild::HatimOUDAD
CREATE SEQUENCE iso_icd_seq START WITH 1;

CREATE TABLE iso_icd (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, scheme_name VARCHAR(500) NOT NULL, CONSTRAINT pk_iso_icd PRIMARY KEY (id), CONSTRAINT iso_icd_unique UNIQUE (code));

CREATE SEQUENCE untdid_1001_invoice_code_type_seq START WITH 1;

CREATE TABLE untdid_1001_invoice_code_type (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, en16931_interpretation VARCHAR(20) NOT NULL, name VARCHAR(500), CONSTRAINT pk_1001_invoice_type PRIMARY KEY (id), CONSTRAINT iso_1001_code_type_unique UNIQUE (code));

CREATE SEQUENCE untdid_2475_vat_payment_option_seq START WITH 1;

CREATE TABLE untdid_2475_vat_payment_option (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code_2005 VARCHAR(10) NOT NULL, value_2005 VARCHAR(500) NOT NULL, code_2475 VARCHAR(10) NOT NULL, value_2475 VARCHAR(500) NOT NULL, CONSTRAINT pk_2475_vat_payment PRIMARY KEY (id));

CREATE SEQUENCE untdid_4451_invoice_subject_code_seq START WITH 1;

CREATE TABLE untdid_4451_invoice_subject_code (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, code_name VARCHAR(500) NOT NULL, CONSTRAINT pk_4451_invoice_subject PRIMARY KEY (id), CONSTRAINT iso_4451_subject_code_unique UNIQUE (code));

CREATE SEQUENCE untdid_5305_taxation_category_seq START WITH 1;

CREATE TABLE untdid_5305_taxation_category (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, semantic_model VARCHAR(500) NOT NULL, name VARCHAR(500) NOT NULL, CONSTRAINT pk_5305_taxation_category PRIMARY KEY (id), CONSTRAINT iso_5305_taxation_category_unique UNIQUE (code));

ALTER TABLE billing_tax_category ADD CONSTRAINT fk_untdid_taxation_category FOREIGN KEY (untdid_taxation_category_id) REFERENCES untdid_5305_taxation_category (id) ON DELETE NO ACTION;

CREATE SEQUENCE untdid_vatex_seq START WITH 1;

CREATE TABLE untdid_vatex (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, remark VARCHAR(500), code_name VARCHAR(500) NOT NULL, CONSTRAINT pk_untdid_vatex PRIMARY KEY (id), CONSTRAINT untdid_vatex_unique UNIQUE (code));

CREATE SEQUENCE untdid_4461_payment_means_seq START WITH 1;

CREATE TABLE untdid_4461_payment_means (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255) NOT NULL, usage_in_en16931 VARCHAR(500), code_name VARCHAR(500) NOT NULL, CONSTRAINT pk_4461_payment_means PRIMARY KEY (id), CONSTRAINT untdid_4461_payment_unique UNIQUE (code));

CREATE SEQUENCE untdid_5189_allowance_code_seq START WITH 1;

CREATE TABLE untdid_5189_allowance_code (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(10) NOT NULL, description VARCHAR(500) NOT NULL, CONSTRAINT pk_5189_allowance_code PRIMARY KEY (id), CONSTRAINT untdid_5189_allowance_code_unique UNIQUE (code));

ALTER TABLE billing_tax ADD CONSTRAINT fk_billing_tax_5305_taxation_category FOREIGN KEY (taxation_category_id) REFERENCES untdid_5305_taxation_category (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_tax ADD CONSTRAINT fk_billing_tax_vatex FOREIGN KEY (vatex_id) REFERENCES untdid_vatex (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_invoice_type ADD CONSTRAINT fk_billing_invoice_1001_invoice FOREIGN KEY (invoice_code_type_id) REFERENCES untdid_1001_invoice_code_type (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_invoice_type ADD CONSTRAINT fk_billing_invoice_2475_vat FOREIGN KEY (vat_payment_option_id) REFERENCES untdid_2475_vat_payment_option (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10544_20221207-rebuild', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2691, '8:2b611361094f889d4293874f5951f137', 'createSequence sequenceName=iso_icd_seq; createTable tableName=iso_icd; createSequence sequenceName=untdid_1001_invoice_code_type_seq; createTable tableName=untdid_1001_invoice_code_type; createSequence sequenceName=untdid_2475_vat_payment_option_...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12609_20221227_converted_ppv::a.rouaguebe
CREATE TABLE cpq_trading_price_plan_version (id BIGINT NOT NULL, version INTEGER, creator VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, updater VARCHAR(100), price_plan_matrix_version_id BIGINT, trading_price numeric(23, 12), trading_currency_id BIGINT NOT NULL, rate numeric(23, 12), use_for_billing_accounts INTEGER, CONSTRAINT cpq_trading_price_plan_version_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12609_20221227_converted_ppv', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2693, '8:01b92aed8936bb3c6f8905bec060475a', 'createTable tableName=cpq_trading_price_plan_version', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12405_20221226-rebuild::HichamHANINE
ALTER TABLE billing_billing_account ADD CONSTRAINT fk_billing_account_icd FOREIGN KEY (icd_id) REFERENCES iso_icd (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_user_account ADD CONSTRAINT fk_user_account_icd FOREIGN KEY (icd_id) REFERENCES iso_icd (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE crm_seller ADD CONSTRAINT fk_seller_icd FOREIGN KEY (icd_id) REFERENCES iso_icd (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE crm_provider ADD CONSTRAINT fk_provider_icd FOREIGN KEY (icd_id) REFERENCES iso_icd (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_invoice_type ADD CONSTRAINT fk_invoice_type_untdid_4451_invoice_subject FOREIGN KEY (invoice_subject_code) REFERENCES untdid_4451_invoice_subject_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE ar_payment_token ADD CONSTRAINT fk_payment_token_untdid_4461_payment_means FOREIGN KEY (payment_means) REFERENCES untdid_4461_payment_means (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE billing_accounting_article ADD CONSTRAINT fk_accounting_article_untdid_5189_allowance_code FOREIGN KEY (allowance_code) REFERENCES untdid_5189_allowance_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12405_20221226-rebuild', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2695, '8:0aea1268b9514440a65f587454611dfa', 'addForeignKeyConstraint baseTableName=billing_billing_account, constraintName=fk_billing_account_icd, referencedTableName=iso_icd; addForeignKeyConstraint baseTableName=billing_user_account, constraintName=fk_user_account_icd, referencedTableName=...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13883_20230208_fk::hichamELHALOUI
ALTER TABLE cat_discount_plan ADD CONSTRAINT fk_discount_plan_untdid_5189_allowance_code FOREIGN KEY (allowance_code_id) REFERENCES untdid_5189_allowance_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13883_20230208_fk', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2697, '8:b24b67abcbf7fa29c140fba21a1525f9', 'addForeignKeyConstraint baseTableName=cat_discount_plan, constraintName=fk_discount_plan_untdid_5189_allowance_code, referencedTableName=untdid_5189_allowance_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13062-20230124-rebuild::ZBariki
CREATE SEQUENCE ar_customer_balance_seq;

CREATE TABLE ar_customer_balance (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, creator VARCHAR(100), updater VARCHAR(100), code VARCHAR(255), description VARCHAR(255), default_balance INTEGER DEFAULT 0, CONSTRAINT customer_balance_pkey PRIMARY KEY (id));

CREATE TABLE ar_customer_balance_templates (customer_balance_id BIGINT NOT NULL, template_id BIGINT NOT NULL);

ALTER TABLE ar_customer_balance_templates ADD CONSTRAINT ar_templates_customer_balance_pkey PRIMARY KEY (customer_balance_id, template_id);

ALTER TABLE ar_customer_balance_templates ADD CONSTRAINT fk_ar_customer_balance_templates FOREIGN KEY (customer_balance_id) REFERENCES ar_customer_balance (id);

ALTER TABLE ar_customer_balance_templates ADD CONSTRAINT fk_ar_templates_customer_balance FOREIGN KEY (template_id) REFERENCES ar_occ_template (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13062-20230124-rebuild', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2699, '8:8b1b96e2a8a2db3b0ee6ce1a03002654', 'createSequence sequenceName=ar_customer_balance_seq; createTable tableName=ar_customer_balance; createTable tableName=ar_customer_balance_templates; addPrimaryKey constraintName=ar_templates_customer_balance_pkey, tableName=ar_customer_balance_tem...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13045_20230202_rebuild_str_fk::ZBariki
ALTER TABLE dunning_settings ADD CONSTRAINT fk_dunning_settings_customer_balance_id FOREIGN KEY (customer_balance_id) REFERENCES ar_customer_balance (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13045_20230202_rebuild_str_fk', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2701, '8:124c1f085c8df1c438268d6ea7faa71a', 'addForeignKeyConstraint baseTableName=dunning_settings, constraintName=fk_dunning_settings_customer_balance_id, referencedTableName=ar_customer_balance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14022_20230215::AdilElJaouhari
ALTER TABLE crm_customer ADD CONSTRAINT fk_crm_customer_parent_customer_id FOREIGN KEY (parent_customer_id) REFERENCES crm_customer (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14022_20230215', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2703, '8:d99cdabe9a24c1eb71bf4c2ecb012f4c', 'addForeignKeyConstraint baseTableName=crm_customer, constraintName=fk_crm_customer_parent_customer_id, referencedTableName=crm_customer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14555_20230303::AdilElJaouhari
ALTER TABLE crm_customer_category ADD CONSTRAINT fk_crm_customer_category_default_seller_id FOREIGN KEY (default_seller_id) REFERENCES crm_seller (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14555_20230303', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2705, '8:55ba5a3aff00c1549b0c6f220ead78ba', 'addForeignKeyConstraint baseTableName=crm_customer_category, constraintName=fk_crm_customer_category_default_seller_id, referencedTableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14632_20230306::AdilElJaouhari
ALTER TABLE cpq_order_offer ADD CONSTRAINT fk_cpq_order_offer_contract_id FOREIGN KEY (contract_id) REFERENCES cpq_contract (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14632_20230306', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2707, '8:5b4db3a66d0abd662c9c928db7dd9da3', 'addForeignKeyConstraint baseTableName=cpq_order_offer, constraintName=fk_cpq_order_offer_contract_id, referencedTableName=cpq_contract', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#rebuild-INTRD-15664-20230501::aelmalki
CREATE TABLE ar_unmatching_code (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, unmatching_amount_credit numeric(23, 12), unmatching_amount_debit numeric(23, 12), transactional_unmatching_amount_credit numeric(23, 12), transactional_unmatching_amount_debit numeric(23, 12), unmatching_date date, creator VARCHAR(100), updater VARCHAR(100), CONSTRAINT ar_unmatching_code_pkey PRIMARY KEY (id));

CREATE TABLE ar_unmatching_amount (id BIGINT NOT NULL, version INTEGER, created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, unmatching_amount numeric(23, 12), transactional_unmatching_amount numeric(23, 12), creator VARCHAR(100), updater VARCHAR(100), account_operation_id BIGINT, unmatching_code_id BIGINT, CONSTRAINT ar_unmatching_amount_pkey PRIMARY KEY (id));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#rebuild-INTRD-15664-20230501', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2709, '8:ce6fb2de643346c598aec8ec8652a636', 'createTable tableName=ar_unmatching_code; createTable tableName=ar_unmatching_amount', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#rebuild-fk-INTRD-15664-20230501::aelmalki
ALTER TABLE ar_unmatching_amount ADD CONSTRAINT fk_eurt0sf36q7w68zx58bn FOREIGN KEY (account_operation_id) REFERENCES ar_account_operation (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE ar_unmatching_amount ADD CONSTRAINT fk_qwvfl1elw6vgzi7vp5dc FOREIGN KEY (unmatching_code_id) REFERENCES ar_unmatching_code (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#rebuild-fk-INTRD-15664-20230501', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2711, '8:2a4d0edc5aa494b32ba6d1f8c75e1e52', 'addForeignKeyConstraint baseTableName=ar_unmatching_amount, constraintName=fk_eurt0sf36q7w68zx58bn, referencedTableName=ar_account_operation; addForeignKeyConstraint baseTableName=ar_unmatching_amount, constraintName=fk_qwvfl1elw6vgzi7vp5dc, refer...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15823_20230510::AdilElJaouhari
CREATE TABLE cat_trading_discount_plan_item (id BIGINT NOT NULL, version INTEGER, creator VARCHAR(100), updater VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, discount_plan_item_id BIGINT, trading_discount_value numeric(23, 12), trading_currency_id BIGINT NOT NULL, rate numeric(23, 12), CONSTRAINT cat_trading_discount_plan_item_pkey PRIMARY KEY (id));

ALTER TABLE cat_trading_discount_plan_item ADD CONSTRAINT cat_trading_discount_plan_item_fk FOREIGN KEY (discount_plan_item_id) REFERENCES cat_discount_plan_item (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE cat_trading_discount_plan_item ADD CONSTRAINT cat_trading_discount_plan_trading_currency_fk FOREIGN KEY (trading_currency_id) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15823_20230510', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2713, '8:847f3f4dfa4dba1283e53d7dffe60368', 'createTable tableName=cat_trading_discount_plan_item; addForeignKeyConstraint baseTableName=cat_trading_discount_plan_item, constraintName=cat_trading_discount_plan_item_fk, referencedTableName=cat_discount_plan_item; addForeignKeyConstraint baseT...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16600_20230531::AdilElJaouhari
CREATE TABLE cpq_trading_contract_item (id BIGINT NOT NULL, version INTEGER, creator VARCHAR(100), updater VARCHAR(100), created TIMESTAMP WITHOUT TIME ZONE NOT NULL, updated TIMESTAMP WITHOUT TIME ZONE, contract_item_id BIGINT, trading_value numeric(23, 12), trading_currency_id BIGINT NOT NULL, rate numeric(23, 12), CONSTRAINT cpq_trading_contract_item_pkey PRIMARY KEY (id));

ALTER TABLE cpq_trading_contract_item ADD CONSTRAINT cpq_trading_contract_item_contract_item_fk FOREIGN KEY (contract_item_id) REFERENCES cpq_contract_item (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE cpq_trading_contract_item ADD CONSTRAINT cpq_trading_contract_item_trading_currency_fk FOREIGN KEY (trading_currency_id) REFERENCES billing_trading_currency (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16600_20230531', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2715, '8:df40a8bcbaf776bee3aa57cf48993133', 'createTable tableName=cpq_trading_contract_item; addForeignKeyConstraint baseTableName=cpq_trading_contract_item, constraintName=cpq_trading_contract_item_contract_item_fk, referencedTableName=cpq_contract_item; addForeignKeyConstraint baseTableNa...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#rebuild-fk-INTRD-16445_20230526::aelmalki
ALTER TABLE ar_account_operation ADD CONSTRAINT fk_refunded_payment_id FOREIGN KEY (refunded_payment_id) REFERENCES ar_account_operation (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#rebuild-fk-INTRD-16445_20230526', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2717, '8:eb9d8a989015a3a6a04e1a70b057bb03', 'addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_refunded_payment_id, referencedTableName=ar_account_operation', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild_pg_audit_functions::AndriusKarpavicius
CREATE OR REPLACE FUNCTION jsonb_minus ( arg1 jsonb, arg2 jsonb, preserveField varchar, retainOnlyFields varchar ) RETURNS jsonb
                AS $$
                                
                SELECT 
                    COALESCE(json_object_agg(key, value), '{}')::jsonb
                FROM 
                    jsonb_each(arg1)
                WHERE 
                    ((arg1 -> key <> arg2 -> key OR arg2 -> key IS NULL) 
                    and key NOT IN ('version','created', 'updated', 'creator', 'updater') AND (retainOnlyFields ='' or position(','||key||',' IN ','||retainOnlyFields ||',') >0)) OR (preserveField <> '' and key = preserveField) 
                
                $$ LANGUAGE SQL;

CREATE OR REPLACE FUNCTION jsonb_removeNull ( arg1 jsonb, preserveField varchar, retainOnlyFields varchar ) RETURNS jsonb
                AS $$
                                
                SELECT 
                    COALESCE(json_object_agg(key, value), '{}')::jsonb
                FROM 
                    jsonb_each(arg1)
                WHERE 
                    value <> 'null' and value <> '{}' and key NOT IN ('version','created', 'updated', 'creator', 'updater') AND ((retainOnlyFields ='' or position(','||key||',' IN ','||retainOnlyFields ||',') >0)  OR (preserveField <> '' and key = preserveField))
              
                $$ LANGUAGE SQL;

CREATE OR REPLACE FUNCTION audit_data_log_trigger_func()
                RETURNS trigger AS $body$
            
                DECLARE
                    audit_info varchar(400);
                    audit_info_array text[];
                    db_user varchar(100);
                    origin varchar(15);  
                    origin_name varchar(250);
                    data_old jsonb;
                    data_new jsonb;
                    data_tmp jsonb;
                    ref_id bigint;
                    ref_table varchar(60);
                    save boolean; 
                BEGIN
            
                    save := true;
                    
                    audit_info := current_setting('var.opencell_audit_info', true);
                    if (audit_info IS NOT NULL) then
					    if (audit_info <> '') then
                            audit_info_array := string_to_array(audit_info, '~~');
                            db_user := audit_info_array[1];
                            origin := audit_info_array[2];
                            origin_name := audit_info_array[3];
					    else
						    origin :='GUI';
						end if;
                     else 
                        select current_user into db_user;
                        origin :='DB';
                    end if;
                    
                    if (TG_OP = 'INSERT') then
                        data_new := to_jsonb(NEW);
                        if (data_new ? 'id') then
                            ref_id :=NEW.id;
                        end if;                        
                        data_new := jsonb_removeNull(data_new, TG_ARGV[0], TG_ARGV[1]);
                        
                        save := TG_ARGV[2]::bool or data_new <> '{}';
                        
                    elseif (TG_OP = 'UPDATE') then
                        data_old := to_jsonb(OLD);
                        data_new := to_jsonb(NEW);
                        if (data_new ? 'id') then
                            ref_id :=NEW.id;
                        end if;
                        data_tmp := jsonb_minus(data_new, data_old, TG_ARGV[0], TG_ARGV[1]);
                        data_old := jsonb_minus(data_old, data_new, TG_ARGV[0], TG_ARGV[1]);
                        data_new := data_tmp;
                        
                        save := TG_ARGV[2]::bool or data_new <> '{}';
            
                    else 
                        data_old := to_jsonb(OLD);
                        if (data_old ? 'id') then
                            ref_id :=OLD.id;
                        end if;                        
                        data_old := jsonb_removeNull(data_old, TG_ARGV[0], TG_ARGV[1]);
                        
                        save := TG_ARGV[2]::bool or data_old <> '{}';

                    end if;
            
                    if (save) then
                        INSERT INTO audit_data_log_rec (
                            id, created, tx_id, ref_table, ref_id, action, origin, origin_name, user_name, data_old, data_new )
                        VALUES(
                            nextval('audit_data_log_rec_seq'), statement_timestamp(), txid_current(), TG_TABLE_NAME, ref_id, TG_OP, origin, origin_name, db_user, data_old, data_new );
                    end if;
                    
                    if (TG_OP = 'DELETE') then
                        RETURN OLD;
                    else 
                        RETURN NEW;
                    end if;
                END;
                $body$
                LANGUAGE plpgsql;

CREATE OR REPLACE procedure proc_recreate_audit_data_trigger(table_name varchar, fields varchar, actions varchar, preserveField varchar, saveEvenDiffIsEmpty boolean)
                language plpgsql
                as $$

                DECLARE
                    trigger_name varchar(100);
                    trigger_actions varchar(1000);
                BEGIN
            
            trigger_name :=table_name || '_audit_trigger';
        
            
            IF (actions IS NULL OR LOWER(actions) LIKE '%insert%') THEN
                trigger_actions := 'INSERT';
            END IF;

            IF (actions IS NULL OR LOWER(actions) LIKE '%update%') THEN
                trigger_actions := CASE WHEN trigger_actions IS NULL THEN '' ELSE trigger_actions || ' OR' END || ' UPDATE';
                if (fields IS NOT NULL) THEN
                    trigger_actions := trigger_actions || ' of ' || fields;
                END IF;
            END IF;


            IF (actions IS NULL OR LOWER(actions) LIKE '%delete%') THEN
                trigger_actions := CASE WHEN trigger_actions IS NULL THEN '' ELSE trigger_actions || ' OR' END || ' DELETE';
            END IF;

            EXECUTE format ('DROP TRIGGER IF EXISTS %s ON %s', trigger_name, table_name );
            EXECUTE format ('CREATE TRIGGER %I AFTER %s ON %s FOR EACH ROW EXECUTE FUNCTION audit_data_log_trigger_func(''%s'',''%s'',%I)', trigger_name, trigger_actions, table_name, preserveField, fields, saveEvenDiffIsEmpty::bool );

            END$$;

CREATE OR REPLACE procedure proc_delete_audit_data_trigger(table_name varchar)
                language plpgsql
                as $$

                DECLARE
                    trigger_name varchar(100);
                BEGIN
            
            trigger_name :=table_name || '_audit_trigger';
        
            EXECUTE format ('DROP TRIGGER IF EXISTS %s ON %s', trigger_name, table_name );

            END$$;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild_pg_audit_functions', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2719, '8:415b820d8811956c272c159d46ea0e25', 'createProcedure; createProcedure; createProcedure; createProcedure; createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9535-20220902::Abdelkader.Bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9535-20220902', 'Abdelkader.Bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2721, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4140_08042019::hznibar
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4140_08042019', 'hznibar', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2723, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4127_10042019::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4127_10042019', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2725, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4089_20190404::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4089_20190404', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2727, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4107_20190515::EdwardPLegaspi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4107_20190515', 'EdwardPLegaspi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2729, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4117_20190405::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4117_20190405', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2731, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4179_20190417::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4179_20190417', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2733, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4148_20190418 - Add runAsync on notification::EdwardPLegaspi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4148_20190418 - Add runAsync on notification', 'EdwardPLegaspi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2735, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#3683_20190415::YoussefIZEM
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#3683_20190415', 'YoussefIZEM', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2737, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4208_2019042601::MohamedElYoussoufi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4208_2019042601', 'MohamedElYoussoufi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2739, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#3692_20190426::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#3692_20190426', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2741, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4207_2019042901::MohamedElYoussoufi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4207_2019042901', 'MohamedElYoussoufi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2743, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4207_2019042902::MohamedElYoussoufi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4207_2019042902', 'MohamedElYoussoufi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2745, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4207_2019042904::MohamedElYoussoufi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4207_2019042904', 'MohamedElYoussoufi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2747, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4156_20190423::EdwardPLegaspi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4156_20190423', 'EdwardPLegaspi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2749, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4198_03052019::SaidRamli
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4198_03052019', 'SaidRamli', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2751, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4156_08052019::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4156_08052019', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2753, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4282_20190520::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4282_20190520', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2755, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#39262_20190604::TonyAlejandro
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#39262_20190604', 'TonyAlejandro', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2757, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4282_20190524::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4282_20190524', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2759, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4290_20190520-P::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4290_20190520-P', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2761, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4326_20190530-P::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4326_20190530-P', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2763, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4326_20190530::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4326_20190530', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2765, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4278_20190520_partitions::mohamed.el.youssoufi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4278_20190520_partitions', 'mohamed.el.youssoufi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2767, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4301_23052019 - empty tax amount::mohamed.el.youssoufi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4301_23052019 - empty tax amount', 'mohamed.el.youssoufi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2769, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4026-Order-validation-enhancement::abdelkader.bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4026-Order-validation-enhancement', 'abdelkader.bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2771, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4192_20190506 - add counter for subscription and service::KhalidHorri
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4192_20190506 - add counter for subscription and service', 'KhalidHorri', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2773, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4303_300520191::mohamed.el.youssoufi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4303_300520191', 'mohamed.el.youssoufi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2775, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4322_20190612 - Add a filter to GenericWorkflow::MounirBahije
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4322_20190612 - Add a filter to GenericWorkflow', 'MounirBahije', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2777, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4054_201917061 - Encryption::MohamedElYoussoufi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4054_201917061 - Encryption', 'MohamedElYoussoufi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2779, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4371_20190620_2::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4371_20190620_2', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2781, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4371_20190620_4::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4371_20190620_4', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2783, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4371_20190620_5::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4371_20190620_5', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2785, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4160_20190105 - Accounting Writing::MounirBOUKAYOUA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4160_20190105 - Accounting Writing', 'MounirBOUKAYOUA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2787, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4337_20190710::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4337_20190710', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2789, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4372_20190715::RedaDebbache
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4372_20190715', 'RedaDebbache', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2791, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4372_20190723::RedaDebbache
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4372_20190723', 'RedaDebbache', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2793, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4458_20190626_1::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4458_20190626_1', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2795, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4458_20190626_2::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4458_20190626_2', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2797, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4458_20190626_4::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4458_20190626_4', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2799, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4468_20190631_1::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4468_20190631_1', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2801, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4326_20190709::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4326_20190709', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2803, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4457_20190728::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4457_20190728', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2805, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4472_20190807::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4472_20190807', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2807, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4392_20190625::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4392_20190625', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2809, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4326_20190811::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4326_20190811', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2811, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4512_20190819::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4512_20190819', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2813, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4480_250919::MohammedElAzzouzi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4480_250919', 'MohammedElAzzouzi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2815, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4480_210819::SaidRamli
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4480_210819', 'SaidRamli', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2817, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4538_20190829::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4538_20190829', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2819, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4550_20190904::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4550_20190904', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2821, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4313_17062019::mohamed.el.youssoufi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4313_17062019', 'mohamed.el.youssoufi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2823, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#3774_07102019::FranckValot
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#3774_07102019', 'FranckValot', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2825, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4064_11092019::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4064_11092019', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2827, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4606_260919::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4606_260919', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2829, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4555_20190903::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4555_20190903', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2831, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4555_20190903-end::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4555_20190903-end', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2833, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4555_20190905::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4555_20190905', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2835, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4555_20190905-end::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4555_20190905-end', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2837, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4511_20190919-P-end::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4511_20190919-P-end', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2839, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4490_31102019::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4490_31102019', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2841, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4523-Changing-amount-for-a-service-instance-with-prorating::abdelkader.bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4523-Changing-amount-for-a-service-instance-with-prorating', 'abdelkader.bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2843, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#3510_20190516::MounirBahije
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#3510_20190516', 'MounirBahije', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2845, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4766_20191111::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4766_20191111', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2847, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4765_20191112::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4765_20191112', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2849, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4783_20191118::MohamedSTITANE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4783_20191118', 'MohamedSTITANE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2851, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4412_20191125::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4412_20191125', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2853, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4795_221119::Mohammed_ElAzzouzi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4795_221119', 'Mohammed_ElAzzouzi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2855, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4494-Enable_a_subscription_to_have_the_same_access_point_in_two_or_more_different_periods_of_time::abdelkader.bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4494-Enable_a_subscription_to_have_the_same_access_point_in_two_or_more_different_periods_of_time', 'abdelkader.bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2857, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4712_20191223::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4712_20191223', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2859, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4791_20200113::KhalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4791_20200113', 'KhalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2861, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::4745_20200108::MohamedSTITANE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('4745_20200108', 'MohamedSTITANE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2863, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4906_Creation_CDR_Table_2::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4906_Creation_CDR_Table_2', 'anasseh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2865, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4933_20200117::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4933_20200117', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2867, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#3743_20190414::HatimOudad
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#3743_20190414', 'HatimOudad', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2869, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#500X_20200218::mohamed.el.youssoufi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#500X_20200218', 'mohamed.el.youssoufi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2871, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4787_20200224::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4787_20200224', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2873, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4096_2020-02-07_2::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4096_2020-02-07_2', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2875, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4096_2020-02-07_3::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4096_2020-02-07_3', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2877, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4201_20200225::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4201_20200225', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2879, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4071_20200227::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4071_20200227', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2881, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4894-Additional_fields_in_RT::abdelkader.bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4894-Additional_fields_in_RT', 'abdelkader.bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2883, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4893-Add-custom-field-support-to-WalletOperation::abdelkader.bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4893-Add-custom-field-support-to-WalletOperation', 'abdelkader.bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2885, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4892_2020-03-04::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4892_2020-03-04', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2887, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5038_2020-03-06::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5038_2020-03-06', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2889, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5064_2020-03-15::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5064_2020-03-15', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2891, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4891-Copy-recurrence-calendar-and-applyInAdvance-to-RecurringChargeInstance-from-a-RecurringChargeTemplate::abdelkader.bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4891-Copy-recurrence-calendar-and-applyInAdvance-to-RecurringChargeInstance-from-a-RecurringChargeTemplate', 'abdelkader.bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2893, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4757_20191118::khalid.horri
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4757_20191118', 'khalid.horri', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2895, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4924_20200219::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4924_20200219', 'anasseh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2897, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5085_20200330 - triggeredNextCharge has an incorrect value::Mohammed_ELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5085_20200330 - triggeredNextCharge has an incorrect value', 'Mohammed_ELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2899, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4903_GDPR_Anonymize_CF::Mounir_BOUKAYOUA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4903_GDPR_Anonymize_CF', 'Mounir_BOUKAYOUA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2901, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4879_20190121::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4879_20190121', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2903, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5052_20200323::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5052_20200323', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2905, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5014_20200313::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5014_20200313', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2907, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5014_20200402::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5014_20200402', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2909, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5125_20200407::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5125_20200407', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2911, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#2447_20200421::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#2447_20200421', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2913, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5130_20200414::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5130_20200414', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2915, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4004_ Add_CustomField_to_OrderItem::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4004_ Add_CustomField_to_OrderItem', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2917, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#40167_20200407::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#40167_20200407', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2919, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5163_20200415::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5163_20200415', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2921, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5174_20200423::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5174_20200423', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2923, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5193_20200428::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5193_20200428', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2925, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5174_20200504::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5174_20200504', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2927, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4792_20200504::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4792_20200504', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2929, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5172_20200426::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5172_20200426', 'anasseh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2931, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5206_20200505::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5206_20200505', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2933, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5257_20200527::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5257_20200527', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2935, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4895_20200515::MohammedAmineTazi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4895_20200515', 'MohammedAmineTazi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2937, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5279_20200608_Cancellation of a billing run is impossible::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5279_20200608_Cancellation of a billing run is impossible', 'anasseh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2939, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5266_20200622::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5266_20200622', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2941, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5319_20200703::Mohammed_EL-AZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5319_20200703', 'Mohammed_EL-AZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2943, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5331_20190630::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5331_20190630', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2945, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5295_20200626::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5295_20200626', 'anasseh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2947, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5330_20190630::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5330_20190630', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2949, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5372_20190630::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5372_20190630', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2951, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5372_20200711::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5372_20200711', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2953, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5303_20200629::hznibar
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5303_20200629', 'hznibar', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2955, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5241_20200622::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5241_20200622', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2957, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5241_20200721::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5241_20200721', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2959, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5388_20200715::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5388_20200715', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2961, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#FEAT-777_20200728j::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#FEAT-777_20200728j', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2963, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4764_20200720::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4764_20200720', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2965, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5408_20200724::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5408_20200724', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2967, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5405_20190723::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5405_20190723', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2969, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5404_20200728::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5404_20200728', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2971, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5400_23072020::KhalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5400_23072020', 'KhalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2973, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4156_20120719::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4156_20120719', 'anasseh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2975, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4906_Creation_CDR_Table::MohammedAmineTazi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4906_Creation_CDR_Table', 'MohammedAmineTazi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2977, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5372_20190813::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5372_20190813', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2979, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5442_CET_ES::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5442_CET_ES', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2981, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5454_20200824::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5454_20200824', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2983, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5303_Update_CDR_Table_20200826::MohammedAmineTazi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5303_Update_CDR_Table_20200826', 'MohammedAmineTazi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2985, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#CORE-5215_11082020::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#CORE-5215_11082020', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2987, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5303_20200831::hznibar
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5303_20200831', 'hznibar', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2989, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5461_20200901::Mohammed_EL-AZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5461_20200901', 'Mohammed_EL-AZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2991, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5460_BA_fields::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5460_BA_fields', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2993, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#CORE-5457_20200825::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#CORE-5457_20200825', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2995, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5303_20200902::hznibar
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5303_20200902', 'hznibar', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2997, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5471-2020-09-07::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5471-2020-09-07', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 2999, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5489-2020-09-14::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5489-2020-09-14', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3001, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5510_20200923::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5510_20200923', 'anasseh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3003, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5534_20200929::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5534_20200929', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3005, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5471_20200930::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5471_20200930', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3007, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#3402_20201007::zbariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#3402_20201007', 'zbariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3009, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5556_20201006::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5556_20201006', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3011, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5501_20201007::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5501_20201007', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3013, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5155_20200928::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5155_20200928', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3015, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5546_20201023::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5546_20201023', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3017, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5621_20201104_offer_template_fix::NabilOUACHI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5621_20201104_offer_template_fix', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3019, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5621_20201104_offer_template::NabilOUACHI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5621_20201104_offer_template', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3021, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5975_20210225_offer_template_allowed_offer_change_should_be_many_to_many::MounirBOUKAYOUA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5975_20210225_offer_template_allowed_offer_change_should_be_many_to_many', 'MounirBOUKAYOUA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3023, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5599_20201029::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5599_20201029', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3025, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5416_20120809::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5416_20120809', 'anasseh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3027, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5610-2020-11-05 - Dunning workflow::NabilOUACHI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5610-2020-11-05 - Dunning workflow', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3029, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5587_20201021::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5587_20201021', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3031, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::AbdelkaderBouazza::#5512_20201113
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('AbdelkaderBouazza', '#5512_20201113', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3033, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5587_20201125::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5587_20201125', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3035, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5214_20201117::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5214_20201117', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3037, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5680_20201126::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5680_20201126', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3039, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::5687_20203011::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('5687_20203011', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3041, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::5697_20201208::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('5697_20201208', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3043, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5632_20201207_RT_TYPE::NabilOUACHI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5632_20201207_RT_TYPE', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3045, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5627_20201212::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5627_20201212', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3047, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4427_20201202::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4427_20201202', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3049, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4427_20201216::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4427_20201216', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3051, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5627_20210112::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5627_20210112', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3053, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5884_20210119::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5884_20210119', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3055, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5946_20210110::KhalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5946_20210110', 'KhalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3057, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5951_20210209_structure::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5951_20210209_structure', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3059, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5627_20210107::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5627_20210107', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3061, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5872_20210104::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5872_20210104', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3063, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5700_20210118::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5700_20210118', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3065, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5909_20210118::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5909_20210118', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3067, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5904_20210129::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5904_20210129', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3069, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5960_20210212::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5960_20210212', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3071, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5993_20210304::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5993_20210304', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3073, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5863_22122020::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5863_22122020', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3075, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5999_20210305::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5999_20210305', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3077, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#6040_20210323::amineTazi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#6040_20210323', 'amineTazi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3079, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#6012_20210323::MohamedAliHammal
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#6012_20210323', 'MohamedAliHammal', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3081, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::4756_20191104::Andrius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('4756_20191104', 'Andrius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3083, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::4756_20210311::Andrius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('4756_20210311', 'Andrius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3085, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::6055_20210330::Andrius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('6055_20210330', 'Andrius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3087, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5622_20210406::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5622_20210406', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3089, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5214_20200415_migration::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5214_20200415_migration', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3091, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4742_20191030::MohamedSTITANE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4742_20191030', 'MohamedSTITANE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3093, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#6076_20210419::Zbariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#6076_20210419', 'Zbariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3095, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5991_20210224::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5991_20210224', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3097, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5623_20210427::Mbarek
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5623_20210427', 'Mbarek', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3099, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-seq::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-seq', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3101, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-01::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-01', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3103, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-04::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-04', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3105, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-05::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-05', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3107, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-06::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-06', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3109, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-07::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-07', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3111, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-08::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-08', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3113, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-10::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-10', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3115, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-13::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-13', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3117, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-14::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-14', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3119, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-15::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-15', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3121, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-16::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-16', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3123, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-19::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-19', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3125, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-20::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-20', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3127, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-29::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-29', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3129, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-30::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-30', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3131, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-01::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-01', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3133, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-02::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-02', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3135, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-03::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-03', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3137, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-04::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-04', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3139, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-05::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-05', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3141, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-06::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-06', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3143, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-07::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-07', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3145, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-08::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-08', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3147, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-09::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-09', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3149, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-10::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-10', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3151, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-11::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-11', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3153, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-17::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-17', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3155, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-19::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-19', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3157, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-20::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-20', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3159, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-21::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-21', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3161, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-22::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-22', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3163, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-23::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-23', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3165, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk_commercial_rule_header_rule_item::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk_commercial_rule_header_rule_item', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3167, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-24::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-24', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3169, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-25::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-25', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3171, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-26::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-26', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3173, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::21112020-540-23-entity-quoteCustomerService::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('21112020-540-23-entity-quoteCustomerService', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3175, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::21112020-540-23-entity-quoteProduct::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('21112020-540-23-entity-quoteProduct', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3177, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::21112020-540-23-entity-quoteVersion::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('21112020-540-23-entity-quoteVersion', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3179, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::22112020-540-23-entity-contract::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('22112020-540-23-entity-contract', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3181, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::22112020-540-23-entity-contract-item::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('22112020-540-23-entity-contract-item', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3183, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::540-30_20201023_PricePlanMatrixItem::TarikF
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('540-30_20201023_PricePlanMatrixItem', 'TarikF', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3185, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::540-31_20201023_PricePlanVersion::TarikF
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('540-31_20201023_PricePlanVersion', 'TarikF', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3187, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::540-15_20201019_servicetype::TarikF
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('540-15_20201019_servicetype', 'TarikF', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3189, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::current-str-fk-32::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('current-str-fk-32', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3191, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::current-str-fk-33::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('current-str-fk-33', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3193, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::current-str-fk-34::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('current-str-fk-34', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3195, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::current-str-fk-43::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('current-str-fk-43', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3197, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::current-str-fk-44::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('current-str-fk-44', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3199, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::current-str-fk-45::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('current-str-fk-45', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3201, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::current-str-fk-46::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('current-str-fk-46', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3203, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::current-str-fk-47::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('current-str-fk-47', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3205, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::current-str-fk-48::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('current-str-fk-48', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3207, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::current-str-fk-49::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('current-str-fk-49', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3209, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::current-str-fk-50::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('current-str-fk-50', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3211, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::current-str-fk-51::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('current-str-fk-51', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3213, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::current-str-fk-52::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('current-str-fk-52', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3215, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-28::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-28', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3217, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-29::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-29', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3219, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-30::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-30', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3221, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-31::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-31', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3223, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-32::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-32', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3225, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-33::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-33', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3227, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-35::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-35', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3229, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-36::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-36', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3231, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-40::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-40', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3233, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-41::NabilOuachi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-41', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3235, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5595_20201023::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5595_20201023', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3237, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5595_#32_20201023::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5595_#32_20201023', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3239, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5595_18_20201102::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5595_18_20201102', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3241, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5595-36-20201103::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5595-36-20201103', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3243, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5595_49_20201118::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5595_49_20201118', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3245, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#43-20201113::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#43-20201113', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3247, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5596-20201113::Rachid.AIT
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5596-20201113', 'Rachid.AIT', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3249, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5569_54052_20201117::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5569_54052_20201117', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3251, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#51-20201123::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#51-20201123', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3253, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#65-20201127::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#65-20201127', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3255, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::540-66-20201201::TarikFA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('540-66-20201201', 'TarikFA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3257, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::540-69-20201202::TarikFA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('540-69-20201202', 'TarikFA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3259, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::540-75-20201203::TarikFA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('540-75-20201203', 'TarikFA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3261, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5569_124_20200118::NabilOUACHI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5569_124_20200118', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3263, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::current-str-fk-35::TarikFAKHOURI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('current-str-fk-35', 'TarikFAKHOURI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3265, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::540-84-20201209::TarikFa
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('540-84-20201209', 'TarikFa', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3267, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::540-83-20201211::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('540-83-20201211', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3269, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#FEAT-761-2020-10-19::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#FEAT-761-2020-10-19', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3271, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-tbl-::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-tbl-', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3273, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::current-mediapost-tbl-charge_attribute::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('current-mediapost-tbl-charge_attribute', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3275, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#REF_INV_20201223::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#REF_INV_20201223', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3277, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-27::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-27', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3279, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-41::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-41', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3281, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-39::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-39', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3283, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk_grouped_attributes_commercial_rule_line::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk_grouped_attributes_commercial_rule_line', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3285, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::540-103-add-swagger-docs-to-All-ChargeTemplates::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('540-103-add-swagger-docs-to-All-ChargeTemplates', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3287, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#540-100-20201225::TarikFA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#540-100-20201225', 'TarikFA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3289, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::20201230_pricematrix::NabilOuachi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('20201230_pricematrix', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3291, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::20201230-ticket5870::NabilOUACHI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('20201230-ticket5870', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3293, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::540-112-20210107::TarikF
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('540-112-20210107', 'TarikF', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3295, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::20210113::TarikF
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('20210113', 'TarikF', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3297, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-mediapost-fk-attribute_tag::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-mediapost-fk-attribute_tag', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3299, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::540-139-20012020::NabilOUACHI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('540-139-20012020', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3301, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210121-540-128::TarikFA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210121-540-128', 'TarikFA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3303, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210122-540-128::TarikFA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210122-540-128', 'TarikFA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3305, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210127-540-190::TarikFA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210127-540-190', 'TarikFA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3307, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::Invoice_lines_job_20200114::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('Invoice_lines_job_20200114', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3309, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5916_20210128::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5916_20210128', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3311, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5937_20210204::TarikFA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5937_20210204', 'TarikFA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3313, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#214_20210203::NabilOUACHI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#214_20210203', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3315, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::20210204_540::TarikFA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('20210204_540', 'TarikFA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3317, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::Invoice_lines_job_202001145::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('Invoice_lines_job_202001145', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3319, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::Invoicing_job_20210205_45::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('Invoicing_job_20210205_45', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3321, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210205_540_223::TarikFA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210205_540_223', 'TarikFA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3323, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5938_20210205::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5938_20210205', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3325, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210209_540177::TarikFA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210209_540177', 'TarikFA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3327, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210215-248::NabilOUACHI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210215-248', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3329, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210212_540238::TarikFA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210212_540238', 'TarikFA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3331, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5950_20210210::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5950_20210210', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3333, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#246_20210212::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#246_20210212', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3335, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#248_20210215::NabilOuachi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#248_20210215', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3337, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20200215-247::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20200215-247', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3339, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210217_260::TarikFA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210217_260', 'TarikFA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3341, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5952_20210210::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5952_20210210', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3343, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#268_20210219_cpq_structure::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#268_20210219_cpq_structure', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3345, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#222_20210219::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#222_20210219', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3347, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#270_20210222::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#270_20210222', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3349, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210222_540_269::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210222_540_269', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3351, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210123_540_280::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210123_540_280', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3353, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210123_540_281::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210123_540_281', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3355, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210224_5868::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210224_5868', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3357, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210222_907::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210222_907', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3359, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210302_540::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210302_540', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3361, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210303_540305::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210303_540305', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3363, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210304_540320::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210304_540320', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3365, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210304-312::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210304-312', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3367, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210310-342::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210310-342', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3369, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210315-329::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210315-329', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3371, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210316-356::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210316-356', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3373, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210316-356-2::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210316-356-2', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3375, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210317_M540_16::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210317_M540_16', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3377, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#2020317-342::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#2020317-342', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3379, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210322_377::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210322_377', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3381, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210323_380::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210323_380', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3383, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210323-382::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210323-382', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3385, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20220325_360::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20220325_360', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3387, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210329_399::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210329_399', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3389, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210401_402::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210401_402', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3391, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210406_opencell-portal-593::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210406_opencell-portal-593', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3393, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild-str-fk_6012_20210323::MohamedAliHammal
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-str-fk_6012_20210323', 'MohamedAliHammal', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3395, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::rebuild_5621_20201104_offer_template::NabilOUACHI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild_5621_20201104_offer_template', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3397, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210415-435::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210415-435', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3399, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210416_441::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210416_441', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3401, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#470_20210422::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#470_20210422', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3403, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#446_20210427::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#446_20210427', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3405, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#cpq_add_missing_migration::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#cpq_add_missing_migration', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3407, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5937_20210428::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5937_20210428', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3409, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5595_540498_20210430::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5595_540498_20210430', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3411, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5595_540499_20210430::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5595_540499_20210430', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3413, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5595_540504_20210503::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5595_540504_20210503', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3415, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#6076_20210504::Zbariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#6076_20210504', 'Zbariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3417, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5595_20210506::NabilOuachi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5595_20210506', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3419, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5595_20210512::RachidAityaazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5595_20210512', 'RachidAityaazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3421, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5623-562-20210520::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5623-562-20210520', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3423, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5257_20210519::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5257_20210519', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3425, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#533_20210526::NabilOuachi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#533_20210526', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3427, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5869_20210521::NabilOuachi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5869_20210521', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3429, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5595_540582_20210528::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5595_540582_20210528', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3431, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#6147_20210530::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#6147_20210530', 'anasseh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3433, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5599_20210526::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5599_20210526', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3435, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5416_20210526::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5416_20210526', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3437, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#559_20210603::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#559_20210603', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3439, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210608-540-527::Rachid.Aityaazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210608-540-527', 'Rachid.Aityaazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3441, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210611-540-637::Rachid.Aityaazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210611-540-637', 'Rachid.Aityaazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3443, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210614_540_update_script_quotation_and_order::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210614_540_update_script_quotation_and_order', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3445, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210622-INTRD-272::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210622-INTRD-272', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3447, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-242_20210623::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-242_20210623', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3449, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5595_540582_20210528_2::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5595_540582_20210528_2', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3451, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#6168_20210624::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#6168_20210624', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3453, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-257_20210706::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-257_20210706', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3455, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-248_30062021::Mounir_BOUKAYOUA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-248_30062021', 'Mounir_BOUKAYOUA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3457, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-254_20210706::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-254_20210706', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3459, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-264_20210714::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-264_20210714', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3461, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-339_20210625::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-339_20210625', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3463, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-257_20210625::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-257_20210625', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3465, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-682_20210707::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-682_20210707', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3467, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-634_20210706::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-634_20210706', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3469, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1090_20210714::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1090_20210714', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3471, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-754_20210727::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-754_20210727', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3473, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1174_20210802::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1174_20210802', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3475, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-760_13072021::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-760_13072021', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3477, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1291_20210804::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1291_20210804', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3479, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1275_20210805::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1275_20210805', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3481, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-1310_050821::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-1310_050821', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3483, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1277_20210810::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1277_20210810', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3485, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1357_10082021::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1357_10082021', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3487, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1313_20210809::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1313_20210809', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3489, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1380_11082021::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1380_11082021', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3491, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1365-12082021::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1365-12082021', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3493, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-1221_20210803::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-1221_20210803', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3495, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1396_20210812::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1396_20210812', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3497, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1384_17082021::YoussefIZEM
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1384_17082021', 'YoussefIZEM', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3499, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-689_20210818::RAityaazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-689_20210818', 'RAityaazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3501, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1386_05092021::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1386_05092021', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3503, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1441_20210728::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1441_20210728', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3505, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1461_20210820::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1461_20210820', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3507, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-828_20210817::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-828_20210817', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3509, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-828_20210824::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-828_20210824', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3511, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-828_20210824-accum::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-828_20210824-accum', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3513, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD_1609_20210902::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD_1609_20210902', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3515, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1654_20210902::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1654_20210902', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3517, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD_1687_20210906::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD_1687_20210906', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3519, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#6149_20210531::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#6149_20210531', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3521, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#6117_20210608::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#6117_20210608', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3523, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1651_03092021::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1651_03092021', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3525, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD_1629_20210914::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD_1629_20210914', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3527, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1707_20210917::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1707_20210917', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3529, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1581_20210902::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1581_20210902', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3531, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-1901_20210920::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-1901_20210920', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3533, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD_1782_20210913::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD_1782_20210913', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3535, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1692_20210906::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1692_20210906', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3537, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1692_20210906-pg::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1692_20210906-pg', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3539, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1692_20210907::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1692_20210907', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3541, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1692_20210908::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1692_20210908', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3543, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-754_20210915::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-754_20210915', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3545, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1994_20210923::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1994_20210923', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3547, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2046_20210927::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2046_20210927', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3549, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-1924_20210922::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-1924_20210922', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3551, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD_1985_20210923::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD_1985_20210923', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3553, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-1925_20210922::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-1925_20210922', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3555, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD_1794_20210917::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD_1794_20210917', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3557, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2184_20211004::MohamedSTITANE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2184_20211004', 'MohamedSTITANE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3559, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#6117_20210622::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#6117_20210622', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3561, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1275_20211011::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1275_20211011', 'anasseh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3563, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2252_20211006::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2252_20211006', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3565, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#2374_20211012::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#2374_20211012', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3567, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2412_20211015::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2412_20211015', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3569, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2444_20211018::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2444_20211018', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3571, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2535_20211021::NabilOuachi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2535_20211021', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3573, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2421_20211012::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2421_20211012', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3575, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2421_20211012-pg::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2421_20211012-pg', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3577, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2421_20211012-end::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2421_20211012-end', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3579, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2421_2021012-reports::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2421_2021012-reports', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3581, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2421_20211018-reports::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2421_20211018-reports', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3583, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2322-20211018::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2322-20211018', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3585, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2444_20211019::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2444_20211019', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3587, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2364-create_data_model::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2364-create_data_model', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3589, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2431_20211014::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2431_20211014', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3591, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2431_20211021::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2431_20211021', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3593, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2529_20211021::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2529_20211021', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3595, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2366_20211021::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2366_20211021', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3597, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2445_20211021::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2445_20211021', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3599, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2596_20211022::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2596_20211022', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3601, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2628-20211025::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2628-20211025', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3603, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2679_20211027::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2679_20211027', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3605, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2498_20211019::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2498_20211019', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3607, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2431_20211021_fix::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2431_20211021_fix', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3609, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2548_20211027::YoussefIZEM
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2548_20211027', 'YoussefIZEM', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3611, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2601_20211102::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2601_20211102', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3613, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1166_20211018_Business_attributes_default_value::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1166_20211018_Business_attributes_default_value', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3615, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#2333_20211021::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#2333_20211021', 'anasseh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3617, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-30_2021114::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-30_2021114', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3619, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2449_2021114::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2449_2021114', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3621, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1254::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1254', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3623, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2868_20211105::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2868_20211105', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3625, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2418_20211105::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2418_20211105', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3627, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1889::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1889', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3629, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1419_20211108::HHanine
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1419_20211108', 'HHanine', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3631, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-1418_20211202::HHanine
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1418_20211202', 'HHanine', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3633, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2800_04112021::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2800_04112021', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3635, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2961_20211109::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2961_20211109', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3637, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2959_11082021::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2959_11082021', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3639, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2963_20211109::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2963_20211109', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3641, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2764-20211104::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2764-20211104', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3643, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2973_20211110::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2973_20211110', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3645, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-2765_20211112::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2765_20211112', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3647, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-3250_20211123::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-3250_20211123', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3649, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-3307_20211125::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-3307_20211125', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3651, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2425_20211014::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2425_20211014', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3653, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-3426_202112012::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-3426_202112012', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3655, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-1421-Payment_deferral::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-1421-Payment_deferral', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3657, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-3610_20211210::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-3610_20211210', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3659, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-3721_20211216::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-3721_20211216', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3661, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-3707_20211216::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-3707_20211216', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3663, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-3781_20211217::hichamElHaloui
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-3781_20211217', 'hichamElHaloui', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3665, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-3461_20212128::hichamElHaloui
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-3461_20212128', 'hichamElHaloui', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3667, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-3807_20211227::HHanine
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-3807_20211227', 'HHanine', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3669, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4072_20211229::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4072_20211229', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3671, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4178_20220106::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4178_20220106', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3673, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4410_20220114::IlyassTalal
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4410_20220114', 'IlyassTalal', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3675, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4457_20220117::hichamElHaloui
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4457_20220117', 'hichamElHaloui', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3677, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4454_20220117::hichamElHaloui
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4454_20220117', 'hichamElHaloui', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3679, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4410_20220117::IlyassTalal
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4410_20220117', 'IlyassTalal', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3681, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4677_20220125::hatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4677_20220125', 'hatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3683, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4705_20220127::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4705_20220127', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3685, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4705-cpq_20220127::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4705-cpq_20220127', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3687, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4654_20220203::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4654_20220203', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3689, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5636-20220318::hhanine
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5636-20220318', 'hhanine', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3691, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4654_20220203_2::HanineHicham
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4654_20220203_2', 'HanineHicham', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3693, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4777_20220208::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4777_20220208', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3695, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#4065_2022::Mounir_BOUKAYOUA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4065_2022', 'Mounir_BOUKAYOUA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3697, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4682_20220209::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4682_20220209', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3699, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5200_2022-02-08::MohammedSTITANE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5200_2022-02-08', 'MohammedSTITANE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3701, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5274_2022-02-22::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5274_2022-02-22', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3703, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5286_2022-02_23::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5286_2022-02_23', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3705, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5306_2022-02_24::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5306_2022-02_24', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3707, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5343_2022-02_25::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5343_2022-02_25', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3709, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5385_20220228::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5385_20220228', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3711, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5529_20220304::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5529_20220304', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3713, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5458_20220304::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5458_20220304', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3715, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5276_2022-02-24_PG::MohammedSTITANE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5276_2022-02-24_PG', 'MohammedSTITANE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3717, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-828_20210902::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-828_20210902', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3719, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-828-drop-view::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-828-drop-view', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3721, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-828-create-view-fix::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-828-create-view-fix', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3723, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4950-20220209::MohammedSTITANE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4950-20220209', 'MohammedSTITANE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3725, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#FIX-delete-tax::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#FIX-delete-tax', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3727, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5628_2022-03_11::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5628_2022-03_11', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3729, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5419-20220308::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5419-20220308', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3731, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5310-20220310::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5310-20220310', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3733, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5341_20220307::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5341_20220307', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3735, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5804-20220321::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5804-20220321', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3737, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4852-18032022::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4852-18032022', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3739, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4702-20220321::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4702-20220321', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3741, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5841-21032022::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5841-21032022', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3743, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5881_20220322::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5881_20220322', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3745, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5921-20220324::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5921-20220324', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3747, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5846-24032022::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5846-24032022', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3749, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5994-20220328::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5994-20220328', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3751, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5908-20220330::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5908-20220330', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3753, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6160-20220401::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6160-20220401', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3755, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6136-20220406::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6136-20220406', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3757, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6298_20220405::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6298_20220405', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3759, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6263_20220406::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6263_20220406', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3761, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6264_20220406::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6264_20220406', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3763, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-6012-07042022::Abdelkader.Bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-6012-07042022', 'Abdelkader.Bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3765, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6453_20220411::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6453_20220411', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3767, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6056_20220413::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6056_20220413', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3769, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-6474-13042022::Abdelkader.Bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-6474-13042022', 'Abdelkader.Bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3771, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6562_20220414::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6562_20220414', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3773, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6562_20220414-new-field::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6562_20220414-new-field', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3775, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5859_20220321::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5859_20220321', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3777, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5872_20220322::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5872_20220322', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3779, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5872_20220326::R.AITYAAZZA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5872_20220326', 'R.AITYAAZZA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3781, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6108_20220330::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6108_20220330', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3783, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6631_20220419::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6631_20220419', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3785, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6632_20220419-See_Comment_In_The_Ticket::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6632_20220419-See_Comment_In_The_Ticket', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3787, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6614_20220418::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6614_20220418', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3789, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6664_20220420::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6664_20220420', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3791, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6633_20220420::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6633_20220420', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3793, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6536_20220419-change-on-field::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6536_20220419-change-on-field', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3795, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6536_20220419-new-fk::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6536_20220419-new-fk', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3797, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6668_20220421::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6668_20220421', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3799, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6616_20220421::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6616_20220421', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3801, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-6608_20220420::AkadidAbdelmounaim
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-6608_20220420', 'AkadidAbdelmounaim', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3803, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6777_20220427::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6777_20220427', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3805, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6779_2022_04_28::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6779_2022_04_28', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3807, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6899_20220502::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6899_20220502', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3809, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6895_20220504::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6895_20220504', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3811, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6923_20220505::hatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6923_20220505', 'hatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3813, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-7006_09052022::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-7006_09052022', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3815, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7049_20220509::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7049_20220509', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3817, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-7038_11052022::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-7038_11052022', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3819, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7149_20220511::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7149_20220511', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3821, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20220404_M540_6296::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20220404_M540_6296', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3823, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20220407_ADHOC::NabilOuachi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20220407_ADHOC', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3825, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-6024-13052022::Abdelkader.Bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-6024-13052022', 'Abdelkader.Bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3827, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7099_2022051Z::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7099_2022051Z', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3829, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6672_20220511::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6672_20220511', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3831, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-5806_20220516::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-5806_20220516', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3833, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7244_20220517::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7244_20220517', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3835, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7273_20220517::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7273_20220517', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3837, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7192_20220518::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7192_20220518', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3839, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-5311_20220518::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-5311_20220518', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3841, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-5312_20220518::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-5312_20220518', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3843, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-5311_20220518-fix::AkadidAbdelmounaim
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-5311_20220518-fix', 'AkadidAbdelmounaim', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3845, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-7031-18052022::Abdelkader.Bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-7031-18052022', 'Abdelkader.Bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3847, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-7031-18052022-split::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-7031-18052022-split', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3849, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-7040_18052022::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-7040_18052022', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3851, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-7039_23052022::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-7039_23052022', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3853, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7179_20220524::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7179_20220524', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3855, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7157_20220523::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7157_20220523', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3857, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-5725_20220524::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5725_20220524', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3859, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7422_20220525::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7422_20220525', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3861, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7537_20220531::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7537_20220531', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3863, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-5570_20220601::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-5570_20220601', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3865, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7428_20220601::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7428_20220601', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3867, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7629_20220603::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7629_20220603', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3869, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-7479_20220603::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-7479_20220603', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3871, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7642_20220603::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7642_20220603', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3873, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7399_20220603::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7399_20220603', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3875, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7644_20220606::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7644_20220606', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3877, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7352_20220614::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7352_20220614', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3879, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7124-130622::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7124-130622', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3881, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7770_20220613::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7770_20220613', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3883, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7872_20220615::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7872_20220615', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3885, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4424_20220221::Mounir_BOUKAYOUA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4424_20220221', 'Mounir_BOUKAYOUA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3887, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7605_20220617::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7605_20220617', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3889, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7722_20220618::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7722_20220618', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3891, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8026_20220621::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8026_20220621', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3893, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8026_20220622::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8026_20220622', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3895, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8036-20220621::hichamhanine
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8036-20220621', 'hichamhanine', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3897, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8055_20220621::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8055_20220621', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3899, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7850-20220622::hichamhanine
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7850-20220622', 'hichamhanine', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3901, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8109_20220622::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8109_20220622', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3903, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8022_20220624::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8022_20220624', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3905, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8023_20220624::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8023_20220624', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3907, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8158_20220624::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8158_20220624', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3909, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8147_20220624::anas.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8147_20220624', 'anas.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3911, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8211_20220626::anas.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8211_20220626', 'anas.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3913, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8067_20220627::anas.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8067_20220627', 'anas.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3915, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8077_20220625::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8077_20220625', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3917, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8219_20220627::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8219_20220627', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3919, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8023_20220624-fk1::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8023_20220624-fk1', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3921, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8023_20220624-fk2::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8023_20220624-fk2', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3923, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8132_20220628::anas.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8132_20220628', 'anas.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3925, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8117_20220629::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8117_20220629', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3927, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#6122_20210517::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#6122_20210517', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3929, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::07042021-540-423::NabilOuachi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('07042021-540-423', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3931, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#6122_20210524::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#6122_20210524', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3933, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210123_540_281_1::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210123_540_281_1', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3935, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210123_540_281_2::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210123_540_281_2', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3937, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210123_540_281_3::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210123_540_281_3', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3939, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210123_540_281_4::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210123_540_281_4', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3941, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210123_540_281_5::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210123_540_281_5', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3943, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-828-create-view::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-828-create-view', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3945, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-2371_19102021::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2371_19102021', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3947, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8859_20220802::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8859_20220802', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3949, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8106_20220630::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8106_20220630', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3951, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8027_20220629::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8027_20220629', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3953, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8580_20220714::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8580_20220714', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3955, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20220326_M540_178::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20220326_M540_178', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3957, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20220408_M540_6296::Rachid.Aityaazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20220408_M540_6296', 'Rachid.Aityaazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3959, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20220412_M540_172::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20220412_M540_172', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3961, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20220412_M540_6533::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20220412_M540_6533', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3963, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20220415_M540_6609::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20220415_M540_6609', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3965, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20220415_M540_6296::Rachid.Aityaazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20220415_M540_6296', 'Rachid.Aityaazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3967, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20220415_M540_6931::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20220415_M540_6931', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3969, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20220519_M540_7341::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20220519_M540_7341', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3971, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4681_20220407::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4681_20220407', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3973, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8689_20220727::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8689_20220727', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3975, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7663_20220613::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7663_20220613', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3977, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7872_20220615-data::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7872_20220615-data', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3979, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8700_20220728::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8700_20220728', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3981, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8812_20220729::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8812_20220729', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3983, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8719_20220727::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8719_20220727', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3985, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8721_20220728::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8721_20220728', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3987, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8701_20220801::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8701_20220801', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3989, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8777_20220728::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8777_20220728', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3991, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8252_20220628::Abdelkader.Bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8252_20220628', 'Abdelkader.Bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3993, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8743_20220802::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8743_20220802', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3995, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9117_20220811::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9117_20220811', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3997, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9117_20220814-remove-oo-ids::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9117_20220814-remove-oo-ids', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 3999, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8867_20220817-::KHorri
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8867_20220817-', 'KHorri', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4001, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9232_20220819::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9232_20220819', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4003, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7950_20220816::Abdelkader.Bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7950_20220816', 'Abdelkader.Bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4005, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9451_20220902::KhalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9451_20220902', 'KhalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4007, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-11841_20221214-reports::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11841_20221214-reports', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4009, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-86_20220815::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-86_20220815', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4011, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7301_20220820_order::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7301_20220820_order', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4013, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7301_20220820_subscription::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7301_20220820_subscription', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4015, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9331_20220824_rt_migration::anas.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9331_20220824_rt_migration', 'anas.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4017, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-7303_20220824_sales_person_name_migration::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7303_20220824_sales_person_name_migration', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4019, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9383-20220830::Abdelkader.Bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9383-20220830', 'Abdelkader.Bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4021, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9442_20220831::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9442_20220831', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4023, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9383-20220905::Abdelkader.Bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9383-20220905', 'Abdelkader.Bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4025, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9583-20220906-br-generateao::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9583-20220906-br-generateao', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4027, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9581_20200907::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9581_20200907', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4029, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-9535-20220908::Abdelkader.bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-9535-20220908', 'Abdelkader.bouazza', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4031, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9684-20220909::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9684-20220909', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4033, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9786-20220915::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9786-20220915', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4035, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9804-20220915::khalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9804-20220915', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4037, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9871_20220919::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9871_20220919', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4039, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9839_20220919::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9839_20220919', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4041, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9946_20220920::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9946_20220920', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4043, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10097_202000926::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10097_202000926', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4045, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10188_20220928::MehdiBOURRAS
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10188_20220928', 'MehdiBOURRAS', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4047, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10135_28092022::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10135_28092022', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4049, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10163_20220930::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10163_20220930', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4051, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9796_30092022_exclude_aged_balance::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9796_30092022_exclude_aged_balance', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4053, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10283_20220930::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10283_20220930', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4055, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8158_20220915::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8158_20220915', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4057, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4681_20220929::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4681_20220929', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4059, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10274_20221003::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10274_20221003', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4061, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10540_20221013::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10540_20221013', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4063, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-10603_20221113::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-10603_20221113', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4065, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10607_20221014::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10607_20221014', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4067, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-9766_20221011_EDR_new_fields::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9766_20221011_EDR_new_fields', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4069, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10581_20221018::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10581_20221018', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4071, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10522_20221017_matchingCode-journal-entry::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10522_20221017_matchingCode-journal-entry', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4073, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10541_20221013::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10541_20221013', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4075, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#10629_20221018::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#10629_20221018', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4077, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10673_20221025::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10673_20221025', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4079, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10957_20221026::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10957_20221026', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4081, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10577_20221020::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10577_20221020', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4083, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-11162_20221107::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11162_20221107', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4085, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-11433_20221110::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-11433_20221110', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4087, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-11310_20221110::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11310_20221110', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4089, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10683_20221107::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10683_20221107', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4091, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-11775_20221120::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11775_20221120', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4093, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-242_20221121::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-242_20221121', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4095, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-11780_20221128::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11780_20221128', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4097, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12043_20221121::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12043_20221121', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4099, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-11732_20221130::MehdiBOURRAS
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-11732_20221130', 'MehdiBOURRAS', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4101, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#12201_20221212::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#12201_20221212', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4103, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTR-112153_20221209_new_field::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTR-112153_20221209_new_field', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4105, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#2038-20221130::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#2038-20221130', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4107, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTR-12252_20221212_agreement_date::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTR-12252_20221212_agreement_date', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4109, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12466_20222012::bourras
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12466_20222012', 'bourras', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4111, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12614_20221227::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12614_20221227', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4113, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12478_20221226::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12478_20221226', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4115, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTR-12382_20221219::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTR-12382_20221219', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4117, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12677_20221229::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12677_20221229', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4119, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10544_20221207::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10544_20221207', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4121, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12794-20230102-counter_instance::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12794-20230102-counter_instance', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4123, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12668-20230102::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12668-20230102', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4125, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12720-20221230-query_report::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12720-20221230-query_report', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4127, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12544_20230102::bourras
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12544_20230102', 'bourras', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4129, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12405_20221226::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12405_20221226', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4131, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12609_20221227_converted_ppv-fix::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12609_20221227_converted_ppv-fix', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4133, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12766_2023015::bourras
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12766_2023015', 'bourras', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4135, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12766_20230105::bourras
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12766_20230105', 'bourras', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4137, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12766_20230106::bourras
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12766_20230106', 'bourras', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4139, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13065_20230112::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13065_20230112', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4141, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12781_20230116::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12781_20230116', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4143, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12799-20230113-query_report_aliases::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12799-20230113-query_report_aliases', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4145, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13031_20230118::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13031_20230118', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4147, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13204_20230119::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13204_20230119', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4149, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12819-20221220-qb_advanced_query::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12819-20221220-qb_advanced_query', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4151, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12651-20230123::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12651-20230123', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4153, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13062-20230124::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13062-20230124', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4155, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13468_20230126::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13468_20230126', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4157, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13453_20230207::Mbarek-Ay
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13453_20230207', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4159, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13045-20230202::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13045-20230202', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4161, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-12047-20230112::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12047-20230112', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4163, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13009_20230202::bourras
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13009_20230202', 'bourras', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4165, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13220_20230203::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13220_20230203', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4167, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13883_20230208::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13883_20230208', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4169, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13957-20230214::houdad
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13957-20230214', 'houdad', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4171, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13604_20230206::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13604_20230206', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4173, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14161_20230221::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14161_20230221', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4175, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14264_20230222::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14264_20230222', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4177, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14243_invoice_conversion::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14243_invoice_conversion', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4179, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14332_20230226_contract_application_el::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14332_20230226_contract_application_el', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4181, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14522_20230301::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14522_20230301', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4183, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14597_20230324::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14597_20230324', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4185, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-6364_20220519::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6364_20220519', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4187, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13326_20230227_FK::zelmeliani
ALTER TABLE billing_wallet_operation ADD CONSTRAINT fk_trading_currency_id_billing_wallet_operation FOREIGN KEY (trading_currency_id) REFERENCES billing_trading_currency (id);

ALTER TABLE billing_rated_transaction ADD CONSTRAINT fk_trading_currency_id_billing_rated_transaction FOREIGN KEY (trading_currency_id) REFERENCES billing_trading_currency (id);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13326_20230227_FK', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4189, '8:a79ed6edffdb4ac7b80b0748187916b4', 'addForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_trading_currency_id_billing_wallet_operation, referencedTableName=billing_trading_currency; addForeignKeyConstraint baseTableName=billing_rated_transaction, constrai...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#5882_20220325::MohammedELAZZOUZI
ALTER TABLE billing_invoice_line ADD CONSTRAINT "fk_InvoiceLine_userAccount" FOREIGN KEY (user_account_id) REFERENCES billing_user_account (id) ON UPDATE NO ACTION ON DELETE NO ACTION;

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5882_20220325', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4191, '8:7bd54aab387289550dd516dcafeec687', 'addForeignKeyConstraint baseTableName=billing_invoice_line, constraintName=fk_InvoiceLine_userAccount, referencedTableName=billing_user_account', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#rebuild-INTRD-16445_20230619::aelmalki
CREATE TABLE crm_provider_manual_refund_methods (provider_id BIGINT, payment_method VARCHAR(255));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#rebuild-INTRD-16445_20230619', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4193, '8:c1007495d7fc90ec4a81e212a47663df', 'createTable tableName=crm_provider_manual_refund_methods', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#rebuild-INTRD-16445_20230619-uk::aelmalki
ALTER TABLE crm_provider_manual_refund_methods ADD CONSTRAINT uk_prov_manual_refund_methods UNIQUE (provider_id, payment_method);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#rebuild-INTRD-16445_20230619-uk', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4195, '8:bc651dd13872eee8025e9f908da6cccc', 'addUniqueConstraint constraintName=uk_prov_manual_refund_methods, tableName=crm_provider_manual_refund_methods', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16881_20230614::Mohammed_ElAzzouzi
CREATE INDEX idx__billing_rated_transaction__accountingArticle_id ON public.billing_rated_transaction USING btree (accounting_article_id) WHERE (status= 'OPEN');

CREATE INDEX idx__billing_rated_transaction__charge_instance ON public.billing_rated_transaction USING btree (charge_instance_id) WHERE (status= 'OPEN');

CREATE INDEX idx__billing_rated_transaction__offer ON public.billing_rated_transaction USING btree (offer_id) WHERE (status= 'OPEN');

CREATE INDEX idx__billing_rated_transaction__service_instance ON public.billing_rated_transaction USING btree (service_instance_id) WHERE (status= 'OPEN');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16881_20230614', 'Mohammed_ElAzzouzi', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4197, '8:4b4d6ffb0989b53dc2ea60e170e960ef', 'sql; sql; sql; sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210623-INTRD-277-quoteValidationScript::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210623-INTRD-277-quoteValidationScript', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4199, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#20210623-INTRD-277-orderAdvacementScript::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210623-INTRD-277-orderAdvacementScript', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4201, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13326_20230227::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13326_20230227', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4203, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13981_20230222::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13981_20230222', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4205, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14340_20230228::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14340_20230228', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4207, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14336_20230227::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14336_20230227', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4209, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14598_20230303::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14598_20230303', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4211, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14402_20230301::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14402_20230301', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4213, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14231_20230227::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14231_20230227', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4215, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14263_20200304::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14263_20200304', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4217, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14381-202303202::bourras
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14381-202303202', 'bourras', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4219, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTR-14747_20230308::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTR-14747_20230308', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4221, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14811_20200310::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14811_20200310', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4223, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15043_20230317::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15043_20230317', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4225, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15114_20230323::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15114_20230323', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4227, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14743_20230313::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14743_20230313', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4229, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14743_20230315::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14743_20230315', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4231, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14743_20230316::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14743_20230316', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4233, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14966_20230329::HatimO.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14966_20230329', 'HatimO.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4235, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14743_20230331::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14743_20230331', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4237, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15146_20230406::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15146_20230406', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4239, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14663_20230327::HatimO.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14663_20230327', 'HatimO.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4241, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15691_20230421::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15691_20230421', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4243, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15233_20230425::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15233_20230425', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4245, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15729_20230425::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15729_20230425', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4247, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15733_20230425::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15733_20230425', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4249, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-4064_20211218::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4064_20211218', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4251, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15841_20230502::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15841_20230502', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4253, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15664-20230501::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15664-20230501', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4255, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13646_20230131::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13646_20230131', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4257, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15881_20230504::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15881_20230504', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4259, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15899_20230505::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15899_20230505', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4261, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15899_20230505-taxation-FK::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15899_20230505-taxation-FK', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4263, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16031_20230508::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16031_20230508', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4265, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15823_20230510_rename::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15823_20230510_rename', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4267, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16219_20230511::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16219_20230511', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4269, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16166_20230512::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16166_20230512', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4271, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16256_20230515::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16256_20230515', 'ZBariki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4273, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-13867_20230220::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13867_20230220', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4275, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14562_20230308::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14562_20230308', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4277, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16203_20230519_ba_pricelist::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16203_20230519_ba_pricelist', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4279, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15044_20230517::AdilElJaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15044_20230517', 'AdilElJaouhari', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4281, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15501_20230413::ThangNguyen
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15501_20230413', 'ThangNguyen', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4283, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16039_20230512::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16039_20230512', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4285, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16040_20230516::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16040_20230516', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4287, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16036_20230516::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16036_20230516', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4289, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-16050_20230515::ThangNguyen
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-16050_20230515', 'ThangNguyen', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4291, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16396_20230522_pli_quote::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16396_20230522_pli_quote', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4293, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15849_20230509::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15849_20230509', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4295, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16366_20230529::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16366_20230529', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4297, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16374_20230519::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16374_20230519', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4299, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16361_20230606::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16361_20230606', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4301, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16362_20230607_ppm_eventcode::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16362_20230607_ppm_eventcode', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4303, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16713_20230606::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16713_20230606', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4305, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15938_20230503::AndriusKarpavcius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15938_20230503', 'AndriusKarpavcius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4307, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16140_20230510::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16140_20230510', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4309, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15938_20230511::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15938_20230511', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4311, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15733_20230426::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15733_20230426', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4313, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-8753_20220727_001::anas.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8753_20220727_001', 'anas.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4315, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-15938_20230511-2::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15938_20230511-2', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4317, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16363_20230608_migrate_ppm::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16363_20230608_migrate_ppm', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4319, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16445_20230526::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16445_20230526', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4321, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-16445_20230619::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16445_20230619', 'aelmalki', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4323, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-17026_delete_duplicated_data::a.rouaguebe_ext
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-17026_delete_duplicated_data', 'a.rouaguebe_ext', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4325, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-14368_20230630::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14368_20230630', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4327, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-15501_20230413::ThangNguyen
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-15501_20230413', 'ThangNguyen', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4329, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-17084_20230623::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-17084_20230623', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4331, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::INTRD-17134_20230704::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-17134_20230704', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4333, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-17500_20230726::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-17500_20230726', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4335, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-17592-rt-indexes::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-17592-rt-indexes', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4337, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-17581-wo-indexes::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-17581-wo-indexes', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4339, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-17353_S_14-07-2023::Mohammed_ELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-17353_S_14-07-2023', 'Mohammed_ELAZZOUZI', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4341, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#INTRD-10574_20221013::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10574_20221013', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4343, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/structure.xml::#liquibase_hack_structure::AbdelmounaimAkadid
update databasechangelog set filename='src/main/db_resources/changelog/current/structure.xml' where filename='src/main/db_resources/changelog/rebuild/structure.xml';

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#liquibase_hack_structure', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/structure.xml', NOW(), 4345, '8:4c6f4c04ebaae6b567bb4f2accf1005f', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-1166_20211018_Business_attributes::MohammedELAZZOUZI
INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{serviceInstance.getActivationDate()}', 'product activation date', 'DATE', -1, 'product_activation_date', 'Product activation date');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{serviceInstance.getQuantity()}', 'product quantity', 'NUMERIC', -2, 'product_quantity', 'Product quantity');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getEventDate()}', 'usage date', 'DATE', -3, 'usage_date', 'Usage date');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getQuantity()}', 'usage quantity', 'NUMERIC', -4, 'usage_quantity', 'Usage quantity');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{sub.getRenewalDate()}', 'renewal date', 'DATE', -5, 'renewal_date', 'Renewal date');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{serviceInstance.getDeliveryDate()}', 'delivery date', 'DATE', -6, 'delivery_date', 'Delivery date');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{quote.getValidationDate()}', 'quote validation date', 'DATE', -7, 'quote_validation_date', 'Quote validation date');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{sub.getSubscriptionDate()}', 'subscription date', 'DATE', -8, 'subscription_date', 'Subscription date');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{sub.getSubscriptionMonthsAge()}', 'subscription age months', 'NUMERIC', -9, 'subscription_age_months', 'Subscription age months');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{sub.getSubscriptionDaysAge()}', 'subscription age days', 'NUMERIC', -10, 'subscription_age_days', 'Subscription age days');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getParameter1()}', 'EDR text parameter 1', 'TEXT', -11, 'EDR_text_parameter_1', 'EDR text parameter 1');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getParameter2()}', 'EDR text parameter 2', 'TEXT', -12, 'EDR_text_parameter_2', 'EDR text parameter 2');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getParameter3()}', 'EDR text parameter 3', 'TEXT', -13, 'EDR_text_parameter_3', 'EDR text parameter 3');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getParameter4()}', 'EDR text parameter 4', 'TEXT', -14, 'EDR_text_parameter_4', 'EDR text parameter 4');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getParameter5()}', 'EDR text parameter 5', 'TEXT', -15, 'EDR_text_parameter_5', 'EDR text parameter 5');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getParameter6()}', 'EDR text parameter 6', 'TEXT', -16, 'EDR_text_parameter_6', 'EDR text parameter 6');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getParameter7()}', 'EDR text parameter 7', 'TEXT', -17, 'EDR_text_parameter_7', 'EDR text parameter 7');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getParameter8()}', 'EDR text parameter 8', 'TEXT', -18, 'EDR_text_parameter_8', 'EDR text parameter 8');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getParameter9()}', 'EDR text parameter 9', 'TEXT', -19, 'EDR_text_parameter_9', 'EDR text parameter 9');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getDateParam1()}', 'EDR date parameter 1', 'DATE', -21, 'EDR_date_parameter_1', 'EDR date parameter 1');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getDateParam2()}', 'EDR date parameter 2', 'DATE', -22, 'EDR_date_parameter_2', 'EDR date parameter 2');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getDateParam3()}', 'EDR date parameter 3', 'DATE', -23, 'EDR_date_parameter_3', 'EDR date parameter 3');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getDateParam4()}', 'EDR date parameter 4', 'DATE', -24, 'EDR_date_parameter_4', 'EDR date parameter 4');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getDateParam5()}', 'EDR date parameter 5', 'DATE', -25, 'EDR_date_parameter_5', 'EDR date parameter 5');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getDecimalParam1()}', 'EDR numeric parameter 1', 'NUMERIC', -31, 'EDR_numeric_parameter_1', 'EDR numeric parameter 1');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getDecimalParam2()}', 'EDR numeric parameter 2', 'NUMERIC', -32, 'EDR_numeric_parameter_2', 'EDR numeric parameter 2');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getDecimalParam3()}', 'EDR numeric parameter 3', 'NUMERIC', -33, 'EDR_numeric_parameter_3', 'EDR numeric parameter 3');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getDecimalParam4()}', 'EDR numeric parameter 4', 'NUMERIC', -34, 'EDR_numeric_parameter_4', 'EDR numeric parameter 4');

INSERT INTO cpq_attribute (version, disabled, created, creator, attribute_category, el_value, uuid, attribute_type, id, code, description) VALUES ('0', 0, NOW(), 'applicationInitializer', 'BUSINESS', '#{edr.getDecimalParam5()}', 'EDR numeric parameter 5', 'NUMERIC', -35, 'EDR_numeric_parameter_5', 'EDR numeric parameter 5');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1166_20211018_Business_attributes', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4347, '8:07cfc4ecc82522547c597880d4aa3c36', 'insert tableName=cpq_attribute; insert tableName=cpq_attribute; insert tableName=cpq_attribute; insert tableName=cpq_attribute; insert tableName=cpq_attribute; insert tableName=cpq_attribute; insert tableName=cpq_attribute; insert tableName=cpq_at...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::rebuild-data-currencies::AndriusKarpavicius
INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (1, '2015-03-19 00:03:59.913', 1, 'AFN', 'Afghani', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (2, '2015-03-19 00:03:59.935', 1, 'ZAR', 'Rand', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (3, '2015-03-19 00:03:59.956', 1, 'ALL', 'Lek', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (4, '2015-03-19 00:03:59.983', 1, 'DZD', 'Dinar algérien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, symbol, description_en, system_currency) VALUES (5, '2015-03-19 00:04:00.004', 1, 'EUR', '€', 'Euro', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (6, '2015-03-19 00:04:00.024', 1, 'AOA', 'Kwanza', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (7, '2015-03-19 00:04:00.047', 1, 'XCD', 'Dollar des Cara bes de lEst', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (8, '2015-03-19 00:04:00.069', 1, 'ANG', 'Florin des Antilles', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (9, '2015-03-19 00:04:00.089', 1, 'SAR', 'Riyal saoudien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (10, '2015-03-19 00:04:00.111', 1, 'ARS', 'Peso', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (11, '2015-03-19 00:04:00.131', 1, 'AMD', 'Dram', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (12, '2015-03-19 00:04:00.152', 1, 'AWG', 'Florin d Aruba', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (13, '2015-03-19 00:04:00.173', 1, 'AUD', 'Dollar australien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (14, '2015-03-19 00:04:00.194', 1, 'AZN', 'Manat azerbaïdjanais', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (15, '2015-03-19 00:04:00.215', 1, 'BSD', 'Dollar des Bahamas', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (16, '2015-03-19 00:04:00.237', 1, 'BHD', 'Dinar de Bahreïn', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (17, '2015-03-19 00:04:00.258', 1, 'BDT', 'Taka', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (18, '2015-03-19 00:04:00.28', 1, 'BBD', 'Dollar de Barbade', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (19, '2015-03-19 00:04:00.3', 1, 'BZD', 'Dollar de Belize', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (20, '2015-03-19 00:04:00.327', 1, 'XOF', 'Franc CFA - BCEAO', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (21, '2015-03-19 00:04:00.347', 1, 'BMD', 'Dollar des Bermudes', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (22, '2015-03-19 00:04:00.369', 1, 'BTN', 'Ngultrum', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (23, '2015-03-19 00:04:00.391', 1, 'BYN', 'Rouble biélorussie', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (24, '2015-03-19 00:04:00.411', 1, 'BOB', 'Boliviano', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (25, '2015-03-19 00:04:00.433', 1, 'BAM', 'Mark bosniaque convertible', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (26, '2015-03-19 00:04:00.455', 1, 'BWP', 'Pula', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (27, '2015-03-19 00:04:00.481', 1, 'BRL', 'Real', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (28, '2015-03-19 00:04:00.502', 1, 'BND', 'Dollar de Brunéi', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (29, '2015-03-19 00:04:00.523', 1, 'BGN', 'Lev', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (30, '2015-03-19 00:04:00.545', 1, 'BIF', 'Franc du Burundi', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (31, '2015-03-19 00:04:00.567', 1, 'NOK', 'Couronne norvégienne', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (32, '2015-03-19 00:04:00.587', 1, 'KYD', 'Dollar des îles Caïmanes', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (33, '2015-03-19 00:04:00.609', 1, 'KHR', 'Riel', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (34, '2015-03-19 00:04:00.631', 1, 'XAF', 'Franc CFA - BEAC', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (35, '2015-03-19 00:04:00.652', 1, 'CAD', 'Dollar canadien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (36, '2015-03-19 00:04:00.673', 1, 'CVE', 'Escudo du Cap-Vert', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (37, '2015-03-19 00:04:00.694', 1, 'CFA', 'FRANC CFA-BEAC', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (38, '2015-03-19 00:04:00.716', 1, 'CLP', 'Peso chilien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (39, '2015-03-19 00:04:00.737', 1, 'CNY', 'Yuan Ren-Min-Bi', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (40, '2015-03-19 00:04:00.763', 1, 'CYP', 'Livre chypriote', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (41, '2015-03-19 00:04:00.784', 1, 'COP', 'Peso colombien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (42, '2015-03-19 00:04:00.804', 1, 'KMF', 'Franc des Comores', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (43, '2015-03-19 00:04:00.827', 1, 'CDF', 'FRANC DU CONGO DEMOCRATIQUE', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (44, '2015-03-19 00:04:00.847', 1, 'KRW', 'Won', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (45, '2015-03-19 00:04:00.869', 1, 'KPW', 'Won de la Corée du Nord', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (46, '2015-03-19 00:04:00.891', 1, 'CRC', 'Colon de Costa Rica', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (47, '2015-03-19 00:04:00.912', 1, 'HRK', 'Kuna', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (48, '2015-03-19 00:04:00.934', 1, 'CUP', 'Peso cubain', 1);

INSERT INTO adm_currency (id, created, version, currency_code, symbol, description_en, system_currency) VALUES (49, '2015-03-19 00:04:00.955', 1, 'USD', '$', 'Dollar des Etats-unis', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (50, '2015-03-19 00:04:00.983', 1, 'DKK', 'Couronne danoise', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (51, '2015-03-19 00:04:01.004', 1, 'DJF', 'Franc de Djibouti', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (52, '2015-03-19 00:04:01.025', 1, 'DOP', 'Peso dominicain', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (53, '2015-03-19 00:04:01.047', 1, 'EGP', 'Livre égyptienne', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (54, '2015-03-19 00:04:01.068', 1, 'AED', 'Dirham des émirats arabes unis', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (55, '2015-03-19 00:04:01.089', 1, 'ERN', 'Nafka', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (56, '2015-03-19 00:04:01.111', 1, 'EEK', 'Couronne d Estonie', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (57, '2015-03-19 00:04:01.132', 1, 'ETB', 'Birr éthiopien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (58, '2015-03-19 00:04:01.152', 1, 'FKP', 'Livre de Falkland', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (59, '2015-03-19 00:04:01.174', 1, 'FJD', 'Dollar des Fidji', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (60, '2015-03-19 00:04:01.198', 1, 'GMD', 'Dalasie', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (61, '2015-03-19 00:04:01.218', 1, 'GEL', 'Lari', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (62, '2015-03-19 00:04:01.24', 1, 'GHS', 'Cedi ghanéen', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (63, '2015-03-19 00:04:01.266', 1, 'GIP', 'Livre de Gibraltar', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (64, '2015-03-19 00:04:01.287', 1, 'GTQ', 'Quetzal', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (65, '2015-03-19 00:04:01.309', 1, 'GBP', 'Livre sterling', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (66, '2015-03-19 00:04:01.33', 1, 'GNF', 'Franc guinéen', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (67, '2015-03-19 00:04:01.357', 1, 'GYD', 'Dollar de Guyane', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (68, '2015-03-19 00:04:01.379', 1, 'HTG', 'Gourde', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (69, '2015-03-19 00:04:01.4', 1, 'HNL', 'Lempira', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (70, '2015-03-19 00:04:01.421', 1, 'HKD', 'Dollar de Hong-Kong', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (71, '2015-03-19 00:04:01.443', 1, 'HUF', 'Forint', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (72, '2015-03-19 00:04:01.464', 1, 'NZD', 'Dollar néo-zélandais', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (73, '2015-03-19 00:04:01.484', 1, 'INR', 'Roupie indienne', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (74, '2015-03-19 00:04:01.507', 1, 'IDR', 'Rupiah', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (75, '2015-03-19 00:04:01.528', 1, 'IRR', 'Rial iranien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (76, '2015-03-19 00:04:01.549', 1, 'IQD', 'Dinar iraquien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (77, '2015-03-19 00:04:01.577', 1, 'ISK', 'Couronne islandaise', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (78, '2015-03-19 00:04:01.598', 1, 'ILS', 'Sheqel', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (79, '2015-03-19 00:04:01.619', 1, 'JMD', 'Dollar jamaïcain', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (80, '2015-03-19 00:04:01.641', 1, 'JPY', 'Yen', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (81, '2015-03-19 00:04:01.663', 1, 'JOD', 'Dinar jordanien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (82, '2015-03-19 00:04:01.683', 1, 'KZT', 'Tenge', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (83, '2015-03-19 00:04:01.705', 1, 'KES', 'Shilling du Kenya', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (84, '2015-03-19 00:04:01.733', 1, 'KGS', 'Som', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (85, '2015-03-19 00:04:01.754', 1, 'KWD', 'Dinar koweïtien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (86, '2015-03-19 00:04:01.775', 1, 'LAK', 'Kip', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (87, '2015-03-19 00:04:01.797', 1, 'LSL', 'Loti', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (88, '2015-03-19 00:04:01.817', 1, 'LVL', 'Lats letton', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (89, '2015-03-19 00:04:01.839', 1, 'LBP', 'Livre libanaise', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (90, '2015-03-19 00:04:01.861', 1, 'LRD', 'Dollar libérien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (91, '2015-03-19 00:04:01.882', 1, 'LYD', 'Dinar libyen', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (92, '2015-03-19 00:04:01.903', 1, 'CHF', 'Franc suisse', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (93, '2015-03-19 00:04:01.924', 1, 'LTL', 'Litas lituanien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (94, '2015-03-19 00:04:01.95', 1, 'MOP', 'Pataca', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (95, '2015-03-19 00:04:01.973', 1, 'MKD', 'Denar', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (96, '2015-03-19 00:04:01.994', 1, 'MGA', 'Ariary malgache', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (97, '2015-03-19 00:04:02.014', 1, 'MGF', 'Franc malgache', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (98, '2015-03-19 00:04:02.036', 1, 'MYR', 'Ringgit de Malaisie', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (99, '2015-03-19 00:04:02.058', 1, 'MWK', 'Kwacha', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (100, '2015-03-19 00:04:02.08', 1, 'MVR', 'Rufiyaa', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (101, '2015-03-19 00:04:02.1', 1, 'MTL', 'Livre maltaise', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (102, '2015-03-19 00:04:02.122', 1, 'MAD', 'Dirham marocain', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (103, '2015-03-19 00:04:02.143', 1, 'MUR', 'Roupie mauricienne', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (104, '2015-03-19 00:04:02.17', 1, 'MRU', 'Ouguija', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (105, '2015-03-19 00:04:02.191', 1, 'MXN', 'Peso mexicain', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (106, '2015-03-19 00:04:02.212', 1, 'MDL', 'Leu de Moldave', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (107, '2015-03-19 00:04:02.235', 1, 'MNT', 'Tugrik', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (108, '2015-03-19 00:04:02.257', 1, 'MZM', 'Metical', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (109, '2015-03-19 00:04:02.278', 1, 'MMK', 'Kyat', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (110, '2015-03-19 00:04:02.299', 1, 'NAD', 'Dollar namibien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (111, '2015-03-19 00:04:02.32', 1, 'NPR', 'Roupie Népalaise', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (112, '2015-03-19 00:04:02.342', 1, 'NIO', 'Cordoba oro', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (113, '2015-03-19 00:04:02.362', 1, 'NGN', 'Naira', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (114, '2015-03-19 00:04:02.387', 1, 'XPF', 'Franc CFP', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (115, '2015-03-19 00:04:02.407', 1, 'OMR', 'Rial Omani', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (116, '2015-03-19 00:04:02.428', 1, 'XAU', 'Opérations sur or', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (117, '2015-03-19 00:04:02.449', 1, 'UGX', 'Shilling ougandais', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (118, '2015-03-19 00:04:02.471', 1, 'UZS', 'Soum ouzbek', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (119, '2015-03-19 00:04:02.492', 1, 'PKR', 'Roupie pakistanaise', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (120, '2015-03-19 00:04:02.515', 1, 'PAB', 'Balboa', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (121, '2015-03-19 00:04:02.535', 1, 'PGK', 'Kina', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (122, '2015-03-19 00:04:02.558', 1, 'PYG', 'Guarani', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (123, '2015-03-19 00:04:02.578', 1, 'PEN', 'Nouveau sol', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (124, '2015-03-19 00:04:02.601', 1, 'PHP', 'Peso philippin', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (125, '2015-03-19 00:04:02.622', 1, 'PLN', 'Zloty', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (126, '2015-03-19 00:04:02.643', 1, 'QAR', 'Riyal du Qatar', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (127, '2015-03-19 00:04:02.664', 1, 'RON', 'LEI (Nouveau Leu)', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (128, '2015-03-19 00:04:02.686', 1, 'ROL', 'Leu', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (129, '2015-03-19 00:04:02.707', 1, 'RUB', 'Rouble russe (nouveau)', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (130, '2015-03-19 00:04:02.731', 1, 'RWF', 'Franc du Rwanda', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (131, '2015-03-19 00:04:02.752', 1, 'SBD', 'Dollar des îles Salomon', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (132, '2015-03-19 00:04:02.774', 1, 'SVC', 'Colon salvadorien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (133, '2015-03-19 00:04:02.796', 1, 'WST', 'Tala', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (134, '2015-03-19 00:04:02.816', 1, 'STN', 'Dobra', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (135, '2015-03-19 00:04:02.837', 1, 'CSD', 'Dinar Serbe', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (136, '2015-03-19 00:04:02.86', 1, 'SCR', 'Roupie des Seychelles', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (137, '2015-03-19 00:04:02.881', 1, 'SLL', 'Leone', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (138, '2015-03-19 00:04:02.902', 1, 'SGD', 'Dollar de Singapour', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (139, '2015-03-19 00:04:02.922', 1, 'SKK', 'Couronne slovaque', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (140, '2015-03-19 00:04:02.944', 1, 'SIT', 'Tolar', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (141, '2015-03-19 00:04:02.965', 1, 'SOS', 'Shilling Somalien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (142, '2015-03-19 00:04:02.987', 1, 'SDG', 'Livre soudanaise', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (143, '2015-03-19 00:04:03.014', 1, 'LKR', 'Roupie de Sri Lanka', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (144, '2015-03-19 00:04:03.035', 1, 'SHP', 'Livre de Sainte-Hélène', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (145, '2015-03-19 00:04:03.055', 1, 'SEK', 'Couronne suédoise', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (146, '2015-03-19 00:04:03.077', 1, 'SRD', 'Florin du suriname', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (147, '2015-03-19 00:04:03.099', 1, 'SZL', 'Lilangeni', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (148, '2015-03-19 00:04:03.119', 1, 'SYP', 'Livre syrienne', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (149, '2015-03-19 00:04:03.141', 1, 'TJS', 'Somoni', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (150, '2015-03-19 00:04:03.163', 1, 'TWD', 'Nouveau dollar de Taïwan', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (151, '2015-03-19 00:04:03.184', 1, 'TZS', 'Shilling tanzanien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (152, '2015-03-19 00:04:03.206', 1, 'CZK', 'Couronne tchèque', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (153, '2015-03-19 00:04:03.233', 1, 'THB', 'Baht', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (154, '2015-03-19 00:04:03.254', 1, 'TOP', 'Pa anga', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (155, '2015-03-19 00:04:03.274', 1, 'TTD', 'Dollar de Trinité et de Tobago', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (156, '2015-03-19 00:04:03.296', 1, 'TND', 'Dinar tunisien', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (157, '2015-03-19 00:04:03.318', 1, 'TMT', 'Manat turkmène', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (158, '2015-03-19 00:04:03.339', 1, 'TRY', 'Nouvelle Livre turque', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (159, '2015-03-19 00:04:03.36', 1, 'TRL', 'Livre turque', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (160, '2015-03-19 00:04:03.38', 1, 'UAH', 'HRYVNIA', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (161, '2015-03-19 00:04:03.403', 1, 'UYU', 'Nouveau Peso uruguayen', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (162, '2015-03-19 00:04:03.423', 1, 'VUV', 'Vatu', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (163, '2015-03-19 00:04:03.445', 1, 'VEF', 'Bolivar Fuerte', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (164, '2015-03-19 00:04:03.466', 1, 'VND', 'Dong', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (165, '2015-03-19 00:04:03.487', 1, 'YER', 'Riyal yéménite', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (166, '2015-03-19 00:04:03.507', 1, 'ZMW', 'Kwacha de Zambie', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (167, '2015-03-19 00:04:03.53', 1, 'ZWL', 'Dollar du Zimbabwe', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-168, '2023-02-15 00:04:03.53', 1, 'BOV', 'Mvdol', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-169, '2023-02-15 00:04:03.53', 1, 'CHE', 'WIR Euro', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-170, '2023-02-15 00:04:03.53', 1, 'CHW', 'WIR Franc', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-171, '2023-02-15 00:04:03.53', 1, 'CLF', 'Unidad de Fomento', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-172, '2023-02-15 00:04:03.53', 1, 'COU', 'Unidad de Valor Real', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-173, '2023-02-15 00:04:03.53', 1, 'CUC', 'Peso Convertible', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-174, '2023-02-15 00:04:03.53', 1, 'MXV', 'Mexican Unidad de Inversion (UDI)', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-175, '2023-02-15 00:04:03.53', 1, 'RSD', 'Serbian Dinar', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-176, '2023-02-15 00:04:03.53', 1, 'SSP', 'South Sudanese Pound', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-177, '2023-02-15 00:04:03.53', 1, 'USN', 'US Dollar (Next day)', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-178, '2023-02-15 00:04:03.53', 1, 'UYI', 'Uruguay Peso en Unidades Indexadas (UI)', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-179, '2023-02-15 00:04:03.53', 1, 'UYW', 'Unidad Previsional', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-180, '2023-02-15 00:04:03.53', 1, 'VES', 'Bolívar Soberano', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-181, '2023-02-15 00:04:03.53', 1, 'XAG', 'Silver', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-182, '2023-02-15 00:04:03.53', 1, 'XBA', 'Bond Markets Unit European Composite Unit (EURCO)', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-183, '2023-02-15 00:04:03.53', 1, 'XBB', 'Bond Markets Unit European Monetary Unit (E.M.U.-6)', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-184, '2023-02-15 00:04:03.53', 1, 'XBC', 'Bond Markets Unit European Unit of Account 9 (E.U.A.-9)', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-185, '2023-02-15 00:04:03.53', 1, 'XBD', 'Bond Markets Unit European Unit of Account 17 (E.U.A.-17)', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-186, '2023-02-15 00:04:03.53', 1, 'XDR', 'SDR (Special Drawing Right)', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-187, '2023-02-15 00:04:03.53', 1, 'XPD', 'Palladium', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-188, '2023-02-15 00:04:03.53', 1, 'XPT', 'Platinum', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-189, '2023-02-15 00:04:03.53', 1, 'XSU', 'Sucre', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-190, '2023-02-15 00:04:03.53', 1, 'XTS', 'Codes specifically reserved for testing purposes', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-191, '2023-02-15 00:04:03.53', 1, 'XUA', 'ADB Unit of Account', 1);

INSERT INTO adm_currency (id, created, version, currency_code, description_en, system_currency) VALUES (-192, '2023-02-15 00:04:03.53', 1, 'XXX', 'The codes assigned for transactions where no currency is involved', 1);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-currencies', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4349, '8:c7d5ced7312bcc84404f2871268f5ed3', 'insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency;...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::rebuild-data-languages::AndriusKarpavicius
INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (1, '2015-03-19 00:03:59.123', 1, 'Deutsch', 'DEU');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (2, '2015-03-19 00:03:59.205', 1, 'English', 'ENG');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (3, '2015-03-19 00:03:59.23', 1, 'Arabic', 'ARA');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (4, '2015-03-19 00:03:59.251', 1, 'Bulgarian', 'BUL');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (5, '2015-03-19 00:03:59.272', 1, 'Catalan', 'CAT');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (6, '2015-03-19 00:03:59.293', 1, 'Chinese', 'ZHO');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (7, '2015-03-19 00:03:59.315', 1, 'Danish', 'DAN');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (8, '2015-03-19 00:03:59.335', 1, 'Spanish', 'SPA');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (9, '2015-03-19 00:03:59.355', 1, 'Estonian', 'EST');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (10, '2015-03-19 00:03:59.376', 1, 'Faroese', 'FAO');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (11, '2015-03-19 00:03:59.399', 1, 'Finnish', 'FIN');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (12, '2015-03-19 00:03:59.441', 1, 'French', 'FRA');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (13, '2015-03-19 00:03:59.463', 1, 'Greek', 'ELL');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (14, '2015-03-19 00:03:59.484', 1, 'Hindi', 'HIN');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (15, '2015-03-19 00:03:59.505', 1, 'Hungarian', 'HUN');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (16, '2015-03-19 00:03:59.527', 1, 'Icelandic', 'ISL');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (17, '2015-03-19 00:03:59.548', 1, 'Italian', 'ITA');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (18, '2015-03-19 00:03:59.569', 1, 'Japanese', 'JPN');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (19, '2015-03-19 00:03:59.59', 1, 'Latvian', 'LAV');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (20, '2015-03-19 00:03:59.612', 1, 'Lithuanian', 'LIT');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (21, '2015-03-19 00:03:59.634', 1, 'Dutch', 'NLD');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (22, '2015-03-19 00:03:59.655', 1, 'Norwegian', 'NOR');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (23, '2015-03-19 00:03:59.677', 1, 'Polish', 'POL');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (24, '2015-03-19 00:03:59.702', 1, 'Portuguese', 'POR');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (25, '2015-03-19 00:03:59.724', 1, 'Romanian', 'RON');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (26, '2015-03-19 00:03:59.744', 1, 'Russian', 'RUS');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (27, '2015-03-19 00:03:59.766', 1, 'Serbian', 'SRP');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (28, '2015-03-19 00:03:59.787', 1, 'Slovak', 'SLK');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (29, '2015-03-19 00:03:59.808', 1, 'Slovene', 'SLV');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (30, '2015-03-19 00:03:59.83', 1, 'Swedish', 'SWE');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (31, '2015-03-19 00:03:59.851', 1, 'Czech', 'CES');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (32, '2015-03-19 00:03:59.872', 1, 'Turkish', 'TUR');

INSERT INTO adm_language (id, created, version, description_en, language_code) VALUES (33, '2015-03-19 00:03:59.872', 1, 'Croatian', 'HRV');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-languages', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4351, '8:0974afb3adc4e9dd6e82d0d915f3d5f3', 'insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language;...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::rebuild-data-countries::AndriusKarpavicius
INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (1, '2015-03-19 00:04:03.579', 1, 'AD', 'Andorra', 5, 8, '{"FRA":"Andorre","ENG":"Andorra"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (2, '2015-03-19 00:04:03.6', 1, 'AE', 'United Arab Emirates', 54, 3, '{"FRA":"Emirats Arabes Unis","ENG":"United Arab Emirates"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (3, '2015-03-19 00:04:03.621', 1, 'AF', 'Afghanistan', 1, 2, '{"FRA":"Afghanistan","ENG":"Afghanistan"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (4, '2015-03-19 00:04:03.641', 1, 'AG', 'Antigua and Barbuda', 7, 2, '{"FRA":"Antigua-et-Barbuda","ENG":"Antigua and Barbuda"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (5, '2015-03-19 00:04:03.663', 1, 'AI', 'Anguilla', 7, 2, '{"FRA":"Anguilla","ENG":"Anguilla"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (6, '2015-03-19 00:04:03.684', 1, 'AL', 'Albania', 3, 2, '{"FRA":"Albanie","ENG":"Albania"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (7, '2015-03-19 00:04:03.706', 1, 'AM', 'Armenia', 11, 2, '{"FRA":"Arménie","ENG":"Armenia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (8, '2015-03-19 00:04:03.727', 1, 'AN', 'Netherlands Antilles', 8, 21, '{"FRA":"Antilles néerlandaises","ENG":"Netherlands Antilles"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (9, '2015-03-19 00:04:03.748', 1, 'AO', 'Angola', 6, 2, '{"FRA":"Angola","ENG":"Angola"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (10, '2015-03-19 00:04:03.768', 1, 'AR', 'Argentina', 10, 8, '{"FRA":"Argentine","ENG":"Argentina"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (11, '2015-03-19 00:04:03.796', 1, 'AS', 'American Samoa', 49, 1, '{"FRA":"Samoa orientales","ENG":"American Samoa"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (12, '2015-03-19 00:04:03.816', 1, 'AT', 'Austria', 5, 1, '{"FRA":"Autriche","ENG":"Austria"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (13, '2015-03-19 00:04:03.839', 1, 'AU', 'Australia', 13, 2, '{"FRA":"Australie","ENG":"Australia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (14, '2015-03-19 00:04:03.86', 1, 'AW', 'Aruba', 12, 2, '{"FRA":"Aruba","ENG":"Aruba"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (15, '2015-03-19 00:04:03.882', 1, 'AZ', 'Azerbaijan', 6, 2, '{"FRA":"Azerbaïdjan","ENG":"Azerbaijan"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (16, '2015-03-19 00:04:03.903', 1, 'BA', 'Bosnia and Herzegovina', 25, 2, '{"FRA":"Bosnie-Herzégovine","ENG":"Bosnia and Herzegovina"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (17, '2015-03-19 00:04:03.924', 1, 'BB', 'Barbados', 18, 2, '{"FRA":"Barbade","ENG":"Barbados"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (18, '2015-03-19 00:04:03.951', 1, 'BD', 'Bangladesh', 17, 2, '{"FRA":"Bangladesh","ENG":"Bangladesh"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (19, '2015-03-19 00:04:03.973', 1, 'BE', 'Belgium', 5, 12, '{"FRA":"Belgique","ENG":"Belgium"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (20, '2015-03-19 00:04:03.994', 1, 'BF', 'Burkina Faso', 20, 2, '{"FRA":"Burkina Faso","ENG":"Burkina Faso"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (21, '2015-03-19 00:04:04.016', 1, 'BG', 'Bulgaria', 5, 2, '{"FRA":"Bulgarie","ENG":"Bulgaria"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (22, '2015-03-19 00:04:04.037', 1, 'BH', 'Bahrain', 16, 2, '{"FRA":"Bahreïn","ENG":"Bahrain"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (23, '2015-03-19 00:04:04.057', 1, 'BI', 'Burundi', 30, 2, '{"FRA":"Burundi","ENG":"Burundi"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (24, '2015-03-19 00:04:04.079', 1, 'BJ', 'Benin', 20, 2, '{"FRA":"Bénin","ENG":"Benin"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (25, '2015-03-19 00:04:04.1', 1, 'BM', 'Bermuda', 21, 2, '{"FRA":"Bermudes","ENG":"Bermuda"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (26, '2015-03-19 00:04:04.12', 1, 'BN', 'Brunei Darussalam', 28, 2, '{"FRA":"Bruneï","ENG":"Brunei Darussalam"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (27, '2015-03-19 00:04:04.142', 1, 'BO', 'Bolivia', 24, 2, '{"FRA":"Bolivie","ENG":"Bolivia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (28, '2015-03-19 00:04:04.163', 1, 'BR', 'Brazil', 27, 2, '{"FRA":"Brésil","ENG":"Brazil"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (29, '2015-03-19 00:04:04.185', 1, 'BS', 'The Bahamas', 15, 2, '{"FRA":"Bahamas","ENG":"The Bahamas"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (30, '2015-03-19 00:04:04.206', 1, 'BT', 'Bhutan', 16, 2, '{"FRA":"Bhoutan","ENG":"Bhutan"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (31, '2015-03-19 00:04:04.234', 1, 'BV', 'Bouvet Island', 31, 2, '{"FRA":"Bouvet (Île)","ENG":"Bouvet Island"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (32, '2015-03-19 00:04:04.255', 1, 'BW', 'Botswana', 26, 2, '{"FRA":"Botswana","ENG":"Botswana"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (33, '2015-03-19 00:04:04.276', 1, 'BY', 'Belarus', 23, 2, '{"FRA":"Biélorussie","ENG":"Belarus"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (34, '2015-03-19 00:04:04.297', 1, 'BZ', 'Belize', 19, 2, '{"FRA":"Bélize","ENG":"Belize"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (35, '2015-03-19 00:04:04.318', 1, 'CA', 'Canada', 35, 2, '{"FRA":"Canada","ENG":"Canada"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (36, '2015-03-19 00:04:04.34', 1, 'CC', 'Cocos (Keeling) Islands', 13, 2, '{"FRA":"Cocos / Keeling (Îles)","ENG":"Cocos (Keeling) Islands"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (37, '2015-03-19 00:04:04.361', 1, 'CD', 'Congo, Democratic Republic of the', 43, 12, '{"FRA":"République Démocratique du Congo","ENG":"Congo , Democratic Republic of the"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (38, '2015-03-19 00:04:04.382', 1, 'CF', 'Central African Republic', 34, 12, '{"FRA":"République Centrafricaine","ENG":"Central African Republic"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (39, '2015-03-19 00:04:04.404', 1, 'CG', 'Congo, Republic of the', 34, 12, '{"FRA":"Congo","ENG":"Congo, Republic of the"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (40, '2015-03-19 00:04:04.425', 1, 'CH', 'Switzerland', 92, 2, '{"FRA":"Suisse","ENG":"Switzerland"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (41, '2015-03-19 00:04:04.452', 1, 'CI', 'Cote Ivoire', 20, 12, '{"FRA":"Côte DIvoire","ENG":"Cote Ivoire"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (42, '2015-03-19 00:04:04.474', 1, 'CK', 'Cook Islands', 72, 2, '{"FRA":"Cook (Îles)","ENG":"Cook Islands"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (43, '2015-03-19 00:04:04.494', 1, 'CL', 'Chile', 38, 2, '{"FRA":"Chili","ENG":"Chile"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (44, '2015-03-19 00:04:04.516', 1, 'CM', 'Cameroon', 34, 12, '{"FRA":"Cameroun","ENG":"Cameroon"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (45, '2015-03-19 00:04:04.536', 1, 'CN', 'China', 39, 6, '{"FRA":"Chine","ENG":"China"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (46, '2015-03-19 00:04:04.559', 1, 'CO', 'Colombia', 41, 8, '{"FRA":"Colombie","ENG":"Colombia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (47, '2015-03-19 00:04:04.58', 1, 'CR', 'Costa Rica', 46, 8, '{"FRA":"Costa Rica","ENG":"Costa Rica"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (48, '2015-03-19 00:04:04.601', 1, 'CU', 'Cuba', 48, 8, '{"FRA":"Cuba","ENG":"Cuba"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (49, '2015-03-19 00:04:04.622', 1, 'CV', 'Cape Verde', 36, 8, '{"FRA":"Cap Vert","ENG":"Cape Verde"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (50, '2015-03-19 00:04:04.644', 1, 'CX', 'Christmas Island', 13, 2, '{"FRA":"Christmas (Île)","ENG":"Christmas Island"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (51, '2015-03-19 00:04:04.665', 1, 'CY', 'Cyprus', 40, 2, '{"FRA":"Chypre","ENG":"Cyprus"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (52, '2015-03-19 00:04:04.687', 1, 'CZ', 'Czech Republic', 152, 2, '{"FRA":"République Tchèque","ENG":"Czech Republic"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (53, '2015-03-19 00:04:04.708', 1, 'DE', 'Germany', 5, 1, '{"FRA":"Allemagne","ENG":"Germany"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (54, '2015-03-19 00:04:04.729', 1, 'DJ', 'Djibouti', 51, 12, '{"FRA":"Djibouti","ENG":"Djibouti"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (55, '2015-03-19 00:04:04.75', 1, 'DK', 'Denmark', 50, 2, '{"FRA":"Danemark","ENG":"Denmark"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (56, '2015-03-19 00:04:04.772', 1, 'DM', 'Dominica', 7, 2, '{"FRA":"Dominique","ENG":"Dominica"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (57, '2015-03-19 00:04:04.795', 1, 'DO', 'Dominican Republic', 52, 2, '{"FRA":"République Dominicaine","ENG":"Dominican Republic"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (58, '2015-03-19 00:04:04.816', 1, 'DZ', 'Algeria', 4, 8, '{"FRA":"Algérie","ENG":"Algeria"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (59, '2015-03-19 00:04:04.837', 1, 'EC', 'Ecuador', 49, 2, '{"FRA":"Equateur","ENG":"Ecuador"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (60, '2015-03-19 00:04:04.857', 1, 'EE', 'Estonia', 56, 2, '{"FRA":"Estonie","ENG":"Estonia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (61, '2015-03-19 00:04:04.879', 1, 'EG', 'Egypt', 53, 8, '{"FRA":"Egypte","ENG":"Egypt"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (62, '2015-03-19 00:04:05.043', 1, 'ER', 'Eritrea', 55, 2, '{"FRA":"Erythrée","ENG":"Eritrea"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (63, '2015-03-19 00:04:05.064', 1, 'ES', 'Spain', 5, 8, '{"FRA":"Espagne","ENG":"Spain"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (64, '2015-03-19 00:04:05.086', 1, 'ET', 'Ethiopia', 57, 2, '{"FRA":"Ethiopie","ENG":"Ethiopia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (65, '2015-03-19 00:04:05.109', 1, 'FI', 'Finland', 5, 2, '{"FRA":"Finlande","ENG":"Finland"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (66, '2015-03-19 00:04:05.129', 1, 'FJ', 'Fiji', 59, 2, '{"FRA":"Fiji","ENG":"Fiji"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (67, '2015-03-19 00:04:05.151', 1, 'FK', 'Falkland Islands (Islas Malvinas)', 58, 2, '{"FRA":"Falkland / Malouines (Îles)","ENG":"Falkland Islands (Islas Malvinas)"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (68, '2015-03-19 00:04:05.172', 1, 'FM', 'Micronesia, Federated States of', 49, 2, '{"FRA":"Micronésie (Etats fédérés de)","ENG":"Micronesia, Federated States of"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (69, '2015-03-19 00:04:05.192', 1, 'FO', 'Faroe Islands', 50, 2, '{"FRA":"Féroé (Îles)","ENG":"Faroe Islands"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (70, '2015-03-19 00:04:05.214', 1, 'FR', 'France', 5, 12, '{"FRA":"France","ENG":"France"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (71, '2015-03-19 00:04:05.236', 1, 'GA', 'Gabon', 34, 12, '{"FRA":"Gabon","ENG":"Gabon"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (72, '2015-03-19 00:04:05.257', 1, 'GD', 'Grenada', 7, 2, '{"FRA":"Grenade","ENG":"Grenada"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (73, '2015-03-19 00:04:05.277', 1, 'GE', 'Georgia', 61, 2, '{"FRA":"Géorgie","ENG":"Georgia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (74, '2015-03-19 00:04:05.298', 1, 'GF', 'French Guiana', 5, 2, '{"FRA":"Guyane française","ENG":"French Guiana"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (75, '2015-03-19 00:04:05.324', 1, 'GH', 'Ghana', 62, 2, '{"FRA":"Ghana","ENG":"Ghana"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (76, '2015-03-19 00:04:05.345', 1, 'GI', 'Gibraltar', 63, 2, '{"FRA":"Gibraltar","ENG":"Gibraltar"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (77, '2015-03-19 00:04:05.366', 1, 'GL', 'Greenland', 50, 2, '{"FRA":"Groënland","ENG":"Greenland"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (78, '2015-03-19 00:04:05.391', 1, 'GM', 'The Gambia', 60, 2, '{"FRA":"Gambie","ENG":"The Gambia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (79, '2015-03-19 00:04:05.411', 1, 'GN', 'Guinea', 66, 2, '{"FRA":"Guinée","ENG":"Guinea"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (80, '2015-03-19 00:04:05.432', 1, 'GP', 'Guadeloupe', 5, 12, '{"FRA":"Guadeloupe","ENG":"Guadeloupe"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (81, '2015-03-19 00:04:05.454', 1, 'GQ', 'Equatorial Guinea', 34, 2, '{"FRA":"Guinée Equatoriale","ENG":"Equatorial Guinea"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (82, '2015-03-19 00:04:05.476', 1, 'GR', 'Greece', 5, 2, '{"FRA":"Grèce","ENG":"Greece"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (83, '2015-03-19 00:04:05.496', 1, 'GS', 'South Georgia and the South Sand', 65, 2, '{"FRA":"Géorgie du Sud et îles Sandwich du Sud","ENG":"South Georgia and the South Sand"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (84, '2015-03-19 00:04:05.518', 1, 'GT', 'Guatemala', 64, 2, '{"FRA":"Guatemala","ENG":"Guatemala"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (85, '2015-03-19 00:04:05.546', 1, 'GU', 'Guam', 49, 2, '{"FRA":"Guam","ENG":"Guam"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (86, '2015-03-19 00:04:05.567', 1, 'GW', 'Guinea-Bissau', 20, 2, '{"FRA":"Guinée-Bissau","ENG":"Guinea-Bissau"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (87, '2015-03-19 00:04:05.589', 1, 'GY', 'Guyana', 67, 2, '{"FRA":"Guyana","ENG":"Guyana"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (88, '2015-03-19 00:04:05.611', 1, 'HK', 'Hong Kong (SAR)', 70, 2, '{"FRA":"Hong Kong","ENG":"Hong Kong (SAR)"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (89, '2015-03-19 00:04:05.631', 1, 'HM', 'Heard Island and McDonald Island', 13, 2, '{"FRA":"Territoire des Îles Heard et McDonald","ENG":"Heard Island and McDonald Island"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (90, '2015-03-19 00:04:05.653', 1, 'HN', 'Honduras', 69, 2, '{"FRA":"Honduras","ENG":"Honduras"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (91, '2015-03-19 00:04:05.676', 1, 'HR', 'Croatia', 47, 2, '{"FRA":"Croatie","ENG":"Croatia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (92, '2015-03-19 00:04:05.7', 1, 'HT', 'Haiti', 68, 2, '{"FRA":"Haïti","ENG":"Haiti"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (93, '2015-03-19 00:04:05.722', 1, 'HU', 'Hungary', 71, 2, '{"FRA":"Hongrie","ENG":"Hungary"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (94, '2015-03-19 00:04:05.743', 1, 'ID', 'Indonesia', 74, 2, '{"FRA":"Indonésie","ENG":"Indonesia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (95, '2015-03-19 00:04:05.765', 1, 'IE', 'Ireland', 5, 2, '{"FRA":"Irlande","ENG":"Ireland"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (96, '2015-03-19 00:04:05.786', 1, 'IL', 'Israel', 78, 2, '{"FRA":"Israël","ENG":"Israel"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (97, '2015-03-19 00:04:05.808', 1, 'IN', 'India', 73, 2, '{"FRA":"Indie","ENG":"India"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (98, '2015-03-19 00:04:05.829', 1, 'IO', 'British Indian Ocean Territory', 49, 2, '{"FRA":"Territoire britannique de l Océan Indien","ENG":"British Indian Ocean Territory"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (99, '2015-03-19 00:04:05.85', 1, 'IQ', 'Iraq', 76, 8, '{"FRA":"Irak","ENG":"Iraq"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (100, '2015-03-19 00:04:05.871', 1, 'IR', 'Iran', 75, 2, '{"FRA":"Iran (République islamique d)","ENG":"Iran"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (101, '2015-03-19 00:04:05.892', 1, 'IS', 'Iceland', 77, 2, '{"FRA":"Islande","ENG":"Iceland"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (102, '2015-03-19 00:04:05.913', 1, 'IT', 'Italy', 5, 2, '{"FRA":"Italie","ENG":"Italy"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (103, '2015-03-19 00:04:05.933', 1, 'JM', 'Jamaica', 79, 2, '{"FRA":"Jamaïque","ENG":"Jamaica"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (104, '2015-03-19 00:04:05.955', 1, 'JO', 'Jordan', 81, 2, '{"FRA":"Jordanie","ENG":"Jordan"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (105, '2015-03-19 00:04:05.977', 1, 'JP', 'Japan', 80, 2, '{"FRA":"Japon","ENG":"Japan"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (106, '2015-03-19 00:04:05.998', 1, 'KE', 'Kenya', 83, 2, '{"FRA":"Kenya","ENG":"Kenya"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (107, '2015-03-19 00:04:06.019', 1, 'KG', 'Kyrgyzstan', 84, 2, '{"FRA":"Kyrgyzstan","ENG":"Kyrgyzstan"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (108, '2015-03-19 00:04:06.045', 1, 'KH', 'Cambodia', 33, 2, '{"FRA":"Cambodge","ENG":"Cambodia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (109, '2015-03-19 00:04:06.066', 1, 'KI', 'Kiribati', 13, 2, '{"FRA":"Kiribati","ENG":"Kiribati"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (110, '2015-03-19 00:04:06.087', 1, 'KM', 'Comoros', 42, 2, '{"FRA":"Comores","ENG":"Comoros"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (111, '2015-03-19 00:04:06.11', 1, 'KN', 'Saint Kitts and Nevis', 7, 2, '{"FRA":"Saint Kitts et Nevis","ENG":"Saint Kitts and Nevis"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (112, '2015-03-19 00:04:06.132', 1, 'KP', 'Korea, North', 45, 2, '{"FRA":"Corée (République populaire démocratique du)","ENG":"Korea, North"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (113, '2015-03-19 00:04:06.153', 1, 'KR', 'Korea, South', 44, 2, '{"FRA":"Corée (République démocratique du)","ENG":"Korea, South"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (114, '2015-03-19 00:04:06.174', 1, 'KW', 'Kuwait', 85, 2, '{"FRA":"Koweït","ENG":"Kuwait"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (115, '2015-03-19 00:04:06.195', 1, 'KY', 'Cayman Islands', 32, 2, '{"FRA":"Caïmans (Îles)","ENG":"Cayman Islands"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (116, '2015-03-19 00:04:06.215', 1, 'KZ', 'Kazakhstan', 82, 2, '{"FRA":"Kazakstan","ENG":"Kazakhstan"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (117, '2015-03-19 00:04:06.237', 1, 'LA', 'Laos', 86, 2, '{"FRA":"Laos (République populaire démocratique du)","ENG":"Laos"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (118, '2015-03-19 00:04:06.258', 1, 'LB', 'Lebanon', 89, 2, '{"FRA":"Liban","ENG":"Lebanon"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (119, '2015-03-19 00:04:06.279', 1, 'LC', 'Saint Lucia', 7, 2, '{"FRA":"Sainte Lucie","ENG":"Saint Lucia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (120, '2015-03-19 00:04:06.3', 1, 'LI', 'Liechtenstein', 92, 2, '{"FRA":"Liechtenstein","ENG":"Liechtenstein"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (121, '2015-03-19 00:04:06.326', 1, 'LK', 'Sri Lanka', 143, 2, '{"FRA":"Sri Lanka","ENG":"Sri Lanka"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (122, '2015-03-19 00:04:06.346', 1, 'LR', 'Liberia', 90, 2, '{"FRA":"Libéria","ENG":"Liberia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (123, '2015-03-19 00:04:06.368', 1, 'LS', 'Lesotho', 87, 2, '{"FRA":"Lesotho","ENG":"Lesotho"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (124, '2015-03-19 00:04:06.389', 1, 'LT', 'Lithuania', 93, 2, '{"FRA":"Lithuanie","ENG":"Lithuania"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (125, '2015-03-19 00:04:06.411', 1, 'LU', 'Luxembourg', 5, 12, '{"FRA":"Luxembourg","ENG":"Luxembourg"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (126, '2015-03-19 00:04:06.432', 1, 'LV', 'Latvia', 88, 2, '{"FRA":"Lettonie","ENG":"Latvia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (127, '2015-03-19 00:04:06.452', 1, 'LY', 'Libya', 91, 2, '{"FRA":"Libye (Jamahiriya Arabe Libyenne)","ENG":"Libya"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (128, '2015-03-19 00:04:06.475', 1, 'MA', 'Morocco', 102, 3, '{"FRA":"Maroc","ENG":"Morocco"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (129, '2015-03-19 00:04:06.495', 1, 'MC', 'Monaco', 5, 2, '{"FRA":"Monaco","ENG":"Monaco"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (130, '2015-03-19 00:04:06.516', 1, 'MD', 'Moldova', 106, 2, '{"FRA":"Moldavie","ENG":"Moldova"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (131, '2015-03-19 00:04:06.537', 1, 'MG', 'Madagascar', 97, 2, '{"FRA":"Madagascar","ENG":"Madagascar"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (132, '2015-03-19 00:04:06.558', 1, 'MH', 'Marshall Islands', 49, 2, '{"FRA":"Marshall (Îles)","ENG":"Marshall Islands"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (133, '2015-03-19 00:04:06.581', 1, 'MK', 'Macedonia, The Former Yugoslav R', 95, 2, '{"FRA":"Macédoine (ancienne République yougoslave de)","ENG":"Macedonia, The Former Yugoslav R"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (134, '2015-03-19 00:04:06.608', 1, 'ML', 'Mali', 20, 12, '{"FRA":"Mali","ENG":"Mali"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (135, '2015-03-19 00:04:06.631', 1, 'MM', 'Burma', 109, 2, '{"FRA":"Myanmar","ENG":"Burma"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (136, '2015-03-19 00:04:06.652', 1, 'MN', 'Mongolia', 107, 2, '{"FRA":"Mongolie","ENG":"Mongolia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (137, '2015-03-19 00:04:06.673', 1, 'MO', 'Macao', 94, 2, '{"FRA":"Macau","ENG":"Macao"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (138, '2015-03-19 00:04:06.695', 1, 'MP', 'Northern Mariana Islands', 49, 2, '{"FRA":"Mariannes (Îles)","ENG":"Northern Mariana Islands"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (139, '2015-03-19 00:04:06.715', 1, 'MQ', 'Martinique', 5, 2, '{"FRA":"Martinique","ENG":"Martinique"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (140, '2015-03-19 00:04:06.738', 1, 'MR', 'Mauritania', 104, 2, '{"FRA":"Mauritanie","ENG":"Mauritania"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (141, '2015-03-19 00:04:06.764', 1, 'MS', 'Montserrat', 7, 2, '{"FRA":"Montserrat","ENG":"Montserrat"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (142, '2015-03-19 00:04:06.784', 1, 'MT', 'Malta', 101, 2, '{"FRA":"Malte","ENG":"Malta"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (143, '2015-03-19 00:04:06.805', 1, 'MU', 'Mauritius', 103, 2, '{"FRA":"Maurice","ENG":"Mauritius"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (144, '2015-03-19 00:04:06.827', 1, 'MV', 'Maldives', 100, 2, '{"FRA":"Maldives","ENG":"Maldives"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (145, '2015-03-19 00:04:06.849', 1, 'MW', 'Malawi', 99, 2, '{"FRA":"Malawi","ENG":"Malawi"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (146, '2015-03-19 00:04:06.869', 1, 'MX', 'Mexico', 105, 2, '{"FRA":"Mexique","ENG":"Mexico"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (147, '2015-03-19 00:04:06.891', 1, 'MY', 'Malaysia', 98, 2, '{"FRA":"Malaysie","ENG":"Malaysia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (148, '2015-03-19 00:04:06.911', 1, 'MZ', 'Mozambique', 108, 2, '{"FRA":"Mozambique","ENG":"Mozambique"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (149, '2015-03-19 00:04:06.931', 1, 'NA', 'Namibia', 110, 2, '{"FRA":"Namibie","ENG":"Namibia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (150, '2015-03-19 00:04:06.952', 1, 'NC', 'New Caledonia', 114, 2, '{"FRA":"Nouvelle-Calédonie","ENG":"New Caledonia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (151, '2015-03-19 00:04:06.974', 1, 'NE', 'Niger', 20, 12, '{"FRA":"Niger","ENG":"Niger"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (152, '2015-03-19 00:04:06.994', 1, 'NF', 'Norfolk Island', 13, 2, '{"FRA":"Norfolk (Île)","ENG":"Norfolk Island"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (153, '2015-03-19 00:04:07.016', 1, 'NG', 'Nigeria', 113, 2, '{"FRA":"Nigéria","ENG":"Nigeria"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (154, '2015-03-19 00:04:07.038', 1, 'NI', 'Nicaragua', 112, 8, '{"FRA":"Nicaragua","ENG":"Nicaragua"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (155, '2015-03-19 00:04:07.059', 1, 'NL', 'Netherlands', 5, 2, '{"FRA":"Pays-Bas","ENG":"Netherlands"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (156, '2015-03-19 00:04:07.081', 1, 'NO', 'Norway', 31, 2, '{"FRA":"Norvège","ENG":"Norway"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (157, '2015-03-19 00:04:07.108', 1, 'NP', 'Nepal', 111, 2, '{"FRA":"Népal","ENG":"Nepal"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (158, '2015-03-19 00:04:07.128', 1, 'NR', 'Nauru', 13, 2, '{"FRA":"Nauru","ENG":"Nauru"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (159, '2015-03-19 00:04:07.15', 1, 'NU', 'Niue', 72, 2, '{"FRA":"Niue","ENG":"Niue"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (160, '2015-03-19 00:04:07.171', 1, 'NZ', 'New Zealand', 72, 2, '{"FRA":"Nouvelle-Zélande","ENG":"New Zealand"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (161, '2015-03-19 00:04:07.191', 1, 'OM', 'Oman', 115, 2, '{"FRA":"Oman","ENG":"Oman"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (162, '2015-03-19 00:04:07.214', 1, 'PA', 'Panama', 120, 8, '{"FRA":"Panama","ENG":"Panama"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (163, '2015-03-19 00:04:07.254', 1, 'PE', 'Peru', 123, 8, '{"FRA":"Pérou","ENG":"Peru"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (164, '2015-03-19 00:04:07.297', 1, 'PF', 'French Polynesia', 114, 12, '{"FRA":"Polynésie française","ENG":"French Polynesia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (165, '2015-03-19 00:04:07.318', 1, 'PG', 'Papua New Guinea', 121, 12, '{"FRA":"Papouasie Nouvelle-Guinée","ENG":"Papua New Guinea"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (166, '2015-03-19 00:04:07.34', 1, 'PH', 'Philippines', 124, 2, '{"FRA":"Philippines","ENG":"Philippines"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (167, '2015-03-19 00:04:07.361', 1, 'PK', 'Pakistan', 119, 2, '{"FRA":"Pakistan","ENG":"Pakistan"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (168, '2015-03-19 00:04:07.382', 1, 'PL', 'Poland', 125, 2, '{"FRA":"Pologne","ENG":"Poland"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (169, '2015-03-19 00:04:07.404', 1, 'PM', 'Saint Pierre and Miquelon', 5, 2, '{"FRA":"St. Pierre et Miquelon","ENG":"Saint Pierre and Miquelon"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (170, '2015-03-19 00:04:07.425', 1, 'PN', 'Pitcairn Islands', 72, 2, '{"FRA":"Pitcaïrn","ENG":"Pitcairn Islands"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (171, '2015-03-19 00:04:07.452', 1, 'PR', 'Puerto Rico', 49, 8, '{"FRA":"Porto Rico","ENG":"Puerto Rico"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (172, '2015-03-19 00:04:07.472', 1, 'PS', 'Palestinian Territory, Occupied', 5, 2, '{"FRA":"Territoire Palestinien Occupé","ENG":"Palestinian Territory, Occupied"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (173, '2015-03-19 00:04:07.494', 1, 'PT', 'Portugal', 5, 2, '{"FRA":"Portugal","ENG":"Portugal"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (174, '2015-03-19 00:04:07.515', 1, 'PW', 'Palau', 49, 2, '{"FRA":"Palau","ENG":"Palau"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (175, '2015-03-19 00:04:07.538', 1, 'PY', 'Paraguay', 122, 2, '{"FRA":"Paraguay","ENG":"Paraguay"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (176, '2015-03-19 00:04:07.559', 1, 'QA', 'Qatar', 126, 2, '{"FRA":"Quatar","ENG":"Qatar"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (177, '2015-03-19 00:04:07.579', 1, 'RE', 'Réunion', 5, 2, '{"FRA":"Réunion","ENG":"Réunion"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (178, '2015-03-19 00:04:07.607', 1, 'RO', 'Romania', 128, 2, '{"FRA":"Romania","ENG":"Romania"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (179, '2015-03-19 00:04:07.629', 1, 'RU', 'Russia', 129, 2, '{"FRA":"Russie (Fédération de)","ENG":"Russia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (180, '2015-03-19 00:04:07.651', 1, 'RW', 'Rwanda', 130, 2, '{"FRA":"Rwanda","ENG":"Rwanda"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (181, '2015-03-19 00:04:07.672', 1, 'SA', 'Saudi Arabia', 9, 2, '{"FRA":"Arabie Séoudite","ENG":"Saudi Arabia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (182, '2015-03-19 00:04:07.692', 1, 'SB', 'Solomon Islands', 131, 2, '{"FRA":"Salomon (Îles)","ENG":"Solomon Islands"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (183, '2015-03-19 00:04:07.714', 1, 'SC', 'Seychelles', 136, 2, '{"FRA":"Seychelles","ENG":"Seychelles"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (184, '2015-03-19 00:04:07.736', 1, 'SD', 'Sudan', 21, 2, '{"FRA":"Soudan","ENG":"Sudan"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (185, '2015-03-19 00:04:07.757', 1, 'SE', 'Sweden', 145, 2, '{"FRA":"Suède","ENG":"Sweden"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (186, '2015-03-19 00:04:07.779', 1, 'SG', 'Singapore', 138, 2, '{"FRA":"Singapour","ENG":"Singapore"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (187, '2015-03-19 00:04:07.8', 1, 'SH', 'Saint Helena', 144, 2, '{"FRA":"Ste Hélène","ENG":"Saint Helena"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (188, '2015-03-19 00:04:07.821', 1, 'SI', 'Slovenia', 140, 2, '{"FRA":"Slovénie","ENG":"Slovenia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (189, '2015-03-19 00:04:07.842', 1, 'SJ', 'Svalbard', 31, 2, '{"FRA":"Svalbard et Jan Mayen (Îles)","ENG":"Svalbard"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (190, '2015-03-19 00:04:07.863', 1, 'SK', 'Slovakia', 139, 2, '{"FRA":"Slovaquie","ENG":"Slovakia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (191, '2015-03-19 00:04:07.891', 1, 'SL', 'Sierra Leone', 137, 2, '{"FRA":"Sierra Léone","ENG":"Sierra Leone"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (192, '2015-03-19 00:04:07.911', 1, 'SM', 'San Marino', 5, 2, '{"FRA":"San Marin","ENG":"San Marino"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (193, '2015-03-19 00:04:07.933', 1, 'SN', 'Senegal', 20, 2, '{"FRA":"Sénégal","ENG":"Senegal"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (194, '2015-03-19 00:04:07.955', 1, 'SO', 'Somalia', 141, 2, '{"FRA":"Somalie","ENG":"Sénégal"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (195, '2015-03-19 00:04:07.982', 1, 'SR', 'Suriname', 5, 2, '{"FRA":"Surinam","ENG":"Suriname"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (196, '2015-03-19 00:04:08.004', 1, 'ST', 'Santo Tomas and Principe', 134, 2, '{"FRA":"Sao Tomé et Principe","ENG":"Santo Tomas and Principe"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (197, '2015-03-19 00:04:08.025', 1, 'SV', 'El Salvador', 132, 2, '{"FRA":"Salvador","ENG":"El Salvador"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (198, '2015-03-19 00:04:08.047', 1, 'SY', 'Syria', 148, 2, '{"FRA":"Syrie (République arabe syrienne)","ENG":"Syria"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (199, '2015-03-19 00:04:08.068', 1, 'SZ', 'Swaziland', 147, 2, '{"FRA":"Swaziland","ENG":"Swaziland"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (200, '2015-03-19 00:04:08.089', 1, 'TC', 'Turks and Caicos Islands', 49, 2, '{"FRA":"Turks et Caicos (Îles)","ENG":"Turks and Caicos Islands"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (201, '2015-03-19 00:04:08.111', 1, 'TD', 'Chad', 34, 2, '{"FRA":"Tchad","ENG":"Chad"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (202, '2015-03-19 00:04:08.132', 1, 'TF', 'French Southern and Antarctic Land', 5, 2, '{"FRA":"Territoires Antarctiques français","ENG":"French Southern and Antarctic Land"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (203, '2015-03-19 00:04:08.154', 1, 'TG', 'Togo', 20, 2, '{"FRA":"Togo","ENG":"Togo"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (204, '2015-03-19 00:04:08.174', 1, 'TH', 'Thailand', 153, 2, '{"FRA":"Thaïlande","ENG":"Thailand"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (205, '2015-03-19 00:04:08.202', 1, 'TJ', 'Tajikistan', 149, 2, '{"FRA":"Tadjikistan","ENG":"Tajikistan"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (206, '2015-03-19 00:04:08.224', 1, 'TK', 'Tokelau', 72, 2, '{"FRA":"Tokelau","ENG":"Tokelau"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (207, '2015-03-19 00:04:08.245', 1, 'TM', 'Turkmenistan', 157, 2, '{"FRA":"Turkménistan","ENG":"Turkmenistan"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (208, '2015-03-19 00:04:08.266', 1, 'TN', 'Tunisia', 156, 2, '{"FRA":"Tunisie","ENG":"Tunisia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (209, '2015-03-19 00:04:08.287', 1, 'TO', 'Tonga', 154, 2, '{"FRA":"Tonga","ENG":"Tonga"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (210, '2015-03-19 00:04:08.307', 1, 'TL', 'East timor', 5, 2, '{"FRA":"Timor oriental","ENG":"East timor"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (211, '2015-03-19 00:04:08.33', 1, 'TR', 'Turkey', 159, 2, '{"FRA":"Turquie","ENG":"Turkey"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (212, '2015-03-19 00:04:08.351', 1, 'TT', 'Trinidad and Tobago', 155, 2, '{"FRA":"Trinidad et Tobago","ENG":"Trinidad and Tobago"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (213, '2015-03-19 00:04:08.372', 1, 'TV', 'Tuvalu', 13, 2, '{"FRA":"Tuvalu","ENG":"Tuvalu"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (214, '2015-03-19 00:04:08.393', 1, 'TW', 'Taiwan', 150, 2, '{"FRA":"Taiwan","ENG":"Taiwan"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (215, '2015-03-19 00:04:08.421', 1, 'TZ', 'Tanzania', 151, 2, '{"FRA":"Tanzanie","ENG":"Tanzania"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (216, '2015-03-19 00:04:08.441', 1, 'UA', 'Ukraine', 160, 2, '{"FRA":"Ukraine","ENG":"Ukraine"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (217, '2015-03-19 00:04:08.463', 1, 'UG', 'Uganda', 117, 2, '{"FRA":"Ouganda","ENG":"Uganda"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (218, '2015-03-19 00:04:08.485', 1, 'GB', 'United Kingdom', 65, 2, '{"FRA":"Royaume-Uni","ENG":"United Kingdom"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (219, '2015-03-19 00:04:08.505', 1, 'UM', 'United States Minor Outlying Island', 49, 2, '{"FRA":"Territoires non incorporés des États-Unis","ENG":"United States Minor Outlying Island"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (220, '2015-03-19 00:04:08.528', 1, 'US', 'United States', 49, 2, '{"FRA":"Etats-Unis d Amérique","ENG":"United States"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (221, '2015-03-19 00:04:08.55', 1, 'UY', 'Uruguay', 161, 2, '{"FRA":"Uruguay","ENG":"Uruguay"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (222, '2015-03-19 00:04:08.577', 1, 'UZ', 'Uzbekistan', 118, 2, '{"FRA":"Ouzbékistan","ENG":"Uzbekistan"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (223, '2015-03-19 00:04:08.599', 1, 'VA', 'Holy See Vatican City', 5, 2, '{"FRA":"Vatican","ENG":"Holy See Vatican City"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (224, '2015-03-19 00:04:08.621', 1, 'VC', 'Saint Vincent and the Grenadines', 7, 2, '{"FRA":"Saint Vincent et Grenadines","ENG":"Saint Vincent and the Grenadines"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (225, '2015-03-19 00:04:08.641', 1, 'VE', 'Venezuela', 5, 2, '{"FRA":"Vénézuela","ENG":"Venezuela"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (226, '2015-03-19 00:04:08.662', 1, 'VG', 'British Virgin Islands', 49, 2, '{"FRA":"Vierges (Îles) - RU","ENG":"British Virgin Islands"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (227, '2015-03-19 00:04:08.683', 1, 'VI', 'Virgin Islands', 49, 2, '{"FRA":"Vierges (Îles) - EU","ENG":"Virgin Islands"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (228, '2015-03-19 00:04:08.705', 1, 'VN', 'Vietnam', 164, 2, '{"FRA":"Vietnam","ENG":"Vietnam"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (229, '2015-03-19 00:04:08.726', 1, 'VU', 'Vanuatu', 162, 2, '{"FRA":"Vanuatu","ENG":"Vanuatu"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (230, '2015-03-19 00:04:08.748', 1, 'WF', 'Wallis and Futuna', 114, 2, '{"FRA":"Wallis et Futuna (Îles)","ENG":"Wallis and Futuna"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (231, '2015-03-19 00:04:08.769', 1, 'WS', 'Samoa', 133, 2, '{"FRA":"Samoa","ENG":"Samoa"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (232, '2015-03-19 00:04:08.79', 1, 'YE', 'Yemen', 165, 2, '{"FRA":"Yemen","ENG":"Yemen"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (233, '2015-03-19 00:04:08.811', 1, 'YT', 'Mayotte', 5, 2, '{"FRA":"Mayotte","ENG":"Mayotte"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (234, '2015-03-19 00:04:08.833', 1, 'YU', 'Yugoslavia', 5, 2, '{"FRA":"Yougoslavie","ENG":"Yugoslavia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (235, '2015-03-19 00:04:08.854', 1, 'ZA', 'South Africa', 2, 2, '{"FRA":"Afrique du Sud","ENG":"South Africa"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (236, '2015-03-19 00:04:08.875', 1, 'ZM', 'Zambia', 166, 2, '{"FRA":"Zambie","ENG":"Zambia"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id, description_i18n) VALUES (237, '2015-03-19 00:04:08.896', 1, 'ZW', 'Zimbabwe', 167, 2, '{"FRA":"Zimbabwe","ENG":"Zimbabwe"}');

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id) VALUES (-238, '2015-03-19 00:04:08.896', 1, 'AQ', 'Antarctica', 49, 2);

INSERT INTO adm_country (id, created, version, country_code, description, language_id, currency_id) VALUES (-239, '2015-03-19 00:04:08.896', 1, 'AX', 'Åland Islands', 30, 5);

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id) VALUES (-240, '2015-03-19 00:04:08.896', 1, 'BL', 'Saint Barthélemy', 5, 12);

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id) VALUES (-241, '2015-03-19 00:04:08.896', 1, 'BQ', 'Bonaire, Sint Eustatius and Saba', 5, 21);

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id) VALUES (-242, '2015-03-19 00:04:08.896', 1, 'SX', 'Sint Maarten (Dutch part)', 5, 21);

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id) VALUES (-243, '2015-03-19 00:04:08.896', 1, 'GG', 'Guernsey', 65, 2);

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id) VALUES (-244, '2015-03-19 00:04:08.896', 1, 'IM', 'Isle of Man', 65, 2);

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id) VALUES (-245, '2015-03-19 00:04:08.896', 1, 'JE', 'Jersey', 65, 2);

INSERT INTO adm_country (id, created, version, country_code, description, currency_id) VALUES (-246, '2015-03-19 00:04:08.896', 1, 'ME', 'Montenegro', 5);

INSERT INTO adm_country (id, created, version, country_code, description) VALUES (-247, '2015-03-19 00:04:08.896', 1, 'MF', 'Saint Martin (French part)');

INSERT INTO adm_country (id, created, version, country_code, description, language_id, currency_id) VALUES (-248, '2015-03-19 00:04:08.896', 1, 'RS', 'Serbia', 27, 5);

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id) VALUES (-249, '2015-03-19 00:04:08.896', 1, 'SS', 'South Sudan', -176, 2);

INSERT INTO adm_country (id, created, version, country_code, description, language_id, currency_id) VALUES (-250, '2015-03-19 00:04:08.896', 1, '1A', 'Kosovo', 27, 5);

INSERT INTO adm_country (id, created, version, country_code, description, currency_id, language_id) VALUES (-251, '2015-03-19 00:04:08.896', 1, 'XI', 'United Kingdom (Northern Ireland)', 65, 2);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-countries', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4353, '8:bbe8da7ba10e884fc8c9a4c13d5c096c', 'insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert ...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::rebuild-data-calendarDays::AndriusKarpavicius
INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1, '2015-03-19 00:04:10.495', 1, 1, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (2, '2015-03-19 00:04:10.516', 1, 2, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (3, '2015-03-19 00:04:10.536', 1, 3, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (4, '2015-03-19 00:04:10.558', 1, 4, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (5, '2015-03-19 00:04:10.578', 1, 5, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (6, '2015-03-19 00:04:10.599', 1, 6, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (7, '2015-03-19 00:04:10.621', 1, 7, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (8, '2015-03-19 00:04:10.643', 1, 8, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (9, '2015-03-19 00:04:10.668', 1, 9, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (10, '2015-03-19 00:04:10.69', 1, 10, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (11, '2015-03-19 00:04:10.711', 1, 11, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (12, '2015-03-19 00:04:10.732', 1, 12, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (13, '2015-03-19 00:04:10.752', 1, 13, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (14, '2015-03-19 00:04:10.775', 1, 14, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (15, '2015-03-19 00:04:10.796', 1, 15, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (16, '2015-03-19 00:04:10.816', 1, 16, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (17, '2015-03-19 00:04:10.838', 1, 17, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (18, '2015-03-19 00:04:11', 1, 18, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (19, '2015-03-19 00:04:11.023', 1, 19, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (20, '2015-03-19 00:04:11.044', 1, 20, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (21, '2015-03-19 00:04:11.065', 1, 21, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (22, '2015-03-19 00:04:11.087', 1, 22, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (23, '2015-03-19 00:04:11.108', 1, 23, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (24, '2015-03-19 00:04:11.128', 1, 24, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (25, '2015-03-19 00:04:11.149', 1, 25, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (26, '2015-03-19 00:04:11.171', 1, 26, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (27, '2015-03-19 00:04:11.193', 1, 27, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (28, '2015-03-19 00:04:11.214', 1, 28, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (29, '2015-03-19 00:04:11.236', 1, 29, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (30, '2015-03-19 00:04:11.257', 1, 30, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (31, '2015-03-19 00:04:11.278', 1, 31, 'JANUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (101, '2015-03-19 00:04:11.3', 1, 1, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (102, '2015-03-19 00:04:11.325', 1, 2, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (103, '2015-03-19 00:04:11.346', 1, 3, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (104, '2015-03-19 00:04:11.368', 1, 4, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (105, '2015-03-19 00:04:11.389', 1, 5, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (106, '2015-03-19 00:04:11.41', 1, 6, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (107, '2015-03-19 00:04:11.432', 1, 7, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (108, '2015-03-19 00:04:11.453', 1, 8, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (109, '2015-03-19 00:04:11.474', 1, 9, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (110, '2015-03-19 00:04:11.495', 1, 10, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (111, '2015-03-19 00:04:11.516', 1, 11, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (112, '2015-03-19 00:04:11.538', 1, 12, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (113, '2015-03-19 00:04:11.56', 1, 13, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (114, '2015-03-19 00:04:11.581', 1, 14, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (115, '2015-03-19 00:04:11.602', 1, 15, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (116, '2015-03-19 00:04:11.622', 1, 16, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (117, '2015-03-19 00:04:11.644', 1, 17, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (118, '2015-03-19 00:04:11.671', 1, 18, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (119, '2015-03-19 00:04:11.691', 1, 19, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (120, '2015-03-19 00:04:11.712', 1, 20, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (121, '2015-03-19 00:04:11.735', 1, 21, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (122, '2015-03-19 00:04:11.755', 1, 22, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (123, '2015-03-19 00:04:11.777', 1, 23, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (124, '2015-03-19 00:04:11.799', 1, 24, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (125, '2015-03-19 00:04:11.82', 1, 25, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (126, '2015-03-19 00:04:11.84', 1, 26, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (127, '2015-03-19 00:04:11.863', 1, 27, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (128, '2015-03-19 00:04:11.888', 1, 28, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (129, '2015-03-19 00:04:11.908', 1, 29, 'FEBRUARY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (201, '2015-03-19 00:04:11.931', 1, 1, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (202, '2015-03-19 00:04:11.952', 1, 2, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (203, '2015-03-19 00:04:11.973', 1, 3, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (204, '2015-03-19 00:04:11.995', 1, 4, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (205, '2015-03-19 00:04:12.015', 1, 5, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (206, '2015-03-19 00:04:12.037', 1, 6, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (207, '2015-03-19 00:04:12.057', 1, 7, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (208, '2015-03-19 00:04:12.08', 1, 8, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (209, '2015-03-19 00:04:12.101', 1, 9, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (210, '2015-03-19 00:04:12.123', 1, 10, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (211, '2015-03-19 00:04:12.144', 1, 11, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (212, '2015-03-19 00:04:12.17', 1, 12, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (213, '2015-03-19 00:04:12.191', 1, 13, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (214, '2015-03-19 00:04:12.213', 1, 14, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (215, '2015-03-19 00:04:12.234', 1, 15, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (216, '2015-03-19 00:04:12.256', 1, 16, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (217, '2015-03-19 00:04:12.277', 1, 17, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (218, '2015-03-19 00:04:12.298', 1, 18, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (219, '2015-03-19 00:04:12.32', 1, 19, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (220, '2015-03-19 00:04:12.34', 1, 20, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (221, '2015-03-19 00:04:12.362', 1, 21, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (222, '2015-03-19 00:04:12.388', 1, 22, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (223, '2015-03-19 00:04:12.409', 1, 23, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (224, '2015-03-19 00:04:12.431', 1, 24, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (225, '2015-03-19 00:04:12.453', 1, 25, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (226, '2015-03-19 00:04:12.473', 1, 26, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (227, '2015-03-19 00:04:12.495', 1, 27, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (228, '2015-03-19 00:04:12.515', 1, 28, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (229, '2015-03-19 00:04:12.537', 1, 29, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (230, '2015-03-19 00:04:12.558', 1, 30, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (231, '2015-03-19 00:04:12.58', 1, 31, 'MARCH');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (301, '2015-03-19 00:04:12.601', 1, 1, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (302, '2015-03-19 00:04:12.622', 1, 2, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (303, '2015-03-19 00:04:12.643', 1, 3, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (304, '2015-03-19 00:04:12.669', 1, 4, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (305, '2015-03-19 00:04:12.69', 1, 5, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (306, '2015-03-19 00:04:12.711', 1, 6, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (307, '2015-03-19 00:04:12.735', 1, 7, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (308, '2015-03-19 00:04:12.756', 1, 8, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (309, '2015-03-19 00:04:12.777', 1, 9, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (310, '2015-03-19 00:04:12.799', 1, 10, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (311, '2015-03-19 00:04:12.826', 1, 11, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (312, '2015-03-19 00:04:12.847', 1, 12, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (313, '2015-03-19 00:04:12.869', 1, 13, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (314, '2015-03-19 00:04:12.89', 1, 14, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (315, '2015-03-19 00:04:12.91', 1, 15, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (316, '2015-03-19 00:04:12.933', 1, 16, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (317, '2015-03-19 00:04:12.954', 1, 17, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (318, '2015-03-19 00:04:12.975', 1, 18, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (319, '2015-03-19 00:04:12.997', 1, 19, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (320, '2015-03-19 00:04:13.017', 1, 20, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (321, '2015-03-19 00:04:13.044', 1, 21, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (322, '2015-03-19 00:04:13.064', 1, 22, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (323, '2015-03-19 00:04:13.085', 1, 23, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (324, '2015-03-19 00:04:13.107', 1, 24, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (325, '2015-03-19 00:04:13.128', 1, 25, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (326, '2015-03-19 00:04:13.149', 1, 26, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (327, '2015-03-19 00:04:13.171', 1, 27, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (328, '2015-03-19 00:04:13.192', 1, 28, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (329, '2015-03-19 00:04:13.213', 1, 29, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (330, '2015-03-19 00:04:13.234', 1, 30, 'APRIL');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (401, '2015-03-19 00:04:13.255', 1, 1, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (402, '2015-03-19 00:04:13.276', 1, 2, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (403, '2015-03-19 00:04:13.297', 1, 3, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (404, '2015-03-19 00:04:13.318', 1, 4, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (405, '2015-03-19 00:04:13.339', 1, 5, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (406, '2015-03-19 00:04:13.359', 1, 6, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (407, '2015-03-19 00:04:13.38', 1, 7, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (408, '2015-03-19 00:04:13.402', 1, 8, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (409, '2015-03-19 00:04:13.423', 1, 9, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (410, '2015-03-19 00:04:13.444', 1, 10, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (411, '2015-03-19 00:04:13.464', 1, 11, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (412, '2015-03-19 00:04:13.486', 1, 12, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (413, '2015-03-19 00:04:13.507', 1, 13, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (414, '2015-03-19 00:04:13.528', 1, 14, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (415, '2015-03-19 00:04:13.55', 1, 15, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (416, '2015-03-19 00:04:13.576', 1, 16, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (417, '2015-03-19 00:04:13.596', 1, 17, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (418, '2015-03-19 00:04:13.618', 1, 18, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (419, '2015-03-19 00:04:13.639', 1, 19, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (420, '2015-03-19 00:04:13.661', 1, 20, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (421, '2015-03-19 00:04:13.682', 1, 21, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (422, '2015-03-19 00:04:13.704', 1, 22, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (423, '2015-03-19 00:04:13.725', 1, 23, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (424, '2015-03-19 00:04:13.746', 1, 24, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (425, '2015-03-19 00:04:13.767', 1, 25, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (426, '2015-03-19 00:04:13.789', 1, 26, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (427, '2015-03-19 00:04:13.81', 1, 27, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (428, '2015-03-19 00:04:13.831', 1, 28, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (429, '2015-03-19 00:04:13.857', 1, 29, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (430, '2015-03-19 00:04:13.879', 1, 30, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (431, '2015-03-19 00:04:13.899', 1, 31, 'MAY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (501, '2015-03-19 00:04:13.921', 1, 1, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (502, '2015-03-19 00:04:13.942', 1, 2, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (503, '2015-03-19 00:04:13.962', 1, 3, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (504, '2015-03-19 00:04:13.984', 1, 4, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (505, '2015-03-19 00:04:14.005', 1, 5, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (506, '2015-03-19 00:04:14.026', 1, 6, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (507, '2015-03-19 00:04:14.047', 1, 7, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (508, '2015-03-19 00:04:14.068', 1, 8, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (509, '2015-03-19 00:04:14.09', 1, 9, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (510, '2015-03-19 00:04:14.11', 1, 10, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (511, '2015-03-19 00:04:14.131', 1, 11, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (512, '2015-03-19 00:04:14.151', 1, 12, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (513, '2015-03-19 00:04:14.174', 1, 13, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (514, '2015-03-19 00:04:14.199', 1, 14, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (515, '2015-03-19 00:04:14.221', 1, 15, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (516, '2015-03-19 00:04:14.243', 1, 16, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (517, '2015-03-19 00:04:14.265', 1, 17, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (518, '2015-03-19 00:04:14.288', 1, 18, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (519, '2015-03-19 00:04:14.309', 1, 19, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (520, '2015-03-19 00:04:14.329', 1, 20, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (521, '2015-03-19 00:04:14.352', 1, 21, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (522, '2015-03-19 00:04:14.374', 1, 22, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (523, '2015-03-19 00:04:14.394', 1, 23, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (524, '2015-03-19 00:04:14.421', 1, 24, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (525, '2015-03-19 00:04:14.443', 1, 25, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (526, '2015-03-19 00:04:14.464', 1, 26, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (527, '2015-03-19 00:04:14.486', 1, 27, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (528, '2015-03-19 00:04:14.507', 1, 28, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (529, '2015-03-19 00:04:14.528', 1, 29, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (530, '2015-03-19 00:04:14.549', 1, 30, 'JUNE');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (601, '2015-03-19 00:04:14.575', 1, 1, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (602, '2015-03-19 00:04:14.596', 1, 2, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (603, '2015-03-19 00:04:14.618', 1, 3, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (604, '2015-03-19 00:04:14.64', 1, 4, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (605, '2015-03-19 00:04:14.661', 1, 5, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (606, '2015-03-19 00:04:14.682', 1, 6, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (607, '2015-03-19 00:04:14.703', 1, 7, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (608, '2015-03-19 00:04:14.725', 1, 8, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (609, '2015-03-19 00:04:14.747', 1, 9, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (610, '2015-03-19 00:04:14.768', 1, 10, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (611, '2015-03-19 00:04:14.789', 1, 11, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (612, '2015-03-19 00:04:14.811', 1, 12, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (613, '2015-03-19 00:04:14.832', 1, 13, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (614, '2015-03-19 00:04:14.856', 1, 14, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (615, '2015-03-19 00:04:14.878', 1, 15, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (616, '2015-03-19 00:04:14.899', 1, 16, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (617, '2015-03-19 00:04:14.92', 1, 17, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (618, '2015-03-19 00:04:14.942', 1, 18, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (619, '2015-03-19 00:04:14.963', 1, 19, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (620, '2015-03-19 00:04:14.983', 1, 20, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (621, '2015-03-19 00:04:15.005', 1, 21, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (622, '2015-03-19 00:04:15.027', 1, 22, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (623, '2015-03-19 00:04:15.048', 1, 23, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (624, '2015-03-19 00:04:15.069', 1, 24, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (625, '2015-03-19 00:04:15.091', 1, 25, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (626, '2015-03-19 00:04:15.132', 1, 26, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (627, '2015-03-19 00:04:15.153', 1, 27, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (628, '2015-03-19 00:04:15.175', 1, 28, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (629, '2015-03-19 00:04:15.2', 1, 29, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (630, '2015-03-19 00:04:15.22', 1, 30, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (631, '2015-03-19 00:04:15.243', 1, 31, 'JULY');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (701, '2015-03-19 00:04:15.264', 1, 1, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (702, '2015-03-19 00:04:15.286', 1, 2, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (703, '2015-03-19 00:04:15.307', 1, 3, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (704, '2015-03-19 00:04:15.328', 1, 4, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (705, '2015-03-19 00:04:15.349', 1, 5, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (706, '2015-03-19 00:04:15.371', 1, 6, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (707, '2015-03-19 00:04:15.392', 1, 7, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (708, '2015-03-19 00:04:15.419', 1, 8, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (709, '2015-03-19 00:04:15.44', 1, 9, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (710, '2015-03-19 00:04:15.462', 1, 10, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (711, '2015-03-19 00:04:15.482', 1, 11, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (712, '2015-03-19 00:04:15.503', 1, 12, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (713, '2015-03-19 00:04:15.525', 1, 13, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (714, '2015-03-19 00:04:15.546', 1, 14, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (715, '2015-03-19 00:04:15.567', 1, 15, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (716, '2015-03-19 00:04:15.589', 1, 16, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (717, '2015-03-19 00:04:15.612', 1, 17, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (718, '2015-03-19 00:04:15.633', 1, 18, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (719, '2015-03-19 00:04:15.654', 1, 19, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (720, '2015-03-19 00:04:15.677', 1, 20, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (721, '2015-03-19 00:04:15.7', 1, 21, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (722, '2015-03-19 00:04:15.722', 1, 22, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (723, '2015-03-19 00:04:15.744', 1, 23, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (724, '2015-03-19 00:04:15.765', 1, 24, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (725, '2015-03-19 00:04:15.786', 1, 25, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (726, '2015-03-19 00:04:15.808', 1, 26, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (727, '2015-03-19 00:04:15.829', 1, 27, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (728, '2015-03-19 00:04:15.849', 1, 28, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (729, '2015-03-19 00:04:15.871', 1, 29, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (730, '2015-03-19 00:04:15.893', 1, 30, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (731, '2015-03-19 00:04:15.919', 1, 31, 'AUGUST');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (801, '2015-03-19 00:04:15.94', 1, 1, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (802, '2015-03-19 00:04:15.962', 1, 2, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (803, '2015-03-19 00:04:15.983', 1, 3, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (804, '2015-03-19 00:04:16.004', 1, 4, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (805, '2015-03-19 00:04:16.024', 1, 5, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (806, '2015-03-19 00:04:16.046', 1, 6, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (807, '2015-03-19 00:04:16.067', 1, 7, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (808, '2015-03-19 00:04:16.09', 1, 8, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (809, '2015-03-19 00:04:16.111', 1, 9, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (810, '2015-03-19 00:04:16.132', 1, 10, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (811, '2015-03-19 00:04:16.152', 1, 11, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (812, '2015-03-19 00:04:16.174', 1, 12, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (813, '2015-03-19 00:04:16.202', 1, 13, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (814, '2015-03-19 00:04:16.413', 1, 14, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (815, '2015-03-19 00:04:16.434', 1, 15, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (816, '2015-03-19 00:04:16.455', 1, 16, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (817, '2015-03-19 00:04:16.477', 1, 17, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (818, '2015-03-19 00:04:16.498', 1, 18, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (819, '2015-03-19 00:04:16.551', 1, 19, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (820, '2015-03-19 00:04:16.615', 1, 20, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (821, '2015-03-19 00:04:16.635', 1, 21, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (822, '2015-03-19 00:04:16.657', 1, 22, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (823, '2015-03-19 00:04:16.677', 1, 23, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (824, '2015-03-19 00:04:16.698', 1, 24, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (825, '2015-03-19 00:04:16.718', 1, 25, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (826, '2015-03-19 00:04:16.74', 1, 26, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (827, '2015-03-19 00:04:16.764', 1, 27, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (828, '2015-03-19 00:04:16.786', 1, 28, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (829, '2015-03-19 00:04:16.807', 1, 29, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (830, '2015-03-19 00:04:16.97', 1, 30, 'SEPTEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (901, '2015-03-19 00:04:16.99', 1, 1, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (902, '2015-03-19 00:04:17.012', 1, 2, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (903, '2015-03-19 00:04:17.035', 1, 3, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (904, '2015-03-19 00:04:17.056', 1, 4, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (905, '2015-03-19 00:04:17.078', 1, 5, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (906, '2015-03-19 00:04:17.098', 1, 6, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (907, '2015-03-19 00:04:17.12', 1, 7, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (908, '2015-03-19 00:04:17.141', 1, 8, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (909, '2015-03-19 00:04:17.163', 1, 9, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (910, '2015-03-19 00:04:17.184', 1, 10, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (911, '2015-03-19 00:04:17.206', 1, 11, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (912, '2015-03-19 00:04:17.231', 1, 12, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (913, '2015-03-19 00:04:17.253', 1, 13, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (914, '2015-03-19 00:04:17.273', 1, 14, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (915, '2015-03-19 00:04:17.296', 1, 15, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (916, '2015-03-19 00:04:17.318', 1, 16, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (917, '2015-03-19 00:04:17.339', 1, 17, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (918, '2015-03-19 00:04:17.359', 1, 18, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (919, '2015-03-19 00:04:17.381', 1, 19, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (920, '2015-03-19 00:04:17.403', 1, 20, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (921, '2015-03-19 00:04:17.424', 1, 21, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (922, '2015-03-19 00:04:17.451', 1, 22, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (923, '2015-03-19 00:04:17.472', 1, 23, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (924, '2015-03-19 00:04:17.493', 1, 24, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (925, '2015-03-19 00:04:17.516', 1, 25, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (926, '2015-03-19 00:04:17.536', 1, 26, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (927, '2015-03-19 00:04:17.558', 1, 27, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (928, '2015-03-19 00:04:17.579', 1, 28, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (929, '2015-03-19 00:04:17.599', 1, 29, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (930, '2015-03-19 00:04:17.621', 1, 30, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (931, '2015-03-19 00:04:17.641', 1, 31, 'OCTOBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1001, '2015-03-19 00:04:17.663', 1, 1, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1002, '2015-03-19 00:04:17.683', 1, 2, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1003, '2015-03-19 00:04:17.705', 1, 3, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1004, '2015-03-19 00:04:17.729', 1, 4, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1005, '2015-03-19 00:04:17.749', 1, 5, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1006, '2015-03-19 00:04:17.771', 1, 6, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1007, '2015-03-19 00:04:17.797', 1, 7, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1008, '2015-03-19 00:04:17.818', 1, 8, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1009, '2015-03-19 00:04:17.838', 1, 9, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1010, '2015-03-19 00:04:17.86', 1, 10, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1011, '2015-03-19 00:04:17.881', 1, 11, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1012, '2015-03-19 00:04:17.903', 1, 12, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1013, '2015-03-19 00:04:17.923', 1, 13, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1014, '2015-03-19 00:04:17.946', 1, 14, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1015, '2015-03-19 00:04:17.966', 1, 15, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1016, '2015-03-19 00:04:17.988', 1, 16, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1017, '2015-03-19 00:04:18.014', 1, 17, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1018, '2015-03-19 00:04:18.036', 1, 18, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1019, '2015-03-19 00:04:18.056', 1, 19, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1020, '2015-03-19 00:04:18.078', 1, 20, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1021, '2015-03-19 00:04:18.099', 1, 21, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1022, '2015-03-19 00:04:18.121', 1, 22, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1023, '2015-03-19 00:04:18.142', 1, 23, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1024, '2015-03-19 00:04:18.169', 1, 24, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1025, '2015-03-19 00:04:18.189', 1, 25, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1026, '2015-03-19 00:04:18.211', 1, 26, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1027, '2015-03-19 00:04:18.234', 1, 27, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1028, '2015-03-19 00:04:18.255', 1, 28, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1029, '2015-03-19 00:04:18.277', 1, 29, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1030, '2015-03-19 00:04:18.298', 1, 30, 'NOVEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1101, '2015-03-19 00:04:18.318', 1, 1, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1102, '2015-03-19 00:04:18.34', 1, 2, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1103, '2015-03-19 00:04:18.362', 1, 3, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1104, '2015-03-19 00:04:18.384', 1, 4, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1105, '2015-03-19 00:04:18.405', 1, 5, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1106, '2015-03-19 00:04:18.426', 1, 6, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1107, '2015-03-19 00:04:18.447', 1, 7, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1108, '2015-03-19 00:04:18.468', 1, 8, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1109, '2015-03-19 00:04:18.488', 1, 9, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1110, '2015-03-19 00:04:18.529', 1, 10, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1111, '2015-03-19 00:04:18.572', 1, 11, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1112, '2015-03-19 00:04:18.653', 1, 12, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1113, '2015-03-19 00:04:18.674', 1, 13, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1114, '2015-03-19 00:04:18.701', 1, 14, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1115, '2015-03-19 00:04:18.721', 1, 15, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1116, '2015-03-19 00:04:18.744', 1, 16, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1117, '2015-03-19 00:04:18.766', 1, 17, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1118, '2015-03-19 00:04:18.787', 1, 18, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1119, '2015-03-19 00:04:18.808', 1, 19, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1120, '2015-03-19 00:04:18.829', 1, 20, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1121, '2015-03-19 00:04:18.853', 1, 21, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1122, '2015-03-19 00:04:18.874', 1, 22, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1123, '2015-03-19 00:04:18.895', 1, 23, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1124, '2015-03-19 00:04:18.92', 1, 24, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1125, '2015-03-19 00:04:18.941', 1, 25, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1126, '2015-03-19 00:04:18.962', 1, 26, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1127, '2015-03-19 00:04:18.984', 1, 27, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1128, '2015-03-19 00:04:19.004', 1, 28, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1129, '2015-03-19 00:04:19.025', 1, 29, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1130, '2015-03-19 00:04:19.047', 1, 30, 'DECEMBER');

INSERT INTO cat_day_in_year (id, created, version, day, month) VALUES (1131, '2015-03-19 00:04:19.068', 1, 31, 'DECEMBER');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-calendarDays', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4355, '8:76085567ca5c58ce759ee693b7663d02', 'insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert ta...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::rebuild-data-providerDEMO::AndriusKarpavicius
INSERT INTO billing_invoice_configuration (id, version, display_subscriptions, display_offers, display_services, default_invoice_subcategory_id, default_generic_article_id, default_discount_article_id, default_advanced_payment_article_id, default_invoice_minimum_article_id) VALUES (-1, 0, 1, 1, 1, -3, -3, -2, -5, -4);

INSERT INTO crm_provider (id, version, created, creator, code, amount_validation, automatic_invoicing, account_number, account_owner, bank_code, bank_id, bank_name, bic, branch_code, iban, ics, issuer_name, issuer_number, hash_key, display_free_tx_in_invoice, entreprise, level_duplication, multicountry_flag, multicurrency_flag, multilanguage_flag, prepaid_resrv_delay_ms, country_id, currency_id, language_id, uuid, rounding_mode, invoice_rounding_mode, rating_rounding, invoice_rounding, invoice_config_id, email) VALUES (1, 1, '2015-03-19 00:04:08.922', 'opencell.admin', 'DEMO', 0, 0, '33333333333', 'owner', 'SGMB', '11', 'SGMB', 'DADEFRPPCCT', '12345', 'FR763000600001123456790189', 'FRXXZZZ123456', 'DEMO', '1111', '11', 1, 1, 0, 1, 1, 1, 60000, 1, NULL, 1, 'DEMO', 'NEAREST', 'NEAREST', 2, 2, -1, 'billing@opencellsoft.com');

INSERT INTO crm_provider_contact (id, version, created, code, description, address_1, address_city, address_country_id, address_zipcode, email, mobile) VALUES (-1, 0, '2015-03-19 00:04:19.892', 'OPENCELL', 'Opencell Software', '14 rue Crespin du Gast', 'Paris', 70, '75011', 'sales@opencellsoft.com', '+33607899813');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-providerDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4357, '8:35eeba62ff9171d43ef4c42719582fec', 'insert tableName=billing_invoice_configuration; insert tableName=crm_provider; insert tableName=crm_provider_contact', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::rebuild-data-usersDEMO::AndriusKarpavicius
INSERT INTO adm_user (id, version, created, username, uuid) VALUES (-1, 0, '2015-03-19 00:04:09.745', 'OPENCELL.ADMIN', 'OPENCELL.ADMIN');

INSERT INTO adm_user (id, version, created, username, uuid) VALUES (-2, 0, '2015-03-19 00:04:09.787', 'OPENCELL.SUPERADMIN', 'OPENCELL.SUPERADMIN');

INSERT INTO adm_user (id, version, created, username, uuid) VALUES (-3, 0, '2015-03-19 00:04:09.787', 'OPENCELL.MARKETINGMANAGER', 'OPENCELL.MARKETINGMANAGER');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-usersDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4359, '8:a64c3388ebb2b599c035b6401ffc2679', 'insert tableName=adm_user; insert tableName=adm_user; insert tableName=adm_user', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#12132_20221219::HatimOUDAD
INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (1, 0, now(), NULL, 'opencell.admin', NULL, '0002', 'System Information et Repertoire des Entreprise et des Etablissements: SIRENE ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (2, 0, now(), NULL, 'opencell.admin', NULL, '0003', 'Codification Numerique des Etablissments Financiers En Belgique ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (3, 0, now(), NULL, 'opencell.admin', NULL, '0004', 'NBS/OSI NETWORK ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (4, 0, now(), NULL, 'opencell.admin', NULL, '0005', 'USA FED GOV OSI NETWORK ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (5, 0, now(), NULL, 'opencell.admin', NULL, '0006', 'USA DOD OSI NETWORK ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (6, 0, now(), NULL, 'opencell.admin', NULL, '0007', 'Organisationsnummer ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (7, 0, now(), NULL, 'opencell.admin', NULL, '0008', 'LE NUMERO NATIONAL ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (8, 0, now(), NULL, 'opencell.admin', NULL, '0009', 'SIRET-CODE ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (9, 0, now(), NULL, 'opencell.admin', NULL, '0010', 'Organizational Identifiers for Structured Names under ISO 9541 Part 2 ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (10, 0, now(), NULL, 'opencell.admin', NULL, '0011', 'International Code Designator for the Identification of OSI-based, Amateur Radio Organizations, Network Objects and Application Services. ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (11, 0, now(), NULL, 'opencell.admin', NULL, '0012', 'European Computer Manufacturers Association: ECMA ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (12, 0, now(), NULL, 'opencell.admin', NULL, '0013', 'VSA FTP CODE (FTP = File Transfer Protocol) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (13, 0, now(), NULL, 'opencell.admin', NULL, '0014', 'NIST/OSI Implememts'' Workshop ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (14, 0, now(), NULL, 'opencell.admin', NULL, '0015', 'Electronic Data Interchange: EDI ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (15, 0, now(), NULL, 'opencell.admin', NULL, '0016', 'EWOS Object Identifiers ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (16, 0, now(), NULL, 'opencell.admin', NULL, '0017', 'COMMON LANGUAGE ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (17, 0, now(), NULL, 'opencell.admin', NULL, '0018', 'SNA/OSI Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (18, 0, now(), NULL, 'opencell.admin', NULL, '0019', 'Air Transport Industry Services Communications Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (19, 0, now(), NULL, 'opencell.admin', NULL, '0020', 'European Laboratory for Particle Physics: CERN ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (20, 0, now(), NULL, 'opencell.admin', NULL, '0021', 'SOCIETY FOR WORLDWIDE INTERBANK FINANCIAL, TELECOMMUNICATION S.W.I.F.T. ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (21, 0, now(), NULL, 'opencell.admin', NULL, '0022', 'OSF Distributed Computing Object Identification ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (22, 0, now(), NULL, 'opencell.admin', NULL, '0023', 'Nordic University and Research Network: NORDUnet ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (23, 0, now(), NULL, 'opencell.admin', NULL, '0024', 'Digital Equipment Corporation: DEC ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (24, 0, now(), NULL, 'opencell.admin', NULL, '0025', 'OSI ASIA-OCEANIA WORKSHOP ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (25, 0, now(), NULL, 'opencell.admin', NULL, '0026', 'NATO ISO 6523 ICDE coding scheme ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (26, 0, now(), NULL, 'opencell.admin', NULL, '0027', 'Aeronautical Telecommunications Network (ATN) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (27, 0, now(), NULL, 'opencell.admin', NULL, '0028', 'International Standard ISO 6523 ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (28, 0, now(), NULL, 'opencell.admin', NULL, '0029', 'The All-Union Classifier of Enterprises and Organisations ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (29, 0, now(), NULL, 'opencell.admin', NULL, '0030', 'AT&T/OSI Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (30, 0, now(), NULL, 'opencell.admin', NULL, '0031', 'EDI Partner Identification Code ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (31, 0, now(), NULL, 'opencell.admin', NULL, '0032', 'Telecom Australia ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (32, 0, now(), NULL, 'opencell.admin', NULL, '0033', 'S G W OSI Internetwork ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (33, 0, now(), NULL, 'opencell.admin', NULL, '0034', 'Reuter Open Address Standard ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (34, 0, now(), NULL, 'opencell.admin', NULL, '0035', 'ISO 6523 - ICD ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (35, 0, now(), NULL, 'opencell.admin', NULL, '0036', 'TeleTrust Object Identifiers ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (36, 0, now(), NULL, 'opencell.admin', NULL, '0037', 'LY-tunnus ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (37, 0, now(), NULL, 'opencell.admin', NULL, '0038', 'The Australian GOSIP Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (38, 0, now(), NULL, 'opencell.admin', NULL, '0039', 'The OZ DOD OSI Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (39, 0, now(), NULL, 'opencell.admin', NULL, '0040', 'Unilever Group Companies ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (40, 0, now(), NULL, 'opencell.admin', NULL, '0041', 'Citicorp Global Information Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (41, 0, now(), NULL, 'opencell.admin', NULL, '0042', 'DBP Telekom Object Identifiers ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (42, 0, now(), NULL, 'opencell.admin', NULL, '0043', 'HydroNETT ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (43, 0, now(), NULL, 'opencell.admin', NULL, '0044', 'Thai Industrial Standards Institute (TISI) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (44, 0, now(), NULL, 'opencell.admin', NULL, '0045', 'ICI Company Identification System ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (45, 0, now(), NULL, 'opencell.admin', NULL, '0046', 'FUNLOC ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (46, 0, now(), NULL, 'opencell.admin', NULL, '0047', 'BULL ODI/DSA/UNIX Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (47, 0, now(), NULL, 'opencell.admin', NULL, '0048', 'OSINZ ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (48, 0, now(), NULL, 'opencell.admin', NULL, '0049', 'Auckland Area Health ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (49, 0, now(), NULL, 'opencell.admin', NULL, '0050', 'Firmenich ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (50, 0, now(), NULL, 'opencell.admin', NULL, '0051', 'AGFA-DIS ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (51, 0, now(), NULL, 'opencell.admin', NULL, '0052', 'Society of Motion Picture and Television Engineers (SMPTE) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (52, 0, now(), NULL, 'opencell.admin', NULL, '0053', 'Migros_Network M_NETOPZ ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (53, 0, now(), NULL, 'opencell.admin', NULL, '0054', 'ISO6523 - ICDPCR ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (54, 0, now(), NULL, 'opencell.admin', NULL, '0055', 'Energy Net ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (55, 0, now(), NULL, 'opencell.admin', NULL, '0056', 'Nokia Object Identifiers (NOI) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (56, 0, now(), NULL, 'opencell.admin', NULL, '0057', 'Saint Gobain ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (57, 0, now(), NULL, 'opencell.admin', NULL, '0058', 'Siemens Corporate Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (58, 0, now(), NULL, 'opencell.admin', NULL, '0059', 'DANZNET ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (59, 0, now(), NULL, 'opencell.admin', NULL, '0060', 'Data Universal Numbering System (D-U-N-S Number) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (60, 0, now(), NULL, 'opencell.admin', NULL, '0061', 'SOFFEX OSI ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (61, 0, now(), NULL, 'opencell.admin', NULL, '0062', 'KPN OVN ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (62, 0, now(), NULL, 'opencell.admin', NULL, '0063', 'ascomOSINet ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (63, 0, now(), NULL, 'opencell.admin', NULL, '0064', 'UTC: Uniforme Transport Code ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (64, 0, now(), NULL, 'opencell.admin', NULL, '0065', 'SOLVAY OSI CODING ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (65, 0, now(), NULL, 'opencell.admin', NULL, '0066', 'Roche Corporate Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (66, 0, now(), NULL, 'opencell.admin', NULL, '0067', 'ZellwegerOSINet ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (67, 0, now(), NULL, 'opencell.admin', NULL, '0068', 'Intel Corporation OSI ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (68, 0, now(), NULL, 'opencell.admin', NULL, '0069', 'SITA Object Identifier Tree ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (69, 0, now(), NULL, 'opencell.admin', NULL, '0070', 'DaimlerChrysler Corporate Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (70, 0, now(), NULL, 'opencell.admin', NULL, '0071', 'LEGO /OSI NETWORK ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (71, 0, now(), NULL, 'opencell.admin', NULL, '0072', 'NAVISTAR/OSI Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (72, 0, now(), NULL, 'opencell.admin', NULL, '0073', 'ICD Formatted ATM address ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (73, 0, now(), NULL, 'opencell.admin', NULL, '0074', 'ARINC ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (74, 0, now(), NULL, 'opencell.admin', NULL, '0075', 'Alcanet/Alcatel-Alsthom Corporate Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (75, 0, now(), NULL, 'opencell.admin', NULL, '0076', 'Sistema Italiano di Identificazione di ogetti gestito da UNINFO ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (76, 0, now(), NULL, 'opencell.admin', NULL, '0077', 'Sistema Italiano di Indirizzamento di Reti OSI Gestito da UNINFO ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (77, 0, now(), NULL, 'opencell.admin', NULL, '0078', 'Mitel terminal or switching equipment ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (78, 0, now(), NULL, 'opencell.admin', NULL, '0079', 'ATM Forum ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (79, 0, now(), NULL, 'opencell.admin', NULL, '0080', 'UK National Health Service Scheme, (EDIRA compliant) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (80, 0, now(), NULL, 'opencell.admin', NULL, '0081', 'International NSAP ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (81, 0, now(), NULL, 'opencell.admin', NULL, '0082', 'Norwegian Telecommunications Authority''s, NTA''S, EDI, identifier scheme (EDIRA compliant) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (82, 0, now(), NULL, 'opencell.admin', NULL, '0083', 'Advanced Telecommunications Modules Limited, Corporate Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (83, 0, now(), NULL, 'opencell.admin', NULL, '0084', 'Athens Chamber of Commerce & Industry Scheme (EDIRA compliant) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (84, 0, now(), NULL, 'opencell.admin', NULL, '0085', 'Swiss Chambers of Commerce Scheme (EDIRA) compliant ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (85, 0, now(), NULL, 'opencell.admin', NULL, '0086', 'United States Council for International Business (USCIB) Scheme, (EDIRA compliant) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (86, 0, now(), NULL, 'opencell.admin', NULL, '0087', 'National Federation of Chambers of Commerce & Industry of Belgium, Scheme (EDIRA compliant) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (87, 0, now(), NULL, 'opencell.admin', NULL, '0088', 'EAN Location Code ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (88, 0, now(), NULL, 'opencell.admin', NULL, '0089', 'The Association of British Chambers of Commerce Ltd. Scheme, (EDIRA compliant) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (89, 0, now(), NULL, 'opencell.admin', NULL, '0090', 'Internet IP addressing - ISO 6523 ICD encoding ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (90, 0, now(), NULL, 'opencell.admin', NULL, '0091', 'Cisco Sysytems / OSI Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (91, 0, now(), NULL, 'opencell.admin', NULL, '0093', 'Revenue Canada Business Number Registration (EDIRA compliant) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (92, 0, now(), NULL, 'opencell.admin', NULL, '0094', 'DEUTSCHER INDUSTRIE- UND HANDELSTAG (DIHT) Scheme (EDIRA compliant) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (93, 0, now(), NULL, 'opencell.admin', NULL, '0095', 'Hewlett - Packard Company Internal AM Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (94, 0, now(), NULL, 'opencell.admin', NULL, '0096', 'DANISH CHAMBER OF COMMERCE Scheme (EDIRA compliant) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (95, 0, now(), NULL, 'opencell.admin', NULL, '0097', 'FTI - Ediforum Italia, (EDIRA compliant) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (96, 0, now(), NULL, 'opencell.admin', NULL, '0098', 'CHAMBER OF COMMERCE TEL AVIV-JAFFA Scheme (EDIRA compliant) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (97, 0, now(), NULL, 'opencell.admin', NULL, '0099', 'Siemens Supervisory Systems Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (98, 0, now(), NULL, 'opencell.admin', NULL, '0100', 'PNG_ICD Scheme ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (99, 0, now(), NULL, 'opencell.admin', NULL, '0101', 'South African Code Allocation ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (100, 0, now(), NULL, 'opencell.admin', NULL, '0102', 'HEAG ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (101, 0, now(), NULL, 'opencell.admin', NULL, '0104', 'BT - ICD Coding System ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (102, 0, now(), NULL, 'opencell.admin', NULL, '0105', 'Portuguese Chamber of Commerce and Industry Scheme (EDIRA compliant) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (103, 0, now(), NULL, 'opencell.admin', NULL, '0106', 'Vereniging van Kamers van Koophandel en Fabrieken in Nederland (Association of Chambers of Commerce and Industry in the Netherlands), Scheme (EDIRA compliant) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (104, 0, now(), NULL, 'opencell.admin', NULL, '0107', 'Association of Swedish Chambers of Commerce and Industry Scheme (EDIRA compliant) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (105, 0, now(), NULL, 'opencell.admin', NULL, '0108', 'Australian Chambers of Commerce and Industry Scheme (EDIRA compliant) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (106, 0, now(), NULL, 'opencell.admin', NULL, '0109', 'BellSouth ICD AESA (ATM End System Address) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (107, 0, now(), NULL, 'opencell.admin', NULL, '0110', 'Bell Atlantic ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (108, 0, now(), NULL, 'opencell.admin', NULL, '0111', 'Object Identifiers ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (109, 0, now(), NULL, 'opencell.admin', NULL, '0112', 'ISO register for Standards producing Organizations ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (110, 0, now(), NULL, 'opencell.admin', NULL, '0113', 'OriginNet ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (111, 0, now(), NULL, 'opencell.admin', NULL, '0114', 'Check Point Software Technologies ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (112, 0, now(), NULL, 'opencell.admin', NULL, '0115', 'Pacific Bell Data Communications Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (113, 0, now(), NULL, 'opencell.admin', NULL, '0116', 'PSS Object Identifiers ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (114, 0, now(), NULL, 'opencell.admin', NULL, '0117', 'STENTOR-ICD CODING SYSTEM ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (115, 0, now(), NULL, 'opencell.admin', NULL, '0118', 'ATM-Network ZN''96 ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (116, 0, now(), NULL, 'opencell.admin', NULL, '0119', 'MCI / OSI Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (117, 0, now(), NULL, 'opencell.admin', NULL, '0120', 'Advantis ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (118, 0, now(), NULL, 'opencell.admin', NULL, '0121', 'Affable Software Data Interchange Codes ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (119, 0, now(), NULL, 'opencell.admin', NULL, '0122', 'BB-DATA GmbH ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (120, 0, now(), NULL, 'opencell.admin', NULL, '0123', 'BASF Company ATM-Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (121, 0, now(), NULL, 'opencell.admin', NULL, '0124', 'IOTA Identifiers for Organizations for Telecommunications Addressing using the ICD system format defined in ISO/IEC 8348 ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (122, 0, now(), NULL, 'opencell.admin', NULL, '0125', 'Henkel Corporate Network (H-Net) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (123, 0, now(), NULL, 'opencell.admin', NULL, '0126', 'GTE/OSI Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (124, 0, now(), NULL, 'opencell.admin', NULL, '0127', 'Dresdner Bank Corporate Network ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (125, 0, now(), NULL, 'opencell.admin', NULL, '0128', 'BCNR (Swiss Clearing Bank Number) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (126, 0, now(), NULL, 'opencell.admin', NULL, '0129', 'BPI (Swiss Business Partner Identification) code ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (127, 0, now(), NULL, 'opencell.admin', NULL, '0130', 'Directorates of the European Commission ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (128, 0, now(), NULL, 'opencell.admin', NULL, '0131', 'Code for the Identification of National Organizations ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (129, 0, now(), NULL, 'opencell.admin', NULL, '0132', 'Certicom Object Identifiers ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (130, 0, now(), NULL, 'opencell.admin', NULL, '0133', 'TC68 OID ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (131, 0, now(), NULL, 'opencell.admin', NULL, '0134', 'Infonet Services Corporation ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (132, 0, now(), NULL, 'opencell.admin', NULL, '0135', 'SIA Object Identifiers ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (133, 0, now(), NULL, 'opencell.admin', NULL, '0136', 'Cable & Wireless Global ATM End-System Address Plan ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (134, 0, now(), NULL, 'opencell.admin', NULL, '0137', 'Global AESA scheme ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (135, 0, now(), NULL, 'opencell.admin', NULL, '0138', 'France Telecom ATM End System Address Plan ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (136, 0, now(), NULL, 'opencell.admin', NULL, '0139', 'Savvis Communications AESA:. ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (137, 0, now(), NULL, 'opencell.admin', NULL, '0140', 'Toshiba Organizations, Partners, And Suppliers'' (TOPAS) Code ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (138, 0, now(), NULL, 'opencell.admin', NULL, '0141', 'NATO Commercial and Government Entity system ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (139, 0, now(), NULL, 'opencell.admin', NULL, '0142', 'SECETI Object Identifiers ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (140, 0, now(), NULL, 'opencell.admin', NULL, '0143', 'EINESTEINet AG ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (141, 0, now(), NULL, 'opencell.admin', NULL, '0144', 'DoDAAC (Department of Defense Activity Address Code) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (142, 0, now(), NULL, 'opencell.admin', NULL, '0145', 'DGCP (Direction Générale de la Comptabilité Publique)administrative accounting identification scheme ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (143, 0, now(), NULL, 'opencell.admin', NULL, '0146', 'DGI (Direction Générale des Impots) code ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (144, 0, now(), NULL, 'opencell.admin', NULL, '0147', 'Standard Company Code ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (145, 0, now(), NULL, 'opencell.admin', NULL, '0148', 'ITU (International Telecommunications Union)Data Network Identification Codes (DNIC) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (146, 0, now(), NULL, 'opencell.admin', NULL, '0149', 'Global Business Identifier ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (147, 0, now(), NULL, 'opencell.admin', NULL, '0150', 'Madge Networks Ltd- ICD ATM Addressing Scheme ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (148, 0, now(), NULL, 'opencell.admin', NULL, '0151', 'Australian Business Number (ABN) Scheme ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (149, 0, now(), NULL, 'opencell.admin', NULL, '0152', 'Edira Scheme Identifier Code ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (150, 0, now(), NULL, 'opencell.admin', NULL, '0153', 'Concert Global Network Services ICD AESA ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (151, 0, now(), NULL, 'opencell.admin', NULL, '0154', 'Identification number of economic subjects: (ICO) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (152, 0, now(), NULL, 'opencell.admin', NULL, '0155', 'Global Crossing AESA (ATM End System Address) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (153, 0, now(), NULL, 'opencell.admin', NULL, '0156', 'AUNA ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (154, 0, now(), NULL, 'opencell.admin', NULL, '0157', 'ATM interconnection with the Dutch KPN Telecom ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (155, 0, now(), NULL, 'opencell.admin', NULL, '0158', 'Identification number of economic subject (ICO) Act on State Statistics of 29 November 2''001, § 27 ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (156, 0, now(), NULL, 'opencell.admin', NULL, '0159', 'ACTALIS Object Identifiers ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (157, 0, now(), NULL, 'opencell.admin', NULL, '0160', 'GTIN - Global Trade Item Number ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (158, 0, now(), NULL, 'opencell.admin', NULL, '0161', 'ECCMA Open Technical Directory ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (159, 0, now(), NULL, 'opencell.admin', NULL, '0162', 'CEN/ISSS Object Identifier Scheme ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (160, 0, now(), NULL, 'opencell.admin', NULL, '0163', 'US-EPA Facility Identifier ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (161, 0, now(), NULL, 'opencell.admin', NULL, '0164', 'TELUS Corporation ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (162, 0, now(), NULL, 'opencell.admin', NULL, '0165', 'FIEIE Object identifiers ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (163, 0, now(), NULL, 'opencell.admin', NULL, '0166', 'Swissguide Identifier Scheme ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (164, 0, now(), NULL, 'opencell.admin', NULL, '0167', 'Priority Telecom ATM End System Address Plan ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (165, 0, now(), NULL, 'opencell.admin', NULL, '0168', 'Vodafone Ireland OSI Addressing ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (166, 0, now(), NULL, 'opencell.admin', NULL, '0169', 'Swiss Federal Business Identification Number. Central Business names Index (zefix) Identification Number ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (167, 0, now(), NULL, 'opencell.admin', NULL, '0170', 'Teikoku Company Code ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (168, 0, now(), NULL, 'opencell.admin', NULL, '0171', 'Luxembourg CP & CPS (Certification Policy and Certification Practice Statement) Index ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (169, 0, now(), NULL, 'opencell.admin', NULL, '0172', 'Project Group “Lists of Properties” (PROLIST®) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (170, 0, now(), NULL, 'opencell.admin', NULL, '0173', 'eCI@ss ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (171, 0, now(), NULL, 'opencell.admin', NULL, '0174', 'StepNexus ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (172, 0, now(), NULL, 'opencell.admin', NULL, '0175', 'Siemens AG ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (173, 0, now(), NULL, 'opencell.admin', NULL, '0176', 'Paradine GmbH ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (174, 0, now(), NULL, 'opencell.admin', NULL, '0177', 'Odette International Limited ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (175, 0, now(), NULL, 'opencell.admin', NULL, '0178', 'Route1 MobiNET ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (176, 0, now(), NULL, 'opencell.admin', NULL, '0179', 'Penango Object Identifiers ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (177, 0, now(), NULL, 'opencell.admin', NULL, '0180', 'Lithuanian military PKI ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (178, 0, now(), NULL, 'opencell.admin', NULL, '0183', 'Numéro d''identification suisse des enterprises (IDE), Swiss Unique Business Identification Number (UIDB) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (179, 0, now(), NULL, 'opencell.admin', NULL, '0184', 'DIGSTORG ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (180, 0, now(), NULL, 'opencell.admin', NULL, '0185', 'Perceval Object Code ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (181, 0, now(), NULL, 'opencell.admin', NULL, '0186', 'TrustPoint Object Identifiers ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (182, 0, now(), NULL, 'opencell.admin', NULL, '0187', 'Amazon Unique Identification Scheme ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (183, 0, now(), NULL, 'opencell.admin', NULL, '0188', 'Corporate Number of The Social Security and Tax Number System ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (184, 0, now(), NULL, 'opencell.admin', NULL, '0189', 'European Business Identifier (EBID) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (185, 0, now(), NULL, 'opencell.admin', NULL, '0190', 'Organisatie Indentificatie Nummer (OIN) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (186, 0, now(), NULL, 'opencell.admin', NULL, '0191', 'Company Code (Estonia) ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (187, 0, now(), NULL, 'opencell.admin', NULL, '0192', 'Organisasjonsnummer ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (188, 0, now(), NULL, 'opencell.admin', NULL, '0193', 'UBL.BE Party Identifier ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (189, 0, now(), NULL, 'opencell.admin', NULL, '0194', 'KOIOS Open Technical Dictionary');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (190, 0, now(), NULL, 'opencell.admin', NULL, '0195', 'Singapore Nationwide E-lnvoice Framework ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (191, 0, now(), NULL, 'opencell.admin', NULL, '0196', 'Icelandic identifier - Íslensk kennitala ');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (192, 0, now(), NULL, 'opencell.admin', NULL, '0197', 'APPLiA Pl Standard');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (193, 0, now(), NULL, 'opencell.admin', NULL, '0198', 'ERSTORG');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (194, 0, now(), NULL, 'opencell.admin', NULL, '0199', 'Legal Entity Identifier (LEI)');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (195, 0, now(), NULL, 'opencell.admin', NULL, '0200', 'Legal entity code (Lithuania)');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (196, 0, now(), NULL, 'opencell.admin', NULL, '0201', 'Codice Univoco Unità Organizzativa iPA');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (197, 0, now(), NULL, 'opencell.admin', NULL, '0202', 'Indirizzo di Posta Elettronica Certificata');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (198, 0, now(), NULL, 'opencell.admin', NULL, '0203', 'eDelivery Network Participant identifier');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (199, 0, now(), NULL, 'opencell.admin', NULL, '0204', 'Leitweg-ID');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (200, 0, now(), NULL, 'opencell.admin', NULL, '0205', 'CODDEST');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (201, 0, now(), NULL, 'opencell.admin', NULL, '0206', 'Registre du Commerce et de l’Industrie : RCI');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (202, 0, now(), NULL, 'opencell.admin', NULL, '0207', 'PiLog Ontology Codification Identifier (POCI)');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (203, 0, now(), NULL, 'opencell.admin', NULL, '0208', 'Numero d''entreprise / ondernemingsnummer / Unternehmensnummer');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (204, 0, now(), NULL, 'opencell.admin', NULL, '0209', 'GS1 identification keys');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (205, 0, now(), NULL, 'opencell.admin', NULL, '0210', 'CODICE FISCALE');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (206, 0, now(), NULL, 'opencell.admin', NULL, '0211', 'PARTITA IVA');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (207, 0, now(), NULL, 'opencell.admin', NULL, '0212', 'Finnish Organization Identifier');

INSERT INTO public.iso_icd(id,version,created,updated,creator,updater,code,scheme_name) VALUES (208, 0, now(), NULL, 'opencell.admin', NULL, '0213', 'Finnish Organization Value Add Tax Identifier');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (1, 0, now(), NULL, 'opencell.admin', NULL, '80', 'Invoice', 'Debit note related to goods or services');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (2, 0, now(), NULL, 'opencell.admin', NULL, '81', 'Credit Note', 'Credit note related to goods or services');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (3, 0, now(), NULL, 'opencell.admin', NULL, '82', 'Invoice', 'Metered services invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (4, 0, now(), NULL, 'opencell.admin', NULL, '83', 'Credit Note', 'Credit note related to financial adjustments');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (5, 0, now(), NULL, 'opencell.admin', NULL, '84', 'Invoice', 'Debit note related to financial adjustments');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (6, 0, now(), NULL, 'opencell.admin', NULL, '130', 'Invoice', 'Invoicing data sheet');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (7, 0, now(), NULL, 'opencell.admin', NULL, '202', 'Invoice', 'Direct payment valuation');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (8, 0, now(), NULL, 'opencell.admin', NULL, '203', 'Invoice', 'Provisional payment valuation');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (9, 0, now(), NULL, 'opencell.admin', NULL, '204', 'Invoice', 'Payment valuation');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (10, 0, now(), NULL, 'opencell.admin', NULL, '211', 'Invoice', 'Interim application for payment');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (11, 0, now(), NULL, 'opencell.admin', NULL, '261', 'Credit Note', 'Self billed credit note');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (12, 0, now(), NULL, 'opencell.admin', NULL, '262', 'Credit Note', 'Consolidated credit note - goods and services');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (13, 0, now(), NULL, 'opencell.admin', NULL, '295', 'Invoice', 'Price variation invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (14, 0, now(), NULL, 'opencell.admin', NULL, '296', 'Credit Note', 'Credit note for price variation');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (15, 0, now(), NULL, 'opencell.admin', NULL, '308', 'Credit Note', 'Delcredere credit note');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (16, 0, now(), NULL, 'opencell.admin', NULL, '325', 'Invoice', 'Proforma invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (17, 0, now(), NULL, 'opencell.admin', NULL, '326', 'Invoice', 'Partial invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (18, 0, now(), NULL, 'opencell.admin', NULL, '380', 'Invoice', 'Commercial invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (19, 0, now(), NULL, 'opencell.admin', NULL, '381', 'Credit Note', 'Credit note');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (20, 0, now(), NULL, 'opencell.admin', NULL, '383', 'Invoice', 'Debit note');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (21, 0, now(), NULL, 'opencell.admin', NULL, '384', 'Invoice', 'Corrected invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (22, 0, now(), NULL, 'opencell.admin', NULL, '385', 'Invoice', 'Consolidated invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (23, 0, now(), NULL, 'opencell.admin', NULL, '386', 'Invoice', 'Prepayment invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (24, 0, now(), NULL, 'opencell.admin', NULL, '387', 'Invoice', 'Hire invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (25, 0, now(), NULL, 'opencell.admin', NULL, '388', 'Invoice', 'Tax invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (26, 0, now(), NULL, 'opencell.admin', NULL, '389', 'Invoice', 'Self-billed invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (27, 0, now(), NULL, 'opencell.admin', NULL, '390', 'Invoice', 'Delcredere invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (28, 0, now(), NULL, 'opencell.admin', NULL, '393', 'Invoice', 'Factored invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (29, 0, now(), NULL, 'opencell.admin', NULL, '394', 'Invoice', 'Lease invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (30, 0, now(), NULL, 'opencell.admin', NULL, '395', 'Invoice', 'Consignment invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (31, 0, now(), NULL, 'opencell.admin', NULL, '396', 'Credit Note', 'Factored credit note');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (32, 0, now(), NULL, 'opencell.admin', NULL, '420', 'Credit Note', 'Optical Character Reading (OCR) payment credit note');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (33, 0, now(), NULL, 'opencell.admin', NULL, '456', 'Invoice', 'Debit advice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (34, 0, now(), NULL, 'opencell.admin', NULL, '457', 'Invoice', 'Reversal of debit');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (35, 0, now(), NULL, 'opencell.admin', NULL, '458', 'Credit Note', 'Reversal of credit');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (36, 0, now(), NULL, 'opencell.admin', NULL, '527', 'Invoice', 'Self billed debit note');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (37, 0, now(), NULL, 'opencell.admin', NULL, '532', 'Credit Note', 'Forwarder''s credit note');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (38, 0, now(), NULL, 'opencell.admin', NULL, '575', 'Invoice', 'Insurer''s invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (39, 0, now(), NULL, 'opencell.admin', NULL, '623', 'Invoice', 'Forwarder''s invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (40, 0, now(), NULL, 'opencell.admin', NULL, '633', 'Invoice', 'Port charges documents');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (41, 0, now(), NULL, 'opencell.admin', NULL, '751', 'Invoice', 'Invoice information for accounting purposes');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (42, 0, now(), NULL, 'opencell.admin', NULL, '780', 'Invoice', 'Freight invoice');

INSERT INTO public.untdid_1001_invoice_code_type(id,version,created,updated,creator,updater,code,en16931_interpretation,name) VALUES (43, 0, now(), NULL, 'opencell.admin', NULL, '935', 'Invoice', 'Customs invoice');

INSERT INTO public.untdid_2475_vat_payment_option(id,version,created,updated,creator,updater,code_2005,value_2005,code_2475,value_2475) VALUES (1, 0, now(), NULL, 'opencell.admin', NULL, '3', 'Invoice document issue date time', '5', 'Date of invoice');

INSERT INTO public.untdid_2475_vat_payment_option(id,version,created,updated,creator,updater,code_2005,value_2005,code_2475,value_2475) VALUES (2, 0, now(), NULL, 'opencell.admin', NULL, '35', 'Delivery date/time, actual', '29', 'Date of delivery of goods to establishments/domicile/site');

INSERT INTO public.untdid_2475_vat_payment_option(id,version,created,updated,creator,updater,code_2005,value_2005,code_2475,value_2475) VALUES (3, 0, now(), NULL, 'opencell.admin', NULL, '432', 'Paid to date', '72', 'Payment date');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (1, 0, now(), NULL, 'opencell.admin', NULL, 'AAA', 'Goods item description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (2, 0, now(), NULL, 'opencell.admin', NULL, 'AAB', 'Payment term');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (3, 0, now(), NULL, 'opencell.admin', NULL, 'AAC', 'Dangerous goods additional information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (4, 0, now(), NULL, 'opencell.admin', NULL, 'AAD', 'Dangerous goods technical name');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (5, 0, now(), NULL, 'opencell.admin', NULL, 'AAE', 'Acknowledgement description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (6, 0, now(), NULL, 'opencell.admin', NULL, 'AAF', 'Rate additional information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (7, 0, now(), NULL, 'opencell.admin', NULL, 'AAG', 'Party instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (8, 0, now(), NULL, 'opencell.admin', NULL, 'AAI', 'General information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (9, 0, now(), NULL, 'opencell.admin', NULL, 'AAJ', 'Additional conditions of sale/purchase');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (10, 0, now(), NULL, 'opencell.admin', NULL, 'AAK', 'Price conditions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (11, 0, now(), NULL, 'opencell.admin', NULL, 'AAL', 'Goods dimensions in characters');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (12, 0, now(), NULL, 'opencell.admin', NULL, 'AAM', 'Equipment re-usage restrictions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (13, 0, now(), NULL, 'opencell.admin', NULL, 'AAN', 'Handling restriction');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (14, 0, now(), NULL, 'opencell.admin', NULL, 'AAO', 'Error description (free text)');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (15, 0, now(), NULL, 'opencell.admin', NULL, 'AAP', 'Response (free text)');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (16, 0, now(), NULL, 'opencell.admin', NULL, 'AAQ', 'Package content''s description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (17, 0, now(), NULL, 'opencell.admin', NULL, 'AAR', 'Terms of delivery');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (18, 0, now(), NULL, 'opencell.admin', NULL, 'AAS', 'Bill of lading remarks');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (19, 0, now(), NULL, 'opencell.admin', NULL, 'AAT', 'Mode of settlement information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (20, 0, now(), NULL, 'opencell.admin', NULL, 'AAU', 'Consignment invoice information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (21, 0, now(), NULL, 'opencell.admin', NULL, 'AAV', 'Clearance invoice information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (22, 0, now(), NULL, 'opencell.admin', NULL, 'AAW', 'Letter of credit information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (23, 0, now(), NULL, 'opencell.admin', NULL, 'AAX', 'License information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (24, 0, now(), NULL, 'opencell.admin', NULL, 'AAY', 'Certification statements');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (25, 0, now(), NULL, 'opencell.admin', NULL, 'AAZ', 'Additional export information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (26, 0, now(), NULL, 'opencell.admin', NULL, 'ABA', 'Tariff statements');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (27, 0, now(), NULL, 'opencell.admin', NULL, 'ABB', 'Medical history');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (28, 0, now(), NULL, 'opencell.admin', NULL, 'ABC', 'Conditions of sale or purchase');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (29, 0, now(), NULL, 'opencell.admin', NULL, 'ABD', 'Contract document type');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (30, 0, now(), NULL, 'opencell.admin', NULL, 'ABE', 'Additional terms and/or conditions (documentary credit)');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (31, 0, now(), NULL, 'opencell.admin', NULL, 'ABF', 'Instructions or information about standby documentary');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (32, 0, now(), NULL, 'opencell.admin', NULL, 'ABG', 'Instructions or information about partial shipment(s)');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (33, 0, now(), NULL, 'opencell.admin', NULL, 'ABH', 'Instructions or information about transhipment(s)');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (34, 0, now(), NULL, 'opencell.admin', NULL, 'ABI', 'Additional handling instructions documentary credit');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (35, 0, now(), NULL, 'opencell.admin', NULL, 'ABJ', 'Domestic routing information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (36, 0, now(), NULL, 'opencell.admin', NULL, 'ABK', 'Chargeable category of equipment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (37, 0, now(), NULL, 'opencell.admin', NULL, 'ABL', 'Government information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (38, 0, now(), NULL, 'opencell.admin', NULL, 'ABM', 'Onward routing information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (39, 0, now(), NULL, 'opencell.admin', NULL, 'ABN', 'Accounting information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (40, 0, now(), NULL, 'opencell.admin', NULL, 'ABO', 'Discrepancy information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (41, 0, now(), NULL, 'opencell.admin', NULL, 'ABP', 'Confirmation instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (42, 0, now(), NULL, 'opencell.admin', NULL, 'ABQ', 'Method of issuance');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (43, 0, now(), NULL, 'opencell.admin', NULL, 'ABR', 'Documents delivery instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (44, 0, now(), NULL, 'opencell.admin', NULL, 'ABS', 'Additional conditions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (45, 0, now(), NULL, 'opencell.admin', NULL, 'ABT', 'Information/instructions about additional amounts covered');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (46, 0, now(), NULL, 'opencell.admin', NULL, 'ABU', 'Deferred payment termed additional');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (47, 0, now(), NULL, 'opencell.admin', NULL, 'ABV', 'Acceptance terms additional');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (48, 0, now(), NULL, 'opencell.admin', NULL, 'ABW', 'Negotiation terms additional');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (49, 0, now(), NULL, 'opencell.admin', NULL, 'ABX', 'Document name and documentary requirements');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (50, 0, now(), NULL, 'opencell.admin', NULL, 'ABZ', 'Instructions/information about revolving documentary credit');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (51, 0, now(), NULL, 'opencell.admin', NULL, 'ACA', 'Documentary requirements');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (52, 0, now(), NULL, 'opencell.admin', NULL, 'ACB', 'Additional information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (53, 0, now(), NULL, 'opencell.admin', NULL, 'ACC', 'Factor assignment clause');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (54, 0, now(), NULL, 'opencell.admin', NULL, 'ACD', 'Reason');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (55, 0, now(), NULL, 'opencell.admin', NULL, 'ACE', 'Dispute');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (56, 0, now(), NULL, 'opencell.admin', NULL, 'ACF', 'Additional attribute information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (57, 0, now(), NULL, 'opencell.admin', NULL, 'ACG', 'Absence declaration');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (58, 0, now(), NULL, 'opencell.admin', NULL, 'ACH', 'Aggregation statement');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (59, 0, now(), NULL, 'opencell.admin', NULL, 'ACI', 'Compilation statement');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (60, 0, now(), NULL, 'opencell.admin', NULL, 'ACJ', 'Definitional exception');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (61, 0, now(), NULL, 'opencell.admin', NULL, 'ACK', 'Privacy statement');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (62, 0, now(), NULL, 'opencell.admin', NULL, 'ACL', 'Quality statement');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (63, 0, now(), NULL, 'opencell.admin', NULL, 'ACM', 'Statistical description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (64, 0, now(), NULL, 'opencell.admin', NULL, 'ACN', 'Statistical definition');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (65, 0, now(), NULL, 'opencell.admin', NULL, 'ACO', 'Statistical name');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (66, 0, now(), NULL, 'opencell.admin', NULL, 'ACP', 'Statistical title');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (67, 0, now(), NULL, 'opencell.admin', NULL, 'ACQ', 'Off-dimension information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (68, 0, now(), NULL, 'opencell.admin', NULL, 'ACR', 'Unexpected stops information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (69, 0, now(), NULL, 'opencell.admin', NULL, 'ACS', 'Principles');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (70, 0, now(), NULL, 'opencell.admin', NULL, 'ACT', 'Terms and definition');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (71, 0, now(), NULL, 'opencell.admin', NULL, 'ACU', 'Segment name');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (72, 0, now(), NULL, 'opencell.admin', NULL, 'ACV', 'Simple data element name');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (73, 0, now(), NULL, 'opencell.admin', NULL, 'ACW', 'Scope');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (74, 0, now(), NULL, 'opencell.admin', NULL, 'ACX', 'Message type name');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (75, 0, now(), NULL, 'opencell.admin', NULL, 'ACY', 'Introduction');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (76, 0, now(), NULL, 'opencell.admin', NULL, 'ACZ', 'Glossary');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (77, 0, now(), NULL, 'opencell.admin', NULL, 'ADA', 'Functional definition');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (78, 0, now(), NULL, 'opencell.admin', NULL, 'ADB', 'Examples');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (79, 0, now(), NULL, 'opencell.admin', NULL, 'ADC', 'Cover page');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (80, 0, now(), NULL, 'opencell.admin', NULL, 'ADD', 'Dependency (syntax) notes');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (81, 0, now(), NULL, 'opencell.admin', NULL, 'ADE', 'Code value name');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (82, 0, now(), NULL, 'opencell.admin', NULL, 'ADF', 'Code list name');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (83, 0, now(), NULL, 'opencell.admin', NULL, 'ADG', 'Clarification of usage');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (84, 0, now(), NULL, 'opencell.admin', NULL, 'ADH', 'Composite data element name');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (85, 0, now(), NULL, 'opencell.admin', NULL, 'ADI', 'Field of application');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (86, 0, now(), NULL, 'opencell.admin', NULL, 'ADJ', 'Type of assets and liabilities');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (87, 0, now(), NULL, 'opencell.admin', NULL, 'ADK', 'Promotion information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (88, 0, now(), NULL, 'opencell.admin', NULL, 'ADL', 'Meter condition');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (89, 0, now(), NULL, 'opencell.admin', NULL, 'ADM', 'Meter reading information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (90, 0, now(), NULL, 'opencell.admin', NULL, 'ADN', 'Type of transaction reason');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (91, 0, now(), NULL, 'opencell.admin', NULL, 'ADO', 'Type of survey question');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (92, 0, now(), NULL, 'opencell.admin', NULL, 'ADP', 'Carrier''s agent counter information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (93, 0, now(), NULL, 'opencell.admin', NULL, 'ADQ', 'Description of work item on equipment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (94, 0, now(), NULL, 'opencell.admin', NULL, 'ADR', 'Message definition');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (95, 0, now(), NULL, 'opencell.admin', NULL, 'ADS', 'Booked item information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (96, 0, now(), NULL, 'opencell.admin', NULL, 'ADT', 'Source of document');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (97, 0, now(), NULL, 'opencell.admin', NULL, 'ADU', 'Note');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (98, 0, now(), NULL, 'opencell.admin', NULL, 'ADV', 'Fixed part of segment clarification text');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (99, 0, now(), NULL, 'opencell.admin', NULL, 'ADW', 'Characteristics of goods');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (100, 0, now(), NULL, 'opencell.admin', NULL, 'ADX', 'Additional discharge instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (101, 0, now(), NULL, 'opencell.admin', NULL, 'ADY', 'Container stripping instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (102, 0, now(), NULL, 'opencell.admin', NULL, 'ADZ', 'CSC (Container Safety Convention) plate information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (103, 0, now(), NULL, 'opencell.admin', NULL, 'AEA', 'Cargo remarks');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (104, 0, now(), NULL, 'opencell.admin', NULL, 'AEB', 'Temperature control instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (105, 0, now(), NULL, 'opencell.admin', NULL, 'AEC', 'Text refers to expected data');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (106, 0, now(), NULL, 'opencell.admin', NULL, 'AED', 'Text refers to received data');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (107, 0, now(), NULL, 'opencell.admin', NULL, 'AEE', 'Section clarification text');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (108, 0, now(), NULL, 'opencell.admin', NULL, 'AEF', 'Information to the beneficiary');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (109, 0, now(), NULL, 'opencell.admin', NULL, 'AEG', 'Information to the applicant');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (110, 0, now(), NULL, 'opencell.admin', NULL, 'AEH', 'Instructions to the beneficiary');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (111, 0, now(), NULL, 'opencell.admin', NULL, 'AEI', 'Instructions to the applicant');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (112, 0, now(), NULL, 'opencell.admin', NULL, 'AEJ', 'Controlled atmosphere');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (113, 0, now(), NULL, 'opencell.admin', NULL, 'AEK', 'Take off annotation');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (114, 0, now(), NULL, 'opencell.admin', NULL, 'AEL', 'Price variation narrative');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (115, 0, now(), NULL, 'opencell.admin', NULL, 'AEM', 'Documentary credit amendment instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (116, 0, now(), NULL, 'opencell.admin', NULL, 'AEN', 'Standard method narrative');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (117, 0, now(), NULL, 'opencell.admin', NULL, 'AEO', 'Project narrative');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (118, 0, now(), NULL, 'opencell.admin', NULL, 'AEP', 'Radioactive goods, additional information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (119, 0, now(), NULL, 'opencell.admin', NULL, 'AEQ', 'Bank-to-bank information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (120, 0, now(), NULL, 'opencell.admin', NULL, 'AER', 'Reimbursement instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (121, 0, now(), NULL, 'opencell.admin', NULL, 'AES', 'Reason for amending a message');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (122, 0, now(), NULL, 'opencell.admin', NULL, 'AET', 'Instructions to the paying and/or accepting and/or');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (123, 0, now(), NULL, 'opencell.admin', NULL, 'AEU', 'Interest instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (124, 0, now(), NULL, 'opencell.admin', NULL, 'AEV', 'Agent commission');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (125, 0, now(), NULL, 'opencell.admin', NULL, 'AEW', 'Remitting bank instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (126, 0, now(), NULL, 'opencell.admin', NULL, 'AEX', 'Instructions to the collecting bank');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (127, 0, now(), NULL, 'opencell.admin', NULL, 'AEY', 'Collection amount instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (128, 0, now(), NULL, 'opencell.admin', NULL, 'AEZ', 'Internal auditing information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (129, 0, now(), NULL, 'opencell.admin', NULL, 'AFA', 'Constraint');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (130, 0, now(), NULL, 'opencell.admin', NULL, 'AFB', 'Comment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (131, 0, now(), NULL, 'opencell.admin', NULL, 'AFC', 'Semantic note');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (132, 0, now(), NULL, 'opencell.admin', NULL, 'AFD', 'Help text');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (133, 0, now(), NULL, 'opencell.admin', NULL, 'AFE', 'Legend');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (134, 0, now(), NULL, 'opencell.admin', NULL, 'AFF', 'Batch code structure');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (135, 0, now(), NULL, 'opencell.admin', NULL, 'AFG', 'Product application');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (136, 0, now(), NULL, 'opencell.admin', NULL, 'AFH', 'Customer complaint');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (137, 0, now(), NULL, 'opencell.admin', NULL, 'AFI', 'Probable cause of fault');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (138, 0, now(), NULL, 'opencell.admin', NULL, 'AFJ', 'Defect description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (139, 0, now(), NULL, 'opencell.admin', NULL, 'AFK', 'Repair description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (140, 0, now(), NULL, 'opencell.admin', NULL, 'AFL', 'Review comments');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (141, 0, now(), NULL, 'opencell.admin', NULL, 'AFM', 'Title');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (142, 0, now(), NULL, 'opencell.admin', NULL, 'AFN', 'Description of amount');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (143, 0, now(), NULL, 'opencell.admin', NULL, 'AFO', 'Responsibilities');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (144, 0, now(), NULL, 'opencell.admin', NULL, 'AFP', 'Supplier');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (145, 0, now(), NULL, 'opencell.admin', NULL, 'AFQ', 'Purchase region');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (146, 0, now(), NULL, 'opencell.admin', NULL, 'AFR', 'Affiliation');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (147, 0, now(), NULL, 'opencell.admin', NULL, 'AFS', 'Borrower');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (148, 0, now(), NULL, 'opencell.admin', NULL, 'AFT', 'Line of business');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (149, 0, now(), NULL, 'opencell.admin', NULL, 'AFU', 'Financial institution');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (150, 0, now(), NULL, 'opencell.admin', NULL, 'AFV', 'Business founder');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (151, 0, now(), NULL, 'opencell.admin', NULL, 'AFW', 'Business history');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (152, 0, now(), NULL, 'opencell.admin', NULL, 'AFX', 'Banking arrangements');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (153, 0, now(), NULL, 'opencell.admin', NULL, 'AFY', 'Business origin');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (154, 0, now(), NULL, 'opencell.admin', NULL, 'AFZ', 'Brand names'' description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (155, 0, now(), NULL, 'opencell.admin', NULL, 'AGA', 'Business financing details');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (156, 0, now(), NULL, 'opencell.admin', NULL, 'AGB', 'Competition');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (157, 0, now(), NULL, 'opencell.admin', NULL, 'AGC', 'Construction process details');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (158, 0, now(), NULL, 'opencell.admin', NULL, 'AGD', 'Construction specialty');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (159, 0, now(), NULL, 'opencell.admin', NULL, 'AGE', 'Contract information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (160, 0, now(), NULL, 'opencell.admin', NULL, 'AGF', 'Corporate filing');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (161, 0, now(), NULL, 'opencell.admin', NULL, 'AGG', 'Customer information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (162, 0, now(), NULL, 'opencell.admin', NULL, 'AGH', 'Copyright notice');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (163, 0, now(), NULL, 'opencell.admin', NULL, 'AGI', 'Contingent debt');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (164, 0, now(), NULL, 'opencell.admin', NULL, 'AGJ', 'Conviction details');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (165, 0, now(), NULL, 'opencell.admin', NULL, 'AGK', 'Equipment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (166, 0, now(), NULL, 'opencell.admin', NULL, 'AGL', 'Workforce description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (167, 0, now(), NULL, 'opencell.admin', NULL, 'AGM', 'Exemption');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (168, 0, now(), NULL, 'opencell.admin', NULL, 'AGN', 'Future plans');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (169, 0, now(), NULL, 'opencell.admin', NULL, 'AGO', 'Interviewee conversation information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (170, 0, now(), NULL, 'opencell.admin', NULL, 'AGP', 'Intangible asset');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (171, 0, now(), NULL, 'opencell.admin', NULL, 'AGQ', 'Inventory');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (172, 0, now(), NULL, 'opencell.admin', NULL, 'AGR', 'Investment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (173, 0, now(), NULL, 'opencell.admin', NULL, 'AGS', 'Intercompany relations information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (174, 0, now(), NULL, 'opencell.admin', NULL, 'AGT', 'Joint venture');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (175, 0, now(), NULL, 'opencell.admin', NULL, 'AGU', 'Loan');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (176, 0, now(), NULL, 'opencell.admin', NULL, 'AGV', 'Long term debt');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (177, 0, now(), NULL, 'opencell.admin', NULL, 'AGW', 'Location');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (178, 0, now(), NULL, 'opencell.admin', NULL, 'AGX', 'Current legal structure');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (179, 0, now(), NULL, 'opencell.admin', NULL, 'AGY', 'Marital contract');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (180, 0, now(), NULL, 'opencell.admin', NULL, 'AGZ', 'Marketing activities');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (181, 0, now(), NULL, 'opencell.admin', NULL, 'AHA', 'Merger');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (182, 0, now(), NULL, 'opencell.admin', NULL, 'AHB', 'Marketable securities');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (183, 0, now(), NULL, 'opencell.admin', NULL, 'AHC', 'Business debt');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (184, 0, now(), NULL, 'opencell.admin', NULL, 'AHD', 'Original legal structure');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (185, 0, now(), NULL, 'opencell.admin', NULL, 'AHE', 'Employee sharing arrangements');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (186, 0, now(), NULL, 'opencell.admin', NULL, 'AHF', 'Organization details');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (187, 0, now(), NULL, 'opencell.admin', NULL, 'AHG', 'Public record details');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (188, 0, now(), NULL, 'opencell.admin', NULL, 'AHH', 'Price range');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (189, 0, now(), NULL, 'opencell.admin', NULL, 'AHI', 'Qualifications');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (190, 0, now(), NULL, 'opencell.admin', NULL, 'AHJ', 'Registered activity');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (191, 0, now(), NULL, 'opencell.admin', NULL, 'AHK', 'Criminal sentence');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (192, 0, now(), NULL, 'opencell.admin', NULL, 'AHL', 'Sales method');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (193, 0, now(), NULL, 'opencell.admin', NULL, 'AHM', 'Educational institution information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (194, 0, now(), NULL, 'opencell.admin', NULL, 'AHN', 'Status details');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (195, 0, now(), NULL, 'opencell.admin', NULL, 'AHO', 'Sales');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (196, 0, now(), NULL, 'opencell.admin', NULL, 'AHP', 'Spouse information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (197, 0, now(), NULL, 'opencell.admin', NULL, 'AHQ', 'Educational degree information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (198, 0, now(), NULL, 'opencell.admin', NULL, 'AHR', 'Shareholding information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (199, 0, now(), NULL, 'opencell.admin', NULL, 'AHS', 'Sales territory');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (200, 0, now(), NULL, 'opencell.admin', NULL, 'AHT', 'Accountant''s comments');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (201, 0, now(), NULL, 'opencell.admin', NULL, 'AHU', 'Exemption law location');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (202, 0, now(), NULL, 'opencell.admin', NULL, 'AHV', 'Share classifications');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (203, 0, now(), NULL, 'opencell.admin', NULL, 'AHW', 'Forecast');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (204, 0, now(), NULL, 'opencell.admin', NULL, 'AHX', 'Event location');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (205, 0, now(), NULL, 'opencell.admin', NULL, 'AHY', 'Facility occupancy');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (206, 0, now(), NULL, 'opencell.admin', NULL, 'AHZ', 'Import and export details');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (207, 0, now(), NULL, 'opencell.admin', NULL, 'AIA', 'Additional facility information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (208, 0, now(), NULL, 'opencell.admin', NULL, 'AIB', 'Inventory value');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (209, 0, now(), NULL, 'opencell.admin', NULL, 'AIC', 'Education');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (210, 0, now(), NULL, 'opencell.admin', NULL, 'AID', 'Event');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (211, 0, now(), NULL, 'opencell.admin', NULL, 'AIE', 'Agent');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (212, 0, now(), NULL, 'opencell.admin', NULL, 'AIF', 'Domestically agreed financial statement details');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (213, 0, now(), NULL, 'opencell.admin', NULL, 'AIG', 'Other current asset description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (214, 0, now(), NULL, 'opencell.admin', NULL, 'AIH', 'Other current liability description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (215, 0, now(), NULL, 'opencell.admin', NULL, 'AII', 'Former business activity');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (216, 0, now(), NULL, 'opencell.admin', NULL, 'AIJ', 'Trade name use');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (217, 0, now(), NULL, 'opencell.admin', NULL, 'AIK', 'Signing authority');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (218, 0, now(), NULL, 'opencell.admin', NULL, 'AIL', 'Guarantee');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (219, 0, now(), NULL, 'opencell.admin', NULL, 'AIM', 'Holding company operation');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (220, 0, now(), NULL, 'opencell.admin', NULL, 'AIN', 'Consignment routing');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (221, 0, now(), NULL, 'opencell.admin', NULL, 'AIO', 'Letter of protest');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (222, 0, now(), NULL, 'opencell.admin', NULL, 'AIP', 'Question');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (223, 0, now(), NULL, 'opencell.admin', NULL, 'AIQ', 'Party information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (224, 0, now(), NULL, 'opencell.admin', NULL, 'AIR', 'Area boundaries description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (225, 0, now(), NULL, 'opencell.admin', NULL, 'AIS', 'Advertisement information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (226, 0, now(), NULL, 'opencell.admin', NULL, 'AIT', 'Financial statement details');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (227, 0, now(), NULL, 'opencell.admin', NULL, 'AIU', 'Access instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (228, 0, now(), NULL, 'opencell.admin', NULL, 'AIV', 'Liquidity');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (229, 0, now(), NULL, 'opencell.admin', NULL, 'AIW', 'Credit line');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (230, 0, now(), NULL, 'opencell.admin', NULL, 'AIX', 'Warranty terms');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (231, 0, now(), NULL, 'opencell.admin', NULL, 'AIY', 'Division description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (232, 0, now(), NULL, 'opencell.admin', NULL, 'AIZ', 'Reporting instruction');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (233, 0, now(), NULL, 'opencell.admin', NULL, 'AJA', 'Examination result');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (234, 0, now(), NULL, 'opencell.admin', NULL, 'AJB', 'Laboratory result');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (235, 0, now(), NULL, 'opencell.admin', NULL, 'ALC', 'Allowance/charge information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (236, 0, now(), NULL, 'opencell.admin', NULL, 'ALD', 'X-ray result');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (237, 0, now(), NULL, 'opencell.admin', NULL, 'ALE', 'Pathology result');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (238, 0, now(), NULL, 'opencell.admin', NULL, 'ALF', 'Intervention description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (239, 0, now(), NULL, 'opencell.admin', NULL, 'ALG', 'Summary of admittance');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (240, 0, now(), NULL, 'opencell.admin', NULL, 'ALH', 'Medical treatment course detail');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (241, 0, now(), NULL, 'opencell.admin', NULL, 'ALI', 'Prognosis');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (242, 0, now(), NULL, 'opencell.admin', NULL, 'ALJ', 'Instruction to patient');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (243, 0, now(), NULL, 'opencell.admin', NULL, 'ALK', 'Instruction to physician');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (244, 0, now(), NULL, 'opencell.admin', NULL, 'ALL', 'All documents');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (245, 0, now(), NULL, 'opencell.admin', NULL, 'ALM', 'Medicine treatment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (246, 0, now(), NULL, 'opencell.admin', NULL, 'ALN', 'Medicine dosage and administration');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (247, 0, now(), NULL, 'opencell.admin', NULL, 'ALO', 'Availability of patient');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (248, 0, now(), NULL, 'opencell.admin', NULL, 'ALP', 'Reason for service request');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (249, 0, now(), NULL, 'opencell.admin', NULL, 'ALQ', 'Purpose of service');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (250, 0, now(), NULL, 'opencell.admin', NULL, 'ARR', 'Arrival conditions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (251, 0, now(), NULL, 'opencell.admin', NULL, 'ARS', 'Service requester''s comment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (252, 0, now(), NULL, 'opencell.admin', NULL, 'AUT', 'Authentication');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (253, 0, now(), NULL, 'opencell.admin', NULL, 'AUU', 'Requested location description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (254, 0, now(), NULL, 'opencell.admin', NULL, 'AUV', 'Medicine administration condition');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (255, 0, now(), NULL, 'opencell.admin', NULL, 'AUW', 'Patient information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (256, 0, now(), NULL, 'opencell.admin', NULL, 'AUX', 'Precautionary measure');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (257, 0, now(), NULL, 'opencell.admin', NULL, 'AUY', 'Service characteristic');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (258, 0, now(), NULL, 'opencell.admin', NULL, 'AUZ', 'Planned event comment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (259, 0, now(), NULL, 'opencell.admin', NULL, 'AVA', 'Expected delay comment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (260, 0, now(), NULL, 'opencell.admin', NULL, 'AVB', 'Transport requirements comment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (261, 0, now(), NULL, 'opencell.admin', NULL, 'AVC', 'Temporary approval condition');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (262, 0, now(), NULL, 'opencell.admin', NULL, 'AVD', 'Customs Valuation Information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (263, 0, now(), NULL, 'opencell.admin', NULL, 'AVE', 'Value Added Tax (VAT) margin scheme');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (264, 0, now(), NULL, 'opencell.admin', NULL, 'AVF', 'Maritime Declaration of Health');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (265, 0, now(), NULL, 'opencell.admin', NULL, 'BAG', 'Passenger baggage information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (266, 0, now(), NULL, 'opencell.admin', NULL, 'BAH', 'Maritime Declaration of Health');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (267, 0, now(), NULL, 'opencell.admin', NULL, 'BAI', 'Additional product information address');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (268, 0, now(), NULL, 'opencell.admin', NULL, 'BAJ', 'Information to be printed on despatch advice');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (269, 0, now(), NULL, 'opencell.admin', NULL, 'BAK', 'Missing goods remarks');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (270, 0, now(), NULL, 'opencell.admin', NULL, 'BAL', 'Non-acceptance information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (271, 0, now(), NULL, 'opencell.admin', NULL, 'BAM', 'Returns information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (272, 0, now(), NULL, 'opencell.admin', NULL, 'BAN', 'Sub-line item information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (273, 0, now(), NULL, 'opencell.admin', NULL, 'BAO', 'Test information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (274, 0, now(), NULL, 'opencell.admin', NULL, 'BAP', 'External link');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (275, 0, now(), NULL, 'opencell.admin', NULL, 'BAQ', 'VAT exemption reason');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (276, 0, now(), NULL, 'opencell.admin', NULL, 'BAR', 'Processing Instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (277, 0, now(), NULL, 'opencell.admin', NULL, 'BAS', 'Relay Instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (278, 0, now(), NULL, 'opencell.admin', NULL, 'BLC', 'Transport contract document clause');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (279, 0, now(), NULL, 'opencell.admin', NULL, 'BLD', 'Instruction to prepare the patient');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (280, 0, now(), NULL, 'opencell.admin', NULL, 'BLE', 'Medicine treatment comment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (281, 0, now(), NULL, 'opencell.admin', NULL, 'BLF', 'Examination result comment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (282, 0, now(), NULL, 'opencell.admin', NULL, 'BLG', 'Service request comment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (283, 0, now(), NULL, 'opencell.admin', NULL, 'BLH', 'Prescription reason');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (284, 0, now(), NULL, 'opencell.admin', NULL, 'BLI', 'Prescription comment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (285, 0, now(), NULL, 'opencell.admin', NULL, 'BLJ', 'Clinical investigation comment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (286, 0, now(), NULL, 'opencell.admin', NULL, 'BLK', 'Medicinal specification comment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (287, 0, now(), NULL, 'opencell.admin', NULL, 'BLL', 'Economic contribution comment');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (288, 0, now(), NULL, 'opencell.admin', NULL, 'BLM', 'Status of a plan');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (289, 0, now(), NULL, 'opencell.admin', NULL, 'BLN', 'Random sample test information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (290, 0, now(), NULL, 'opencell.admin', NULL, 'BLO', 'Period of time');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (291, 0, now(), NULL, 'opencell.admin', NULL, 'BLP', 'Legislation');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (292, 0, now(), NULL, 'opencell.admin', NULL, 'BLQ', 'Security measures requested');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (293, 0, now(), NULL, 'opencell.admin', NULL, 'BLR', 'Transport contract document remark');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (294, 0, now(), NULL, 'opencell.admin', NULL, 'BLS', 'Previous port of call security information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (295, 0, now(), NULL, 'opencell.admin', NULL, 'BLT', 'Security information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (296, 0, now(), NULL, 'opencell.admin', NULL, 'BLU', 'Waste information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (297, 0, now(), NULL, 'opencell.admin', NULL, 'BLV', 'B2C marketing information, short description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (298, 0, now(), NULL, 'opencell.admin', NULL, 'BLW', 'B2B marketing information, long description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (299, 0, now(), NULL, 'opencell.admin', NULL, 'BLX', 'B2C marketing information, long description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (300, 0, now(), NULL, 'opencell.admin', NULL, 'BLY', 'Product ingredients');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (301, 0, now(), NULL, 'opencell.admin', NULL, 'BLZ', 'Location short name');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (302, 0, now(), NULL, 'opencell.admin', NULL, 'BMA', 'Packaging material information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (303, 0, now(), NULL, 'opencell.admin', NULL, 'BMB', 'Filler material information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (304, 0, now(), NULL, 'opencell.admin', NULL, 'BMC', 'Ship-to-ship activity information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (305, 0, now(), NULL, 'opencell.admin', NULL, 'BMD', 'Package material description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (306, 0, now(), NULL, 'opencell.admin', NULL, 'BME', 'Consumer level package marking');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (307, 0, now(), NULL, 'opencell.admin', NULL, 'CCI', 'Customs clearance instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (308, 0, now(), NULL, 'opencell.admin', NULL, 'CEX', 'Customs clearance instructions export');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (309, 0, now(), NULL, 'opencell.admin', NULL, 'CHG', 'Change information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (310, 0, now(), NULL, 'opencell.admin', NULL, 'CIP', 'Customs clearance instruction import');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (311, 0, now(), NULL, 'opencell.admin', NULL, 'CLP', 'Clearance place requested');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (312, 0, now(), NULL, 'opencell.admin', NULL, 'CLR', 'Loading remarks');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (313, 0, now(), NULL, 'opencell.admin', NULL, 'COI', 'Order information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (314, 0, now(), NULL, 'opencell.admin', NULL, 'CUR', 'Customer remarks');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (315, 0, now(), NULL, 'opencell.admin', NULL, 'CUS', 'Customs declaration information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (316, 0, now(), NULL, 'opencell.admin', NULL, 'DAR', 'Damage remarks');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (317, 0, now(), NULL, 'opencell.admin', NULL, 'DCL', 'Document issuer declaration');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (318, 0, now(), NULL, 'opencell.admin', NULL, 'DEL', 'Delivery information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (319, 0, now(), NULL, 'opencell.admin', NULL, 'DIN', 'Delivery instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (320, 0, now(), NULL, 'opencell.admin', NULL, 'DOC', 'Documentation instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (321, 0, now(), NULL, 'opencell.admin', NULL, 'DUT', 'Duty declaration');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (322, 0, now(), NULL, 'opencell.admin', NULL, 'EUR', 'Effective used routing');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (323, 0, now(), NULL, 'opencell.admin', NULL, 'FBC', 'First block to be printed on the transport contract');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (324, 0, now(), NULL, 'opencell.admin', NULL, 'GBL', 'Government bill of lading information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (325, 0, now(), NULL, 'opencell.admin', NULL, 'GEN', 'Entire transaction set');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (326, 0, now(), NULL, 'opencell.admin', NULL, 'GS7', 'Further information concerning GGVS par. 7');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (327, 0, now(), NULL, 'opencell.admin', NULL, 'HAN', 'Consignment handling instruction');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (328, 0, now(), NULL, 'opencell.admin', NULL, 'HAZ', 'Hazard information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (329, 0, now(), NULL, 'opencell.admin', NULL, 'ICN', 'Consignment information for consignee');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (330, 0, now(), NULL, 'opencell.admin', NULL, 'IIN', 'Insurance instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (331, 0, now(), NULL, 'opencell.admin', NULL, 'IMI', 'Invoice mailing instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (332, 0, now(), NULL, 'opencell.admin', NULL, 'IND', 'Commercial invoice item description');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (333, 0, now(), NULL, 'opencell.admin', NULL, 'INS', 'Insurance information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (334, 0, now(), NULL, 'opencell.admin', NULL, 'INV', 'Invoice instruction');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (335, 0, now(), NULL, 'opencell.admin', NULL, 'IRP', 'Information for railway purpose');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (336, 0, now(), NULL, 'opencell.admin', NULL, 'ITR', 'Inland transport details');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (337, 0, now(), NULL, 'opencell.admin', NULL, 'ITS', 'Testing instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (338, 0, now(), NULL, 'opencell.admin', NULL, 'LAN', 'Location Alias');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (339, 0, now(), NULL, 'opencell.admin', NULL, 'LIN', 'Line item');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (340, 0, now(), NULL, 'opencell.admin', NULL, 'LOI', 'Loading instruction');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (341, 0, now(), NULL, 'opencell.admin', NULL, 'MCO', 'Miscellaneous charge order');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (342, 0, now(), NULL, 'opencell.admin', NULL, 'MDH', 'Maritime Declaration of Health');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (343, 0, now(), NULL, 'opencell.admin', NULL, 'MKS', 'Additional marks/numbers information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (344, 0, now(), NULL, 'opencell.admin', NULL, 'ORI', 'Order instruction');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (345, 0, now(), NULL, 'opencell.admin', NULL, 'OSI', 'Other service information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (346, 0, now(), NULL, 'opencell.admin', NULL, 'PAC', 'Packing/marking information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (347, 0, now(), NULL, 'opencell.admin', NULL, 'PAI', 'Payment instructions information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (348, 0, now(), NULL, 'opencell.admin', NULL, 'PAY', 'Payables information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (349, 0, now(), NULL, 'opencell.admin', NULL, 'PKG', 'Packaging information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (350, 0, now(), NULL, 'opencell.admin', NULL, 'PKT', 'Packaging terms information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (351, 0, now(), NULL, 'opencell.admin', NULL, 'PMD', 'Payment detail/remittance information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (352, 0, now(), NULL, 'opencell.admin', NULL, 'PMT', 'Payment information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (353, 0, now(), NULL, 'opencell.admin', NULL, 'PRD', 'Product information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (354, 0, now(), NULL, 'opencell.admin', NULL, 'PRF', 'Price calculation formula');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (355, 0, now(), NULL, 'opencell.admin', NULL, 'PRI', 'Priority information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (356, 0, now(), NULL, 'opencell.admin', NULL, 'PUR', 'Purchasing information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (357, 0, now(), NULL, 'opencell.admin', NULL, 'QIN', 'Quarantine instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (358, 0, now(), NULL, 'opencell.admin', NULL, 'QQD', 'Quality demands/requirements');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (359, 0, now(), NULL, 'opencell.admin', NULL, 'QUT', 'Quotation instruction/information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (360, 0, now(), NULL, 'opencell.admin', NULL, 'RAH', 'Risk and handling information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (361, 0, now(), NULL, 'opencell.admin', NULL, 'REG', 'Regulatory information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (362, 0, now(), NULL, 'opencell.admin', NULL, 'RET', 'Return to origin information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (363, 0, now(), NULL, 'opencell.admin', NULL, 'REV', 'Receivables');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (364, 0, now(), NULL, 'opencell.admin', NULL, 'RQR', 'Consignment route');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (365, 0, now(), NULL, 'opencell.admin', NULL, 'SAF', 'Safety information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (366, 0, now(), NULL, 'opencell.admin', NULL, 'SIC', 'Consignment documentary instruction');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (367, 0, now(), NULL, 'opencell.admin', NULL, 'SIN', 'Special instructions');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (368, 0, now(), NULL, 'opencell.admin', NULL, 'SLR', 'Ship line requested');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (369, 0, now(), NULL, 'opencell.admin', NULL, 'SPA', 'Special permission for transport, generally');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (370, 0, now(), NULL, 'opencell.admin', NULL, 'SPG', 'Special permission concerning the goods to be transported');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (371, 0, now(), NULL, 'opencell.admin', NULL, 'SPH', 'Special handling');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (372, 0, now(), NULL, 'opencell.admin', NULL, 'SPP', 'Special permission concerning package');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (373, 0, now(), NULL, 'opencell.admin', NULL, 'SPT', 'Special permission concerning transport means');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (374, 0, now(), NULL, 'opencell.admin', NULL, 'SRN', 'Subsidiary risk number (IATA/DGR)');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (375, 0, now(), NULL, 'opencell.admin', NULL, 'SSR', 'Special service request');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (376, 0, now(), NULL, 'opencell.admin', NULL, 'SUR', 'Supplier remarks');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (377, 0, now(), NULL, 'opencell.admin', NULL, 'TCA', 'Consignment tariff');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (378, 0, now(), NULL, 'opencell.admin', NULL, 'TDT', 'Consignment transport');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (379, 0, now(), NULL, 'opencell.admin', NULL, 'TRA', 'Transportation information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (380, 0, now(), NULL, 'opencell.admin', NULL, 'TRR', 'Requested tariff');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (381, 0, now(), NULL, 'opencell.admin', NULL, 'TXD', 'Tax declaration');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (382, 0, now(), NULL, 'opencell.admin', NULL, 'WHI', 'Warehouse instruction/information');

INSERT INTO public.untdid_4451_invoice_subject_code(id,version,created,updated,creator,updater,code,code_name) VALUES (383, 0, now(), NULL, 'opencell.admin', NULL, 'ZZZ', 'Mutually defined');

INSERT INTO public.untdid_5305_taxation_category(id,version,created,updated,creator,updater,code,semantic_model,name) VALUES (1, 0, now(), NULL, 'opencell.admin', NULL, 'S', 'Standard rate', 'Standard rate');

INSERT INTO public.untdid_5305_taxation_category(id,version,created,updated,creator,updater,code,semantic_model,name) VALUES (2, 0, now(), NULL, 'opencell.admin', NULL, 'Z', 'Zero rated goods', 'Zero rated goods');

INSERT INTO public.untdid_5305_taxation_category(id,version,created,updated,creator,updater,code,semantic_model,name) VALUES (3, 0, now(), NULL, 'opencell.admin', NULL, 'E', 'Exempt from tax', 'Exempt from tax');

INSERT INTO public.untdid_5305_taxation_category(id,version,created,updated,creator,updater,code,semantic_model,name) VALUES (4, 0, now(), NULL, 'opencell.admin', NULL, 'AE', 'VAT reverse charge', 'VAT Reverse charge');

INSERT INTO public.untdid_5305_taxation_category(id,version,created,updated,creator,updater,code,semantic_model,name) VALUES (5, 0, now(), NULL, 'opencell.admin', NULL, 'K', 'VAT exempt for intra community supply of goods', 'VAT exempt for EEA intra-community supply of goods and services');

INSERT INTO public.untdid_5305_taxation_category(id,version,created,updated,creator,updater,code,semantic_model,name) VALUES (6, 0, now(), NULL, 'opencell.admin', NULL, 'G', 'Free export item, tax not charged', 'Free export item, tax not charged');

INSERT INTO public.untdid_5305_taxation_category(id,version,created,updated,creator,updater,code,semantic_model,name) VALUES (7, 0, now(), NULL, 'opencell.admin', NULL, 'O', 'Services outside scope of tax', 'Service outside scope of tax');

INSERT INTO public.untdid_5305_taxation_category(id,version,created,updated,creator,updater,code,semantic_model,name) VALUES (8, 0, now(), NULL, 'opencell.admin', NULL, 'L', 'Canary Islands General Indirect Tax', 'Canary Islands general indirect tax');

INSERT INTO public.untdid_5305_taxation_category(id,version,created,updated,creator,updater,code,semantic_model,name) VALUES (9, 0, now(), NULL, 'opencell.admin', NULL, 'M', 'Liable for IPSI', 'Tax for production, services and importation in Ceuta and Melilla');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (1, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-79-C', 'Repayment of expenditure is not an exemption in the sense of the VAT Directive but may be handled as such in the context of the EN16931.', 'Exempt based on article 79, point c of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (2, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132', NULL, 'Exempt based on article 132 of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (3, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1A', NULL, 'Exempt based on article 132, section 1 (a) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (4, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1B', NULL, 'Exempt based on article 132, section 1 (b) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (5, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1C', NULL, 'Exempt based on article 132, section 1 (c) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (6, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1D', NULL, 'Exempt based on article 132, section 1 (d) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (7, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1E', NULL, 'Exempt based on article 132, section 1 (e) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (8, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1F', NULL, 'Exempt based on article 132, section 1 (f) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (9, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1G', NULL, 'Exempt based on article 132, section 1 (g) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (10, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1H', NULL, 'Exempt based on article 132, section 1 (h) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (11, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1I', NULL, 'Exempt based on article 132, section 1 (i) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (12, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1J', NULL, 'Exempt based on article 132, section 1 (j) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (13, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1K', NULL, 'Exempt based on article 132, section 1 (k) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (14, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1L', NULL, 'Exempt based on article 132, section 1 (l) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (15, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1M', NULL, 'Exempt based on article 132, section 1 (m) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (16, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1N', NULL, 'Exempt based on article 132, section 1 (n) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (17, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1O', NULL, 'Exempt based on article 132, section 1 (o) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (18, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1P', NULL, 'Exempt based on article 132, section 1 (p) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (19, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-132-1Q', NULL, 'Exempt based on article 132, section 1 (q) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (20, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-143', NULL, 'Exempt based on article 143 of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (21, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-143-1A', NULL, 'Exempt based on article 143, section 1 (a) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (22, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-143-1B', NULL, 'Exempt based on article 143, section 1 (b) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (23, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-143-1C', NULL, 'Exempt based on article 143, section 1 (c) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (24, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-143-1D', NULL, 'Exempt based on article 143, section 1 (d) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (25, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-143-1E', NULL, 'Exempt based on article 143, section 1 (e) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (26, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-143-1F', NULL, 'Exempt based on article 143, section 1 (f) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (27, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-143-1FA', NULL, 'Exempt based on article 143, section 1 (fa) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (28, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-143-1G', NULL, 'Exempt based on article 143, section 1 (g) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (29, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-143-1H', NULL, 'Exempt based on article 143, section 1 (h) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (30, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-143-1I', NULL, 'Exempt based on article 143, section 1 (i) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (31, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-143-1J', NULL, 'Exempt based on article 143, section 1 (j) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (32, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-143-1K', NULL, 'Exempt based on article 143, section 1 (k) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (33, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-143-1L', NULL, 'Exempt based on article 143, section 1 (l) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (34, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-148', NULL, 'Exempt based on article 148 of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (35, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-148-A', NULL, 'Exempt based on article 148, section (a) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (36, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-148-B', NULL, 'Exempt based on article 148, section (b) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (37, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-148-C', NULL, 'Exempt based on article 148, section (c) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (38, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-148-D', NULL, 'Exempt based on article 148, section (d) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (39, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-148-E', NULL, 'Exempt based on article 148, section (e) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (40, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-148-F', NULL, 'Exempt based on article 148, section (f) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (41, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-148-G', NULL, 'Exempt based on article 148, section (g) of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (42, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-151', NULL, 'Exempt based on article 151 of Council Directive 2006/112/EC');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (43, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-151-1A', NULL, 'Exempt based on article 151, section 1 (a) of Council Directive 2006/112/EC ');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (44, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-151-1AA', NULL, 'Exempt based on article 151, section 1 (aa) of Council Directive 2006/112/EC ');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (45, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-151-1B', NULL, 'Exempt based on article 151, section 1 (b) of Council Directive 2006/112/EC ');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (46, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-151-1C', NULL, 'Exempt based on article 151, section 1 (c) of Council Directive 2006/112/EC ');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (47, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-151-1D', NULL, 'Exempt based on article 151, section 1 (d) of Council Directive 2006/112/EC ');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (48, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-151-1E', NULL, 'Exempt based on article 151, section 1 (e) of Council Directive 2006/112/EC ');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (49, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-309', NULL, 'Exempt based on article 309 of Council Directive 2006/112/EC ');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (50, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-AE', 'Only use with VAT category code AE', 'Reverse charge');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (51, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-D', 'Only use with VAT category code E', 'Travel agents VAT scheme.');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (52, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-F', 'Only use with VAT category code E', 'Second hand goods VAT scheme.');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (53, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-G', 'Only use with VAT category code G', 'Export outside the EU');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (54, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-I', 'Only use with VAT category code E', 'Works of art VAT scheme.');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (55, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-IC', 'Only use with VAT category code K', 'Intra-community supply');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (56, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-J', 'Only use with VAT category code E', 'Collectors items and antiques VAT scheme.');

INSERT INTO public.untdid_vatex(id,version,created,updated,creator,updater,code,remark,code_name) VALUES (57, 0, now(), NULL, 'opencell.admin', NULL, 'VATEX-EU-O', 'Only use with VAT category code O', 'Not subject to VAT');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (1, 0, now(), NULL, 'opencell.admin', NULL, '1', NULL, 'Instrument not defined');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (2, 0, now(), NULL, 'opencell.admin', NULL, '2', NULL, 'Automated clearing house credit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (3, 0, now(), NULL, 'opencell.admin', NULL, '3', NULL, 'Automated clearing house debit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (4, 0, now(), NULL, 'opencell.admin', NULL, '4', NULL, 'ACH demand debit reversal');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (5, 0, now(), NULL, 'opencell.admin', NULL, '5', NULL, 'ACH demand credit reversal');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (6, 0, now(), NULL, 'opencell.admin', NULL, '6', NULL, 'ACH demand credit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (7, 0, now(), NULL, 'opencell.admin', NULL, '7', NULL, 'ACH demand debit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (8, 0, now(), NULL, 'opencell.admin', NULL, '8', NULL, 'Hold');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (9, 0, now(), NULL, 'opencell.admin', NULL, '9', NULL, 'National or regional clearing');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (10, 0, now(), NULL, 'opencell.admin', NULL, '10', NULL, 'In cash');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (11, 0, now(), NULL, 'opencell.admin', NULL, '11', NULL, 'ACH savings credit reversal');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (12, 0, now(), NULL, 'opencell.admin', NULL, '12', NULL, 'ACH savings debit reversal');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (13, 0, now(), NULL, 'opencell.admin', NULL, '13', NULL, 'ACH savings credit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (14, 0, now(), NULL, 'opencell.admin', NULL, '14', NULL, 'ACH savings debit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (15, 0, now(), NULL, 'opencell.admin', NULL, '15', NULL, 'Bookentry credit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (16, 0, now(), NULL, 'opencell.admin', NULL, '16', NULL, 'Bookentry debit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (17, 0, now(), NULL, 'opencell.admin', NULL, '17', NULL, 'ACH demand cash concentration/disbursement (CCD) credit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (18, 0, now(), NULL, 'opencell.admin', NULL, '18', NULL, 'ACH demand cash concentration/disbursement (CCD) debit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (19, 0, now(), NULL, 'opencell.admin', NULL, '19', NULL, 'ACH demand corporate trade payment (CTP) credit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (20, 0, now(), NULL, 'opencell.admin', NULL, '20', NULL, 'Cheque');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (21, 0, now(), NULL, 'opencell.admin', NULL, '21', NULL, 'Banker''s draft');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (22, 0, now(), NULL, 'opencell.admin', NULL, '22', NULL, 'Certified banker''s draft');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (23, 0, now(), NULL, 'opencell.admin', NULL, '23', NULL, 'Bank cheque (issued by a banking or similar establishment)');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (24, 0, now(), NULL, 'opencell.admin', NULL, '24', NULL, 'Bill of exchange awaiting acceptance');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (25, 0, now(), NULL, 'opencell.admin', NULL, '25', NULL, 'Certified cheque');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (26, 0, now(), NULL, 'opencell.admin', NULL, '26', NULL, 'Local cheque');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (27, 0, now(), NULL, 'opencell.admin', NULL, '27', NULL, 'ACH demand corporate trade payment (CTP) debit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (28, 0, now(), NULL, 'opencell.admin', NULL, '28', NULL, 'ACH demand corporate trade exchange (CTX) credit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (29, 0, now(), NULL, 'opencell.admin', NULL, '29', NULL, 'ACH demand corporate trade exchange (CTX) debit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (30, 0, now(), NULL, 'opencell.admin', NULL, '30', 'non-SEPA', 'Credit transfer');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (31, 0, now(), NULL, 'opencell.admin', NULL, '31', 'non-SEPA', 'Debit transfer');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (32, 0, now(), NULL, 'opencell.admin', NULL, '32', NULL, 'ACH demand cash concentration/disbursement plus (CCD+)');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (33, 0, now(), NULL, 'opencell.admin', NULL, '33', NULL, 'ACH demand cash concentration/disbursement plus (CCD+)');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (34, 0, now(), NULL, 'opencell.admin', NULL, '34', NULL, 'ACH prearranged payment and deposit (PPD)');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (35, 0, now(), NULL, 'opencell.admin', NULL, '35', NULL, 'ACH savings cash concentration/disbursement (CCD) credit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (36, 0, now(), NULL, 'opencell.admin', NULL, '36', NULL, 'ACH savings cash concentration/disbursement (CCD) debit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (37, 0, now(), NULL, 'opencell.admin', NULL, '37', NULL, 'ACH savings corporate trade payment (CTP) credit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (38, 0, now(), NULL, 'opencell.admin', NULL, '38', NULL, 'ACH savings corporate trade payment (CTP) debit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (39, 0, now(), NULL, 'opencell.admin', NULL, '39', NULL, 'ACH savings corporate trade exchange (CTX) credit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (40, 0, now(), NULL, 'opencell.admin', NULL, '40', NULL, 'ACH savings corporate trade exchange (CTX) debit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (41, 0, now(), NULL, 'opencell.admin', NULL, '41', NULL, 'ACH savings cash concentration/disbursement plus (CCD+)');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (42, 0, now(), NULL, 'opencell.admin', NULL, '42', NULL, 'Payment to bank account');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (43, 0, now(), NULL, 'opencell.admin', NULL, '43', NULL, 'ACH savings cash concentration/disbursement plus (CCD+)');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (44, 0, now(), NULL, 'opencell.admin', NULL, '44', NULL, 'Accepted bill of exchange');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (45, 0, now(), NULL, 'opencell.admin', NULL, '45', NULL, 'Referenced home-banking credit transfer');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (46, 0, now(), NULL, 'opencell.admin', NULL, '46', NULL, 'Interbank debit transfer');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (47, 0, now(), NULL, 'opencell.admin', NULL, '47', NULL, 'Home-banking debit transfer');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (48, 0, now(), NULL, 'opencell.admin', NULL, '48', 'Use for all payment cards', 'Bank card');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (49, 0, now(), NULL, 'opencell.admin', NULL, '49', NULL, 'Direct debit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (50, 0, now(), NULL, 'opencell.admin', NULL, '50', NULL, 'Payment by postgiro');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (51, 0, now(), NULL, 'opencell.admin', NULL, '51', NULL, 'FR, norme 6 97-Telereglement CFONB (French Organisation for');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (52, 0, now(), NULL, 'opencell.admin', NULL, '52', NULL, 'Urgent commercial payment');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (53, 0, now(), NULL, 'opencell.admin', NULL, '53', NULL, 'Urgent Treasury Payment');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (54, 0, now(), NULL, 'opencell.admin', NULL, '54', NULL, 'Credit card');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (55, 0, now(), NULL, 'opencell.admin', NULL, '55', NULL, 'Debit card');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (56, 0, now(), NULL, 'opencell.admin', NULL, '56', NULL, 'Bankgiro');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (57, 0, now(), NULL, 'opencell.admin', NULL, '57', 'Contractual payment means', 'Standing agreement');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (58, 0, now(), NULL, 'opencell.admin', NULL, '58', 'SEPA', 'SEPA credit transfer');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (59, 0, now(), NULL, 'opencell.admin', NULL, '59', 'SEPA', 'SEPA direct debit');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (60, 0, now(), NULL, 'opencell.admin', NULL, '60', NULL, 'Promissory note');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (61, 0, now(), NULL, 'opencell.admin', NULL, '61', NULL, 'Promissory note signed by the debtor');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (62, 0, now(), NULL, 'opencell.admin', NULL, '62', NULL, 'Promissory note signed by the debtor and endorsed by a bank');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (63, 0, now(), NULL, 'opencell.admin', NULL, '63', NULL, 'Promissory note signed by the debtor and endorsed by a');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (64, 0, now(), NULL, 'opencell.admin', NULL, '64', NULL, 'Promissory note signed by a bank');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (65, 0, now(), NULL, 'opencell.admin', NULL, '65', NULL, 'Promissory note signed by a bank and endorsed by another');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (66, 0, now(), NULL, 'opencell.admin', NULL, '66', NULL, 'Promissory note signed by a third party');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (67, 0, now(), NULL, 'opencell.admin', NULL, '67', NULL, 'Promissory note signed by a third party and endorsed by a');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (68, 0, now(), NULL, 'opencell.admin', NULL, '68', NULL, 'Online payment service');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (69, 0, now(), NULL, 'opencell.admin', NULL, '69', NULL, 'Transfer Advice');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (70, 0, now(), NULL, 'opencell.admin', NULL, '70', NULL, 'Bill drawn by the creditor on the debtor');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (71, 0, now(), NULL, 'opencell.admin', NULL, '74', NULL, 'Bill drawn by the creditor on a bank');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (72, 0, now(), NULL, 'opencell.admin', NULL, '75', NULL, 'Bill drawn by the creditor, endorsed by another bank');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (73, 0, now(), NULL, 'opencell.admin', NULL, '76', NULL, 'Bill drawn by the creditor on a bank and endorsed by a');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (74, 0, now(), NULL, 'opencell.admin', NULL, '77', NULL, 'Bill drawn by the creditor on a third party');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (75, 0, now(), NULL, 'opencell.admin', NULL, '78', NULL, 'Bill drawn by creditor on third party, accepted and');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (76, 0, now(), NULL, 'opencell.admin', NULL, '91', NULL, 'Not transferable banker''s draft');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (77, 0, now(), NULL, 'opencell.admin', NULL, '92', NULL, 'Not transferable local cheque');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (78, 0, now(), NULL, 'opencell.admin', NULL, '93', NULL, 'Reference giro');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (79, 0, now(), NULL, 'opencell.admin', NULL, '94', NULL, 'Urgent giro');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (80, 0, now(), NULL, 'opencell.admin', NULL, '95', NULL, 'Free format giro');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (81, 0, now(), NULL, 'opencell.admin', NULL, '96', NULL, 'Requested method for payment was not used');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (82, 0, now(), NULL, 'opencell.admin', NULL, '97', NULL, 'Clearing between partners');

INSERT INTO public.untdid_4461_payment_means(id,version,created,updated,creator,updater,code,usage_in_en16931,code_name) VALUES (83, 0, now(), NULL, 'opencell.admin', NULL, 'ZZZ', NULL, 'Mutually defined');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (1, 0, now(), NULL, 'opencell.admin', NULL, '41', 'Bonus for works ahead of schedule');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (2, 0, now(), NULL, 'opencell.admin', NULL, '42', 'Other bonus');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (3, 0, now(), NULL, 'opencell.admin', NULL, '60', 'Manufacturer’s consumer discount');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (4, 0, now(), NULL, 'opencell.admin', NULL, '62', 'Due to military status');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (5, 0, now(), NULL, 'opencell.admin', NULL, '63', 'Due to work accident');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (6, 0, now(), NULL, 'opencell.admin', NULL, '64', 'Special agreement');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (7, 0, now(), NULL, 'opencell.admin', NULL, '65', 'Production error discount');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (8, 0, now(), NULL, 'opencell.admin', NULL, '66', 'New outlet discount');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (9, 0, now(), NULL, 'opencell.admin', NULL, '67', 'Sample discount');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (10, 0, now(), NULL, 'opencell.admin', NULL, '68', 'End-of-range discount');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (11, 0, now(), NULL, 'opencell.admin', NULL, '70', 'Incoterm discount');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (12, 0, now(), NULL, 'opencell.admin', NULL, '71', 'Point of sales threshold allowance');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (13, 0, now(), NULL, 'opencell.admin', NULL, '88', 'Material surcharge/deduction');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (14, 0, now(), NULL, 'opencell.admin', NULL, '95', 'Discount');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (15, 0, now(), NULL, 'opencell.admin', NULL, '100', 'Special rebate');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (16, 0, now(), NULL, 'opencell.admin', NULL, '102', 'Fixed long term');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (17, 0, now(), NULL, 'opencell.admin', NULL, '103', 'Temporary');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (18, 0, now(), NULL, 'opencell.admin', NULL, '104', 'Standard');

INSERT INTO public.untdid_5189_allowance_code(id,version,created,updated,creator,updater,code,description) VALUES (19, 0, now(), NULL, 'opencell.admin', NULL, '105', 'Yearly turnover');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#12132_20221219', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4361, '8:d1863ff7ea56250d28b932a948cb2472', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::rebuild-data-taxes::AndriusKarpavicius
INSERT INTO billing_tax (id, version, created, code, description, description_i18n, tax_percentage, uuid, taxation_category_id, vatex_id) VALUES (-1, 0, '2015-03-19 00:04:19.611', 'TAX_00', '0 Percent Tax', '{"FRA":"TVA 0%","ENG":"VAT 0%"}', 0, 'tax-1', '1', '57');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-taxes', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4363, '8:4d078c87768b3401357a615788e4a1aa', 'insert tableName=billing_tax', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::rebuild-data-timer::AndriusKarpavicius
INSERT INTO meveo_timer (id, version, sc_d_o_month, sc_d_o_week, sc_hour, sc_min, sc_month, sc_sec, sc_year, code, created) VALUES (-1, 0, '*', '*', '*', '0', '*', '0', '*', 'Hourly', '2015-03-19 00:04:19.913');

INSERT INTO meveo_timer (id, version, sc_d_o_month, sc_d_o_week, sc_hour, sc_min, sc_month, sc_sec, sc_year, code, created) VALUES (-2, 0, 'Last', '*', '23', '59', '*', '59', '*', 'Monthly', '2015-03-19 00:04:19.913');

INSERT INTO meveo_timer (id, version, sc_d_o_month, sc_d_o_week, sc_hour, sc_min, sc_month, sc_sec, sc_year, code, created) VALUES (-3, 0, '*', '*', '23', '59', '*', '59', '*', 'Daily-midnight', '2017-06-29 00:04:19.913');

INSERT INTO meveo_timer (id, version, sc_d_o_month, sc_d_o_week, sc_hour, sc_min, sc_month, sc_sec, sc_year, code, created) VALUES (-4, 0, '*', '*', '0', '0', '*', '1', '*', 'Daily-midnight-start-of-day', '2017-06-29 00:04:19.913');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-timer', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4365, '8:c8f09d2cc76b060c6bc651e82a129c18', 'insert tableName=meveo_timer; insert tableName=meveo_timer; insert tableName=meveo_timer; insert tableName=meveo_timer', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::rebuild-data-jobs::AndriusKarpavicius
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (-1, 0, 1, '2015-03-19 00:04:19.913', 'RATING', 'ReRatingJob', 'Rerate_Job', 'OPENCELL.ADMIN', -1, 'Rerate_Job');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (-3, 0, 1, '2015-03-19 00:04:19.913', 'MEDIATION', 'MediationJob', 'M_Job', 'OPENCELL.ADMIN', -1, 'M_Job');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (-4, 0, 1, '2015-03-19 00:04:19.913', 'RATING', 'UsageRatingJob', 'U_Job', 'OPENCELL.ADMIN', -1, 'U_Job');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (-5, 0, 1, '2015-03-19 00:04:19.913', 'RATING', 'RecurringRatingJob', 'RR_Job', 'OPENCELL.ADMIN', -1, 'RR_Job');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (-6, 0, 1, '2015-03-19 00:04:19.913', 'INVOICING', 'RatedTransactionsJob', 'RT_Job', 'OPENCELL.ADMIN', -1, 'RT_Job');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid, following_job_id) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), 'INVOICING', 'XMLEInvoiceGenerationJob', 'EInvoice_job', 'OPENCELL.ADMIN', -1, 'XMLEInvoiceGeneration_Job', (SELECT id from meveo_job_instance where code = 'EInvoice_job'));

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid, following_job_id) VALUES (-7, 0, 1, '2015-03-19 00:04:19.913', 'INVOICING', 'XMLInvoiceGenerationJob', 'XML_Job', 'OPENCELL.ADMIN', -1, 'XML_Job', (SELECT id from meveo_job_instance where code = 'PDF_Job'));

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (-8, 0, 1, '2015-03-19 00:04:19.913', 'INVOICING', 'PDFInvoiceGenerationJob', 'PDF_Job', 'OPENCELL.ADMIN', -1, 'PDF_Job');

INSERT INTO meveo_job_instance (id, version, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (-14, 0, '2017-06-19 00:00:00', 'ACCOUNT_RECEIVABLES', 'AccountOperationsGenerationJob', 'AO_Job', 'OPENCELL.ADMIN', -1, 'ACC_REC_Job');

INSERT INTO meveo_job_instance (id, version, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (-15, 0, '2017-07-29 00:00:00', 'UTILS', 'SubscriptionStatusJob', 'Sub_Status_Job', 'OPENCELL.ADMIN', -3, 'Sub_Status_Job');

INSERT INTO meveo_job_instance (id, version, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (-18, 0, '2019-01-10 00:00:00', 'INVOICING', 'SendInvoiceJob', 'SendInvoice_Job', 'OPENCELL.ADMIN', -3, 'JOB_SendInvoiceJob');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, value_required, creator, versionable, entity_clazz, storage_type, gui_position, allow_edit, hide_on_new, inh_as_def_value, cf_protectable) VALUES (-2, 0, 0, NOW(), 'SendInvoiceJob_billingRun', 'JobInstance_SendInvoiceJob', 'Billing Runs', 'ENTITY', '0', 'applicationInitializer', '0', 'org.meveo.model.billing.BillingRun', 'LIST', '', '1', '0', '0', '0');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, description, field_type, value_required, creator, versionable, entity_clazz, storage_type, trigger_end_period_event, applies_to, allow_edit, max_value, hide_on_new, inh_as_def_value, cf_protectable) VALUES (-3, 0, 0, NOW(), 'invoiceDateRangeFrom', 'From invoice date EL', 'STRING', '0', 'applicationInitializer', '0', 'org.meveo.model.billing.BillingRun', 'SINGLE', '0', 'JobInstance_SendInvoiceJob', '1', '9223372036854775807', '0', '0', '0');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, description, field_type, value_required, creator, versionable, entity_clazz, storage_type, trigger_end_period_event, applies_to, allow_edit, max_value, hide_on_new, inh_as_def_value, cf_protectable) VALUES (-4, 0, 0, NOW(), 'invoiceDateRangeTo', 'To invoice date EL', 'STRING', '0', 'applicationInitializer', '0', 'org.meveo.model.billing.BillingRun', 'SINGLE', '0', 'JobInstance_SendInvoiceJob', '1', '9223372036854775807', '0', '0', '0');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (nextval('meveo_job_instance_seq'), 0, 1, '2015-03-19 00:04:19.913', 'INVOICING', 'InvoiceLinesJob', 'Invoice_Lines_Job_V2', 'OPENCELL.ADMIN', -1, 'Invoice_Lines_Job_V2');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, value_required, creator, versionable, entity_clazz, storage_type, allow_edit, hide_on_new, inh_as_def_value, cf_protectable) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'InvoiceLinesJob_billingRun', 'JobInstance_InvoiceLinesJob', 'Billing Runs', 'ENTITY', '0', 'applicationInitializer', '0', 'org.meveo.model.billing.BillingRun', 'LIST', '1', '0', '0', '0');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, creator) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'JobInstance_InvoiceLinesJob_AggregationPerUnitAmount', 'JobInstance_InvoiceLinesJob', 'aggregation per unit amount', 'BOOLEAN', 'SINGLE', '0', '0', 'applicationInitializer');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, description, field_type, value_required, creator, versionable, storage_type, trigger_end_period_event, applies_to, allow_edit, max_value, hide_on_new, inh_as_def_value, cf_protectable) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'JobInstance_InvoiceLinesJob_ILDateAggregationOptions', 'date aggregation options', 'LIST', '0', 'applicationInitializer', '0', 'SINGLE', '0', 'JobInstance_InvoiceLinesJob', '1', '9223372036854775807', '0', '0', '0');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, description, creator, timerentity_id, uuid) VALUES (nextval('meveo_job_instance_seq'), 0, 1, '2015-03-19 00:04:19.913', 'INVOICING', 'InvoicingJobV2', 'Invoicing_Job_V2', 'Invoicing Job V2', 'OPENCELL.ADMIN', -1, 'Invoicing_Job_V2');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, value_required, creator, versionable, entity_clazz, storage_type, allow_edit, hide_on_new, inh_as_def_value, cf_protectable) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'InvoicingJobV2_billingRun', 'JobInstance_InvoicingJobV2', 'Billing Run', 'ENTITY', '0', 'applicationInitializer', '0', 'org.meveo.model.billing.BillingRun', 'LIST', '1', '0', '0', '0');

INSERT INTO meveo_job_instance (id, version, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (-21, 0, '2019-02-25 00:00:00', 'INVOICING', 'BillingRunJob', 'BillingRunJob', 'OPENCELL.ADMIN', -2, 'JOB_BillingRunJob');

INSERT INTO meveo_job_instance (id, version, created, job_category, job_template, code, creator, description, timerentity_id, uuid) VALUES (-27, 0, '2019-07-01 00:00:00', 'INVOICING', 'UpdateUnpaidInvoiceStatusJob', 'UpdateUnpaidInvoiceStatusJob', 'opencell.admin', 'Update Status of Unpaid Invoices', -3, 'UpdateUnpaidInvoiceStatusJob');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid, cf_values) VALUES (-31, 0, 0, '2021-03-08 00:04:19.913', 'UTILS', 'DiscountPlanStatusJob', 'DiscountPlanStatusJob', 'OPENCELL.ADMIN', -3, 'Discount_Plan_Status_Job', '{"waitingMillis":[{"long":0}],"nbRuns":[{"long":-1}]}');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid, cf_values) VALUES (-32, 0, 0, '2021-03-08 00:04:19.913', 'UTILS', 'DiscountPlanInstanceStatusJob', 'DiscountPlanInstanceStatusJob', 'OPENCELL.ADMIN', -3, 'Discount_Plan_Instance_Status_Job', '{"waitingMillis":[{"long":0}],"nbRuns":[{"long":-1}]}');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-jobs', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4367, '8:ef9e9293cdce46c34f46fc27ec78571c', 'insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_jo...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::rebuild-data-occTemplates::AndriusKarpavicius
INSERT INTO ar_occ_template (id, version, created, code, description, occ_category, manual_creation_enabled, accounting_scheme_id) VALUES (-25, 0, '2015-03-19 00:04:20.599', 'INV_STD', 'Standard invoice sub-item', 'DEBIT', '0', (SELECT id FROM ar_accounting_scheme WHERE code = 'Invoice and Credit Note'));

INSERT INTO ar_occ_template (id, version, created, code, description, occ_category, manual_creation_enabled, accounting_scheme_id) VALUES (-40, 0, NOW(), 'INV_CRN', 'Invoice - credit note sub-item', 'CREDIT', '0', (SELECT id FROM ar_accounting_scheme WHERE code = 'Invoice and Credit Note'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-occTemplates', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4369, '8:508c7e4d4de1636a548571aee69262e9', 'insert tableName=ar_occ_template; insert tableName=ar_occ_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-14042_20230227::aeljaouhari
INSERT INTO meveo_script_instance (id, version, code, src_type, created, creator, description, description_i18n, script_instance_cat_id) VALUES (nextval('meveo_script_instance_seq'), 0, 'org.meveo.service.script.accountingscheme.NoAccountingEntryScript', 'JAVA_CLASS', NOW(), 'OPENCELL.ADMIN', 'This accounting scheme doesn’t produce any accounting entry. Use it on account operation type that should not be exported to accounting.', '{"ENG":"<p>This accounting scheme doesn’t produce any accounting entry.</p><p>Use it on account operation type that should not be exported to accounting.</p>","FRA":"<p>Ce schéma comptable ne produit aucune écriture comptable.</p><p>Utilisez le pour les types d’opérations de compte qui ne doivent pas être exportés vers la comptabilité.</p>"}', (SELECT id FROM meveo_script_instance_cat WHERE code='ACCOUNTING_SCHEMES'));

INSERT INTO ar_accounting_scheme (id, version, created, code, description, long_description_i18n, script_instance_id) VALUES (nextval('ar_accounting_scheme_seq'), 0, NOW(), 'No accounting entry', 'No accounting entry', '{"FRA":"Pas d''écriture comptable","ENG":"No accounting entry"}', (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.accountingscheme.NoAccountingEntryScript'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14042_20230227', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4371, '8:d8e8d799bf0dde4ca89d56811a85d8d0', 'insert tableName=meveo_script_instance; insert tableName=ar_accounting_scheme', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-11152_20221102_data::TarikFA.
INSERT INTO ar_occ_template (id, version, created, code, description, occ_category, accounting_scheme_id) VALUES (-65, 0, NOW(), 'INV_ADV', 'Call for advance payment', 'DEBIT', (SELECT id FROM ar_accounting_scheme WHERE code = 'No accounting entry'));

INSERT INTO billing_invoice_type (id, version, created, code, description, description_i18n, creator, invoice_sequence_id, occ_templ_negative_id, matching_auto, prefix_el, uuid, occ_template_id, vat_payment_option_id, invoice_code_type_id, invoice_subject_code) VALUES (-5, 0, '2021-02-03 00:00:00', 'ADV', 'Call for advance payment', '{"FRA":"Appel de paiement d''avance","ENG":"Call for advance payment"}', 'OPENCELL.ADMIN', (SELECT id from billing_seq_invoice where code = 'ADV'), '-40', 0, 'ADV', 'InvoiceType-ADV', (SELECT id FROM ar_occ_template WHERE code='INV_ADV'), '1', '23', (SELECT id FROM untdid_4451_invoice_subject_code where code = 'IND'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-11152_20221102_data', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4373, '8:5d31bd5f6985ea96bada60bc01cf7f78', 'insert tableName=ar_occ_template; insert tableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::rebuild-data-invoiceTypes::AndriusKarpavicius
INSERT INTO billing_seq_invoice (id, version, created, sequence_size, code, creator) VALUES (nextval('bill_seq_invoice_seq'), 0, '2016-09-14 00:00:00', 9, 'COM', 'OPENCELL.ADMIN');

INSERT INTO billing_seq_invoice (id, version, created, sequence_size, code, creator) VALUES (nextval('bill_seq_invoice_seq'), 0, '2016-09-14 00:00:00', 9, 'ADJ', 'OPENCELL.ADMIN');

INSERT INTO billing_seq_invoice (id, version, created, sequence_size, code, creator) VALUES (nextval('bill_seq_invoice_seq'), 0, '2016-09-14 00:00:00', 9, 'QUOTE', 'OPENCELL.ADMIN');

INSERT INTO billing_seq_invoice (id, version, code, description, sequence_size, created, creator) VALUES (nextval('bill_seq_invoice_seq'), 0, 'ADV', 'Advanced Payment Invoice sequence', 9, '2021-02-03 00:00:00', 'OPENCELL.ADMIN');

INSERT INTO billing_invoice_type (id, version, created, code, description, description_i18n, creator, invoice_sequence_id, occ_template_id, occ_templ_negative_id, matching_auto, uuid, vat_payment_option_id, invoice_code_type_id, invoice_subject_code) VALUES (-1, 0, '2016-09-14 00:00:00', 'COM', 'Invoice', '{"FRA":"Facture","ENG":"Invoice"}', 'OPENCELL.ADMIN', (SELECT id from billing_seq_invoice where code = 'COM'), -25, '-40', 0, 'InvoiceType-COM', '1', '18', (SELECT id FROM untdid_4451_invoice_subject_code where code = 'IND'));

INSERT INTO billing_invoice_type (id, version, created, code, description, description_i18n, creator, invoice_sequence_id, occ_template_id, matching_auto, uuid, vat_payment_option_id, invoice_code_type_id, invoice_subject_code) VALUES (-2, 0, '2016-09-14 00:00:00', 'ADJ', 'Credit note', '{"FRA":"Avoir","ENG":"Credit note"}', 'OPENCELL.ADMIN', (SELECT id from billing_seq_invoice where code = 'ADJ'), '-40', 0, 'InvoiceType-ADJ', '1', '19', (SELECT id FROM untdid_4451_invoice_subject_code where code = 'IND'));

INSERT INTO billing_invoice_type (id, version, created, code, description, description_i18n, creator, invoice_sequence_id, matching_auto, uuid, vat_payment_option_id) VALUES (-3, 0, '2016-09-14 00:00:00', 'QUOTE', 'Quote', '{"FRA":"Devis","ENG":"Quote"}', 'OPENCELL.ADMIN', (SELECT id from billing_seq_invoice where code = 'QUOTE'), 0, 'InvoiceType-QUOTE', '1');

INSERT INTO billing_invoice_type_applies_to (invoice_type_id, applies_to_id) VALUES ('-1', '-2');

INSERT INTO billing_invoice_type_applies_to (invoice_type_id, applies_to_id) VALUES ('-2', '-1');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-invoiceTypes', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4375, '8:e5119e9c463f830de9988d4bac347eef', 'insert tableName=billing_seq_invoice; insert tableName=billing_seq_invoice; insert tableName=billing_seq_invoice; insert tableName=billing_seq_invoice; insert tableName=billing_invoice_type; insert tableName=billing_invoice_type; insert tableName=...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-292_20210816::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-292_20210816', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4377, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#540_563_20210607::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#540_563_20210607', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4379, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#5890-2021-02-02_42::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5890-2021-02-02_42', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4381, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#5921-2021-02-02_43::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5921-2021-02-02_43', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4383, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::3139_20190225::horriKhalid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('3139_20190225', 'horriKhalid', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4385, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::4403_20190701_export_job::horriKhalid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('4403_20190701_export_job', 'horriKhalid', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4387, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::4403_20190701_purge_job::horriKhalid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('4403_20190701_purge_job', 'horriKhalid', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4389, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::4403_20190701_import_job::horriKhalid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('4403_20190701_import_job', 'horriKhalid', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4391, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#4449_20190724::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4449_20190724', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4393, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#4064_11092019::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4064_11092019', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4395, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::rebuild-data-cat_unit_of_measure::Mohammed_ELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-cat_unit_of_measure', 'Mohammed_ELAZZOUZI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4397, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::500X_20200218_purge_job::mohamed.el.youssoufi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('500X_20200218_purge_job', 'mohamed.el.youssoufi', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4399, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::5657_20201201::NabilOuachi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('5657_20201201', 'NabilOuachi', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4401, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#5592-2021-02-02_41::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5592-2021-02-02_41', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4403, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#5916_20210128::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5916_20210128', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4405, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#5951_20210209_data::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5951_20210209_data', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4407, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#5946_08032021::KhalidHORRI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5946_08032021', 'KhalidHORRI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4409, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#4924_20200219::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4924_20200219', 'anasseh', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4411, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#4924_20200219_2::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4924_20200219_2', 'anasseh', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4413, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-265_20210705::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-265_20210705', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4415, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#5303_20200707 - CDR and Mediation::AmineTazi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5303_20200707 - CDR and Mediation', 'AmineTazi', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4417, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#5418_20201030::Mohammed_ELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5418_20201030', 'Mohammed_ELAZZOUZI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4419, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#5303_20200814 - CDR and Mediation::AmineTazi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5303_20200814 - CDR and Mediation', 'AmineTazi', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4421, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-1090_20210729::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1090_20210729', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4423, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-1589_2021_14_09::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1589_2021_14_09', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4425, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::1589_20210930::YoussefIZEM
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('1589_20210930', 'YoussefIZEM', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4427, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-2143_20211006::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2143_20211006', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4429, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#4044_30122021_counter_period_job::Mbarek-Ay
INSERT INTO meveo_job_instance (id, version, created, job_category, job_template, code, creator, description, uuid) VALUES (-49, 0, '2021-12-30 00:00:00', 'UTILS', 'CounterPeriodJob', 'CounterPeriodJob', 'opencell.admin', 'Counter period job', 'CounterPeriodJob');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4044_30122021_counter_period_job', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4431, '8:449affb097534c141dba2e4a3a073da7', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD_1985_20210923_data::TarikFA.
INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'OPENCELL.ADMIN', 1, 'quote_offer_sequence', 'Quote Offer sequence', 'SEQUENCE', 9, 0);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, code_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.cpq.offer.QuoteOffer', '#{entity.quoteVersion.id}_#{entity.offerTemplate.code}_#{sequenceNextValue}', NOW(), 'OPENCELL.ADMIN', currval('bill_seq_invoice_seq'), '1');

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'OPENCELL.ADMIN', 1, 'order_offer_sequence', 'Order Offer sequence', 'SEQUENCE', 9, 0);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, code_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.cpq.commercial.OrderOffer', '#{entity.order.code}_#{entity.offerTemplate.code}_#{sequenceNextValue}', NOW(), 'OPENCELL.ADMIN', currval('bill_seq_invoice_seq'), '1');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD_1985_20210923_data', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4433, '8:d14ff4d7fade49310713b4968f70e1a0', 'insert tableName=generic_sequence; insert tableName=adm_custom_generic_entity_code; insert tableName=generic_sequence; insert tableName=adm_custom_generic_entity_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-2547-2480-2482-2478_20211021::khalidHORRI
INSERT INTO billing_trading_language (id, version, created, pr_description, language_id) VALUES (-1, 0, '2015-03-19 00:04:19.152', 'English', 2);

INSERT INTO billing_trading_language (id, version, created, pr_description, language_id) VALUES (-2, 0, '2015-03-19 00:04:19.174', 'French', 12);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2547-2480-2482-2478_20211021', 'khalidHORRI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4435, '8:ec01215ac1045a02489fa730f6f036ee', 'insert tableName=billing_trading_language; insert tableName=billing_trading_language', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD_2290_20211015_build::TarikFA.
INSERT INTO dunning_settings (id, code, description, created, creator, version, max_dunning_levels, max_days_outstanding, dunning_mode) VALUES (nextval('dunning_settings_seq'), 'DUN_DEF', 'Default Dunning Settings generated', NOW(), 'OPENCELL.ADMIN', 1, 5, 3, 'INVOICE_LEVEL');

INSERT INTO dunning_pause_reasons (id, created, creator, version, pause_reason, description, dunning_settings_id) VALUES (nextval('dunning_pause_reasons_seq'), NOW(), 'OPENCELL.ADMIN', 1, '5 jours (ouvrés) avant paiement', 'Client demande 5 jours (ouvrés) avant de payer', currval('dunning_settings_seq'));

INSERT INTO dunning_pause_reasons (id, created, creator, version, pause_reason, description, dunning_settings_id) VALUES (nextval('dunning_pause_reasons_seq'), NOW(), 'OPENCELL.ADMIN', 1, '10 jours (ouvrés) avant paiement', 'Client demande 10 jours (ouvrés) avant de payer', currval('dunning_settings_seq'));

INSERT INTO dunning_pause_reasons (id, created, creator, version, pause_reason, description, dunning_settings_id) VALUES (nextval('dunning_pause_reasons_seq'), NOW(), 'OPENCELL.ADMIN', 1, '30 jours (ouvrés) avant paiement', 'Client demande 30 jours (ouvrés) avant de payer', currval('dunning_settings_seq'));

INSERT INTO dunning_stop_reasons (id, created, creator, version, stop_reason, description, dunning_settings_id) VALUES (nextval('dunning_stop_reasons_seq'), NOW(), 'OPENCELL.ADMIN', 1, 'Client conteste la facture', 'Client conteste la facture. Dept comptable reprend la suite', currval('dunning_settings_seq'));

INSERT INTO dunning_stop_reasons (id, created, creator, version, stop_reason, description, dunning_settings_id) VALUES (nextval('dunning_stop_reasons_seq'), NOW(), 'OPENCELL.ADMIN', 1, 'Client insolvable', 'Client se déclare insolvable. Renvoi au dept comptale', currval('dunning_settings_seq'));

INSERT INTO dunning_stop_reasons (id, created, creator, version, stop_reason, description, dunning_settings_id) VALUES (nextval('dunning_stop_reasons_seq'), NOW(), 'OPENCELL.ADMIN', 1, 'Entreprise dépose le bilan', 'L’entreprise a débuté une procédure de dépôt de bilan. Renvoi au dept comptable', currval('dunning_settings_seq'));

INSERT INTO dunning_collection_plan_statuses (id, created, creator, version, status, color_code, description, dunning_settings_id) VALUES (nextval('dunning_collection_plan_statuses_seq'), NOW(), 'OPENCELL.ADMIN', 1, 'PAUSED', '#FFA000', 'PAUSED_DUNNING', currval('dunning_settings_seq'));

INSERT INTO dunning_collection_plan_statuses (id, created, creator, version, status, description, dunning_settings_id) VALUES (nextval('dunning_collection_plan_statuses_seq'), NOW(), 'OPENCELL.ADMIN', 1, 'STOPPED', 'STOPPED_DUNNING', currval('dunning_settings_seq'));

INSERT INTO dunning_collection_plan_statuses (id, created, creator, version, status, color_code, description, dunning_settings_id) VALUES (nextval('dunning_collection_plan_statuses_seq'), NOW(), 'OPENCELL.ADMIN', 1, 'SUCCESS', '#1976D2', 'SUCCESSFUL_DUNNING', currval('dunning_settings_seq'));

INSERT INTO dunning_collection_plan_statuses (id, created, creator, version, status, color_code, description, dunning_settings_id) VALUES (nextval('dunning_collection_plan_statuses_seq'), NOW(), 'OPENCELL.ADMIN', 1, 'FAILED', '#F44336', 'FAILED_DUNNING', currval('dunning_settings_seq'));

INSERT INTO dunning_collection_plan_statuses (id, created, creator, version, status, color_code, description, dunning_settings_id) VALUES (nextval('dunning_collection_plan_statuses_seq'), NOW(), 'OPENCELL.ADMIN', 1, 'ACTIVE', '#00C853', 'ACTIVE_DUNNING', currval('dunning_settings_seq'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD_2290_20211015_build', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4437, '8:0098577d4d3a708ae56f987f8b2bcdb9', 'insert tableName=dunning_settings; insert tableName=dunning_pause_reasons; insert tableName=dunning_pause_reasons; insert tableName=dunning_pause_reasons; insert tableName=dunning_stop_reasons; insert tableName=dunning_stop_reasons; insert tableNa...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-2634_20211027::YoussefIZEM
INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, htmlcontent) VALUES ('DUNNING_MEDIA', '-1', '0', NOW(), 'ENG - B2B relance 1 (J+15)', 'DUNNING', '#{', '}', 'Reminder – Past due invoice #{invoiceInvoiceNumber} - #{billingAccountDescription}', '1', 'EMAIL', '-1', '<p>Hello #{customerAccountLegalEntityTypeCode} #{customerAccountLastName},</p>
<p>We are reaching out to you in regards of your invoice #{invoiceInvoiceNumber} and more specifically its payment that was due on the #{invoiceDueDate}. You can find a copy of the invoice attached to this email.</p>
<p>Please make sure to pay the invoice in full as soon as possible. If you have any additional question, do not hesitate to contact our services or your point of contact in our company.</p>
<p>Best regards,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, htmlcontent) VALUES ('DUNNING_MEDIA', '-2', '0', NOW(), 'ENG - B2B relance 4 (J+35)', 'DUNNING', '#{', '}', 'Dunning Letter for Invoice #{invoiceInvoiceNumber}', '1', 'LETTER', '-1', '#{billingAccountDescription}<br>
#{billingAccountAddressAddress1}<br>
#{billingAccountAddressZipCode}; #{billingAccountAddressCity}<br>
#{billingAccountContactInformationPhone}<br>
<br>
#{customerAccountDescription} / #{customerAccountFirstName}<br>
#{customerAccountAddressAddress1}<br>
#{customerAccountAddressZipCode}<br>
#{customerAccountAddressCity}<br>

<p>#{billingAccountAddressCity}, on #{dayDate}</p>
<p>#{customerAccountLegalEntityTypeCode},</p>
<p>By a first email dated (Date of 1st reminder), then a second one dated (Date of 2nd reminder), we asked you to proceed to the payment of the invoice #{invoiceInvoiceNumber} for an amount of #{invoiceTotal}</p>
<p>Unless we are mistaken, we regret to say that we have not yet received payment of invoice. We therefore ask you to proceed immediately to its payment.</p>
<p>You will find a copy of the invoice attached to this letter.</p>
<p>Please disregard this letter if your payment has been sent to us prior to receiving this letter letter.</p>
<p>We remain at your disposal in case of any questions. Please accept, Madam / Sir, the assurance of our best regards.</p>
<p>Signature</p>
<p>Your name and surname</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, htmlcontent) VALUES ('DUNNING_MEDIA', '-3', '0', NOW(), 'ENG - B2C relance 1 (J+1)', 'DUNNING', '#{', '}', 'Reminder – Past due invoice #{invoiceInvoiceNumber} - #{billingAccountDescription}', '1', 'EMAIL', '-1', '<p>Hello #{customerAccountLegalEntityTypeCode} #{customerAccountLastName},</p>
<p>We are reaching out to you in regards of your invoice #{invoiceInvoiceNumber} and more specifically its payment that was due on the #{invoiceDueDate}. You can find a copy of the invoice attached to this email.</p>
<p>Please make sure to pay the invoice in full as soon as possible. If you have any additional question, do not hesitate to contact our services or your point of contact in our company.</p>
<p>Best regards,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, htmlcontent) VALUES ('DUNNING_MEDIA', '-4', '0', NOW(), 'ENG - B2C relance 1 (J+7)', 'DUNNING', '#{', '}', 'Reminder – Past due invoice #{invoiceInvoiceNumber} - #{billingAccountDescription}', '1', 'EMAIL', '-1', '<p>Hello #{customerAccountLegalEntityTypeCode} #{customerAccountLastName},</p>
<p>We are following up on our email dated on the #{dunningCollectionPlanLastActionDate} where we informed you that invoice #{invoiceInvoiceNumber} was overdue for payment since #{invoiceDueDate}. We regret to inform you that we have not yet received payment from you for this matter.</p>
<p>We ask that you proceed with the payment of the invoice as soon as possible and invite you to contact our customer support if you have any difficulties in paying this invoice.</p>
<p>You will find a copy of the invoice attached.</p>
<p>Kind regards,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, htmlcontent) VALUES ('DUNNING_MEDIA', '-5', '0', NOW(), 'ENG - B2C relance 4 (J+14)', 'DUNNING', '#{', '}', 'Dunning Letter for Invoice #{invoiceInvoiceNumber}', '1', 'LETTER', '-1', '#{billingAccountDescription}<br>
#{billingAccountAddressAddress1}<br>
#{billingAccountAddressZipCode}; #{billingAccountAddressCity}<br>
#{billingAccountContactInformationPhone}<br>
<br>
#{customerAccountLegalEntityTypeCode}   #{customerAccountDescription}<br>
#{customerAccountAddressAddress1}<br>
#{customerAccountAddressZipCode}<br>
#{customerAccountAddressCity}<br>

<p>#{billingAccountAddressCity}, on #{dayDate}</p>
<p>#{customerAccountLegalEntityTypeCode},</p>
<p>By a first email dated (Date of 1st reminder), then a second one dated (Date of 2nd reminder), we asked you to proceed to the payment of the invoice #{invoiceInvoiceNumber} for an amount of #{invoiceTotal}</p>
<p>Unless we are mistaken, we regret to say that we have not yet received payment of invoice. We therefore ask you to proceed immediately to its payment.</p>
<p>You will find a copy of the invoice attached to this letter.</p>
<p>Please disregard this letter if your payment has been sent to us prior to receiving this letter letter.</p>
<p>We remain at your disposal in case of any questions. Please accept, Madam / Sir, the assurance of our best regards. </p>
<p>Signature</p>
<p>Your name and surname</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, htmlcontent) VALUES ('DUNNING_MEDIA', '-6', '0', NOW(), 'FR - B2B relance 1 (J+15)', 'DUNNING', '#{', '}', 'Règlement facture #{invoiceInvoiceNumber} - #{billingAccountDescription}', '1', 'EMAIL', '-2', '<p>Bonjour #{customerAccountLegalEntityTypeCode} #{customerAccountLastName},</p>
<p>Nous vous contactons concernant votre facture #{invoiceInvoiceNumber} qui est en retard de paiement depuis le #{invoiceDueDate}. Vous trouverez une copie de la facture en pièce jointe.</p>
<p>Merci de procéder au règlement de la facture dans les plus brefs délais. Si vous souhaitez avoir davantage d’informations, merci de prendre contact avec nos services ou votre interlocuteur habituel afin de trouver une solution.</p>
<p>Bien à vous,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, htmlcontent) VALUES ('DUNNING_MEDIA', '-7', '0', NOW(), 'FR - B2B relance 4 (J+35)', 'DUNNING', '#{', '}', 'Lettre de relance pour la facture #{invoiceInvoiceNumber}', '1', 'LETTER', '-2', '#{billingAccountDescription}<br>
#{billingAccountAddressAddress1}<br>
#{billingAccountAddressZipCode}; #{billingAccountAddressCity}<br>
#{billingAccountContactInformationPhone}<br>
<br>
#{customerAccountDescription} / #{customerAccountFirstName}<br>
#{customerAccountAddressAddress1}<br>
#{customerAccountAddressZipCode}<br>
#{customerAccountAddressCity}<br>

<p>#{billingAccountAddressCity}, le #{dayDate}</p>
<p>#{customerAccountLegalEntityTypeCode},</p>
<p>Par un premier courriel en date du (Date de la 1ère relance), puis un second en date du (Date de la 2ème relance), nous vous avions demandé de procéder au paiement de la facture #{invoiceInvoiceNumber}) d’un montant de #{invoiceTotal}).</p>
<p>Sauf erreur de notre part, nous sommes au regret de constater que nous n’avons, à ce jour, toujours pas reçu le paiement de ladite facture. Nous vous demandons donc de bien vouloir procéder immédiatement à son règlement.</p>
<p>Vous trouverez en pièce jointe de ce courrier une copie de la facture en question.</p>
<p>Veuillez ne pas tenir compte de cette lettre si votre règlement nous a été adressé avant la réception du présent courrier.</p>
<p>Nous restons à votre disposition dans l’hypothèse d’éventuelles questions. Nous vous prions d''agréer l’assurance de nos salutations les meilleures.</p>
<p>Company Signature</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, htmlcontent) VALUES ('DUNNING_MEDIA', '-8', '0', NOW(), 'FR - B2C relance 1 (J+1)', 'DUNNING', '#{', '}', 'Règlement facture #{invoiceInvoiceNumber} - #{billingAccountDescription}', '1', 'EMAIL', '-2', '<p>Bonjour #{customerAccountLegalEntityTypeCode} #{customerAccountLastName},</p>
<p>Nous vous contactons concernant votre facture #{invoiceInvoiceNumber} qui est en retard de paiement depuis le #{invoiceDueDate}. Vous trouverez une copie de la facture en pièce jointe.</p>
<p>Merci de procéder au règlement de la facture dans les plus brefs délais. Si vous souhaitez avoir davantage d’informations, merci de prendre contact avec nos services ou votre interlocuteur habituel afin de trouver une solution.</p>
<p>Bien à vous,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, htmlcontent) VALUES ('DUNNING_MEDIA', '-9', '0', NOW(), 'FR - B2C relance 2 (J+7)', 'DUNNING', '#{', '}', 'Règlement facture #{invoiceInvoiceNumber} - #{billingAccountDescription}', '1', 'EMAIL', '-2', '<p>Bonjour #{customerAccountLegalEntityTypeCode} #{customerAccountLastName},</p>
<p>Nous faisons suite à notre courriel en date du #{dunningCollectionPlanLastActionDate}  où nous vous informions que votre facture #{invoiceInvoiceNumber} était en retard de paiement depuis le #{invoiceDueDate}. Nous sommes dans le regret de vous informer que nous n’avons toujours pas reçu de paiement de votre part à ce sujet.</p>
<p>Nous vous demandons de procéder au règlement de la facture dans les meilleurs délais et nous invitons à contacter au plus vite notre assistance client si vous éprouvez des difficultés à régler cette facture.</p>
<p>Vous trouverez à nouveau une copie de la facture en pièce jointe.</p>
<p>Bien à vous,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, htmlcontent) VALUES ('DUNNING_MEDIA', '-10', '0', NOW(), 'FR - B2C relance 4 (J+14)', 'DUNNING', '#{', '}', 'Lettre de relance pour la facture #{invoiceInvoiceNumber}', '1', 'LETTER', '-2', '#{billingAccountDescription}<br>
#{billingAccountAddressAddress1}<br>
#{billingAccountAddressZipCode}; #{billingAccountAddressCity}<br>
#{billingAccountContactInformationPhone}<br>
<br>
#{customerAccountLegalEntityTypeCode} , #{customerAccountDescription}<br>
#{customerAccountAddressAddress1}<br>
#{customerAccountAddressZipCode}<br>
#{customerAccountAddressCity}<br>

<p>#{billingAccountAddressCity}, le #{dayDate}</p>
<p>#{customerAccountLegalEntityTypeCode},</p>
<p>Par un premier courriel en date du (Date de la 1ère relance), puis un second en date du (Date de la 2ème relance), nous vous avions demandé de procéder au paiement de la facture #{invoiceInvoiceNumber}) d’un montant de #{invoiceTotal}).</p>
<p>Sauf erreur de notre part, nous sommes au regret de constater que nous n’avons, à ce jour, toujours pas reçu le paiement de ladite facture. Nous vous demandons donc de bien vouloir procéder immédiatement à son règlement.</p>
<p>Vous trouverez en pièce jointe de ce courrier une copie de la facture en question.</p>
Veuillez ne pas tenir compte de cette lettre si votre règlement nous a été adressé avant la réception du présent courrier.</p>
<p>Nous restons à votre disposition dans l’hypothèse d’éventuelles questions. Nous vous prions d''agréer l’assurance de nos salutations les meilleures.</p>
<p>Company Signature</p>');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2634_20211027', 'YoussefIZEM', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4439, '8:31cfc54b0cd341fa8092b5408a100604', 'insert tableName=com_message_template; insert tableName=com_message_template; insert tableName=com_message_template; insert tableName=com_message_template; insert tableName=com_message_template; insert tableName=com_message_template; insert tableN...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-2731_20211103::AmineBENAICHA
INSERT INTO dunning_policy (id, version, created, creator, policy_name, policy_description, min_balance_trigger, min_balance_trigger_currency_id, determine_level_by, policy_priority, attach_invoices_to_emails, is_active_policy) VALUES (-1, 0, NOW(), 'applicationInitializer', 'Default policy B2C-EN', 'This is a default policy for B2C', 1, 5, 'DAYS_OVERDUE', NULL, 1, 1);

INSERT INTO dunning_policy_rule (id, version, created, creator, rule_joint, dunning_policy_id) VALUES (-1, 0, NOW(), 'applicationInitializer', NULL, -1);

INSERT INTO dunning_policy_rule_line (id, version, created, creator, policy_condition_target, policy_condition_operator, policy_condition_target_value, rule_line_joint, dunning_policy_rule_id) VALUES (-1, 0, NOW(), 'applicationInitializer', 'IsIndividual', 'equals', 'TRUE', NULL, -1);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-1, 0, NOW(), 'applicationInitializer', 'LVL1', 'N/A', 0, 0, 1, 1, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel, action_notification_template_id) VALUES (-1, 0, NOW(), 'applicationInitializer', 'Email B2C LVL1', 'N/A', 1, 'SEND_NOTIFICATION', 'AUTOMATIC', 'EMAIL', -3);

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-1, -1);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 1, -1, -1);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-2, 0, NOW(), 'applicationInitializer', 'LVL2', 'N/A', 0, 0, 1, 7, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel, action_notification_template_id) VALUES (-2, 0, NOW(), 'applicationInitializer', 'Email B2C LVL2', 'N/A', 1, 'SEND_NOTIFICATION', 'AUTOMATIC', 'EMAIL', -4);

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-2, -2);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 2, -2, -1);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-3, 0, NOW(), 'applicationInitializer', 'LVL3', 'N/A', 0, 0, 1, 10, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel) VALUES (-3, 0, NOW(), 'applicationInitializer', 'Call B2C LVL3', 'N/A', 1, 'SEND_NOTIFICATION', 'MANUAL', 'CALL');

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-3, -3);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 3, -3, -1);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-4, 0, NOW(), 'applicationInitializer', 'LVL4', 'N/A', 0, 1, 1, 14, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel, action_notification_template_id) VALUES (-4, 0, NOW(), 'applicationInitializer', 'Letter B2C LVL4', 'N/A', 1, 'SEND_NOTIFICATION', 'MANUAL', 'LETTER', -5);

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-4, -4);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 4, -4, -1);

INSERT INTO dunning_policy (id, version, created, creator, policy_name, policy_description, min_balance_trigger, min_balance_trigger_currency_id, determine_level_by, policy_priority, attach_invoices_to_emails, is_active_policy) VALUES (-2, 0, NOW(), 'applicationInitializer', 'Default policy B2B-EN', 'This is a default policy for B2B', 1, 5, 'DAYS_OVERDUE', NULL, 1, 1);

INSERT INTO dunning_policy_rule (id, version, created, creator, rule_joint, dunning_policy_id) VALUES (-2, 0, NOW(), 'applicationInitializer', NULL, -2);

INSERT INTO dunning_policy_rule_line (id, version, created, creator, policy_condition_target, policy_condition_operator, policy_condition_target_value, rule_line_joint, dunning_policy_rule_id) VALUES (-2, 0, NOW(), 'applicationInitializer', 'IsCompany', 'equals', 'TRUE', NULL, -2);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-5, 0, NOW(), 'applicationInitializer', 'LVL1B2B', 'N/A', 0, 0, 1, 15, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel, action_notification_template_id) VALUES (-5, 0, NOW(), 'applicationInitializer', 'Email B2B LVL1', 'N/A', 1, 'SEND_NOTIFICATION', 'AUTOMATIC', 'EMAIL', -1);

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-5, -5);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 1, -5, -2);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-6, 0, NOW(), 'applicationInitializer', 'LVL2B2B', 'N/A', 0, 0, 1, 22, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel) VALUES (-6, 0, NOW(), 'applicationInitializer', 'Call B2B LVL2', 'N/A', 1, 'SEND_NOTIFICATION', 'MANUAL', 'CALL');

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-6, -6);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 2, -6, -2);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-7, 0, NOW(), 'applicationInitializer', 'LVL3B2B', 'N/A', 0, 0, 1, 27, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel) VALUES (-7, 0, NOW(), 'applicationInitializer', 'Call B2B LVL3', 'N/A', 1, 'SEND_NOTIFICATION', 'MANUAL', 'CALL');

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-7, -7);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 3, -7, -2);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-8, 0, NOW(), 'applicationInitializer', 'LVL4B2B', 'N/A', 0, 1, 1, 35, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel, action_notification_template_id) VALUES (-8, 0, NOW(), 'applicationInitializer', 'Letter B2B LVL4', 'N/A', 1, 'SEND_NOTIFICATION', 'MANUAL', 'LETTER', -2);

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-8, -8);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 4, -8, -2);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2731_20211103', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4441, '8:247f4c8f4ef92a877f115135eae9897b', 'insert tableName=dunning_policy; insert tableName=dunning_policy_rule; insert tableName=dunning_policy_rule_line; insert tableName=dunning_level; insert tableName=ar_dunning_action; insert tableName=dunning_level_dunning_action; insert tableName=d...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-2732_20211104::AmineBENAICHA
INSERT INTO dunning_policy (id, version, created, creator, policy_name, policy_description, min_balance_trigger, min_balance_trigger_currency_id, determine_level_by, policy_priority, attach_invoices_to_emails, is_active_policy) VALUES (-10, 0, NOW(), 'applicationInitializer', 'Default policy B2C-FR', 'This is a default policy for B2C', 1, 5, 'DAYS_OVERDUE', NULL, 1, 1);

INSERT INTO dunning_policy_rule (id, version, created, creator, rule_joint, dunning_policy_id) VALUES (-10, 0, NOW(), 'applicationInitializer', NULL, -10);

INSERT INTO dunning_policy_rule_line (id, version, created, creator, policy_condition_target, policy_condition_operator, policy_condition_target_value, rule_line_joint, dunning_policy_rule_id) VALUES (-10, 0, NOW(), 'applicationInitializer', 'IsIndividual', 'equals', 'TRUE', NULL, -10);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-10, 0, NOW(), 'applicationInitializer', 'LVL1-FR', 'N/A', 0, 0, 1, 1, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel, action_notification_template_id) VALUES (-10, 0, NOW(), 'applicationInitializer', 'Email B2C LVL1-FR', 'N/A', 1, 'SEND_NOTIFICATION', 'AUTOMATIC', 'EMAIL', -8);

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-10, -10);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 1, -10, -10);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-20, 0, NOW(), 'applicationInitializer', 'LVL2-FR', 'N/A', 0, 0, 1, 7, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel, action_notification_template_id) VALUES (-20, 0, NOW(), 'applicationInitializer', 'Email B2C LVL2-FR', 'N/A', 1, 'SEND_NOTIFICATION', 'AUTOMATIC', 'EMAIL', -9);

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-20, -20);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 2, -20, -10);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-30, 0, NOW(), 'applicationInitializer', 'LVL3-FR', 'N/A', 0, 0, 1, 10, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel) VALUES (-30, 0, NOW(), 'applicationInitializer', 'Call B2C LVL3-FR', 'N/A', 1, 'SEND_NOTIFICATION', 'MANUAL', 'CALL');

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-30, -30);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 3, -30, -10);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-40, 0, NOW(), 'applicationInitializer', 'LVL4-B2C-FR', 'N/A', 0, 1, 1, 14, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel, action_notification_template_id) VALUES (-40, 0, NOW(), 'applicationInitializer', 'Letter B2C LVL4-FR', 'N/A', 1, 'SEND_NOTIFICATION', 'MANUAL', 'LETTER', -10);

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-40, -40);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 4, -40, -10);

INSERT INTO dunning_policy (id, version, created, creator, policy_name, policy_description, min_balance_trigger, min_balance_trigger_currency_id, determine_level_by, policy_priority, attach_invoices_to_emails, is_active_policy) VALUES (-20, 0, NOW(), 'applicationInitializer', 'Default policy B2B-FR', 'This is a default policy for B2B', 1, 5, 'DAYS_OVERDUE', NULL, 1, 1);

INSERT INTO dunning_policy_rule (id, version, created, creator, rule_joint, dunning_policy_id) VALUES (-20, 0, NOW(), 'applicationInitializer', NULL, -20);

INSERT INTO dunning_policy_rule_line (id, version, created, creator, policy_condition_target, policy_condition_operator, policy_condition_target_value, rule_line_joint, dunning_policy_rule_id) VALUES (-20, 0, NOW(), 'applicationInitializer', 'IsCompany', 'equals', 'TRUE', NULL, -20);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-50, 0, NOW(), 'applicationInitializer', 'LVL1B2B-FR', 'N/A', 0, 0, 1, 15, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel, action_notification_template_id) VALUES (-50, 0, NOW(), 'applicationInitializer', 'Email B2B LVL1-FR', 'N/A', 1, 'SEND_NOTIFICATION', 'AUTOMATIC', 'EMAIL', -6);

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-50, -50);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 1, -50, -20);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-60, 0, NOW(), 'applicationInitializer', 'LVL2B2B-FR', 'N/A', 0, 0, 1, 22, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel) VALUES (-60, 0, NOW(), 'applicationInitializer', 'Call B2B LVL2-FR', 'N/A', 1, 'SEND_NOTIFICATION', 'MANUAL', 'CALL');

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-60, -60);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 2, -60, -20);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-70, 0, NOW(), 'applicationInitializer', 'LVL3B2B-FR', 'N/A', 0, 0, 1, 27, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel) VALUES (-70, 0, NOW(), 'applicationInitializer', 'Call B2B LVL3-FR', 'N/A', 1, 'SEND_NOTIFICATION', 'MANUAL', 'CALL');

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-70, -70);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 3, -70, -20);

INSERT INTO dunning_level (id, version, created, creator, code, description, reminder, end_dunning_level, active, days_overdue, min_balance, charge_currency_id, soft_decline) VALUES (-80, 0, NOW(), 'applicationInitializer', 'LVL4-B2B-FR', 'N/A', 0, 1, 1, 35, 0, NULL, 0);

INSERT INTO ar_dunning_action (id, version, created, creator, code, description, is_action_active, action_type, action_mode, action_channel, action_notification_template_id) VALUES (-80, 0, NOW(), 'applicationInitializer', 'Letter B2B LVL4-FR', 'N/A', 1, 'SEND_NOTIFICATION', 'MANUAL', 'LETTER', -7);

INSERT INTO dunning_level_dunning_action (dunning_action_id, dunning_level_id) VALUES (-80, -80);

INSERT INTO dunning_policy_level (id, version, created, creator, sequence, dunning_level_id, dunning_policy_id) VALUES (nextval('dunning_policy_level_seq'), 0, NOW(), 'applicationInitializer', 4, -80, -20);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2732_20211104', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4443, '8:aa8d523feaf2f407b4999ef48812333e', 'insert tableName=dunning_policy; insert tableName=dunning_policy_rule; insert tableName=dunning_policy_rule_line; insert tableName=dunning_level; insert tableName=ar_dunning_action; insert tableName=dunning_level_dunning_action; insert tableName=d...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-2962_20211110::AmineBENAICHA
INSERT INTO dunning_stop_reasons (id, created, creator, version, stop_reason, description, dunning_settings_id) VALUES (nextval('dunning_stop_reasons_seq'), NOW(), 'OPENCELL.ADMIN', 1, 'Exclusion', 'Client exclu du plan de recouvrement pour raison légitime. A expliciter par l''agent de recouvrement', 1);

INSERT INTO dunning_stop_reasons (id, created, creator, version, stop_reason, description, dunning_settings_id) VALUES (nextval('dunning_stop_reasons_seq'), NOW(), 'OPENCELL.ADMIN', 1, 'Changement de politique de recouvrement', 'Changement de politique de recouvrement amenant la génération d’un nouveau plan de recouvrement', 1);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2962_20211110', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4445, '8:f9d5b9baa385c0bf4c138ff054127b73', 'insert tableName=dunning_stop_reasons; insert tableName=dunning_stop_reasons', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-3334_2021_11_26::ZBariki
INSERT INTO meveo_job_instance (id, version, job_category, job_template, code, creator, disabled, created, description, uuid) VALUES (nextval('meveo_job_instance_seq'), 0, 'ACCOUNTING', 'AccountingPeriodClosingJob', 'AccountingPeriodClosingJob', 'applicationInitializer', 0, NOW(), 'Accounting Period Closing Job', 'AccountingPeriodClosingJob_Job');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-3334_2021_11_26', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4447, '8:760f648c9b6a2a256718f76640c9ff2f', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-2756_20211110::ZBariki
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (nextval('meveo_job_instance_seq'), 0, 1, '2015-03-19 00:04:19.913', 'DUNNING', 'DunningCollectionPlanJob', 'DunningCollectionPlan_Job', 'OPENCELL.ADMIN', -1, 'DunningCollectionPlanJob_Job');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2756_20211110', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4449, '8:ca6719be507d0076ad1d26ce99c56dc4', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-3040_20211110::ZBariki
UPDATE dunning_policy_rule_line SET policy_condition_operator = 'EQUALS', policy_condition_target = 'isCompany', policy_condition_target_value = 'FALSE' WHERE policy_condition_target='IsIndividual';

UPDATE dunning_policy_rule_line SET policy_condition_operator = 'EQUALS', policy_condition_target = 'isCompany' WHERE policy_condition_target='IsCompany';

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-3040_20211110', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4451, '8:8f5b2829a198749fe48adf8a10962208', 'update tableName=dunning_policy_rule_line; update tableName=dunning_policy_rule_line', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-2910_20211124::ZBariki
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (nextval('meveo_job_instance_seq'), 0, 1, '2021-11-24 00:04:19.913', 'DUNNING', 'TriggerReminderDunningLevelJob', 'TriggerReminderDunningLevel_Job', 'OPENCELL.ADMIN', -1, 'TriggerReminderDunningLevelJob_Job');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2910_20211124', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4453, '8:91273c8579a3e709b4c6d612d951b111', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-2756_20211110::Mohammed_ELAZZOUZI
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, uuid) VALUES (nextval('meveo_job_instance_seq'), 0, 1, NOW(), 'DUNNING', 'ResumeDunningCollectionPlanJob', 'ResumeDunningCollectionPlan_Job', 'OPENCELL.ADMIN', 'ResumeDunningCollectionPlan_Job');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2756_20211110', 'Mohammed_ELAZZOUZI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4455, '8:8545cbb012484a458045366af61e8e77', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-2909_20211201::ZBariki
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (nextval('meveo_job_instance_seq'), 0, 1, '2021-12-01 00:04:19.913', 'DUNNING', 'TriggerCollectionPlanLevelsJob', 'TriggerCollectionPlanLevelsJob', 'OPENCELL.ADMIN', -1, 'TriggerCollectionPlanLevelsJob');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2909_20211201', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4457, '8:f4ea9507c15334c122e2c237e1605e43', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-1166_20211110_Business_attributes::MohammedELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1166_20211110_Business_attributes', 'MohammedELAZZOUZI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4459, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-2849_20211110::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2849_20211110', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4461, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-2961_20211109-add-status-color_code::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-2961_20211109-add-status-color_code', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4463, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-3316_20211129_query_notification_template::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-3316_20211129_query_notification_template', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4465, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-3316_20211215_query_notification_template::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-3316_20211215_query_notification_template', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4467, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-3678_20211214::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-3678_20211214', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4469, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-3751_20211216::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-3751_20211216', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4471, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-4227_20220110::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-4227_20220110', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4473, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#4082_20190404::SaidRamli
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4082_20190404', 'SaidRamli', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4475, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-3432_21012022_Manual_refund_by_card_KO::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-3432_21012022_Manual_refund_by_card_KO', 'anasseh', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4477, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-4950-20220208::MohammedSTITANE
INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'OPENCELL.ADMIN', 1, 'accounting_scheme_sequence', 'AccountingScheme sequence', 'SEQUENCE', 10, 0);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, code_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.payments.AccountingScheme', '#{sequenceNextValue}', NOW(), 'OPENCELL.ADMIN', currval('bill_seq_invoice_seq'), '1');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4950-20220208', 'MohammedSTITANE', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4479, '8:b2aa2e11b606816a12e461790b8162be', 'insert tableName=generic_sequence; insert tableName=adm_custom_generic_entity_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-3507_20220218::HatimOUDAD
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (nextval('meveo_job_instance_seq'), 0, 1, '2022-02-18 00:04:19.913', 'PAYMENT', 'AutoRefundSecurityDepositJob', 'AutoRefundSecurityDepositJob', 'OPENCELL.ADMIN', -1, 'AutoRefundSecurityDepositJob');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-3507_20220218', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4481, '8:1660e37564ca5f1dcd63a2044f530bb5', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-5669_20220324::HichamHANINE
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, '2022-02-18 00:04:19.913', 'UTILS', 'AutoUpdateCurrentRateJob', 'AutoUpdateCurrentRateJob', 'OPENCELL.ADMIN', -4, 'AutoUpdateCurrentRateJob', '{"cleanAppliedRateInvoice": [{"boolean": false}]}');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-5669_20220324', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4483, '8:cea3f99f69f7c0faeba3ebfddc7369a1', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-5242__22-02-2022::Mohammed_ELAZZOUZI
INSERT INTO crm_custom_field_tmpl_val (customfieldtemplate_id, listvalues, listvalues_key) VALUES ((SELECT id from crm_custom_field_tmpl where code = 'JobInstance_InvoiceLinesJob_ILDateAggregationOptions'), 'NO_DATE_AGGREGATION', 'NO_DATE_AGGREGATION');

INSERT INTO crm_custom_field_tmpl_val (customfieldtemplate_id, listvalues, listvalues_key) VALUES ((SELECT id from crm_custom_field_tmpl where code = 'JobInstance_InvoiceLinesJob_ILDateAggregationOptions'), 'MONTH_OF_USAGE_DATE', 'MONTH_OF_USAGE_DATE');

INSERT INTO crm_custom_field_tmpl_val (customfieldtemplate_id, listvalues, listvalues_key) VALUES ((SELECT id from crm_custom_field_tmpl where code = 'JobInstance_InvoiceLinesJob_ILDateAggregationOptions'), 'WEEK_OF_USAGE_DATE', 'WEEK_OF_USAGE_DATE');

INSERT INTO crm_custom_field_tmpl_val (customfieldtemplate_id, listvalues, listvalues_key) VALUES ((SELECT id from crm_custom_field_tmpl where code = 'JobInstance_InvoiceLinesJob_ILDateAggregationOptions'), 'DAY_OF_USAGE_DATE', 'DAY_OF_USAGE_DATE');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5242__22-02-2022', 'Mohammed_ELAZZOUZI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4485, '8:63073aa0c35499e78233375449f72c7a', 'insert tableName=crm_custom_field_tmpl_val; insert tableName=crm_custom_field_tmpl_val; insert tableName=crm_custom_field_tmpl_val; insert tableName=crm_custom_field_tmpl_val', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-4891-25022022::Abdelkader.Bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-4891-25022022', 'Abdelkader.Bouazza', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4487, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-5831_20220325::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5831_20220325', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4489, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-5958_20220328::aelmalki
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, '2022-03-28 00:00:00', 'ACCOUNTING', 'AccountingSchemesJob', 'AccountingSchemesJob', 'OPENCELL.ADMIN', -1, 'AccountingSchemesJob', '{"nbRuns": [{"long": 1}], "waitingMillis": [{"long": 0}], "onlyClosedPeriods": [{"boolean": false}]}');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5958_20220328', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4491, '8:3ec0c2122e6f2c1f525d45079f27290b', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-5924-20220401::ZBariki
INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 0, 'discount_plan_item_seq', 'Discount plan item sequence', 'SEQUENCE', 10, 0);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.catalog.DiscountPlanItem', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'discount_plan_item_seq'), '1');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5924-20220401', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4493, '8:cc0a8d560f1d83fbe07a8ee2e9553d3f', 'insert tableName=generic_sequence; insert tableName=adm_custom_generic_entity_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-6638_20220422::aelmalki
INSERT INTO billing_accounting_code (id, version, created, code, description, chart_of_account_type, chart_of_account_view_type, migrated, disabled) VALUES (-45, 0, NOW(), '419100000', 'Unidentified customer', 'ASSETS', 'REGULAR', '0', '0');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6638_20220422', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4495, '8:439920d4ebbf9a8b98d3e065f5f73104', 'insert tableName=billing_accounting_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-7144_05162022::ZBariki
INSERT INTO billing_article_mapping (id, version, created, creator, code, description) VALUES (nextval('billing_article_mapping_seq'), 0, NOW(), 'applicationInitializer', 'DEFAULT_ARTICLE_MAPPING', 'Default article mapping');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7144_05162022', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4497, '8:08a7b5ef004a93cd1d9a4a9bb7b1ce5c', 'insert tableName=billing_article_mapping', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-6664_20220519::ZBariki
INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'waitingMillis', 'JobInstance_AccountingSchemesJob', 'Waiting before next launch (ms)', 'LONG', 'SINGLE', '0', '0', 'applicationInitializer', 'tab:Configuration:0;field:1');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'onlyClosedPeriods', 'JobInstance_AccountingSchemesJob', 'Only closed periods', 'BOOLEAN', 'SINGLE', '0', '0', 'applicationInitializer', 'tab:Configuration:0;field:2');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'nbRuns', 'JobInstance_AccountingSchemesJob', 'Number of parallel execution', 'LONG', 'SINGLE', 1, '0', 'applicationInitializer', 'tab:Configuration:0;field:0');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6664_20220519', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4499, '8:6179c05f920e4d3f25e7da8f63a1db68', 'insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-7339_20220607::hichamhanine
INSERT INTO meveo_job_instance (id, version, disabled, created, updated, code, description, job_category, job_template, parametres, creator, updater, timerentity_id, following_job_id, uuid, run_on_nodes, cluster_behavior, cf_values, verbose_report) VALUES (-64, 0, 0, NOW(), NOW(), 'ImportCustomerBankDetailsJob', 'ImportCustomerBankDetailsJob', 'IMPORT_HIERARCHY', 'ImportCustomerBankDetailsJob', NULL, 'opencell.admin', 'opencell.admin', NULL, NULL, 'ImportCustomerBankDetailsJob', NULL, 'LIMIT_TO_SINGLE_NODE', NULL, '1');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7339_20220607', 'hichamhanine', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4501, '8:0e4a815edda442cf7e05a3725444b829', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-1304_21062022::AbdelmounaimAkadid
INSERT INTO global_settings (id, version, created, creator, quote_default_validity_delay) VALUES (nextval('global_settings_seq'), 0, NOW(), 'applicationInitializer', '30');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1304_21062022', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4503, '8:6a9affd0a879e90950858503d8a6a616', 'insert tableName=global_settings', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-6131_20220805::anas.rouaguebe
INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'SepaJob_nbRuns', 'JobInstance_SepaDirectDebitJob', 'Number of parallel execution', 'LONG', 'SINGLE', '0', '1', 'applicationInitializer', 'tab:Configuration:0;field:0');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'SepaJob_waitingMillis', 'JobInstance_SepaDirectDebitJob', 'Waiting before next launch (ms)', 'LONG', 'SINGLE', '0', '0', 'applicationInitializer', 'tab:Configuration:0;field:1');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, entity_clazz, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'SepaJob_ddRequestBuilder', 'JobInstance_SepaDirectDebitJob', 'SEPARequest builder', 'ENTITY', 'SINGLE', '1', 'org.meveo.model.payments.DDRequestBuilder', 'applicationInitializer', 'tab:Configuration:0;field:2');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, entity_clazz, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'SepaJob_aoFilterScript', 'JobInstance_SepaDirectDebitJob', 'SepaJob_aoFilterScript', 'ENTITY', 'SINGLE', '0', 'org.meveo.model.scripts.ScriptInstance', 'applicationInitializer', 'tab:Configuration:0;field:3');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, entity_clazz, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'SepaJob_seller', 'JobInstance_SepaDirectDebitJob', 'Sellers', 'ENTITY', 'SINGLE', '0', 'org.meveo.model.admin.Seller', 'applicationInitializer', 'tab:Configuration:0;field:4');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'SepaJob_paymentOrRefund', 'JobInstance_SepaDirectDebitJob', 'Payment or Refund', 'LIST', 'SINGLE', '1', 'PAYMENT', 'applicationInitializer', 'tab:Configuration:0;field:5');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'SepaJob_ddRequestStateOp', 'JobInstance_SepaDirectDebitJob', 'DDRequest State', 'LIST', 'SINGLE', '0', 'CREATE', 'applicationInitializer', 'tab:Configuration:0;field:6');

INSERT INTO crm_custom_field_tmpl_val (customfieldtemplate_id, listvalues, listvalues_key) VALUES ((SELECT id from crm_custom_field_tmpl where code = 'SepaJob_paymentOrRefund'), 'PAYMENT', 'PAYMENT');

INSERT INTO crm_custom_field_tmpl_val (customfieldtemplate_id, listvalues, listvalues_key) VALUES ((SELECT id from crm_custom_field_tmpl where code = 'SepaJob_paymentOrRefund'), 'REFUND', 'REFUND');

INSERT INTO crm_custom_field_tmpl_val (customfieldtemplate_id, listvalues, listvalues_key) VALUES ((SELECT id from crm_custom_field_tmpl where code = 'SepaJob_ddRequestStateOp'), 'CREATE', 'CREATE');

INSERT INTO crm_custom_field_tmpl_val (customfieldtemplate_id, listvalues, listvalues_key) VALUES ((SELECT id from crm_custom_field_tmpl where code = 'SepaJob_ddRequestStateOp'), 'PAYMENT', 'PAYMENT');

INSERT INTO crm_custom_field_tmpl_val (customfieldtemplate_id, listvalues, listvalues_key) VALUES ((SELECT id from crm_custom_field_tmpl where code = 'SepaJob_ddRequestStateOp'), 'FILE', 'FILE');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6131_20220805', 'anas.rouaguebe', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4505, '8:6f74370b544d1c5da839d837c5e45c18', 'insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert ...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-8903_08112022::ZBariki
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (nextval('meveo_job_instance_seq'), 0, 0, '2022-08-11 15:13:19.913', 'ORDERING', 'OpenOrderStatusJob', 'OpenOrderStatusJob', 'applicationInitializer', (SELECT id from meveo_timer where code = 'Daily-midnight'), 'OpenOrderStatusJob_Job');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8903_08112022', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4507, '8:00b51597c8db2f0d2307f8ae70f8ce28', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-9284_20220822::anas.rouaguebe
INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'BillingRunJob_lastTransactionDate', 'JobInstance_BillingRunJob', 'Last Transaction Date', 'DATE', 'SINGLE', '0', 'applicationInitializer', 'tab:Configuration:0;field:0');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, entity_clazz, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'BillingRunJob_billingCycle', 'JobInstance_BillingRunJob', 'Billing Cycles', 'ENTITY', 'LIST', '1', 'org.meveo.model.billing.BillingCycle', 'applicationInitializer', 'tab:Configuration:0;field:2');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'BillingRunJob_invoiceDate', 'JobInstance_BillingRunJob', 'invoice Date', 'DATE', 'SINGLE', '0', 'applicationInitializer', 'tab:Configuration:0;field:1');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'BillingRunJob_billingRun_Process', 'JobInstance_BillingRunJob', 'Type', 'LIST', 'SINGLE', '0', 'applicationInitializer', 'tab:Configuration:0;field:3');

INSERT INTO crm_custom_field_tmpl_val (customfieldtemplate_id, listvalues, listvalues_key) VALUES ((SELECT id from crm_custom_field_tmpl where code = 'BillingRunJob_billingRun_Process'), 'Automatic', '1');

INSERT INTO crm_custom_field_tmpl_val (customfieldtemplate_id, listvalues, listvalues_key) VALUES ((SELECT id from crm_custom_field_tmpl where code = 'BillingRunJob_billingRun_Process'), 'Manual', '2');

INSERT INTO crm_custom_field_tmpl_val (customfieldtemplate_id, listvalues, listvalues_key) VALUES ((SELECT id from crm_custom_field_tmpl where code = 'BillingRunJob_billingRun_Process'), 'Full automatic', '3');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'nbRuns', 'JobInstance_InvoicingJob', 'Number of parallel execution', 'LONG', 'SINGLE', '0', '-1', 'applicationInitializer', 'tab:Configuration:0;field:0');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'waitingMillis', 'JobInstance_InvoicingJob', 'Waiting before next launch (ms)', 'LONG', 'SINGLE', '0', 'applicationInitializer', 'tab:Configuration:0;field:1');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, entity_clazz, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'billingRuns', 'JobInstance_InvoicingJob', 'Billing Runs', 'ENTITY', 'LIST', '0', '0', 'org.meveo.model.billing.BillingRun', 'applicationInitializer', 'tab:Configuration:0;field:2');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9284_20220822', 'anas.rouaguebe', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4509, '8:f23bb9d96e07865be635d128d5beafe4', 'insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl_val; insert tableName=crm_custom_field_tmpl_val;...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-9858_20220916_sd_template::a.rouaguebe
INSERT INTO finance_settings (id, version, created, creator, code, use_security_deposit) VALUES (nextval('finance_settings_seq'), 0, NOW(), 'applicationInitializer', uuid_generate_v4(), '1');

INSERT INTO security_deposit_templat (id, template_name, code, status, created, version, creator, currency_id) VALUES (nextval('security_deposit_templat_seq'), 'DEFAULT_SD_TEMPLATE', uuid_generate_v4(), 'ACTIVE', NOW(), 0, 'applicationInitializer', (SELECT currency_id from crm_provider where id = 1));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-9858_20220916_sd_template', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4511, '8:bbc1cd9c5a4a13017d6e762cc930c337', 'insert tableName=finance_settings; insert tableName=security_deposit_templat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#9811_10102022::Mbarek-Ay
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 1, '2022-10-10 15:04:19.913', 'INVOICING', 'InvoiceLinesMinimumJob', 'Invoice_Lines_Minimum_Job', 'OPENCELL.ADMIN', -1, 'Invoice_Lines_Minimum_Job', '{"waitingMillis":[{"long":0}],"nbRuns":[{"long":-1}]}');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#9811_10102022', 'Mbarek-Ay', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4513, '8:726885c0eddce8348577ffbfee46cbcd', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-10523_20221020::aelmalki
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, '2022-10-20 00:00:00', 'ACCOUNTING', 'AssignMatchingCodeToOldEntriesJob', 'AssignMatchingCodeToOldEntriesJob', 'OPENCELL.ADMIN', NULL, 'AssignMatchingCodeToOldEntriesJob', '{"nbRuns": [{"long": 1}], "waitingMillis": [{"long": 0}]}');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'waitingMillis', 'JobInstance_AssignMatchingCodeToOldEntriesJob', 'Waiting before next launch (ms)', 'LONG', 'SINGLE', '0', '0', 'applicationInitializer', 'tab:Configuration:0;field:1');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'onlyClosedPeriods', 'JobInstance_AssignMatchingCodeToOldEntriesJob', 'Only closed periods', 'BOOLEAN', 'SINGLE', '0', '0', 'applicationInitializer', 'tab:Configuration:0;field:2');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10523_20221020', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4515, '8:8fe6148e6131c9dda9d815ab75f7ea10', 'insert tableName=meveo_job_instance; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-10893_202201026::ZBariki
INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'nbRuns', 'JobInstance_RecurringRatingJob', 'Number of parallel execution', 'LONG', 'SINGLE', '0', '-1', 'applicationInitializer', 'tab:Configuration:0;field:0');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'waitingMillis', 'JobInstance_RecurringRatingJob', 'Waiting before next launch (ms)', 'LONG', 'SINGLE', '0', '0', 'applicationInitializer', 'tab:Configuration:0;field:1');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'rateUntilDate', 'JobInstance_RecurringRatingJob', 'Apply recurring charge up to date', 'DATE', 'SINGLE', '0', 'applicationInitializer', 'tab:Configuration:0;field:2');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, max_value, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'rateUntilDateEL', 'JobInstance_RecurringRatingJob', 'Apply recurring charge up to date EL', 'STRING', 'SINGLE', '100', '0', 'applicationInitializer', 'tab:Configuration:0;field:3');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, creator, entity_clazz, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'rateBC', 'JobInstance_RecurringRatingJob', 'Rate only accounts with billing cycle', 'ENTITY', 'LIST', '0', 'applicationInitializer', 'org.meveo.model.billing.BillingCycle', 'tab:Configuration:0;field:4');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10893_202201026', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4517, '8:39acdb06a5fb5be1d6cb26d3e4a7de69', 'insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-10907_20221026::EBOURRAS
INSERT INTO billing_invoice_type_applies_to (invoice_type_id, applies_to_id) VALUES ('-1', '-5');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10907_20221026', 'EBOURRAS', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4519, '8:e0a4e654d5674bdd8e5994201e2422cc', 'insert tableName=billing_invoice_type_applies_to', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-11328_20221110::aelmalki
INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'cleanAppliedRateInvoice', 'JobInstance_AutoUpdateCurrentRateJob', 'Clean Invoice applied rate', 'BOOLEAN', 'SINGLE', '0', '0', 'applicationInitializer', 'tab:Configuration:0;field:0');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11328_20221110', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4521, '8:d123ed07ee2accfc2be30add2f25f3a1', 'insert tableName=crm_custom_field_tmpl', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-11503_20221116::aeljaouhari
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, description, creator, uuid) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), 'INVOICING', 'MassAdjustmentJob', 'Mass_Adjustment', 'Mass Adjustment Job', 'applicationInitializer', 'Mass_Adjustment');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11503_20221116', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4523, '8:41c5e752c6680beb37c8e8ae03473525', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-12677_20221230_rebuild::aeljaouhari
INSERT INTO crm_provider_order_line_type (provider_id, order_line_type) VALUES (1, 'CREATE');

INSERT INTO crm_provider_order_line_type (provider_id, order_line_type) VALUES (1, 'AMEND');

INSERT INTO crm_provider_order_line_type (provider_id, order_line_type) VALUES (1, 'TERMINATE');

INSERT INTO crm_provider_order_line_type (provider_id, order_line_type) VALUES (1, 'APPLY_ONE_SHOT');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12677_20221230_rebuild', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4525, '8:24a4e17a2e8096cdb814f5922d4ca4ab', 'insert tableName=crm_provider_order_line_type; insert tableName=crm_provider_order_line_type; insert tableName=crm_provider_order_line_type; insert tableName=crm_provider_order_line_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-6484::hichamElHaloui
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6484', 'hichamElHaloui', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4527, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-6668_20220421::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6668_20220421', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4529, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-6638_20220422-update-occT::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6638_20220422-update-occT', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4531, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-6305-07042022::Abdelkader.Bouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-6305-07042022', 'Abdelkader.Bouazza', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4533, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-5691-20220315::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-5691-20220315', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4535, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-6961_20220511::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6961_20220511', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4537, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#6023_130522::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#6023_130522', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4539, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-7375_20220523::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7375_20220523', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4541, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#7477-260522::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#7477-260522', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4543, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-7750_20220608::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7750_20220608', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4545, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-7663_20220613::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7663_20220613', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4547, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-7872_20220615::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7872_20220615', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4549, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-7722_20220618::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7722_20220618', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4551, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-3262_20211123::YoussefIZEM
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-3262_20211123', 'YoussefIZEM', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4553, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-2701_20211124::hichamElHaloui
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2701_20211124', 'hichamElHaloui', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4555, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#5486_remove_CF_for_old_RT_Aggregation::Mohammed_ELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5486_remove_CF_for_old_RT_Aggregation', 'Mohammed_ELAZZOUZI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4557, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::5407_20201030::Mohammed_ELAZZOUZI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('5407_20201030', 'Mohammed_ELAZZOUZI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4559, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#5610_20201102 - bad dept operation type::NabilOUACHI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5610_20201102 - bad dept operation type', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4561, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#5632_20201207_RT_TYPE_DATA::NabilOUACHI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5632_20201207_RT_TYPE_DATA', 'NabilOUACHI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4563, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::5743_20201215::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('5743_20201215', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4565, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::5678_20210214::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('5678_20210214', 'anasseh', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4567, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#5890-2021-02-05_43::ZBARIKI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5890-2021-02-05_43', 'ZBARIKI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4569, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#20210607_540_563::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#20210607_540_563', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4571, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-1406_20210826::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-1406_20210826', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4573, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#2122_20211001::YoussefIZEM
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#2122_20211001', 'YoussefIZEM', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4575, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-8507_20220715::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8507_20220715', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4577, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-8700_20220728::ZBariki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8700_20220728', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4579, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-8946_20220804::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8946_20220804', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4581, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-10047_20220926_default_sd_template::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10047_20220926_default_sd_template', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4583, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-10247_20220928_default_currency_sd_template::a.rouaguebe
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10247_20220928_default_currency_sd_template', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4585, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-10400_20221007::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10400_20221007', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4587, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-10587_20221014::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10587_20221014', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4589, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-10541_20221017::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10541_20221017', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4591, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-10572_20221014::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10572_20221014', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4593, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-10572_20221018::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10572_20221018', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4595, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-11124_20221102::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11124_20221102', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4597, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-11154_20221102::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11154_20221102', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4599, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-11152_20221102::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-11152_20221102', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4601, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-11122_20221104::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-11122_20221104', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4603, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-11244_20221104::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11244_20221104', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4605, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-11165_20221108::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11165_20221108', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4607, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-11124_20221109::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-11124_20221109', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4609, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTR-11598_20221116::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTR-11598_20221116', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4611, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-11745_20221130::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11745_20221130', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4613, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-12024_20221202::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12024_20221202', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4615, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD_12001_20221205::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD_12001_20221205', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4617, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-12266_20221214::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-12266_20221214', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4619, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-12267_20221219::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-12267_20221219', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4621, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-12335_20221216::Bourras
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12335_20221216', 'Bourras', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4623, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-12268_20221221::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-12268_20221221', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4625, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-12677_20221230::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12677_20221230', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4627, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-12546_20221230::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12546_20221230', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4629, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#OUTRD-3_20221012-job::MohamedChaouki
INSERT INTO meveo_job_instance (id, version, disabled, created, updated, code, description, job_category, job_template, creator, updater, job_speed, cluster_behavior, verbose_report) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), NOW(), 'CDRtoEDR', 'CDRtoEDR', 'MEDIATION', 'MediationJobV2', 'opencell.admin', 'opencell.admin', 'NORMAL', 'LIMIT_TO_SINGLE_NODE', 1);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-3_20221012-job', 'MohamedChaouki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4631, '8:d04d72d586d5b1f5f2a86f1f30974f1e', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#OUTRD-56-SUB_20220926::Ilham-Chafik
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-56-SUB_20220926', 'Ilham-Chafik', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4633, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#OUTRD-66_20221003::Ilham-Chafik
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-66_20221003', 'Ilham-Chafik', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4635, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#OUTRD-69_20221003-scripts::Ilham-Chafik
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-69_20221003-scripts', 'Ilham-Chafik', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4637, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#OUTRD-68_20221004::Ilham-Chafik
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-68_20221004', 'Ilham-Chafik', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4639, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#OUTRD-69_20221005::Ilham-Chafik
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-69_20221005', 'Ilham-Chafik', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4641, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#OUTRD-73_20221006::Ilham-Chafik
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-73_20221006', 'Ilham-Chafik', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4643, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#OUTRD-78_20221010::Ilham-Chafik
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-78_20221010', 'Ilham-Chafik', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4645, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#OUTRD-72_20221011::Ilham-Chafik
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-72_20221011', 'Ilham-Chafik', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4647, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#OUTRD-79_20221011::Ilham-Chafik
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-79_20221011', 'Ilham-Chafik', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4649, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#OUTRD-79_20221013::Ilham-Chafik
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-79_20221013', 'Ilham-Chafik', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4651, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#OUTRD-79_20221014::Ilham-Chafik
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-79_20221014', 'Ilham-Chafik', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4653, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#OUTRD-95_20221027::HamzaBiadi
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-95_20221027', 'HamzaBiadi', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4655, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#OUTRD-99_20221205::Ilham-Chafik
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-99_20221205', 'Ilham-Chafik', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4657, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-12903_20230105::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12903_20230105', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4659, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-12727_20230105::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12727_20230105', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4661, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-12925_20230106::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12925_20230106', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4663, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-12906_20230112::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12906_20230112', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4665, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13260_20230116::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13260_20230116', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4667, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-12801_INTRD-12806__20230110::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12801_INTRD-12806__20230110', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4669, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13192_20230116::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13192_20230116', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4671, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-12327_20230117::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12327_20230117', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4673, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-12463_20230119::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12463_20230119', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4675, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13386_20230223::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13386_20230223', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4677, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13314_20230123-f::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13314_20230123-f', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4679, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13447_20230127::ZBariki
INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'billing_cycle_sequence', 'Billing cycle sequence', 'SEQUENCE', 4, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.billing.BillingCycle', 'BC-', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'billing_cycle_sequence'), '1');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13447_20230127', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4681, '8:436c234adec7b3b791d37e48e01a8bb7', 'insert tableName=generic_sequence; insert tableName=adm_custom_generic_entity_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13468_20230126::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13468_20230126', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4683, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13379_20230127::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13379_20230127', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4685, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13122_20220111::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13122_20220111', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4687, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-12782_20230131::zelmeliani
UPDATE ar_dunning_action SET type = 'INVOICE_LEVEL';

UPDATE dunning_level SET type = 'INVOICE_LEVEL';

UPDATE dunning_policy SET type = 'INVOICE_LEVEL';

UPDATE com_message_template SET type_dunning_mode = 'INVOICE_LEVEL' WHERE media = 'DUNNING_MEDIA';

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-12782_20230131', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4689, '8:a7adaa548b892fb71aa58e8d53f15ea4', 'update tableName=ar_dunning_action; update tableName=dunning_level; update tableName=dunning_policy; update tableName=com_message_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13375_20230131::aeljaouhari
INSERT INTO com_message_template (media, id, version, created, code, tag_start, tag_end, subject, type, htmlcontent) VALUES ('EMAIL', nextval('com_msg_tmpl_seq'), '0', NOW(), 'FR-Invoice', '#{', '}', 'Votre facture #{invoice.invoiceNumber}', 'INVOICE', '#{billingAccount.isCompany?billingAccount.description:billingAccount.name.fullName}<br>
#{billingAccount.address.address1}<br>
#{billingAccount.address.zipCode} #{billingAccount.address.city}<br>
#{billingAccount.contactInformation.phone}<br>
<br>
#{billingAccount.customerAccount.isCompany?billingAccount.customerAccount.description:billingAccount.name.fullName}<br>
#{billingAccount.customerAccount.address.address1}<br>
#{billingAccount.customerAccount.address.zipCode} #{billingAccount.customerAccount.address.city}<br>
<p>#{billingAccount.customerAccount.seller.address.city}, le #{dayDate}</p>
<p>#{billingAccount.legalEntityType.code},</p>
<p>Nous vous prions de trouver attaché à cet email la facture #{invoice.invoiceNumber} d’un montant de #{invoice.netToPay}.</p>
<p>Nous restons à votre disposition dans l’hypothèse d’éventuelles questions. Nous vous prions d''agréer l’assurance de nos salutations les meilleures.</p>');

INSERT INTO com_message_template (media, id, version, created, code, tag_start, tag_end, subject, type, htmlcontent) VALUES ('EMAIL', nextval('com_msg_tmpl_seq'), '0', NOW(), 'EN-Invoice', '#{', '}', 'Your Invoice #{invoice.invoiceNumber}', 'INVOICE', '#{billingAccount.isCompany?billingAccount.description:billingAccount.name.fullName}<br>
#{billingAccount.address.address1}<br>
#{billingAccount.address.zipCode} #{billingAccount.address.city}<br>
#{billingAccount.contactInformation.phone}<br>
<br>
#{billingAccount.customerAccount.isCompany?billingAccount.customerAccount.description:billingAccount.name.fullName}<br>
#{billingAccount.customerAccount.address.address1}<br>
#{billingAccount.customerAccount.address.zipCode} #{billingAccount.customerAccount.address.city}<br>
<p>#{billingAccount.customerAccount.seller.address.city}, on #{dayDate}</p>
<p>#{billingAccount.legalEntityType.code},</p>
<p>Please find attached the invoice #{invoice.invoiceNumber} for an amount of #{invoice.netToPay}.</p>
<p>We remain at your disposal in case of any questions. Please accept, Madam / Sir, the assurance of our best regards.</p>');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13375_20230131', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4691, '8:62b130264e12d246e5507f790efbf263', 'insert tableName=com_message_template; insert tableName=com_message_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13717_20230202::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13717_20230202', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4693, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13762_20230206::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13762_20230206', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4695, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-11208_20230131::zelmeliani
INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-11', '0', NOW(), 'B2B+5', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-1', 'CUSTOMER_LEVEL', '<p>Hello, </p>
                    <p>We are reaching out to you in regards of your current balance that you have with our company. It seems you have debit of #{customerAccount balance} #{currencySymbol}.</p>
                    <p>
                        Please take necessary steps to insure payments of your last(s) invoice(s). <br>
                        You
                    </p>
                    <p>If you have any additional question, do not hesitate to contact our services or your regular point of contact.</p>
                    <p>Best regards,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-12', '0', NOW(), 'B2B +10', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-1', 'CUSTOMER_LEVEL', '<p>Hello, </p>
                    <p>We are following up on our previous email regarding your negative balance (that is currently of#{customerAccount balance} #{currencySymbol}).</p>
                    <p>
                        Please take contact with us to clear the situation.<br>
                        If you have already done a payment, you can discard this email.
                    </p>
                    <p>If you have any additional question, do not hesitate to contact our services or your regular point of contact.</p>
                    <p>Best regards,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-13', '0', NOW(), 'B2B +20', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-1', 'CUSTOMER_LEVEL', '<p>Hello, </p>
                    <p>It has now been 10 days since our first email regarding your current negative balance. Your current balance is #{customerAccount balance} #{currencySymbol}).</p>
                    <p>
                        Please take contact with us to clear the situation.<br>
                        If you have already done a payment, you can discard this email.
                    </p>
                    <p>If you have any additional question, do not hesitate to contact our services or your regular point of contact.</p>
                    <p>Best regards,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-14', '0', NOW(), 'B2B +30', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-1', 'CUSTOMER_LEVEL', '<p>Hello, </p>
                    <p>It seems our previous emails did not allow the expected outcome. Today, your current balance is of#{customerAccount balance} #{currencySymbol}).</p>
                    <p>As it seems we were not able to clear the situation, the services you have with us have been suspended.</p>
                    <p>If you have already done a payment, please contact us so that we can re-activate your services.</p>
                    <p>If you have any additional question, please contact our services.</p>
                    <p>Best regards,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-15', '0', NOW(), 'B2C +1', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-1', 'CUSTOMER_LEVEL', '<p>Hello #{customerAccountLegalEntityTypeCode} #{customerAccountLastName},</p>
                    <p>We are reaching out to you in regards of your current balance that you have with our company. It seems you have debit of #{customerAccount balance} #{currencySymbol}.</p>
                    <p>
                        Please take necessary steps to insure payments of your last(s) invoice(s). <br>
                        You
                    </p>
                    <p>If you have any additional question, do not hesitate to contact our services or your regular point of contact.</p>
                    <p>Best regards,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-16', '0', NOW(), 'B2C +5', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-1', 'CUSTOMER_LEVEL', '<p>Hello #{customerAccountLegalEntityTypeCode} #{customerAccountLastName},</p>
                    <p>We are following up on our previous email regarding your negative balance (that is currently of#{customerAccount balance} #{currencySymbol}).</p>
                    <p>
                        Please take contact with us to clear the situation.<br>
                        If you have already done a payment, you can discard this email.
                    </p>
                    <p>If you have any additional question, do not hesitate to contact our services or your regular point of contact.</p>
                    <p>Best regards,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-17', '0', NOW(), 'B2C +10', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-1', 'CUSTOMER_LEVEL', '<p>Hello #{customerAccountLegalEntityTypeCode} #{customerAccountLastName},</p>
                    <p>It has now been 10 days since our first email regarding your current negative balance. Your current balance is #{customerAccount balance} #{currencySymbol}).</p>
                    <p>
                        Please take contact with us to clear the situation.<br>
                        If you have already done a payment, you can discard this email.
                    </p>
                    <p>If you have any additional question, do not hesitate to contact our services or your regular point of contact.</p>
                    <p>Best regards,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-18', '0', NOW(), 'B2C +15', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-1', 'CUSTOMER_LEVEL', '<p>Hello #{customerAccountLegalEntityTypeCode} #{customerAccountLastName},</p>
                    <p>It seems our previous emails did not allow the expected outcome. Today, your current balance is of#{customerAccount balance} #{currencySymbol}).</p>
                    <p>As it seems we were not able to clear the situation, the services you have with us have been suspended.</p>
                    <p>If you have already done a payment, please contact us so that we can re-activate your services.</p>
                    <p>If you have any additional question, please contact our services.</p>
                    <p>Best regards,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-19', '0', NOW(), 'B2B +5fr', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-2', 'CUSTOMER_LEVEL', '<p>Bonjour,</p>
                    <p>Nous vous contactons au sujet de votre solde actuel auprèss de notre société. Il semble que vous ayez une position débitrice d’un montant de #{customerAccount balance} #{currencySymbol}.</p>
                    <p>Nous vous invitons a faire le nécessaires pour assurer le paiement de votre (vos) dernière(s) facture(s).</p>
                    <p>Si vous avez des questions supplémentaires, n''hésitez pas à contacter nos services ou votre point de contact habituel.</p>
                    <p>Meilleures salutations,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-20', '0', NOW(), 'B2B +10fr', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-2', 'CUSTOMER_LEVEL', '<p>Bonjour,</p>
                    <p>Nous donnons suite à notre précédent e-mail concernant votre solde négatif (actuellement de #{customerAccount balance} #{currencySymbol}).</p>
                    <p>Merci de prendre contact avec nous pour échanger sur la situation.</p>
                    <p>Si vous avez déjà effectué un paiement, veuillez ne pas prendre cet e-mail en considération.</p>
                    <p>Si vous avez des questions supplémentaires, n''hésitez pas à contacter nos services ou votre point de contact habituel.</p>
                    <p>Meilleures salutations,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-21', '0', NOW(), 'B2B +20fr', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-2', 'CUSTOMER_LEVEL', '<p>Bonjour,</p>
                    <p>Cela fait maintenant 10 jours depuis notre premier e-mail concernant votre solde négatif. Votre solde actuel est de #{customerAccount balance} #{currencySymbol}).</p>
                    <p>Merci de prendre contact avec nous pour éclaircir la situation.</p>
                    <p>Si vous avez déjà effectué un paiement, vous pouvez ne pas prendre compte de cet e-mail.</p>
                    <p>Si vous avez des questions supplémentaires, n''hésitez pas à contacter nos services ou votre point de contact habituel.</p>
                    <p>Meilleures salutations,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-22', '0', NOW(), 'B2B +30fr', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-2', 'CUSTOMER_LEVEL', '<p>Bonjour,</p>
                    <p>Il semble que nos e-mails précédents n''aient pas permis d’arriver au résultat escompté. Aujourd''hui, votre solde est de #{customerAccount balance} #{currencySymbol}).</p>
                    <p>La situation ne s’étant pas régler à l’amiable, l’ensemble des services que vous avez avec nous ont été suspendus.</p>
                    <p>Si vous avez déjà effectué un paiement, veuillez nous contacter afin que nous puissions réactiver vos services.</p>
                    <p>Si vous avez des questions supplémentaires, veuillez contacter nos services.</p>
                    <p>Meilleures salutations,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-23', '0', NOW(), 'B2C +1fr', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-2', 'CUSTOMER_LEVEL', '<p>Bonjour#{customerAccountLegalEntityTypeCode} #{customerAccountLastName},</p>
                    <p>Nous vous contactons au sujet de votre solde actuel auprèss de notre société. Il semble que vous ayez une position débitrice d’un montant de #{customerAccount balance} #{currencySymbol}.</p>
                    <p>Nous vous invitons a faire le nécessaires pour assurer le paiement de votre (vos) dernière(s) facture(s).</p>
                    <p>Si vous avez des questions supplémentaires, n''hésitez pas à contacter nos services ou votre point de contact habituel.</p>
                    <p>Meilleures salutations,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-24', '0', NOW(), 'B2C +5fr', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-2', 'CUSTOMER_LEVEL', '<p>Bonjour#{customerAccountLegalEntityTypeCode} #{customerAccountLastName},</p>
                    <p>Nous donnons suite à notre précédent e-mail concernant votre solde négatif (actuellement de #{customerAccount balance} #{currencySymbol}).</p>
                    <p>Merci de prendre contact avec nous pour échanger sur la situation.</p>
                    <p>Si vous avez déjà effectué un paiement, veuillez ne pas prendre cet e-mail en considération.</p>
                    <p>Si vous avez des questions supplémentaires, n''hésitez pas à contacter nos services ou votre point de contact habituel.</p>
                    <p>Meilleures salutations,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-25', '0', NOW(), 'B2C +10fr', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-2', 'CUSTOMER_LEVEL', '<p>Bonjour#{customerAccountLegalEntityTypeCode} #{customerAccountLastName},</p>
                    <p>Cela fait maintenant 10 jours depuis notre premier e-mail concernant votre solde négatif. Votre solde actuel est de #{customerAccount balance} #{currencySymbol}).</p>
                    <p>Merci de prendre contact avec nous pour éclaircir la situation.</p>
                    <p>Si vous avez déjà effectué un paiement, vous pouvez ne pas prendre compte de cet e-mail.</p>
                    <p>Si vous avez des questions supplémentaires, n''hésitez pas à contacter nos services ou votre point de contact habituel.</p>
                    <p>Meilleures salutations,</p>');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, subject, is_active, channel, trading_language_id, type_dunning_mode, htmlcontent) VALUES ('DUNNING_MEDIA', '-26', '0', NOW(), 'B2C +15fr', 'DUNNING', '#{', '}', '', '1', 'EMAIL', '-2', 'CUSTOMER_LEVEL', '<p>Bonjour #{customerAccountLegalEntityTypeCode} #{customerAccountLastName},</p>
                    <p>Il semble que nos e-mails précédents n''aient pas permis d’arriver au résultat escompté. Aujourd''hui, votre solde est de #{customerAccount balance} #{currencySymbol}).</p>
                    <p>La situation ne s’étant pas régler à l’amiable, l’ensemble des services que vous avez avec nous ont été suspendus.</p>
                    <p>Si vous avez déjà effectué un paiement, veuillez nous contacter afin que nous puissions réactiver vos services.</p>
                    <p>Si vous avez des questions supplémentaires, veuillez contacter nos services.</p>
                    <p>Meilleures salutations,</p>');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11208_20230131', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4697, '8:ece45cd3dfdfd84bddd5ba165b7ac19a', 'insert tableName=com_message_template; insert tableName=com_message_template; insert tableName=com_message_template; insert tableName=com_message_template; insert tableName=com_message_template; insert tableName=com_message_template; insert tableN...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13967_20230215::houdad
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13967_20230215', 'houdad', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4699, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13967_20230217::houdad
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13967_20230217', 'houdad', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4701, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13968::houdad
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13968', 'houdad', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4703, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-14137_20230217::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-14137_20230217', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4705, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13267_20230220::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13267_20230220', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4707, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-7049_20220509::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-7049_20220509', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4709, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13867_20230220::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13867_20230220', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4711, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13867_20230301::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13867_20230301', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4713, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-12103_20221215::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-12103_20221215', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4715, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-14122_20230221::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14122_20230221', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4717, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-14555_20230303::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14555_20230303', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4719, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-14433_20230306::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14433_20230306', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4721, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-14562_20230308::HichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14562_20230308', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4723, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-15228_20230327::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15228_20230327', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4725, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-15191_20230328::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15191_20230328', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4727, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-15186_20230328::zelmeliani
SELECT setval('iso_icd_seq', 208, true);

SELECT setval('untdid_5189_allowance_code_seq', 19, true);

SELECT setval('untdid_1001_invoice_code_type_seq', 43, true);

SELECT setval('untdid_4451_invoice_subject_code_seq', 383, true);

SELECT setval('untdid_4461_payment_means_seq', 83, true);

SELECT setval('untdid_5305_taxation_category_seq', 9, true);

SELECT setval('untdid_vatex_seq', 57, true);

SELECT setval('untdid_2475_vat_payment_option_seq', 3, true);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15186_20230328', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4729, '8:72513ab3f4e69a9ed70070aa4042864c', 'sql; sql; sql; sql; sql; sql; sql; sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-5882__23-03-2022::Mohammed_ELAZZOUZI
INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'waitingMillis', 'JobInstance_InvoiceLinesJob', 'Waiting before next launch (ms)', 'LONG', 'SINGLE', 0, '0', 'applicationInitializer', 'tab:Configuration:0;fieldGroup:Execution configuration:0;field:1');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'nbRuns', 'JobInstance_InvoiceLinesJob', 'Number of parallel execution', 'LONG', 'SINGLE', -1, '0', 'applicationInitializer', 'tab:Configuration:0;fieldGroup:Execution configuration:0;field:0');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, creator) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'maxInvoiceLinesPerTransaction', 'JobInstance_InvoiceLinesJob', 'Maximum of maxInvoiceLines generated per transaction', 'LONG', 'SINGLE', 0, '0', 'applicationInitializer');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, creator) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'maxBAsPerTransaction', 'JobInstance_InvoicingJobV2', 'commit interval', 'LONG', 'SINGLE', 1000, '0', 'applicationInitializer');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5882__23-03-2022', 'Mohammed_ELAZZOUZI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4731, '8:1639c75736fee456e92c83fae4ddfc70', 'insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-13978_20230407::HOudad
INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'attribute_code_sequence', 'attribute code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.cpq.Attribute', '#{''AT-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'attribute_code_sequence'), '1');

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'user_account_code_sequence', 'consumer code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.billing.UserAccount', '#{''UA-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'user_account_code_sequence'), '1');

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'customer_code_sequence', 'customer code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.billing.BillingAccount', '#{''CU-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'customer_code_sequence'), '1');

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'offer_template_code_sequence', 'offer code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.catalog.OfferTemplate', '#{''OF-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'offer_template_code_sequence'), '1');

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'discount_plan_code_sequence', 'discount plan code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.catalog.DiscountPlan', '#{''DP-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'discount_plan_code_sequence'), '1');

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'invoicing_plan_code_sequence', 'invoice plan code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.cpq.commercial.InvoicingPlan', '#{''IP-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'invoicing_plan_code_sequence'), '1');

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'invoicing_plan_item_code_sequence', 'invoice plan line code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.cpq.commercial.InvoicingPlanItem', '#{''IPL-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'invoicing_plan_item_code_sequence'), '1');

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'commercial_order_code_sequence', 'order code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.cpq.commercial.CommercialOrder', '#{''ORD-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'commercial_order_code_sequence'), '1');

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'product_code_sequence', 'product code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.cpq.Product', '#{''PR-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'product_code_sequence'), '1');

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'product_line_code_sequence', 'product line code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.cpq.ProductLine', '#{''PF-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'product_line_code_sequence'), '1');

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'quote_code_sequence', 'quote code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.cpq.CpqQuote', '#{''QU-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'quote_code_sequence'), '1');

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'subscription_code_sequence', 'subscription code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.billing.Subscription', '#{''SU-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'subscription_code_sequence'), '1');

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'tag_code_sequence', 'tag code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.cpq.tags.Tag', '#{''TG-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'tag_code_sequence'), '1');

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'tag_category_code_sequence', 'tag category code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.cpq.tags.TagType', '#{''TC-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'tag_category_code_sequence'), '1');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13978_20230407', 'HOudad', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4733, '8:2cc65d66663818809f21e224040a0923', 'insert tableName=generic_sequence; insert tableName=adm_custom_generic_entity_code; insert tableName=generic_sequence; insert tableName=adm_custom_generic_entity_code; insert tableName=generic_sequence; insert tableName=adm_custom_generic_entity_c...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-17353__14-07-2023::Mohammed_ELAZZOUZI
INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'JobInstance_InvoiceLinesJob_BillingAccountPerTransaction', 'JobInstance_InvoiceLinesJob', 'Process transactions by billing account', 'BOOLEAN', 'SINGLE', '0', '1', 'applicationInitializer', 'tab:Configuration:2;fieldGroup:Performances');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'JobInstance_InvoiceLinesJob_MaxRTsPerTransaction', 'JobInstance_InvoiceLinesJob', 'preferred max RTs per transaction', 'LONG', 'SINGLE', 1000000, '0', 'applicationInitializer', 'tab:Configuration:3;fieldGroup:Performances');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'JobInstance_InvoiceLinesJob_MaxLinesPerTransaction', 'JobInstance_InvoiceLinesJob', 'preferred max lines per transaction', 'LONG', 'SINGLE', 10000, '0', 'applicationInitializer', 'tab:Configuration:4;fieldGroup:Performances');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'JobInstance_InvoiceLinesJob_MaxRTsPerLine', 'JobInstance_InvoiceLinesJob', 'preferred max RTs per line', 'LONG', 'SINGLE', 100000, '0', 'applicationInitializer', 'tab:Configuration:5;fieldGroup:Performances');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-17353__14-07-2023', 'Mohammed_ELAZZOUZI', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4735, '8:9449891a195ce6399fb9822167bd3ed5', 'insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-15458_2023_04_17::ZBariki
INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'CUSTOMER_CODE_SEQUENCE', 'Customer code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.crm.Customer', '#{''CUS-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'CUSTOMER_CODE_SEQUENCE'), '1');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-15458_2023_04_17', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4737, '8:125d8de70cc23d33582cc610301b3449', 'insert tableName=generic_sequence; insert tableName=adm_custom_generic_entity_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-15467_2023_04_17::ZBariki
INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (nextval('bill_seq_invoice_seq'), NOW(), 'applicationInitializer', 1, 'MEDIA_CODE_SEQUENCE', 'Media code sequence', 'SEQUENCE', 6, 1);

INSERT INTO adm_custom_generic_entity_code (id, entity_class, format_el, created, creator, sequence_id, version) VALUES (nextval('adm_custom_generic_entity_code_seq'), 'org.meveo.model.cpq.Media', '#{''MED-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', NOW(), 'applicationInitializer', (SELECT id from generic_sequence where code = 'MEDIA_CODE_SEQUENCE'), '1');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-15467_2023_04_17', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4739, '8:3115ba3a2e117001b2b081b81fb439f6', 'insert tableName=generic_sequence; insert tableName=adm_custom_generic_entity_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-15467-15458_2023_04_18::ZBariki
UPDATE adm_custom_generic_entity_code SET format_el = '#{''CU-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', updated = NOW(), updater = 'applicationInitializer' WHERE entity_class = 'org.meveo.model.crm.Customer';

UPDATE adm_custom_generic_entity_code SET format_el = '#{''M-''.concat((mv:formatDate(null, ''YY''))).concat(generatedCode)}', updated = NOW(), updater = 'applicationInitializer' WHERE entity_class = 'org.meveo.model.cpq.Media';

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-15467-15458_2023_04_18', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4741, '8:11e6891adad9d8a81ce6c84d4d0127b6', 'update tableName=adm_custom_generic_entity_code; update tableName=adm_custom_generic_entity_code', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-16102_priceliststatusjob::a.rouaguebe
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), 'UTILS', 'PriceListStatusJob', 'PriceListStatusJob', 'applicationInitializer', (SELECT id from meveo_timer where code = 'Daily-midnight'), 'PriceListStatusJob_Job');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16102_priceliststatusjob', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4743, '8:298678fa5f05de2d20e2ab80ac52b823', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-10574_20221013-job::AndriusKarpavicius
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (nextval('meveo_job_instance_seq'), 0, 0, '2022-12-22 15:13:19.913', 'UTILS', 'AuditDataLogAggregationJob', 'AuditDataLogAggregationJob', 'applicationInitializer', (SELECT id from meveo_timer where code = 'Hourly'), 'AuditDataLogAggregationJob_Job');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10574_20221013-job', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4745, '8:8e4c3de03940ef5b9984d27a3d984c62', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-10574_20230213::AndriusKarpavicius
INSERT INTO audit_data_config (id, version, created, creator, entity_class, entity_fields) VALUES (nextval('audit_data_config_seq'), 0, NOW(), 'opencell.admin', 'org.meveo.model.billing.Subscription', 'status,userAccount,subscriptionRenewal,renewed');

INSERT INTO audit_data_config (id, version, created, creator, entity_class, entity_fields) VALUES (nextval('audit_data_config_seq'), 0, NOW(), 'opencell.admin', 'org.meveo.model.billing.ServiceInstance', 'status,serviceRenewal,renewed');

INSERT INTO audit_data_config (id, version, created, creator, entity_class, entity_fields) VALUES (nextval('audit_data_config_seq'), 0, NOW(), 'opencell.admin', 'org.meveo.model.billing.Invoice', 'status,xmlDate,pdfDate,emailSentDate,paymentStatus');

INSERT INTO audit_data_config (id, version, created, creator, entity_class, entity_fields) VALUES (nextval('audit_data_config_seq'), 0, NOW(), 'opencell.admin', 'org.meveo.model.order.Order', 'status');

INSERT INTO audit_data_config (id, version, created, creator, entity_class, entity_fields) VALUES (nextval('audit_data_config_seq'), 0, NOW(), 'opencell.admin', 'org.meveo.model.payments.AccountOperation', 'collectionDate');

INSERT INTO audit_data_config (id, version, created, creator, entity_class, entity_fields) VALUES (nextval('audit_data_config_seq'), 0, NOW(), 'opencell.admin', 'org.meveo.model.payments.CustomerAccount', 'customer');

INSERT INTO audit_data_config (id, version, created, creator, entity_class, entity_fields) VALUES (nextval('audit_data_config_seq'), 0, NOW(), 'opencell.admin', 'org.meveo.model.payments.PaymentScheduleInstance', 'amount');

INSERT INTO audit_data_config (id, version, created, creator, entity_class, entity_fields) VALUES (nextval('audit_data_config_seq'), 0, NOW(), 'opencell.admin', 'org.meveo.model.payments.PaymentScheduleInstanceItem', 'requestPaymentDate,amount');

call proc_recreate_audit_data_trigger('ar_payment_schedule_inst_item','request_pay_date,amount', null, null, false);

call proc_recreate_audit_data_trigger('ar_payment_schedule_inst','amount', null, null, false);

call proc_recreate_audit_data_trigger('ar_customer_account','customer_id', null, null, false);

call proc_recreate_audit_data_trigger('ar_account_operation','collection_date', null, null, false);

call proc_recreate_audit_data_trigger('ord_order','status', null, null, false);

call proc_recreate_audit_data_trigger('billing_invoice','status,xml_date,pdf_date,email_sent_date,payment_status', null, null, false);

call proc_recreate_audit_data_trigger('billing_subscription','status,user_account_id,renewed,auto_renew,auto_renew_date,days_notify_renew,end_of_term_action,auto_termin_reason_id,init_active_unit,init_active,calendar_init_active_id,match_end_aggr_date,renew_for_unit,renew_for,calendar_renew_for_id,initial_term_type,renewal_term_type', null, null, false);

call proc_recreate_audit_data_trigger('billing_service_instance','status,renewed,auto_renew,auto_renew_date,days_notify_renew,end_of_term_action,auto_termin_reason_id,init_active_unit,init_active,calendar_init_active_id,match_end_aggr_date,renew_for_unit,renew_for,calendar_renew_for_id,initial_term_type,renewal_term_type', null, null, false);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10574_20230213', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4747, '8:9170ad2b6ac2284a472b38a5f9678259', 'insert tableName=audit_data_config; insert tableName=audit_data_config; insert tableName=audit_data_config; insert tableName=audit_data_config; insert tableName=audit_data_config; insert tableName=audit_data_config; insert tableName=audit_data_con...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-15841_20230502::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-15841_20230502', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4749, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-15899_20230505::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-15899_20230505', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4751, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-15899_20230505-BA-DEFAULT-TAXCATEGORY::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-15899_20230505-BA-DEFAULT-TAXCATEGORY', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4753, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-16296_20230517::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16296_20230517', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4755, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-5701_20220215::HatimOUDAD
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-5701_20220215', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4757, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-16482_20230526::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16482_20230526', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4759, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-16247_20230605::zelmeliani
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16247_20230605', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4761, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-16278_20230606::anasseh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16278_20230606', 'anasseh', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4763, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-17129_20230627::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-17129_20230627', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4765, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-17135_20230713::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-17135_20230713', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4767, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::INTRD-16743_20230720::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-16743_20230720', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4769, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#INTRD-10574_20230214::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10574_20230214', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4771, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data.xml::#liquibase_hack_data::AbdelmounaimAkadid
update databasechangelog set filename='src/main/db_resources/changelog/current/data.xml' where filename='src/main/db_resources/changelog/rebuild/data.xml';

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#liquibase_hack_data', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/data.xml', NOW(), 4773, '8:2f2fe7e4e0415f1fc2f89bbedee948ef', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::rebuild-data-script-categories::AndriusKarpavicius
INSERT INTO meveo_script_instance_cat (id, version, created, code, description, description_i18n) VALUES (-1, 0, NOW(), 'REPORT_EXTRACT', 'Report Extract', '{"FR":"Extraction de rapport","EN":"Report Extract"}');

INSERT INTO meveo_script_instance_cat (id, version, created, code, description, description_i18n) VALUES (-2, 0, NOW(), 'DUNNING_ACTION', 'dunning action', '{"FR":"Action de recouvrement","EN":"Dunning action"}');

INSERT INTO meveo_script_instance_cat (id, version, created, code, description, description_i18n) VALUES (-3, 0, NOW(), 'INVOICE_VALIDATION', 'Invoice validation rule', '{"FR":"Règle de validation de facture","EN":"Invoice validation rule"}');

INSERT INTO meveo_script_instance_cat (id, version, created, code, description, description_i18n) VALUES (-4, 0, NOW(), 'BILLING_RUN_VALIDATION', 'Billing run validation', '{"FR":"Validation de run de facturation","EN":"Billing run validation"}');

INSERT INTO meveo_script_instance_cat (id, version, created, code, description, description_i18n) VALUES (-5, 0, NOW(), 'INVOICE_SPLIT', 'Invoice split', '{"FR":"Découpage facture","EN":"Invoice split"}');

INSERT INTO meveo_script_instance_cat (id, version, created, code, description, description_i18n) VALUES (-6, 0, NOW(), 'GLOBAL_INVOICE_VALIDATION', 'Global invoice validation', '{"FR":"Validation de facture globale","EN":"Global invoice validation"}');

INSERT INTO meveo_script_instance_cat (id, version, created, code, description, description_i18n) VALUES (nextval('meveo_script_instance_cat_seq'), 0, NOW(), 'ACCOUNTING_SCHEMES', 'Accounting schemes', '{"FR":"Schéma comptable","EN":"Accounting schemes"}');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-script-categories', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4775, '8:c0e11a9db26bb839742783bd04f44939', 'insert tableName=meveo_script_instance_cat; insert tableName=meveo_script_instance_cat; insert tableName=meveo_script_instance_cat; insert tableName=meveo_script_instance_cat; insert tableName=meveo_script_instance_cat; insert tableName=meveo_scri...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::rebuild-data-titlesDEMO::AndriusKarpavicius
INSERT INTO adm_title (id, version, creator, created, code, description, is_company, description_i18n) VALUES (-2, 0, 'OPENCELL.ADMIN', '2016-11-03 00:00:00', 'Company', 'Company', 1, '{"FRA":"Sté","ENG":"Cie."}');

INSERT INTO adm_title (id, version, creator, created, code, description, is_company, description_i18n) VALUES (-3, 0, 'OPENCELL.ADMIN', '2016-11-03 00:00:00', 'MR', 'Mr.', 0, '{"FRA":"M.","ENG":"Mr."}');

INSERT INTO adm_title (id, version, creator, created, code, description, is_company, description_i18n) VALUES (-4, 0, 'OPENCELL.ADMIN', '2016-11-03 00:00:00', 'MRS', 'Mrs.', 0, '{"FRA":"Mme.","ENG":"Mrs."}');

INSERT INTO adm_title (id, version, creator, created, code, description, is_company, description_i18n) VALUES (-5, 0, 'OPENCELL.ADMIN', '2016-11-03 00:00:00', 'MS', 'Ms.', 0, '{"FRA":"Mlle","ENG":"Ms."}');

INSERT INTO adm_title (id, version, creator, created, code, description, is_company, description_i18n) VALUES (-6, 0, 'OPENCELL.ADMIN', '2016-11-03 00:00:00', 'DR', 'Dr.', 0, '{"FRA":"Dr","ENG":"Dr."}');

INSERT INTO adm_title (id, version, creator, created, code, description, is_company, description_i18n) VALUES (-7, 0, 'OPENCELL.ADMIN', '2016-11-03 00:00:00', 'PROF', 'Prof.', 0, '{"FRA":"Pr","ENG":"Prof."}');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-titlesDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4777, '8:7869b7381b5ba9cb293d4460274e64ac', 'insert tableName=adm_title; insert tableName=adm_title; insert tableName=adm_title; insert tableName=adm_title; insert tableName=adm_title; insert tableName=adm_title', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::rebuild-data-accounting-codesDEMO::AndriusKarpavicius
INSERT INTO billing_accounting_code (id, version, created, code, chart_of_account_type, chart_of_account_view_type, description) VALUES (-1, 0, '2015-03-19 00:04:19.68', '165000000', 'LIABILITIES', 'REGULAR', 'Deposits and sureties received');

INSERT INTO billing_accounting_code (id, version, created, code, chart_of_account_type, chart_of_account_view_type, description) VALUES (-2, 0, '2015-03-19 00:04:19.68', '701010000', 'REVENUE', 'REGULAR', 'Gross Revenue');

INSERT INTO billing_accounting_code (id, version, created, code, chart_of_account_type, chart_of_account_view_type, description) VALUES (-3, 0, '2015-03-19 00:04:19.68', '512010000', 'ASSETS', 'REGULAR', 'Cash Deposit - BNP #123456');

INSERT INTO billing_accounting_code (id, version, created, code, chart_of_account_type, chart_of_account_view_type, description) VALUES (-4, 0, '2015-03-19 00:04:19.68', '658100000', 'EXPENSE', 'REGULAR', 'Payment loss');

INSERT INTO billing_accounting_code (id, version, created, code, chart_of_account_type, chart_of_account_view_type, description) VALUES (-5, 0, '2015-03-19 00:04:19.68', '758100000', 'REVENUE', 'REGULAR', 'Payment profit');

INSERT INTO billing_accounting_code (id, version, created, code, chart_of_account_type, chart_of_account_view_type, description) VALUES (-6, 0, '2015-03-19 00:04:19.68', '411000000', 'ASSETS', 'REGULAR', 'Gross receivables');

INSERT INTO billing_accounting_code (id, version, created, code, chart_of_account_type, chart_of_account_view_type, description) VALUES (-7, 0, '2015-03-19 00:04:19.68', '654100000', 'EXPENSE', 'REGULAR', 'Bad debt write-off');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-8, 0, NOW(), 'OPENCELL.ADMIN', '400000000', 'Accounts payable', 'LIABILITIES', 'VIEW');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-9, 0, NOW(), 'OPENCELL.ADMIN', '401000000', 'General accounts payable', 'LIABILITIES', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-10, 0, NOW(), 'OPENCELL.ADMIN', '408000000', 'Accrued payables', 'LIABILITIES', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-11, 0, NOW(), 'OPENCELL.ADMIN', '410000000', 'Accounts receivable', 'ASSETS', 'VIEW');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-13, 0, NOW(), 'OPENCELL.ADMIN', '416000000', 'Doubtful receivables', 'ASSETS', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-14, 0, NOW(), 'OPENCELL.ADMIN', '418100000', 'Accrued receivables', 'ASSETS', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-15, 0, NOW(), 'OPENCELL.ADMIN', '445510000', 'VAT due', 'LIABILITIES', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-16, 0, NOW(), 'OPENCELL.ADMIN', '445660000', 'VAT deductible', 'ASSETS', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-17, 0, NOW(), 'OPENCELL.ADMIN', '445670000', 'VAT credit', 'ASSETS', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-18, 0, NOW(), 'OPENCELL.ADMIN', '445710000', 'VAT collected', 'LIABILITIES', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-19, 0, NOW(), 'OPENCELL.ADMIN', '487000000', 'Deferred revenue', 'LIABILITIES', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-20, 0, NOW(), 'OPENCELL.ADMIN', '512000000', 'Banks', 'ASSETS', 'VIEW');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-22, 0, NOW(), 'OPENCELL.ADMIN', '512020000', 'Cash Payment - BNP #345678', 'ASSETS', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-23, 0, NOW(), 'OPENCELL.ADMIN', '622000000', 'Reseller commission', 'EXPENSE', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-24, 0, NOW(), 'OPENCELL.ADMIN', '651100000', 'Bad debt', 'EXPENSE', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-27, 0, NOW(), 'OPENCELL.ADMIN', '701000000', 'Revenue', 'REVENUE', 'VIEW');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-29, 0, NOW(), 'OPENCELL.ADMIN', '701020000', 'Discounts', 'REVENUE', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-37, 0, NOW(), 'opencell.admin', '511011000', 'Payment Card to collect', 'ASSETS', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-38, 0, NOW(), 'opencell.admin', '511002000', 'Payment Paypal to collect', 'ASSETS', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-39, 0, NOW(), 'opencell.admin', '511003000', 'Payment Stripe to collect', 'ASSETS', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-40, 0, NOW(), 'opencell.admin', '511000610', 'Payment - TIP to collect', 'ASSETS', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-41, 0, NOW(), 'opencell.admin', '531100000', 'Cash in local currency', 'ASSETS', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, creator, code, description, chart_of_account_type, chart_of_account_view_type) VALUES (-42, 0, NOW(), 'opencell.admin', '511200000', 'Checks to collect', 'ASSETS', 'REGULAR');

INSERT INTO billing_accounting_code (id, version, created, code, description, chart_of_account_type, chart_of_account_view_type, migrated, disabled) VALUES (-46, 0, NOW(), '666000000', 'Exchange loss', 'LIABILITIES', 'REGULAR', '0', '0');

INSERT INTO billing_accounting_code (id, version, created, code, description, chart_of_account_type, chart_of_account_view_type, migrated, disabled) VALUES (-47, 0, NOW(), '766000000', 'Exchange gain', 'ASSETS', 'REGULAR', '0', '0');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-accounting-codesDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4779, '8:5a38c550333f284eb8339d6dfbd5d255', 'insert tableName=billing_accounting_code; insert tableName=billing_accounting_code; insert tableName=billing_accounting_code; insert tableName=billing_accounting_code; insert tableName=billing_accounting_code; insert tableName=billing_accounting_c...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-292_20210816::HatimOUDAD
INSERT INTO journal (id, version, created, code, description, creator) VALUES (-1, 0, '2021-08-16 00:04:19.913', 'SAL', 'Sales Journal', 'OPENCELL.ADMIN');

INSERT INTO journal (id, version, created, code, description, creator) VALUES (-2, 0, '2021-08-16 00:04:19.913', 'BAN', 'Bank Journal', 'OPENCELL.ADMIN');

INSERT INTO journal (id, version, created, code, description, creator) VALUES (-3, 0, '2021-08-16 00:04:19.913', 'MSC', 'Miscellaneous Journal', 'OPENCELL.ADMIN');

INSERT INTO journal (id, version, created, code, description, creator) VALUES (-4, 0, '2021-08-16 00:04:19.913', 'TAX', 'Tax Journal', 'OPENCELL.ADMIN');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-292_20210816', 'HatimOUDAD', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4781, '8:15a01e2009881fac43a39a8d5990f756', 'insert tableName=journal; insert tableName=journal; insert tableName=journal; insert tableName=journal', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-5830_20220324::aelmalki
INSERT INTO meveo_script_instance (id, version, code, src_type, description, created) VALUES (nextval('meveo_script_instance_seq'), 0, 'org.meveo.service.script.accountingscheme.DefaultAccountingSchemeScript', 'JAVA_CLASS', 'Default Journal entry builder, from AccountOperation', NOW());

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5830_20220324', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4783, '8:1fe25e2bb707fe7a223dd3f3728262e8', 'insert tableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-5955_20220324::aelmalki
INSERT INTO ar_accounting_scheme (id, version, created, code, description, script_instance_id, long_description_i18n) VALUES (nextval('ar_accounting_scheme_seq'), 0, NOW(), 'Dual entry scheme', 'Default Accounting Scheme', (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.accountingscheme.DefaultAccountingSchemeScript'), '{"FRA":"<p>Ce schéma produit 2 lignes d''écriture:</p><ul><li>Une ligne pour le compte et le sens définis sur le type d''opération de de compte</li><li>Une ligne pour le compte de contrepartie défini sur le type d''opération de compte, mais avec un sens opposé</li></ul>","ENG":"<p>This scheme produces 2 accounting entries:</p><ul><li>An entry for the accounting code and the direction defined on the account operation type</li><li>An entry for the contra account defined on the account operation, type but with the opposite direction</li></ul>"}');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5955_20220324', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4785, '8:3d86360141b15fb97777e09741abe543', 'insert tableName=ar_accounting_scheme', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-5992_20220329::aelmalki
INSERT INTO meveo_script_instance (id, version, code, src_type, description, created, script_instance_cat_id) VALUES (nextval('meveo_script_instance_seq'), 0, 'org.meveo.service.script.accountingscheme.InvoiceAccountingSchemeScript', 'JAVA_CLASS', 'Invoice accounting scheme script', NOW(), (SELECT id FROM meveo_script_instance_cat WHERE code='ACCOUNTING_SCHEMES'));

INSERT INTO ar_accounting_scheme (id, version, created, code, description, script_instance_id, long_description_i18n) VALUES (nextval('ar_accounting_scheme_seq'), 0, NOW(), 'Invoice and Credit Note', 'Invoice accounting scheme', (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.accountingscheme.InvoiceAccountingSchemeScript'), '{"FRA":"<p>Ce schéma produit des lignes d''écritures pour une facture ou un avoir (ci-dessous \"document\") :</p><ul><li>Une ligne unique pour le total TTC du document, sur le compte client (de la catégorie de client ou à défaut du type d''opération de compte).</li></ul><p class=\"ql-indent-1\">Le sens est celui de l''opération de compte (pour une facture : DEBIT, pour un avoir : CREDIT).</p><ul><li>Des lignes de contrepartie (au moins une) pour les montants HT pour les comptes de revenus, en utilisant les codes comptables des articles liés aux lignes du document.</li></ul><p class=\"ql-indent-1\">Le sens est l''opposé de celui du type d''opération (pour une facture : CREDIT, pour un avoir : DEBIT).</p><ul><li>S''il y a lieu, des lignes pour les montants des différentes taxes appliquées au document, en utilisant les codes comptables de ces taxes.</li></ul><p class=\"ql-indent-1\">Le sens est l''opposé de celui du type d''opération (pour une facture : CREDIT, pour un avoir : DEBIT).</p>","ENG":"<p>This scheme produces entries for an invoice or credit note (here after \"document\"):</p><ul><li>A single entry with the document total amount with tax using the customer accounting code (from the customer category, or if not set from the account operation type). </li></ul><p class=\"ql-indent-1\">Line direction is the one from the account operation type (for invoice: DEBIT, for credit note: CREDIT).</p><ul><li>\"Contra\" entries (at least one) with the amounts without tax for revenue accounts, using the accounting codes from the article linked to the document lines. </li></ul><p class=\"ql-indent-1\">Line direction is the opposite of direction set on the account operation type (for invoices: CREDIT, for credit note: DEBIT).</p><ul><li>\"Contra\" entries (if applies) with the tax amounts for the different taxes applied on the document, using the accounting codes from these taxes.</li></ul><p class=\"ql-indent-1\">Line direction is the opposite of direction set on the account operation type (for invoices: CREDIT, for credit note: DEBIT).</p>"}');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5992_20220329', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4787, '8:98ecb3e5ad4faf4497ad21195213c478', 'insert tableName=meveo_script_instance; insert tableName=ar_accounting_scheme', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-6638_20220422-scripts::aelmalki
INSERT INTO meveo_script_instance (id, version, code, src_type, description, created, script_instance_cat_id) VALUES (nextval('meveo_script_instance_seq'), 0, 'org.meveo.service.script.accountingscheme.PaymentAccountingSchemeScript', 'JAVA_CLASS', 'Payment Journal entry builder, from AccountOperation', NOW(), (SELECT id FROM meveo_script_instance_cat WHERE code='ACCOUNTING_SCHEMES'));

INSERT INTO ar_accounting_scheme (id, version, created, code, description, script_instance_id) VALUES (nextval('ar_accounting_scheme_seq'), 0, NOW(), 'Payment entry scheme', 'Payment Accounting Scheme', (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.accountingscheme.PaymentAccountingSchemeScript'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6638_20220422-scripts', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4789, '8:fe6cbd6409b1f1a80c97f7738a2d2799', 'insert tableName=meveo_script_instance; insert tableName=ar_accounting_scheme', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::rebuild-data-occTemplatesDEMO::AndriusKarpavicius
INSERT INTO ar_occ_template (id, version, created, account_code_client_side, code, description, occ_category, journal_id, accounting_code_id, contra_accounting_code_id, contra_accounting_code2_id, accounting_scheme_id) VALUES (-1, 0, '2015-03-19 00:04:20.046', '411000000', 'PAY_CHK', 'Payment - check', 'CREDIT', '-2', (SELECT id FROM billing_accounting_code WHERE code='411000000'), (SELECT id FROM billing_accounting_code WHERE code='511200000'), (SELECT id FROM billing_accounting_code WHERE code='419100000'), (SELECT id FROM ar_accounting_scheme WHERE code = 'Payment entry scheme'));

INSERT INTO ar_occ_template (id, version, created, account_code_client_side, code, description, occ_category, journal_id, accounting_code_id, contra_accounting_code_id, contra_accounting_code2_id, accounting_scheme_id) VALUES (-2, 0, '2015-03-19 00:04:20.067', '411000000', 'PAY_TIP', 'Payment - TIP', 'CREDIT', '-2', (SELECT id FROM billing_accounting_code WHERE code='411000000'), (SELECT id FROM billing_accounting_code WHERE code='511000610'), (SELECT id FROM billing_accounting_code WHERE code='419100000'), (SELECT id FROM ar_accounting_scheme WHERE code = 'Payment entry scheme'));

INSERT INTO ar_occ_template (id, version, created, account_code_client_side, code, description, occ_category, journal_id, accounting_code_id, contra_accounting_code_id, contra_accounting_code2_id, accounting_scheme_id) VALUES (-3, 0, '2015-03-19 00:04:20.088', '411000000', 'PAY_DDT', 'Payment - direct debit', 'CREDIT', '-2', (SELECT id FROM billing_accounting_code WHERE code='411000000'), (SELECT id FROM billing_accounting_code WHERE code='512000000'), (SELECT id FROM billing_accounting_code WHERE code='419100000'), (SELECT id FROM ar_accounting_scheme WHERE code = 'Payment entry scheme'));

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id) VALUES (-5, 0, '2015-03-19 00:04:20.13', -3, '411000000', 'REJ_CHK', 'Rejected payment - check', 'DEBIT', '-2');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id) VALUES (-6, 0, '2015-03-19 00:04:20.171', -3, '411000000', 'REJ_DDT', 'Rejected payment - direct debit', 'DEBIT', '-2');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id) VALUES (-7, 0, '2015-03-19 00:04:20.192', -3, '411000000', 'REJ_TIP', 'Rejected payment - TIP', 'DEBIT', '-2');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id, accounting_scheme_id) VALUES (-8, 0, '2015-03-19 00:04:20.215', -3, '419120000', 'PAY_NID', 'Other - unidentified payment', 'CREDIT', '-2', (SELECT id FROM ar_accounting_scheme WHERE code = 'Dual entry scheme'));

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id, accounting_scheme_id) VALUES (-9, 0, '2015-03-19 00:04:20.236', -3, '419120000', 'PAY_REC', 'Other - unidentified payment', 'CREDIT', '-2', (SELECT id FROM ar_accounting_scheme WHERE code = 'Dual entry scheme'));

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id) VALUES (-10, 0, '2015-03-19 00:04:20.257', -3, '411000000', 'REF_CHK', 'Refund - check', 'DEBIT', '-2');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id) VALUES (-11, 0, '2015-03-19 00:04:20.278', -3, '411000000', 'REF_DDT', 'Refund - direct debit', 'DEBIT', '-2');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id) VALUES (-18, 0, '2015-03-19 00:04:20.435', -4, '411000000', 'RND_EXP', 'Expense - payment rounding', 'DEBIT', '-3');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id) VALUES (-19, 0, '2015-03-19 00:04:20.456', -5, '411000000', 'RND_INC', 'Income - payment rounding', 'CREDIT', '-3');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id, accounting_scheme_id, manual_creation_enabled) VALUES (-20, 0, '2015-03-19 00:04:20.485', -3, '419110000', 'PAY_DEP', 'Other - deposit', 'CREDIT', '-2', (SELECT id FROM ar_accounting_scheme WHERE code = 'Dual entry scheme'), '0');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id) VALUES (-24, 0, '2015-03-19 00:04:20.578', -6, '763100000', 'INV_FEE', 'Fee - late payment', 'DEBIT', '-3');

UPDATE ar_occ_template SET account_code_client_side = '445510000', accounting_code_id = -6, journal_id = '-1';

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id) VALUES (-30, 0, NOW(), -3, '411000000', 'REF_CRD', 'Refund - card', 'DEBIT', '-2');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id, manual_creation_enabled) VALUES (-31, 0, NOW(), -6, '445510000', 'TAX_VAT_00', 'Tax - VAT', 'DEBIT', '-4', '0');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id, manual_creation_enabled) VALUES (-32, 0, NOW(), -6, '445510000', 'TAX_VAT_05', 'Tax - VAT', 'DEBIT', '-4', '0');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id, manual_creation_enabled) VALUES (-33, 0, NOW(), -6, '445510000', 'TAX_VAT_20', 'Tax - VAT', 'DEBIT', '-4', '0');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id, manual_creation_enabled) VALUES (-34, 0, NOW(), -6, '445510000', 'TAX_VAT_10', 'Tax - VAT', 'DEBIT', '-4', '0');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id) VALUES (-35, 0, NOW(), -3, '411000000', 'REJ_CRD', 'Rejected payment - card', 'DEBIT', '-2');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id) VALUES (-36, 0, NOW(), -3, '411000000', 'REJ_RCR', 'Rejected refund - card', 'CREDIT', '-2');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id) VALUES (-37, 0, NOW(), -3, '411000000', 'REJ_RDD', 'Rejected refund - direct debit', 'CREDIT', '-2');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id, manual_creation_enabled) VALUES (-38, 0, NOW(), -6, '709000000', 'INV_REB', 'Invoice - rebate sub-item', 'CREDIT', '-1', '0');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id, manual_creation_enabled) VALUES (-39, 0, NOW(), -6, '709000000', 'INV_DIS', 'Invoice - discount sub-item', 'CREDIT', '-1', '0');

UPDATE ar_occ_template SET account_code_client_side = '701000000', accounting_code_id = -6, journal_id = '-1';

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id) VALUES (-41, 0, NOW(), -3, '411000000', 'REF_TIP', 'Refund - TIP', 'DEBIT', '-2');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id) VALUES (-42, 0, NOW(), -7, '411000000', 'EXP_WRT', 'Expense - bad debt write-off', 'CREDIT', '-3');

INSERT INTO ar_occ_template (id, version, created, account_code_client_side, code, description, occ_category, journal_id, accounting_code_id, contra_accounting_code_id, contra_accounting_code2_id, accounting_scheme_id) VALUES (-43, 0, NOW(), '411000000', 'PAY_CRD', 'Payment - card', 'CREDIT', '-2', (SELECT id FROM billing_accounting_code WHERE code='411000000'), (SELECT id FROM billing_accounting_code WHERE code='511011000'), (SELECT id FROM billing_accounting_code WHERE code='419100000'), (SELECT id FROM ar_accounting_scheme WHERE code = 'Payment entry scheme'));

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id, manual_creation_enabled) VALUES (-44, 0, NOW(), -3, '411000000', 'DBT_TRS', 'Debit for credit transfer', 'DEBIT', '-2', '0');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id, manual_creation_enabled) VALUES (-45, 0, NOW(), -3, '411000000', 'CRD_TRS', 'Credit for debit transfer', 'CREDIT', '-2', '0');

INSERT INTO ar_occ_template (id, version, created, account_code_client_side, code, description, occ_category, journal_id, accounting_code_id, contra_accounting_code_id, contra_accounting_code2_id, accounting_scheme_id) VALUES (-46, 0, NOW(), '411000000', 'PAY_PAL', 'Payment Paypal', 'CREDIT', '-2', (SELECT id FROM billing_accounting_code WHERE code='411000000'), (SELECT id FROM billing_accounting_code WHERE code='511002000'), (SELECT id FROM billing_accounting_code WHERE code='419100000'), (SELECT id FROM ar_accounting_scheme WHERE code = 'Payment entry scheme'));

INSERT INTO ar_occ_template (id, version, created, account_code_client_side, code, description, occ_category, journal_id, accounting_code_id, contra_accounting_code_id, contra_accounting_code2_id, accounting_scheme_id) VALUES (-47, 0, NOW(), '411000000', 'PAY_STP', 'Payment Stripe', 'CREDIT', '-2', (SELECT id FROM billing_accounting_code WHERE code='411000000'), (SELECT id FROM billing_accounting_code WHERE code='511003000'), (SELECT id FROM billing_accounting_code WHERE code='419100000'), (SELECT id FROM ar_accounting_scheme WHERE code = 'Payment entry scheme'));

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, code, description, occ_category, journal_id, accounting_scheme_id, manual_creation_enabled) VALUES (-50, 0, NOW(), (SELECT id FROM billing_accounting_code WHERE code='411000000'), 'PAY_BATCH', 'Payment from batch payment file', 'CREDIT', '-2', (SELECT id FROM ar_accounting_scheme WHERE code = 'Dual entry scheme'), '0');

INSERT INTO ar_occ_template (id, version, created, updated, code, description, occ_category, account_code_client_side, journal_id, accounting_code_id, contra_accounting_code_id, contra_accounting_code2_id, accounting_scheme_id) VALUES (-64, 0, NOW(), NOW(), 'REF_CASH', 'Refund - cash', 'DEBIT', '411000000', '-2', (SELECT id FROM billing_accounting_code WHERE code='411000000'), (SELECT id FROM billing_accounting_code WHERE code='531100000'), (SELECT id FROM billing_accounting_code WHERE code='419000000'), (SELECT id FROM ar_accounting_scheme WHERE code = 'Dual entry scheme'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-occTemplatesDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4791, '8:ae2d1d6d1a928cca687aebd86a3c3970', 'insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert ta...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-10692_20221019_ajd_occ_template::a.rouaguebe
INSERT INTO ar_occ_template (id, version, created, creator, code, description, occ_category, accounting_code_id, contra_accounting_code_id, accounting_scheme_id, journal_id) VALUES (-71, 0, NOW(), 'applicationInitializer', 'ADJ_SD', 'Adjustment to refund security deposit', 'CREDIT', (SELECT id FROM billing_accounting_code WHERE code='411000000'), (SELECT id FROM billing_accounting_code WHERE code='165000000'), (SELECT id FROM ar_accounting_scheme WHERE code = 'Dual entry scheme'), (SELECT id FROM journal WHERE code = 'SAL'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10692_20221019_ajd_occ_template', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4793, '8:463145a19e3e29bc02087101c7e9cd10', 'insert tableName=ar_occ_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-10772_20221025_ajd_occ_template::e.bourras
INSERT INTO ar_occ_template (id, version, created, updated, code, occ_category, manual_creation_enabled, journal_id, description, accounting_code_id, contra_accounting_code_id, accounting_scheme_id) VALUES (-72, 0, NOW(), NOW(), 'PAY_SD', 'CREDIT', '0', (SELECT id FROM journal where code = 'SAL'), 'Payment by security deposit', (select id from public.billing_accounting_code where code = '411000000'), (select id from public.billing_accounting_code where code = '165000000'), (select id from ar_accounting_scheme where code = 'Dual entry scheme'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10772_20221025_ajd_occ_template', 'e.bourras', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4795, '8:08e134a89b131c517ebc72936078a276', 'insert tableName=ar_occ_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-14786_20230309::bourras
INSERT INTO ar_occ_template (id, version, created, creator, code, description, occ_category, accounting_code_id, contra_accounting_code_id, accounting_scheme_id, journal_id) VALUES (-73, 0, NOW(), 'applicationInitializer', 'XCH_GAIN', 'Exchange gain', 'DEBIT', (SELECT id FROM billing_accounting_code WHERE code='411000000'), (SELECT id FROM billing_accounting_code WHERE code='766000000'), (SELECT id FROM ar_accounting_scheme WHERE code = 'Dual entry scheme'), (SELECT id FROM journal WHERE code = 'MSC'));

INSERT INTO ar_occ_template (id, version, created, creator, code, description, occ_category, accounting_code_id, contra_accounting_code_id, accounting_scheme_id, journal_id) VALUES (-74, 0, NOW(), 'applicationInitializer', 'XCH_LOSS', 'Exchange loss', 'CREDIT', (SELECT id FROM billing_accounting_code WHERE code='411000000'), (SELECT id FROM billing_accounting_code WHERE code='666000000'), (SELECT id FROM ar_accounting_scheme WHERE code = 'Dual entry scheme'), (SELECT id FROM journal WHERE code = 'MSC'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14786_20230309', 'bourras', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4797, '8:ec3635b1f1a9045451661ea5b82795d6', 'insert tableName=ar_occ_template; insert tableName=ar_occ_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-14126_20230307::aelmalki
INSERT INTO ar_occ_template (id, version, created, creator, code, description, occ_category, accounting_code_id, contra_accounting_code_id, accounting_scheme_id, journal_id) VALUES (-75, 0, NOW(), 'applicationInitializer', 'CAN_SD', 'Cancel security deposit', 'CREDIT', (SELECT id FROM billing_accounting_code WHERE code='411000000'), (SELECT id FROM billing_accounting_code WHERE code='165000000'), (SELECT id FROM ar_accounting_scheme WHERE code = 'Dual entry scheme'), (SELECT id FROM journal WHERE code = 'SAL'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14126_20230307', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4799, '8:893d75c1e1937d2bb3a761d6dd298192', 'insert tableName=ar_occ_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::rebuild-data-calendarDEMO::AndriusKarpavicius
INSERT INTO cat_calendar (cal_type, id, version, created, code, description, nb_periods, period_length, period_unit, calendar, join_type, interval_type, join_cal_1_id, join_cal_2_id) VALUES ('YEARLY', -1, 0, '2015-03-19 00:04:19.284', 'MONTHLY', 'Monthly Calendar', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

INSERT INTO cat_calendar_days (calendar_id, day_id) VALUES (-1, 1);

INSERT INTO cat_calendar_days (calendar_id, day_id) VALUES (-1, 101);

INSERT INTO cat_calendar_days (calendar_id, day_id) VALUES (-1, 201);

INSERT INTO cat_calendar_days (calendar_id, day_id) VALUES (-1, 301);

INSERT INTO cat_calendar_days (calendar_id, day_id) VALUES (-1, 401);

INSERT INTO cat_calendar_days (calendar_id, day_id) VALUES (-1, 501);

INSERT INTO cat_calendar_days (calendar_id, day_id) VALUES (-1, 601);

INSERT INTO cat_calendar_days (calendar_id, day_id) VALUES (-1, 701);

INSERT INTO cat_calendar_days (calendar_id, day_id) VALUES (-1, 801);

INSERT INTO cat_calendar_days (calendar_id, day_id) VALUES (-1, 901);

INSERT INTO cat_calendar_days (calendar_id, day_id) VALUES (-1, 1001);

INSERT INTO cat_calendar_days (calendar_id, day_id) VALUES (-1, 1101);

INSERT INTO cat_calendar (cal_type, id, version, created, code, description, nb_periods, period_length, period_unit, calendar, join_type, interval_type, join_cal_1_id, join_cal_2_id) VALUES ('PERIOD', -2, 0, '2015-03-19 00:04:19.568', 'One period', 'One period Calendar', 1, 7, 5, NULL, NULL, NULL, NULL, NULL);

INSERT INTO cat_calendar (cal_type, id, version, created, code, description, nb_periods, period_length, period_unit, calendar, join_type, interval_type, join_cal_1_id, join_cal_2_id) VALUES ('PERIOD', -3, 0, '2015-03-19 00:04:19.591', 'Multi period', 'Multi period Calendar', 6, 7, 5, NULL, NULL, NULL, NULL, NULL);

INSERT INTO cat_calendar (cal_type, id, version, created, code, description, start_date, end_date, weekend_begin, weekend_end, nb_periods, period_length, period_unit, calendar, join_type, interval_type, join_cal_1_id, join_cal_2_id) VALUES ('BANKING', -4, 0, '2018-11-20 07:40:45.183', 'FR_BANKING_CAL_2018', 'France bank calendar 2018', '2018-01-01', '2018-12-31', '6', '7', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

INSERT INTO cat_calendar_holiday (id, version, calendar_id, holiday_begin, holiday_end) VALUES (-1, 0, -4, 101, 101);

INSERT INTO cat_calendar_holiday (id, version, calendar_id, holiday_begin, holiday_end) VALUES (-2, 0, -4, 330, 330);

INSERT INTO cat_calendar_holiday (id, version, calendar_id, holiday_begin, holiday_end) VALUES (-3, 0, -4, 402, 402);

INSERT INTO cat_calendar_holiday (id, version, calendar_id, holiday_begin, holiday_end) VALUES (-4, 0, -4, 501, 501);

INSERT INTO cat_calendar_holiday (id, version, calendar_id, holiday_begin, holiday_end) VALUES (-5, 0, -4, 1225, 1226);

INSERT INTO cat_calendar (cal_type, id, version, created, code, description, start_date, end_date, weekend_begin, weekend_end, nb_periods, period_length, period_unit, calendar, join_type, interval_type, join_cal_1_id, join_cal_2_id) VALUES ('BANKING', -5, 0, '2018-12-07 11:07:45.183', 'FR_BANKING_CAL_2019', 'France bank calendar 2019', '2019-01-01', '2019-12-31', '6', '7', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

INSERT INTO cat_calendar_holiday (id, version, calendar_id, holiday_begin, holiday_end) VALUES (-6, 0, -5, 101, 101);

INSERT INTO cat_calendar_holiday (id, version, calendar_id, holiday_begin, holiday_end) VALUES (-7, 0, -5, 419, 419);

INSERT INTO cat_calendar_holiday (id, version, calendar_id, holiday_begin, holiday_end) VALUES (-8, 0, -5, 422, 422);

INSERT INTO cat_calendar_holiday (id, version, calendar_id, holiday_begin, holiday_end) VALUES (-9, 0, -5, 501, 501);

INSERT INTO cat_calendar_holiday (id, version, calendar_id, holiday_begin, holiday_end) VALUES (-10, 0, -5, 1225, 1226);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-calendarDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4801, '8:abfe2e54d67e5ecfda199d05e757dcc2', 'insert tableName=cat_calendar; insert tableName=cat_calendar_days; insert tableName=cat_calendar_days; insert tableName=cat_calendar_days; insert tableName=cat_calendar_days; insert tableName=cat_calendar_days; insert tableName=cat_calendar_days; ...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::rebuild-data-billingCyclesDEMO::AndriusKarpavicius
INSERT INTO billing_cycle (id, version, created, code, description, due_date_delay_el, invoice_date_delay_el, calendar, uuid, billing_cycle_type, filters) VALUES (-1, 0, '2015-03-19 00:04:19.85', 'CYC_INV_MT_1', 'Monthly Invoice Cycle 1', 2, 4, -1, 'BillingCycle-1', 'BILLINGACCOUNT', '{"billingAccount.billingCycle.code":"CYC_INV_MT_1"}');

INSERT INTO billing_cycle (id, version, created, code, description, due_date_delay_el, invoice_date_delay_el, calendar, uuid, billing_cycle_type, filters) VALUES (-2, 0, '2015-03-19 00:04:19.871', 'CYC_INV_MT_2', 'Monthly Invoice Cycle 2', 2, 4, -1, 'BillingCycle-2', 'BILLINGACCOUNT', '{"billingAccount.billingCycle.code":"CYC_INV_MT_2"}');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-billingCyclesDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4803, '8:95ea8f1f920a180c8a2c652a73936201', 'insert tableName=billing_cycle; insert tableName=billing_cycle', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::rebuild-data-taxesDEMO::AndriusKarpavicius
UPDATE billing_tax SET accounting_code_id = '-18', description_i18n = '{"FRA":"TVA 0%","ENG":"VAT 0%"}', tax_percentage = '0' WHERE code='TAX_00';

INSERT INTO billing_tax (id, version, created, code, description, tax_percentage, uuid, taxation_category_id) VALUES (-2, 0, '2015-03-19 00:04:19.637', 'TAX_05', '5 Percent Tax', 5.000000000000, 'tax-2', '1');

INSERT INTO billing_tax (id, version, created, code, description, tax_percentage, uuid, taxation_category_id) VALUES (-3, 0, '2015-03-19 00:04:19.659', 'TAX_18', '18 Percent Tax', 18.000000000000, 'tax-3', '1');

INSERT INTO billing_tax (id, code, tax_percentage, accounting_code_id, description_i18n, created, creator, uuid, version, taxation_category_id) VALUES ('-4', 'TAX_10', '10', '-18', '{"FRA":"TVA 10%","ENG":"VAT 10%"}', NOW(), 'applicationInitializer', 'billing_tax_tax_10', 0, '1');

INSERT INTO billing_tax (id, code, tax_percentage, accounting_code_id, description_i18n, created, creator, uuid, version, taxation_category_id) VALUES ('-5', 'TAX_20', '20', '-18', '{"FRA":"TVA 20%","ENG":"VAT 20%"}', NOW(), 'applicationInitializer', 'billing_tax_tax_20', 0, '1');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-taxesDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4805, '8:c5c989d35329472521766d31a20110c9', 'update tableName=billing_tax; insert tableName=billing_tax; insert tableName=billing_tax; insert tableName=billing_tax; insert tableName=billing_tax', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::rebuild-data-tradingsDEMO::AndriusKarpavicius
INSERT INTO billing_trading_country (id, version, created, code, description, uuid, country_id) VALUES (-1, 0, '2015-03-19 00:04:19.237', 'US', 'United States', 'Trading_Country_US', 220);

INSERT INTO billing_trading_country (id, version, created, code, description, uuid, country_id) VALUES (-2, 0, '2015-03-19 00:04:19.264', 'FR', 'France', 'Trading_Country_FR', 70);

INSERT INTO billing_trading_currency (id, version, created, pr_currency_to_this, pr_description, currency_id, symbol, decimal_places) VALUES (-1, 0, '2015-03-19 00:04:19.195', NULL, 'US Dollar', 49, '$', 2);

INSERT INTO billing_trading_currency (id, version, created, pr_currency_to_this, pr_description, currency_id, symbol, decimal_places) VALUES (-2, 0, '2015-03-19 00:04:19.216', NULL, 'Euro', 5, '€', 2);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-tradingsDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4807, '8:fddd966ba37a0d8cd362858491336b62', 'insert tableName=billing_trading_country; insert tableName=billing_trading_country; insert tableName=billing_trading_currency; insert tableName=billing_trading_currency', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::rebuild-data-invoiceCategoriesDEMO::AndriusKarpavicius
INSERT INTO billing_invoice_cat (id, version, created, code, description, sort_index, uuid) VALUES (-1, 0, '2015-03-19 00:04:19.68', 'CONSUMPTION', 'Consumption', 1, 'CONSUMPTION');

INSERT INTO billing_invoice_cat (id, version, created, code, description, sort_index, uuid) VALUES (-2, 0, '2015-03-19 00:04:19.702', 'SUBSCRIPTION', 'Subscription', 2, 'SUBSCRIPTION');

INSERT INTO billing_invoice_sub_cat (id, version, created, code, description, discount, invoice_category_id, uuid) VALUES (-1, 0, '2015-03-19 00:04:19.724', 'CMP_DATA', 'Consumption Data', 0.00, -1, 'CMP_DATA');

INSERT INTO billing_invoice_sub_cat (id, version, created, code, description, discount, invoice_category_id, uuid) VALUES (-2, 0, '2015-03-19 00:04:19.744', 'SUB_DATA', 'Subscription Data', 0.00, -2, 'SUB_DATA');

INSERT INTO billing_invoice_cat (id, code, description_i18n, created, creator, uuid, version) VALUES ('-3', 'ICAT_DEFAULT', '{"FRA":"Rubrique facture par défaut","ENG":"Default invoice category"}', NOW(), 'applicationInitializer', 'billing_invoice_cat_icat_default', 0);

INSERT INTO billing_invoice_sub_cat (id, invoice_category_id, version, code, description_i18n, created, creator, uuid) VALUES ('-3', '-3', 0, 'ISCAT_DEFAULT', '{"FRA":"Sous-rubrique facture par défaut","ENG":"Default invoice sub-category"}', NOW(), 'applicationInitializer', 'billing_invoice_cat_iscat_default');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-invoiceCategoriesDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4809, '8:64a6383ce08ddba2adc8d10d7ff36a66', 'insert tableName=billing_invoice_cat; insert tableName=billing_invoice_cat; insert tableName=billing_invoice_sub_cat; insert tableName=billing_invoice_sub_cat; insert tableName=billing_invoice_cat; insert tableName=billing_invoice_sub_cat', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::rebuild-data-taxDEMO::AndriusKarpavicius
INSERT INTO billing_tax_category (id, code, description_i18n, created, creator, uuid, version, untdid_taxation_category_id) VALUES ('-2', 'EXEMPTED', '{"FRA":"Exempté","ENG":"Exempted"}', NOW(), 'applicationInitializer', 'billing_tax_category_exempted', 0, (SELECT id FROM untdid_5305_taxation_category WHERE code = 'E'));

INSERT INTO billing_tax_category (id, code, description_i18n, created, creator, uuid, version, untdid_taxation_category_id) VALUES ('-3', 'REGULAR', '{"FRA":"Standard","ENG":"Regular"}', NOW(), 'applicationInitializer', 'billing_tax_category_regular', 0, (SELECT id FROM untdid_5305_taxation_category WHERE code = 'S'));

INSERT INTO billing_tax_class (id, code, description_i18n, created, creator, uuid, version) VALUES ('-3', 'NO_TAX', '{"FRA":"Pas de TVA","ENG":"No VAT"}', NOW(), 'applicationInitializer', 'billing_tax_class_no_tax', 0);

INSERT INTO billing_tax_class (id, code, description_i18n, created, creator, uuid, version) VALUES ('-4', 'REDUCED', '{"FRA":"TVA réduite","ENG":"Reduced VAT"}', NOW(), 'applicationInitializer', 'billing_tax_class_reduced', 0);

INSERT INTO billing_tax_class (id, code, description_i18n, created, creator, uuid, version) VALUES ('-5', 'NORMAL', '{"FRA":"TVA normale","ENG":"Normal VAT"}', NOW(), 'applicationInitializer', 'billing_tax_class_normal', 0);

INSERT INTO billing_tax_mapping (id, tax_category_id, tax_class_id, tax_id, buyer_country_id, created, creator, priority, version) VALUES ('-1', '-3', '-5', '-1', '-1', NOW(), 'applicationInitializer', 0, 0);

INSERT INTO billing_tax_mapping (id, tax_category_id, tax_class_id, tax_id, buyer_country_id, created, creator, priority, version) VALUES ('-2', '-3', '-5', '-2', '-2', NOW(), 'applicationInitializer', 0, 0);

INSERT INTO billing_tax_mapping (id, tax_category_id, tax_class_id, tax_id, buyer_country_id, created, creator, priority, version) VALUES ('-3', '-3', '-5', '-1', '-1', NOW(), 'applicationInitializer', 0, 0);

INSERT INTO billing_tax_mapping (id, tax_category_id, tax_class_id, tax_id, buyer_country_id, created, creator, priority, version) VALUES ('-4', '-3', '-5', '-2', '-2', NOW(), 'applicationInitializer', 0, 0);

INSERT INTO billing_tax_mapping (id, tax_category_id, tax_id, created, creator, priority, version) VALUES ('-5', '-3', '-5', NOW(), 'applicationInitializer', 0, 0);

INSERT INTO billing_tax_mapping (id, tax_category_id, tax_id, created, creator, priority, version) VALUES ('-11', '-2', '-1', NOW(), 'applicationInitializer', 100, 0);

INSERT INTO billing_tax_mapping (id, tax_category_id, tax_class_id, tax_id, created, creator, priority, version) VALUES ('-12', '-3', '-3', '-1', NOW(), 'applicationInitializer', 20, 0);

INSERT INTO billing_tax_mapping (id, tax_category_id, tax_class_id, tax_id, created, creator, priority, version) VALUES ('-13', '-3', '-4', '-4', NOW(), 'applicationInitializer', 2, 0);

INSERT INTO billing_tax_mapping (id, tax_category_id, tax_class_id, tax_id, buyer_country_id, created, creator, priority, version) VALUES ('-14', '-3', '-5', '-4', '-1', NOW(), 'applicationInitializer', 10, 0);

INSERT INTO billing_tax_mapping (id, tax_category_id, tax_class_id, tax_id, created, creator, priority, version) VALUES ('-15', '-3', '-5', '-5', NOW(), 'applicationInitializer', 1, 0);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-taxDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4811, '8:4e055c878f278bae21d82f6f22234333', 'insert tableName=billing_tax_category; insert tableName=billing_tax_category; insert tableName=billing_tax_class; insert tableName=billing_tax_class; insert tableName=billing_tax_class; insert tableName=billing_tax_mapping; insert tableName=billin...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::rebuild-data-subscriptionTerminationReasonsDEMO::AndriusKarpavicius
INSERT INTO billing_subscrip_termin_reason (id, version, apply_agreement, apply_reimbursment, apply_termination_charges, code, description, created) VALUES (-1, 0, 1, 1, 1, 'TERM_REASON_1', 'Agreement Reimbursement Charge', '2015-03-19 00:04:19.829');

INSERT INTO billing_subscrip_termin_reason (id, version, apply_agreement, apply_reimbursment, apply_termination_charges, code, description, created) VALUES (-2, 0, 1, 0, 0, 'TERM_REASON_2', 'Agreement', '2015-03-19 00:04:19.829');

INSERT INTO billing_subscrip_termin_reason (id, version, apply_agreement, apply_reimbursment, apply_termination_charges, code, description, created) VALUES (-3, 0, 0, 1, 0, 'TERM_REASON_3', 'Charge', '2015-03-19 00:04:19.829');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-subscriptionTerminationReasonsDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4813, '8:75e183a0fca5b48975a7234df2096f9f', 'insert tableName=billing_subscrip_termin_reason; insert tableName=billing_subscrip_termin_reason; insert tableName=billing_subscrip_termin_reason', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::rebuild-data-customerClasifDEMO::AndriusKarpavicius
INSERT INTO crm_customer_brand (id, version, created, code, description) VALUES (-1, 0, '2015-03-19 00:04:19.131', 'DEFAULT', 'Demo Product and Services');

INSERT INTO crm_customer_category (id, version, uuid, created, code, description, exonerated_from_taxes, tax_category_id) VALUES (-2, 0, 'CCC_CLIENT', '2015-03-19 00:04:19.11', 'CLIENT', 'Client', 0, -3);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-customerClasifDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4815, '8:67c0b892f81c50477cef33d6865fe4f0', 'insert tableName=crm_customer_brand; insert tableName=crm_customer_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::rebuild-data-creditCategoryDEMO::AndriusKarpavicius
INSERT INTO ar_credit_category (id, version, created, code, description) VALUES (-3, 0, '2015-03-19 00:04:19.913', 'PRO', 'PRO');

INSERT INTO ar_credit_category (id, version, created, code, description) VALUES (-4, 0, '2015-03-19 00:04:19.913', 'VIP', 'VIP');

INSERT INTO ar_credit_category (id, version, created, code, description) VALUES (-5, 0, '2015-03-19 00:04:19.913', 'NEWCUSTOMER', 'New Customer');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-creditCategoryDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4817, '8:998c5594c10f3b00a45c953f7410739c', 'insert tableName=ar_credit_category; insert tableName=ar_credit_category; insert tableName=ar_credit_category', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::rebuild-data-sellerDEMO::AndriusKarpavicius
INSERT INTO crm_seller (id, version, created, code, description, uuid, trading_currency_id, trading_language_id, email) VALUES (-1, 0, '2015-03-19 00:04:19.913', 'MAIN_SELLER', 'Demo Distributor', 'MAIN_SELLER', -1, -1, 'billing@opencell.com');

INSERT INTO crm_seller (id, version, created, code, description, uuid, parent_seller_id, trading_currency_id, trading_language_id, email) VALUES (-2, 0, '2015-03-19 00:04:19.934', 'SELLER_US', 'US Seller', 'SELLER_US', -1, -1, -1, 'billing@opencell.com');

INSERT INTO crm_seller (id, version, created, code, description, uuid, parent_seller_id, trading_currency_id, trading_language_id, email) VALUES (-3, 0, '2015-03-19 00:04:19.955', 'SELLER_FR', 'France Seller', 'SELLER_FR', -1, -2, -2, 'billing@opencell.com');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-sellerDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4819, '8:a684964cc3a3b85c4dc0108a69ec9ae3', 'insert tableName=crm_seller; insert tableName=crm_seller; insert tableName=crm_seller', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::rebuild-data-jobDEMO::AndriusKarpavicius
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (-2, 0, 1, '2015-03-19 00:04:19.913', 'IMPORT_HIERARCHY', 'ImportCustomersJob', 'Cust_Job', 'OPENCELL.ADMIN', -1, 'Cust_Job');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (-9, 0, 1, '2015-03-19 00:04:19.913', 'IMPORT_HIERARCHY', 'ImportAccountsJob', 'Acco_Job', 'OPENCELL.ADMIN', -1, 'Acco_Job');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (-10, 0, 1, '2015-03-19 00:04:19.913', 'IMPORT_HIERARCHY', 'ImportSubscriptionsJob', 'Subs_Job', 'OPENCELL.ADMIN', -1, 'Subs_Job');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (-19, 0, 1, '2015-03-19 00:04:19.913', 'UTILS', 'CustomTableImportJob', 'Custom_table_data_import_Job', 'OPENCELL.ADMIN', -3, 'Custom_table_data_import_Job');

INSERT INTO meveo_job_instance (id, version, disabled, created, updated, code, description, job_category, job_template, parametres, creator, updater, timerentity_id, following_job_id, uuid, run_on_nodes, cluster_behavior, cf_values, exclude_inv_without_amount) VALUES (-16, 6, 0, NOW(), NOW(), 'PaymentCard_Job', NULL, 'PAYMENT', 'PaymentJob', NULL, 'opencell.admin', 'opencell.admin', NULL, NULL, '2c72550b-4e79-4dab-a8bd-df8499abd25b', NULL, 'LIMIT_TO_SINGLE_NODE', '{"PaymentJob_creditOrDebit":[{"string":"Credit"}],"waitingMillis":[{"long":0}],"PaymentJob_matchingAO":[{"string":"YES"}],"PaymentJob_cardOrDD":[{"string":"CARD"}],"PaymentJob_createAO":[{"string":"YES"}],"nbRuns":[{"long":1}],"PaymentJob_AOorCA":[{"string":"CA"}]}', 0);

INSERT INTO meveo_job_instance (id, version, disabled, created, updated, code, description, job_category, job_template, parametres, creator, updater, timerentity_id, following_job_id, uuid, run_on_nodes, cluster_behavior, cf_values, exclude_inv_without_amount) VALUES (-17, 3, 0, NOW(), NOW(), 'RefundCard_Job', NULL, 'PAYMENT', 'PaymentJob', NULL, 'opencell.admin', 'opencell.admin', NULL, NULL, 'a4bb9554-85f3-4c0a-8f62-438fec7bdac2', NULL, 'LIMIT_TO_SINGLE_NODE', '{"PaymentJob_creditOrDebit":[{"string":"Debit"}],"waitingMillis":[{"long":0}],"PaymentJob_matchingAO":[{"string":"YES"}],"PaymentJob_cardOrDD":[{"string":"CARD"}],"PaymentJob_createAO":[{"string":"YES"}],"nbRuns":[{"long":1}],"PaymentJob_AOorCA":[{"string":"CA"}]}', 0);

INSERT INTO meveo_job_instance (id, version, created, job_category, job_template, code, creator, description, uuid, cf_values) VALUES (-23, 0, '2019-07-01 00:00:00', 'IMPORT_HIERARCHY', 'ExportMediationEntityJob', 'ExportMediationEntityJob', 'opencell.admin', 'Export open EDR, WO, RTx', 'ExportMediationEntityJob', '{"ExportMediationEntityJob_lastTransactionDate":[{"date":""}],"ExportMediationEntityJob_firstTransactionDate":[{"date":"2017-01-01T00:00:00Z"}],"ExportMediationEntityJob_rtCf":[{"boolean":true}],"ExportMediationEntityJob_edrCf":[{"boolean":true}],"ExportMediationEntityJob_woCf":[{"boolean":true}]}');

INSERT INTO meveo_job_instance (id, version, created, job_category, job_template, code, creator, description, uuid, cf_values) VALUES (-24, 0, '2019-07-01 00:00:00', 'UTILS', 'PurgeMediationDataJob', 'PurgeMediationDataJob', 'opencell.admin', 'Purge not open EDR, WO, RTx', 'PurgeMediationDataJob', '{"PurgeMediationDataJob_edrStatusCf":[ { "listString":[ "AGGREGATED", "MEDIATING", "OPEN", "RATED", "REJECTED" ] } ], "PurgeMediationDataJob_firstTransactionDate":[ { "date":null } ], "PurgeMediationDataJob_woStatusCf":[ { "listString":[ "CANCELED", "OPEN", "RERATED", "RESERVED", "SCHEDULED", "TO_RERATE", "TREATED" ] } ], "PurgeMediationDataJob_rtStatusCf":[ { "listString":[ "BILLED", "CANCELED", "OPEN", "REJECTED", "RERATED" ] } ] }');

INSERT INTO meveo_job_instance (id, version, created, job_category, job_template, code, creator, description, uuid) VALUES (-25, 0, '2019-07-01 00:00:00', 'IMPORT_HIERARCHY', 'ImportMediationEntityJob', 'ImportMediationEntityJob', 'opencell.admin', 'Import open EDR, WO, RTx', 'ImportMediationEntityJob');

INSERT INTO meveo_job_instance (id, version, created, job_category, job_template, code, creator, description, uuid, cf_values) VALUES (-28, 0, '2019-02-18 00:00:00', 'MEDIATION', 'PurgeMediationDataJobV2', 'PurgeMediationDataJobV2', 'opencell.admin', 'Purge not open EDR, WO, RTx', 'PurgeMediationDataJobV2', '{"PurgeMediationDataJobV2_firstTransactionDate":[{"date":"2017-01-01T00:00:00Z"}]}');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (nextval('meveo_job_instance_seq'), 0, 1, '2015-03-19 00:04:19.913', 'INVOICING', 'ArticleMappingJob', 'Article_Mapp_Job_V2', 'OPENCELL.ADMIN', -1, 'Article_Mapp_Job_V2');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, value_required, creator, versionable, entity_clazz, storage_type, allow_edit, hide_on_new, inh_as_def_value, cf_protectable) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'ArticleMappingJob_billingRun', 'JobInstance_ArticleMappingJob', 'Billing Runs', 'ENTITY', '0', 'applicationInitializer', '0', 'org.meveo.model.billing.BillingRun', 'LIST', '1', '0', '0', '0');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, description, field_type, value_required, creator, versionable, storage_type, trigger_end_period_event, applies_to, allow_edit, max_value, hide_on_new, inh_as_def_value, cf_protectable) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FirstTransactionDate', 'First transaction date', 'DATE', '0', 'applicationInitializer', '0', 'SINGLE', '0', 'JobInstance_ArticleMappingJob', '1', '9223372036854775807', '0', '0', '0');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, description, field_type, value_required, creator, versionable, storage_type, trigger_end_period_event, applies_to, allow_edit, max_value, hide_on_new, inh_as_def_value, cf_protectable) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'LastTransactionDate', 'Last transaction date', 'DATE', '0', 'applicationInitializer', '0', 'SINGLE', '0', 'JobInstance_ArticleMappingJob', '1', '9223372036854775807', '0', '0', '0');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, timerentity_id, uuid) VALUES (nextval('meveo_job_instance_seq'), 0, 0, '2021-07-29 00:04:19.913', 'INVOICING', 'XMLInvoiceGenerationJobV2', 'XMLInvoiceGenerationJobV2', 'OPENCELL.ADMIN', -3, 'XML_Invoice_Generation_Job_V2');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, description, creator, job_speed, cluster_behavior, verbose_report, uuid, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, '2021-09-14 00:04:19.913', 'MEDIATION', 'FlatFileProcessingJob', 'ProcessCustomerPaymentsFileJob', 'Process customer payments file job', 'OPENCELL.ADMIN', 'NORMAL', 'LIMIT_TO_SINGLE_NODE', 1, 'ProcessCustomerPaymentsFileJob', '{"FlatFileProcessingJob_mappingConf":[{"string":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beanio xmlns=\"http://www.beanio.org/2012/03\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.beanio.org/2012/03 http://www.beanio.org/2012/03/mapping.xsd\">\n   <stream name=\"record\" format=\"fixedlength\" strict=\"true\">\n      <record name=\"payment\" occurs=\"0+\" class=\"org.meveo.api.dto.payment.CustomerPaymentRecordDto\" minLength=\"80\" maxLength=\"80\">\n         <field name=\"payCode\" minOccurs=\"0\" length=\"3\" />\n         <field name=\"accountNumber\" minOccurs=\"0\" length=\"11\" />\n         <field name=\"checkDigit\" minOccurs=\"0\" length=\"2\" />\n         <field name=\"paidAmount\" minOccurs=\"0\" length=\"10\" />\n         <field name=\"filler\" minOccurs=\"0\" length=\"5\" />\n         <field name=\"date\" minOccurs=\"0\" length=\"6\" format=\"ddMMyy\"/>\n         <field name=\"reference\" minOccurs=\"0\" length=\"42\" />\n         <field name=\"endOfRecord\" minOccurs=\"0\" length=\"1\" />\n      </record>\n   </stream>\n</beanio>"}]
                        ,"FlatFileProcessingJob_recordVariableName":[{"string":"record"}]
                        ,"FlatFileProcessingJob_errorAction":[{"string":"CONTINUE"}]
                        ,"FlatFileProcessingJob_originFilename":[{"string":"origin_filename"}]
                        ,"FlatFileProcessingJob_fileNameExtension":[{"string":"PMT"}]
                        ,"FlatFileProcessingJob_scriptsFlow":[{"string":"org.meveo.service.script.ProcessCustomerPaymentsFileScript"}]
                        ,"FlatFileProcessingJob_archiveDir":[{"string":"imports/payment/archive"}]
                        ,"FlatFileProcessingJob_rejectDir":[{"string":"imports/payment/reject"}]
                        ,"FlatFileProcessingJob_outputDir":[{"string":"imports/payment/output"}]
                        ,"FlatFileProcessingJob_inputDir":[{"string":"imports/payment/input"}]}');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, default_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'oneFilePerJob', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Process files separately', 'BOOLEAN', 'SINGLE', '0', '0', 'applicationInitializer', 'tab:Configuration:0;fieldGroup:Execution configuration:0;field:2');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, max_value, default_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FlatFileProcessingJob_outputDir', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Output directory', 'STRING', 'SINGLE', '0', 256, 'imports/payment/output', 'applicationInitializer', 'tab:Configuration:0;fieldGroup:File configuration:1;field:4');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FlatFileProcessingJob_mappingConf', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Record descriptor', 'TEXT_AREA', 'SINGLE', '0', 'applicationInitializer', 'tab:Configuration:0;fieldGroup:Record configuration:2;field:0');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, max_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FlatFileProcessingJob_recordVariableName', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Record variable name', 'STRING', 'SINGLE', 'record', '0', 50, 'applicationInitializer', 'tab:Configuration:0;fieldGroup:Data processing configuration:3;field:2');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, max_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FlatFileProcessingJob_originFilename', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Filename variable name', 'STRING', 'SINGLE', 'origin_filename', '0', 256, 'applicationInitializer', 'tab:Configuration:0;fieldGroup:Data processing configuration:3;field:3');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, max_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FlatFileProcessingJob_archiveDir', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Archive directory', 'STRING', 'SINGLE', 'imports/payment/archive', '0', 256, 'applicationInitializer', 'tab:Configuration:0;fieldGroup:File configuration:1;field:2');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, max_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FlatFileProcessingJob_inputDir', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Input directory', 'STRING', 'SINGLE', 'imports/payment/input', '0', 256, 'applicationInitializer', 'tab:Configuration:0;fieldGroup:File configuration:1;field:1');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'waitingMillis', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Waiting before next launch (ms)', 'LONG', 'SINGLE', 0, '0', 'applicationInitializer', 'tab:Configuration:0;fieldGroup:Execution configuration:0;field:1');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, creator, max_value, mapkey_type, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FlatFileProcessingJob_variables', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Init and finalize variables', 'STRING', 'MAP', '0', 'applicationInitializer', 256, 'STRING', 'tab:Configuration:0;fieldGroup:Dataprocessing configuration:3;field:1');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FlatFileProcessingJob_errorAction', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Error action', 'LIST', 'SINGLE', 'CONTINUE', '0', 'applicationInitializer', 'tab:Configuration:0;fieldGroup:Data processing configuration:3;field:5');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, entity_clazz, value_required, max_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FlatFileProcessingJob_fileFormat', 'JobInstance_ProcessCustomerPaymentsFileJob', 'File format', 'ENTITY', 'SINGLE', 'org.meveo.model.admin.FileFormat', '0', 256, 'applicationInitializer', 'tab:Configuration:0;fieldGroup:File configuration:1;field:0');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, max_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FlatFileProcessingJob_fileNameFilter', 'JobInstance_ProcessCustomerPaymentsFileJob', 'File name filter', 'STRING', 'SINGLE', '0', 256, 'applicationInitializer', 'tab:Configuration:0;fieldGroup:File configuration:1;field:5');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, max_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FlatFileProcessingJob_fileNameExtension', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Extension', 'STRING', 'SINGLE', 'csv', '0', 256, 'applicationInitializer', 'tab:Configuration:0;fieldGroup:File configuration:1;field:6');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FlatFileProcessingJob_formatTransfo', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Format transformation', 'LIST', 'SINGLE', 'None', '0', 'applicationInitializer', 'tab:Configuration:0;fieldGroup:Data processing configuration:3;field:4');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, max_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FlatFileProcessingJob_rejectDir', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Reject directory', 'STRING', 'SINGLE', '0', 256, 'applicationInitializer', 'tab:Configuration:0;fieldGroup:File configuration:1;field:3');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, value_required, max_value, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FlatFileProcessingJob_scriptsFlow', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Script flow', 'STRING', 'SINGLE', '0', 256, 'applicationInitializer', 'tab:Configuration:0;fieldGroup:Data processing configuration:3;field:0');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'nbRuns', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Number of parallel execution', 'LONG', 'SINGLE', 1, '0', 'applicationInitializer', 'tab:Configuration:0;fieldGroup:Execution configuration:0;field:0');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, storage_type, default_value, value_required, creator, gui_position) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'FlatFileProcessingJob_nbLinesToProcess', 'JobInstance_ProcessCustomerPaymentsFileJob', 'Nb of lines to process', 'LONG', 'SINGLE', 1, '0', 'applicationInitializer', 'tab:Configuration:0;fieldGroup:File configuration:1;field:7');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-jobDEMO', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4821, '8:128373047b6ee3287ad6b94b37b73ed3', 'insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_jo...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-13957_20230213::houdad
DELETE FROM public.CAT_UNIT_OF_MEASURE;

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1, 0, 'opencell.admin', NULL, '10', now(), NULL, 'group', 'group', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2, 0, 'opencell.admin', NULL, '11', now(), NULL, 'outfit', 'outfit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-3, 0, 'opencell.admin', NULL, '13', now(), NULL, 'ration', 'ration', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-4, 0, 'opencell.admin', NULL, '14', now(), NULL, 'shot', 'shot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-5, 0, 'opencell.admin', NULL, '15', now(), NULL, 'stick, military', 'stick, military', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-6, 0, 'opencell.admin', NULL, '20', now(), NULL, 'twenty foot container', 'twenty foot container', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-7, 0, 'opencell.admin', NULL, '21', now(), NULL, 'forty foot container', 'forty foot container', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-8, 0, 'opencell.admin', NULL, '22', now(), NULL, 'decilitre per gram', 'decilitre per gram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-9, 0, 'opencell.admin', NULL, '23', now(), NULL, 'gram per cubic centimetre', 'gram per cubic centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-10, 0, 'opencell.admin', NULL, '24', now(), NULL, 'theoretical pound', 'theoretical pound', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-11, 0, 'opencell.admin', NULL, '25', now(), NULL, 'gram per square centimetre', 'gram per square centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-12, 0, 'opencell.admin', NULL, '27', now(), NULL, 'theoretical ton', 'theoretical ton', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-13, 0, 'opencell.admin', NULL, '28', now(), NULL, 'kilogram per square metre', 'kilogram per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-14, 0, 'opencell.admin', NULL, '33', now(), NULL, 'kilopascal square metre per gram', 'kilopascal square metre per gram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-15, 0, 'opencell.admin', NULL, '34', now(), NULL, 'kilopascal per millimetre', 'kilopascal per millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-16, 0, 'opencell.admin', NULL, '35', now(), NULL, 'millilitre per square centimetre second', 'millilitre per square centimetre second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-17, 0, 'opencell.admin', NULL, '37', now(), NULL, 'ounce per square foot', 'ounce per square foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-18, 0, 'opencell.admin', NULL, '38', now(), NULL, 'ounce per square foot per 0,01inch', 'ounce per square foot per 0,01inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-19, 0, 'opencell.admin', NULL, '40', now(), NULL, 'millilitre per second', 'millilitre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-20, 0, 'opencell.admin', NULL, '41', now(), NULL, 'millilitre per minute', 'millilitre per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-21, 0, 'opencell.admin', NULL, '56', now(), NULL, 'sitas', 'sitas', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-22, 0, 'opencell.admin', NULL, '57', now(), NULL, 'mesh', 'mesh', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-23, 0, 'opencell.admin', NULL, '58', now(), NULL, 'net kilogram', 'net kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-24, 0, 'opencell.admin', NULL, '59', now(), NULL, 'part per million', 'part per million', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-25, 0, 'opencell.admin', NULL, '60', now(), NULL, 'percent weight', 'percent weight', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-26, 0, 'opencell.admin', NULL, '61', now(), NULL, 'part per billion (US)', 'part per billion (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-27, 0, 'opencell.admin', NULL, '74', now(), NULL, 'millipascal', 'millipascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-28, 0, 'opencell.admin', NULL, '77', now(), NULL, 'milli-inch', 'milli-inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-29, 0, 'opencell.admin', NULL, '80', now(), NULL, 'pound per square inch absolute', 'pound per square inch absolute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-30, 0, 'opencell.admin', NULL, '81', now(), NULL, 'henry', 'henry', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-31, 0, 'opencell.admin', NULL, '85', now(), NULL, 'foot pound-force', 'foot pound-force', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-32, 0, 'opencell.admin', NULL, '87', now(), NULL, 'pound per cubic foot', 'pound per cubic foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-33, 0, 'opencell.admin', NULL, '89', now(), NULL, 'poise', 'poise', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-34, 0, 'opencell.admin', NULL, '91', now(), NULL, 'stokes', 'stokes', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-35, 0, 'opencell.admin', NULL, '1I', now(), NULL, 'fixed rate', 'fixed rate', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-36, 0, 'opencell.admin', NULL, '2A', now(), NULL, 'radian per second', 'radian per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-37, 0, 'opencell.admin', NULL, '2B', now(), NULL, 'radian per second squared', 'radian per second squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-38, 0, 'opencell.admin', NULL, '2C', now(), NULL, 'roentgen', 'roentgen', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-39, 0, 'opencell.admin', NULL, '2G', now(), NULL, 'volt AC', 'volt AC', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-40, 0, 'opencell.admin', NULL, '2H', now(), NULL, 'volt DC', 'volt DC', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-41, 0, 'opencell.admin', NULL, '2I', now(), NULL, 'British thermal unit (international table) per hour', 'British thermal unit (international table) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-42, 0, 'opencell.admin', NULL, '2J', now(), NULL, 'cubic centimetre per second', 'cubic centimetre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-43, 0, 'opencell.admin', NULL, '2K', now(), NULL, 'cubic foot per hour', 'cubic foot per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-44, 0, 'opencell.admin', NULL, '2L', now(), NULL, 'cubic foot per minute', 'cubic foot per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-45, 0, 'opencell.admin', NULL, '2M', now(), NULL, 'centimetre per second', 'centimetre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-46, 0, 'opencell.admin', NULL, '2N', now(), NULL, 'decibel', 'decibel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-47, 0, 'opencell.admin', NULL, '2P', now(), NULL, 'kilobyte', 'kilobyte', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-48, 0, 'opencell.admin', NULL, '2Q', now(), NULL, 'kilobecquerel', 'kilobecquerel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-49, 0, 'opencell.admin', NULL, '2R', now(), NULL, 'kilocurie', 'kilocurie', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-50, 0, 'opencell.admin', NULL, '2U', now(), NULL, 'megagram', 'megagram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-51, 0, 'opencell.admin', NULL, '2X', now(), NULL, 'metre per minute', 'metre per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-52, 0, 'opencell.admin', NULL, '2Y', now(), NULL, 'milliroentgen', 'milliroentgen', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-53, 0, 'opencell.admin', NULL, '2Z', now(), NULL, 'millivolt', 'millivolt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-54, 0, 'opencell.admin', NULL, '3B', now(), NULL, 'megajoule', 'megajoule', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-55, 0, 'opencell.admin', NULL, '3C', now(), NULL, 'manmonth', 'manmonth', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-56, 0, 'opencell.admin', NULL, '4C', now(), NULL, 'centistokes', 'centistokes', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-57, 0, 'opencell.admin', NULL, '4G', now(), NULL, 'microlitre', 'microlitre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-58, 0, 'opencell.admin', NULL, '4H', now(), NULL, 'micrometre (micron)', 'micrometre (micron)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-59, 0, 'opencell.admin', NULL, '4K', now(), NULL, 'milliampere', 'milliampere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-60, 0, 'opencell.admin', NULL, '4L', now(), NULL, 'megabyte', 'megabyte', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-61, 0, 'opencell.admin', NULL, '4M', now(), NULL, 'milligram per hour', 'milligram per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-62, 0, 'opencell.admin', NULL, '4N', now(), NULL, 'megabecquerel', 'megabecquerel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-63, 0, 'opencell.admin', NULL, '4O', now(), NULL, 'microfarad', 'microfarad', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-64, 0, 'opencell.admin', NULL, '4P', now(), NULL, 'newton per metre', 'newton per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-65, 0, 'opencell.admin', NULL, '4Q', now(), NULL, 'ounce inch', 'ounce inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-66, 0, 'opencell.admin', NULL, '4R', now(), NULL, 'ounce foot', 'ounce foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-67, 0, 'opencell.admin', NULL, '4T', now(), NULL, 'picofarad', 'picofarad', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-68, 0, 'opencell.admin', NULL, '4U', now(), NULL, 'pound per hour', 'pound per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-69, 0, 'opencell.admin', NULL, '4W', now(), NULL, 'ton (US) per hour', 'ton (US) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-70, 0, 'opencell.admin', NULL, '4X', now(), NULL, 'kilolitre per hour', 'kilolitre per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-71, 0, 'opencell.admin', NULL, '5A', now(), NULL, 'barrel (US) per minute', 'barrel (US) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-72, 0, 'opencell.admin', NULL, '5B', now(), NULL, 'batch', 'batch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-73, 0, 'opencell.admin', NULL, '5E', now(), NULL, 'MMSCF/day', 'MMSCF/day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-74, 0, 'opencell.admin', NULL, '5J', now(), NULL, 'hydraulic horse power', 'hydraulic horse power', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-75, 0, 'opencell.admin', NULL, 'A10', now(), NULL, 'ampere square metre per joule second', 'ampere square metre per joule second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-76, 0, 'opencell.admin', NULL, 'A11', now(), NULL, 'angstrom', 'angstrom', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-77, 0, 'opencell.admin', NULL, 'A12', now(), NULL, 'astronomical unit', 'astronomical unit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-78, 0, 'opencell.admin', NULL, 'A13', now(), NULL, 'attojoule', 'attojoule', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-79, 0, 'opencell.admin', NULL, 'A14', now(), NULL, 'barn', 'barn', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-80, 0, 'opencell.admin', NULL, 'A15', now(), NULL, 'barn per electronvolt', 'barn per electronvolt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-81, 0, 'opencell.admin', NULL, 'A16', now(), NULL, 'barn per steradian electronvolt', 'barn per steradian electronvolt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-82, 0, 'opencell.admin', NULL, 'A17', now(), NULL, 'barn per steradian', 'barn per steradian', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-83, 0, 'opencell.admin', NULL, 'A18', now(), NULL, 'becquerel per kilogram', 'becquerel per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-84, 0, 'opencell.admin', NULL, 'A19', now(), NULL, 'becquerel per cubic metre', 'becquerel per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-85, 0, 'opencell.admin', NULL, 'A2', now(), NULL, 'ampere per centimetre', 'ampere per centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-86, 0, 'opencell.admin', NULL, 'A20', now(), NULL, 'British thermal unit (international table) per second square foot degree Rankine', 'British thermal unit (international table) per second square foot degree Rankine', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-87, 0, 'opencell.admin', NULL, 'A21', now(), NULL, 'British thermal unit (international table) per pound degree Rankine', 'British thermal unit (international table) per pound degree Rankine', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-88, 0, 'opencell.admin', NULL, 'A22', now(), NULL, 'British thermal unit (international table) per second foot degree Rankine', 'British thermal unit (international table) per second foot degree Rankine', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-89, 0, 'opencell.admin', NULL, 'A23', now(), NULL, 'British thermal unit (international table) per hour square foot degree Rankine', 'British thermal unit (international table) per hour square foot degree Rankine', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-90, 0, 'opencell.admin', NULL, 'A24', now(), NULL, 'candela per square metre', 'candela per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-91, 0, 'opencell.admin', NULL, 'A26', now(), NULL, 'coulomb metre', 'coulomb metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-92, 0, 'opencell.admin', NULL, 'A27', now(), NULL, 'coulomb metre squared per volt', 'coulomb metre squared per volt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-93, 0, 'opencell.admin', NULL, 'A28', now(), NULL, 'coulomb per cubic centimetre', 'coulomb per cubic centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-94, 0, 'opencell.admin', NULL, 'A29', now(), NULL, 'coulomb per cubic metre', 'coulomb per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-95, 0, 'opencell.admin', NULL, 'A3', now(), NULL, 'ampere per millimetre', 'ampere per millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-96, 0, 'opencell.admin', NULL, 'A30', now(), NULL, 'coulomb per cubic millimetre', 'coulomb per cubic millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-97, 0, 'opencell.admin', NULL, 'A31', now(), NULL, 'coulomb per kilogram second', 'coulomb per kilogram second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-98, 0, 'opencell.admin', NULL, 'A32', now(), NULL, 'coulomb per mole', 'coulomb per mole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-99, 0, 'opencell.admin', NULL, 'A33', now(), NULL, 'coulomb per square centimetre', 'coulomb per square centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-100, 0, 'opencell.admin', NULL, 'A34', now(), NULL, 'coulomb per square metre', 'coulomb per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-101, 0, 'opencell.admin', NULL, 'A35', now(), NULL, 'coulomb per square millimetre', 'coulomb per square millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-102, 0, 'opencell.admin', NULL, 'A36', now(), NULL, 'cubic centimetre per mole', 'cubic centimetre per mole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-103, 0, 'opencell.admin', NULL, 'A37', now(), NULL, 'cubic decimetre per mole', 'cubic decimetre per mole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-104, 0, 'opencell.admin', NULL, 'A38', now(), NULL, 'cubic metre per coulomb', 'cubic metre per coulomb', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-105, 0, 'opencell.admin', NULL, 'A39', now(), NULL, 'cubic metre per kilogram', 'cubic metre per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-106, 0, 'opencell.admin', NULL, 'A4', now(), NULL, 'ampere per square centimetre', 'ampere per square centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-107, 0, 'opencell.admin', NULL, 'A40', now(), NULL, 'cubic metre per mole', 'cubic metre per mole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-108, 0, 'opencell.admin', NULL, 'A41', now(), NULL, 'ampere per square metre', 'ampere per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-109, 0, 'opencell.admin', NULL, 'A42', now(), NULL, 'curie per kilogram', 'curie per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-110, 0, 'opencell.admin', NULL, 'A43', now(), NULL, 'deadweight tonnage', 'deadweight tonnage', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-111, 0, 'opencell.admin', NULL, 'A44', now(), NULL, 'decalitre', 'decalitre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-112, 0, 'opencell.admin', NULL, 'A45', now(), NULL, 'decametre', 'decametre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-113, 0, 'opencell.admin', NULL, 'A47', now(), NULL, 'decitex', 'decitex', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-114, 0, 'opencell.admin', NULL, 'A48', now(), NULL, 'degree Rankine', 'degree Rankine', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-115, 0, 'opencell.admin', NULL, 'A49', now(), NULL, 'denier', 'denier', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-116, 0, 'opencell.admin', NULL, 'A5', now(), NULL, 'ampere square metre', 'ampere square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-117, 0, 'opencell.admin', NULL, 'A53', now(), NULL, 'electronvolt', 'electronvolt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-118, 0, 'opencell.admin', NULL, 'A54', now(), NULL, 'electronvolt per metre', 'electronvolt per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-119, 0, 'opencell.admin', NULL, 'A55', now(), NULL, 'electronvolt square metre', 'electronvolt square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-120, 0, 'opencell.admin', NULL, 'A56', now(), NULL, 'electronvolt square metre per kilogram', 'electronvolt square metre per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-121, 0, 'opencell.admin', NULL, 'A59', now(), NULL, '8-part cloud cover', '8-part cloud cover', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-122, 0, 'opencell.admin', NULL, 'A6', now(), NULL, 'ampere per square metre kelvin squared', 'ampere per square metre kelvin squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-123, 0, 'opencell.admin', NULL, 'A68', now(), NULL, 'exajoule', 'exajoule', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-124, 0, 'opencell.admin', NULL, 'A69', now(), NULL, 'farad per metre', 'farad per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-125, 0, 'opencell.admin', NULL, 'A7', now(), NULL, 'ampere per square millimetre', 'ampere per square millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-126, 0, 'opencell.admin', NULL, 'A70', now(), NULL, 'femtojoule', 'femtojoule', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-127, 0, 'opencell.admin', NULL, 'A71', now(), NULL, 'femtometre', 'femtometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-128, 0, 'opencell.admin', NULL, 'A73', now(), NULL, 'foot per second squared', 'foot per second squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-129, 0, 'opencell.admin', NULL, 'A74', now(), NULL, 'foot pound-force per second', 'foot pound-force per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-130, 0, 'opencell.admin', NULL, 'A75', now(), NULL, 'freight ton', 'freight ton', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-131, 0, 'opencell.admin', NULL, 'A76', now(), NULL, 'gal', 'gal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-132, 0, 'opencell.admin', NULL, 'A8', now(), NULL, 'ampere second', 'ampere second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-133, 0, 'opencell.admin', NULL, 'A84', now(), NULL, 'gigacoulomb per cubic metre', 'gigacoulomb per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-134, 0, 'opencell.admin', NULL, 'A85', now(), NULL, 'gigaelectronvolt', 'gigaelectronvolt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-135, 0, 'opencell.admin', NULL, 'A86', now(), NULL, 'gigahertz', 'gigahertz', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-136, 0, 'opencell.admin', NULL, 'A87', now(), NULL, 'gigaohm', 'gigaohm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-137, 0, 'opencell.admin', NULL, 'A88', now(), NULL, 'gigaohm metre', 'gigaohm metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-138, 0, 'opencell.admin', NULL, 'A89', now(), NULL, 'gigapascal', 'gigapascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-139, 0, 'opencell.admin', NULL, 'A9', now(), NULL, 'rate', 'rate', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-140, 0, 'opencell.admin', NULL, 'A90', now(), NULL, 'gigawatt', 'gigawatt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-141, 0, 'opencell.admin', NULL, 'A91', now(), NULL, 'gon', 'gon', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-142, 0, 'opencell.admin', NULL, 'A93', now(), NULL, 'gram per cubic metre', 'gram per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-143, 0, 'opencell.admin', NULL, 'A94', now(), NULL, 'gram per mole', 'gram per mole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-144, 0, 'opencell.admin', NULL, 'A95', now(), NULL, 'gray', 'gray', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-145, 0, 'opencell.admin', NULL, 'A96', now(), NULL, 'gray per second', 'gray per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-146, 0, 'opencell.admin', NULL, 'A97', now(), NULL, 'hectopascal', 'hectopascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-147, 0, 'opencell.admin', NULL, 'A98', now(), NULL, 'henry per metre', 'henry per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-148, 0, 'opencell.admin', NULL, 'A99', now(), NULL, 'bit', 'bit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-149, 0, 'opencell.admin', NULL, 'AA', now(), NULL, 'ball', 'ball', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-150, 0, 'opencell.admin', NULL, 'AB', now(), NULL, 'bulk pack', 'bulk pack', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-151, 0, 'opencell.admin', NULL, 'ACR', now(), NULL, 'acre', 'acre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-152, 0, 'opencell.admin', NULL, 'ACT', now(), NULL, 'activity', 'activity', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-153, 0, 'opencell.admin', NULL, 'AD', now(), NULL, 'byte', 'byte', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-154, 0, 'opencell.admin', NULL, 'AE', now(), NULL, 'ampere per metre', 'ampere per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-155, 0, 'opencell.admin', NULL, 'AH', now(), NULL, 'additional minute', 'additional minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-156, 0, 'opencell.admin', NULL, 'AI', now(), NULL, 'average minute per call', 'average minute per call', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-157, 0, 'opencell.admin', NULL, 'AK', now(), NULL, 'fathom', 'fathom', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-158, 0, 'opencell.admin', NULL, 'AL', now(), NULL, 'access line', 'access line', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-159, 0, 'opencell.admin', NULL, 'AMH', now(), NULL, 'ampere hour', 'ampere hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-160, 0, 'opencell.admin', NULL, 'AMP', now(), NULL, 'ampere', 'ampere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-161, 0, 'opencell.admin', NULL, 'ANN', now(), NULL, 'year', 'year', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-162, 0, 'opencell.admin', NULL, 'APZ', now(), NULL, 'troy ounce or apothecary ounce', 'troy ounce or apothecary ounce', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-163, 0, 'opencell.admin', NULL, 'AQ', now(), NULL, 'anti-hemophilic factor (AHF) unit', 'anti-hemophilic factor (AHF) unit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-164, 0, 'opencell.admin', NULL, 'AS', now(), NULL, 'assortment', 'assortment', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-165, 0, 'opencell.admin', NULL, 'ASM', now(), NULL, 'alcoholic strength by mass', 'alcoholic strength by mass', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-166, 0, 'opencell.admin', NULL, 'ASU', now(), NULL, 'alcoholic strength by volume', 'alcoholic strength by volume', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-167, 0, 'opencell.admin', NULL, 'ATM', now(), NULL, 'standard atmosphere', 'standard atmosphere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-168, 0, 'opencell.admin', NULL, 'AWG', now(), NULL, 'american wire gauge', 'american wire gauge', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-169, 0, 'opencell.admin', NULL, 'AY', now(), NULL, 'assembly', 'assembly', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-170, 0, 'opencell.admin', NULL, 'AZ', now(), NULL, 'British thermal unit (international table) per pound', 'British thermal unit (international table) per pound', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-171, 0, 'opencell.admin', NULL, 'B1', now(), NULL, 'barrel (US) per day', 'barrel (US) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-172, 0, 'opencell.admin', NULL, 'B10', now(), NULL, 'bit per second', 'bit per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-173, 0, 'opencell.admin', NULL, 'B11', now(), NULL, 'joule per kilogram kelvin', 'joule per kilogram kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-174, 0, 'opencell.admin', NULL, 'B12', now(), NULL, 'joule per metre', 'joule per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-175, 0, 'opencell.admin', NULL, 'B13', now(), NULL, 'joule per square metre', 'joule per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-176, 0, 'opencell.admin', NULL, 'B14', now(), NULL, 'joule per metre to the fourth power', 'joule per metre to the fourth power', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-177, 0, 'opencell.admin', NULL, 'B15', now(), NULL, 'joule per mole', 'joule per mole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-178, 0, 'opencell.admin', NULL, 'B16', now(), NULL, 'joule per mole kelvin', 'joule per mole kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-179, 0, 'opencell.admin', NULL, 'B17', now(), NULL, 'credit', 'credit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-180, 0, 'opencell.admin', NULL, 'B18', now(), NULL, 'joule second', 'joule second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-181, 0, 'opencell.admin', NULL, 'B19', now(), NULL, 'digit', 'digit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-182, 0, 'opencell.admin', NULL, 'B20', now(), NULL, 'joule square metre per kilogram', 'joule square metre per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-183, 0, 'opencell.admin', NULL, 'B21', now(), NULL, 'kelvin per watt', 'kelvin per watt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-184, 0, 'opencell.admin', NULL, 'B22', now(), NULL, 'kiloampere', 'kiloampere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-185, 0, 'opencell.admin', NULL, 'B23', now(), NULL, 'kiloampere per square metre', 'kiloampere per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-186, 0, 'opencell.admin', NULL, 'B24', now(), NULL, 'kiloampere per metre', 'kiloampere per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-187, 0, 'opencell.admin', NULL, 'B25', now(), NULL, 'kilobecquerel per kilogram', 'kilobecquerel per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-188, 0, 'opencell.admin', NULL, 'B26', now(), NULL, 'kilocoulomb', 'kilocoulomb', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-189, 0, 'opencell.admin', NULL, 'B27', now(), NULL, 'kilocoulomb per cubic metre', 'kilocoulomb per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-190, 0, 'opencell.admin', NULL, 'B28', now(), NULL, 'kilocoulomb per square metre', 'kilocoulomb per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-191, 0, 'opencell.admin', NULL, 'B29', now(), NULL, 'kiloelectronvolt', 'kiloelectronvolt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-192, 0, 'opencell.admin', NULL, 'B3', now(), NULL, 'batting pound', 'batting pound', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-193, 0, 'opencell.admin', NULL, 'B30', now(), NULL, 'gibibit', 'gibibit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-194, 0, 'opencell.admin', NULL, 'B31', now(), NULL, 'kilogram metre per second', 'kilogram metre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-195, 0, 'opencell.admin', NULL, 'B32', now(), NULL, 'kilogram metre squared', 'kilogram metre squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-196, 0, 'opencell.admin', NULL, 'B33', now(), NULL, 'kilogram metre squared per second', 'kilogram metre squared per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-197, 0, 'opencell.admin', NULL, 'B34', now(), NULL, 'kilogram per cubic decimetre', 'kilogram per cubic decimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-198, 0, 'opencell.admin', NULL, 'B35', now(), NULL, 'kilogram per litre', 'kilogram per litre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-199, 0, 'opencell.admin', NULL, 'B4', now(), NULL, 'barrel, imperial', 'barrel, imperial', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-200, 0, 'opencell.admin', NULL, 'B41', now(), NULL, 'kilojoule per kelvin', 'kilojoule per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-201, 0, 'opencell.admin', NULL, 'B42', now(), NULL, 'kilojoule per kilogram', 'kilojoule per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-202, 0, 'opencell.admin', NULL, 'B43', now(), NULL, 'kilojoule per kilogram kelvin', 'kilojoule per kilogram kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-203, 0, 'opencell.admin', NULL, 'B44', now(), NULL, 'kilojoule per mole', 'kilojoule per mole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-204, 0, 'opencell.admin', NULL, 'B45', now(), NULL, 'kilomole', 'kilomole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-205, 0, 'opencell.admin', NULL, 'B46', now(), NULL, 'kilomole per cubic metre', 'kilomole per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-206, 0, 'opencell.admin', NULL, 'B47', now(), NULL, 'kilonewton', 'kilonewton', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-207, 0, 'opencell.admin', NULL, 'B48', now(), NULL, 'kilonewton metre', 'kilonewton metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-208, 0, 'opencell.admin', NULL, 'B49', now(), NULL, 'kiloohm', 'kiloohm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-209, 0, 'opencell.admin', NULL, 'B50', now(), NULL, 'kiloohm metre', 'kiloohm metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-210, 0, 'opencell.admin', NULL, 'B52', now(), NULL, 'kilosecond', 'kilosecond', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-211, 0, 'opencell.admin', NULL, 'B53', now(), NULL, 'kilosiemens', 'kilosiemens', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-212, 0, 'opencell.admin', NULL, 'B54', now(), NULL, 'kilosiemens per metre', 'kilosiemens per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-213, 0, 'opencell.admin', NULL, 'B55', now(), NULL, 'kilovolt per metre', 'kilovolt per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-214, 0, 'opencell.admin', NULL, 'B56', now(), NULL, 'kiloweber per metre', 'kiloweber per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-215, 0, 'opencell.admin', NULL, 'B57', now(), NULL, 'light year', 'light year', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-216, 0, 'opencell.admin', NULL, 'B58', now(), NULL, 'litre per mole', 'litre per mole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-217, 0, 'opencell.admin', NULL, 'B59', now(), NULL, 'lumen hour', 'lumen hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-218, 0, 'opencell.admin', NULL, 'B60', now(), NULL, 'lumen per square metre', 'lumen per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-219, 0, 'opencell.admin', NULL, 'B61', now(), NULL, 'lumen per watt', 'lumen per watt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-220, 0, 'opencell.admin', NULL, 'B62', now(), NULL, 'lumen second', 'lumen second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-221, 0, 'opencell.admin', NULL, 'B63', now(), NULL, 'lux hour', 'lux hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-222, 0, 'opencell.admin', NULL, 'B64', now(), NULL, 'lux second', 'lux second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-223, 0, 'opencell.admin', NULL, 'B66', now(), NULL, 'megaampere per square metre', 'megaampere per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-224, 0, 'opencell.admin', NULL, 'B67', now(), NULL, 'megabecquerel per kilogram', 'megabecquerel per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-225, 0, 'opencell.admin', NULL, 'B68', now(), NULL, 'gigabit', 'gigabit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-226, 0, 'opencell.admin', NULL, 'B69', now(), NULL, 'megacoulomb per cubic metre', 'megacoulomb per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-227, 0, 'opencell.admin', NULL, 'B7', now(), NULL, 'cycle', 'cycle', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-228, 0, 'opencell.admin', NULL, 'B70', now(), NULL, 'megacoulomb per square metre', 'megacoulomb per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-229, 0, 'opencell.admin', NULL, 'B71', now(), NULL, 'megaelectronvolt', 'megaelectronvolt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-230, 0, 'opencell.admin', NULL, 'B72', now(), NULL, 'megagram per cubic metre', 'megagram per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-231, 0, 'opencell.admin', NULL, 'B73', now(), NULL, 'meganewton', 'meganewton', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-232, 0, 'opencell.admin', NULL, 'B74', now(), NULL, 'meganewton metre', 'meganewton metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-233, 0, 'opencell.admin', NULL, 'B75', now(), NULL, 'megaohm', 'megaohm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-234, 0, 'opencell.admin', NULL, 'B76', now(), NULL, 'megaohm metre', 'megaohm metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-235, 0, 'opencell.admin', NULL, 'B77', now(), NULL, 'megasiemens per metre', 'megasiemens per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-236, 0, 'opencell.admin', NULL, 'B78', now(), NULL, 'megavolt', 'megavolt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-237, 0, 'opencell.admin', NULL, 'B79', now(), NULL, 'megavolt per metre', 'megavolt per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-238, 0, 'opencell.admin', NULL, 'B8', now(), NULL, 'joule per cubic metre', 'joule per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-239, 0, 'opencell.admin', NULL, 'B80', now(), NULL, 'gigabit per second', 'gigabit per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-240, 0, 'opencell.admin', NULL, 'B81', now(), NULL, 'reciprocal metre squared reciprocal second', 'reciprocal metre squared reciprocal second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-241, 0, 'opencell.admin', NULL, 'B82', now(), NULL, 'inch per linear foot', 'inch per linear foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-242, 0, 'opencell.admin', NULL, 'B83', now(), NULL, 'metre to the fourth power', 'metre to the fourth power', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-243, 0, 'opencell.admin', NULL, 'B84', now(), NULL, 'microampere', 'microampere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-244, 0, 'opencell.admin', NULL, 'B85', now(), NULL, 'microbar', 'microbar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-245, 0, 'opencell.admin', NULL, 'B86', now(), NULL, 'microcoulomb', 'microcoulomb', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-246, 0, 'opencell.admin', NULL, 'B87', now(), NULL, 'microcoulomb per cubic metre', 'microcoulomb per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-247, 0, 'opencell.admin', NULL, 'B88', now(), NULL, 'microcoulomb per square metre', 'microcoulomb per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-248, 0, 'opencell.admin', NULL, 'B89', now(), NULL, 'microfarad per metre', 'microfarad per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-249, 0, 'opencell.admin', NULL, 'B90', now(), NULL, 'microhenry', 'microhenry', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-250, 0, 'opencell.admin', NULL, 'B91', now(), NULL, 'microhenry per metre', 'microhenry per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-251, 0, 'opencell.admin', NULL, 'B92', now(), NULL, 'micronewton', 'micronewton', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-252, 0, 'opencell.admin', NULL, 'B93', now(), NULL, 'micronewton metre', 'micronewton metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-253, 0, 'opencell.admin', NULL, 'B94', now(), NULL, 'microohm', 'microohm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-254, 0, 'opencell.admin', NULL, 'B95', now(), NULL, 'microohm metre', 'microohm metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-255, 0, 'opencell.admin', NULL, 'B96', now(), NULL, 'micropascal', 'micropascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-256, 0, 'opencell.admin', NULL, 'B97', now(), NULL, 'microradian', 'microradian', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-257, 0, 'opencell.admin', NULL, 'B98', now(), NULL, 'microsecond', 'microsecond', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-258, 0, 'opencell.admin', NULL, 'B99', now(), NULL, 'microsiemens', 'microsiemens', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-259, 0, 'opencell.admin', NULL, 'BAR', now(), NULL, 'bar [unit of pressure]', 'bar [unit of pressure]', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-260, 0, 'opencell.admin', NULL, 'BB', now(), NULL, 'base box', 'base box', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-261, 0, 'opencell.admin', NULL, 'BFT', now(), NULL, 'board foot', 'board foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-262, 0, 'opencell.admin', NULL, 'BHP', now(), NULL, 'brake horse power', 'brake horse power', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-263, 0, 'opencell.admin', NULL, 'BIL', now(), NULL, 'billion (EUR)', 'billion (EUR)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-264, 0, 'opencell.admin', NULL, 'BLD', now(), NULL, 'dry barrel (US)', 'dry barrel (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-265, 0, 'opencell.admin', NULL, 'BLL', now(), NULL, 'barrel (US)', 'barrel (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-266, 0, 'opencell.admin', NULL, 'BP', now(), NULL, 'hundred board foot', 'hundred board foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-267, 0, 'opencell.admin', NULL, 'BPM', now(), NULL, 'beats per minute', 'beats per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-268, 0, 'opencell.admin', NULL, 'BQL', now(), NULL, 'becquerel', 'becquerel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-269, 0, 'opencell.admin', NULL, 'BTU', now(), NULL, 'British thermal unit (international table)', 'British thermal unit (international table)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-270, 0, 'opencell.admin', NULL, 'BUA', now(), NULL, 'bushel (US)', 'bushel (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-271, 0, 'opencell.admin', NULL, 'BUI', now(), NULL, 'bushel (UK)', 'bushel (UK)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-272, 0, 'opencell.admin', NULL, 'C0', now(), NULL, 'call', 'call', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-273, 0, 'opencell.admin', NULL, 'C10', now(), NULL, 'millifarad', 'millifarad', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-274, 0, 'opencell.admin', NULL, 'C11', now(), NULL, 'milligal', 'milligal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-275, 0, 'opencell.admin', NULL, 'C12', now(), NULL, 'milligram per metre', 'milligram per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-276, 0, 'opencell.admin', NULL, 'C13', now(), NULL, 'milligray', 'milligray', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-277, 0, 'opencell.admin', NULL, 'C14', now(), NULL, 'millihenry', 'millihenry', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-278, 0, 'opencell.admin', NULL, 'C15', now(), NULL, 'millijoule', 'millijoule', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-279, 0, 'opencell.admin', NULL, 'C16', now(), NULL, 'millimetre per second', 'millimetre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-280, 0, 'opencell.admin', NULL, 'C17', now(), NULL, 'millimetre squared per second', 'millimetre squared per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-281, 0, 'opencell.admin', NULL, 'C18', now(), NULL, 'millimole', 'millimole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-282, 0, 'opencell.admin', NULL, 'C19', now(), NULL, 'mole per kilogram', 'mole per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-283, 0, 'opencell.admin', NULL, 'C20', now(), NULL, 'millinewton', 'millinewton', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-284, 0, 'opencell.admin', NULL, 'C21', now(), NULL, 'kibibit', 'kibibit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-285, 0, 'opencell.admin', NULL, 'C22', now(), NULL, 'millinewton per metre', 'millinewton per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-286, 0, 'opencell.admin', NULL, 'C23', now(), NULL, 'milliohm metre', 'milliohm metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-287, 0, 'opencell.admin', NULL, 'C24', now(), NULL, 'millipascal second', 'millipascal second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-288, 0, 'opencell.admin', NULL, 'C25', now(), NULL, 'milliradian', 'milliradian', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-289, 0, 'opencell.admin', NULL, 'C26', now(), NULL, 'millisecond', 'millisecond', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-290, 0, 'opencell.admin', NULL, 'C27', now(), NULL, 'millisiemens', 'millisiemens', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-291, 0, 'opencell.admin', NULL, 'C28', now(), NULL, 'millisievert', 'millisievert', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-292, 0, 'opencell.admin', NULL, 'C29', now(), NULL, 'millitesla', 'millitesla', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-293, 0, 'opencell.admin', NULL, 'C3', now(), NULL, 'microvolt per metre', 'microvolt per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-294, 0, 'opencell.admin', NULL, 'C30', now(), NULL, 'millivolt per metre', 'millivolt per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-295, 0, 'opencell.admin', NULL, 'C31', now(), NULL, 'milliwatt', 'milliwatt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-296, 0, 'opencell.admin', NULL, 'C32', now(), NULL, 'milliwatt per square metre', 'milliwatt per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-297, 0, 'opencell.admin', NULL, 'C33', now(), NULL, 'milliweber', 'milliweber', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-298, 0, 'opencell.admin', NULL, 'C34', now(), NULL, 'mole', 'mole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-299, 0, 'opencell.admin', NULL, 'C35', now(), NULL, 'mole per cubic decimetre', 'mole per cubic decimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-300, 0, 'opencell.admin', NULL, 'C36', now(), NULL, 'mole per cubic metre', 'mole per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-301, 0, 'opencell.admin', NULL, 'C37', now(), NULL, 'kilobit', 'kilobit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-302, 0, 'opencell.admin', NULL, 'C38', now(), NULL, 'mole per litre', 'mole per litre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-303, 0, 'opencell.admin', NULL, 'C39', now(), NULL, 'nanoampere', 'nanoampere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-304, 0, 'opencell.admin', NULL, 'C40', now(), NULL, 'nanocoulomb', 'nanocoulomb', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-305, 0, 'opencell.admin', NULL, 'C41', now(), NULL, 'nanofarad', 'nanofarad', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-306, 0, 'opencell.admin', NULL, 'C42', now(), NULL, 'nanofarad per metre', 'nanofarad per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-307, 0, 'opencell.admin', NULL, 'C43', now(), NULL, 'nanohenry', 'nanohenry', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-308, 0, 'opencell.admin', NULL, 'C44', now(), NULL, 'nanohenry per metre', 'nanohenry per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-309, 0, 'opencell.admin', NULL, 'C45', now(), NULL, 'nanometre', 'nanometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-310, 0, 'opencell.admin', NULL, 'C46', now(), NULL, 'nanoohm metre', 'nanoohm metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-311, 0, 'opencell.admin', NULL, 'C47', now(), NULL, 'nanosecond', 'nanosecond', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-312, 0, 'opencell.admin', NULL, 'C48', now(), NULL, 'nanotesla', 'nanotesla', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-313, 0, 'opencell.admin', NULL, 'C49', now(), NULL, 'nanowatt', 'nanowatt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-314, 0, 'opencell.admin', NULL, 'C50', now(), NULL, 'neper', 'neper', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-315, 0, 'opencell.admin', NULL, 'C51', now(), NULL, 'neper per second', 'neper per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-316, 0, 'opencell.admin', NULL, 'C52', now(), NULL, 'picometre', 'picometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-317, 0, 'opencell.admin', NULL, 'C53', now(), NULL, 'newton metre second', 'newton metre second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-318, 0, 'opencell.admin', NULL, 'C54', now(), NULL, 'newton metre squared per kilogram squared', 'newton metre squared per kilogram squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-319, 0, 'opencell.admin', NULL, 'C55', now(), NULL, 'newton per square metre', 'newton per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-320, 0, 'opencell.admin', NULL, 'C56', now(), NULL, 'newton per square millimetre', 'newton per square millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-321, 0, 'opencell.admin', NULL, 'C57', now(), NULL, 'newton second', 'newton second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-322, 0, 'opencell.admin', NULL, 'C58', now(), NULL, 'newton second per metre', 'newton second per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-323, 0, 'opencell.admin', NULL, 'C59', now(), NULL, 'octave', 'octave', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-324, 0, 'opencell.admin', NULL, 'C60', now(), NULL, 'ohm centimetre', 'ohm centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-325, 0, 'opencell.admin', NULL, 'C61', now(), NULL, 'ohm metre', 'ohm metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-326, 0, 'opencell.admin', NULL, 'C62', now(), NULL, 'one', 'one', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-327, 0, 'opencell.admin', NULL, 'C63', now(), NULL, 'parsec', 'parsec', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-328, 0, 'opencell.admin', NULL, 'C64', now(), NULL, 'pascal per kelvin', 'pascal per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-329, 0, 'opencell.admin', NULL, 'C65', now(), NULL, 'pascal second', 'pascal second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-330, 0, 'opencell.admin', NULL, 'C66', now(), NULL, 'pascal second per cubic metre', 'pascal second per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-331, 0, 'opencell.admin', NULL, 'C67', now(), NULL, 'pascal second per metre', 'pascal second per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-332, 0, 'opencell.admin', NULL, 'C68', now(), NULL, 'petajoule', 'petajoule', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-333, 0, 'opencell.admin', NULL, 'C69', now(), NULL, 'phon', 'phon', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-334, 0, 'opencell.admin', NULL, 'C7', now(), NULL, 'centipoise', 'centipoise', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-335, 0, 'opencell.admin', NULL, 'C70', now(), NULL, 'picoampere', 'picoampere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-336, 0, 'opencell.admin', NULL, 'C71', now(), NULL, 'picocoulomb', 'picocoulomb', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-337, 0, 'opencell.admin', NULL, 'C72', now(), NULL, 'picofarad per metre', 'picofarad per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-338, 0, 'opencell.admin', NULL, 'C73', now(), NULL, 'picohenry', 'picohenry', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-339, 0, 'opencell.admin', NULL, 'C74', now(), NULL, 'kilobit per second', 'kilobit per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-340, 0, 'opencell.admin', NULL, 'C75', now(), NULL, 'picowatt', 'picowatt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-341, 0, 'opencell.admin', NULL, 'C76', now(), NULL, 'picowatt per square metre', 'picowatt per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-342, 0, 'opencell.admin', NULL, 'C78', now(), NULL, 'pound-force', 'pound-force', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-343, 0, 'opencell.admin', NULL, 'C79', now(), NULL, 'kilovolt ampere hour', 'kilovolt ampere hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-344, 0, 'opencell.admin', NULL, 'C8', now(), NULL, 'millicoulomb per kilogram', 'millicoulomb per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-345, 0, 'opencell.admin', NULL, 'C80', now(), NULL, 'rad', 'rad', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-346, 0, 'opencell.admin', NULL, 'C81', now(), NULL, 'radian', 'radian', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-347, 0, 'opencell.admin', NULL, 'C82', now(), NULL, 'radian square metre per mole', 'radian square metre per mole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-348, 0, 'opencell.admin', NULL, 'C83', now(), NULL, 'radian square metre per kilogram', 'radian square metre per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-349, 0, 'opencell.admin', NULL, 'C84', now(), NULL, 'radian per metre', 'radian per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-350, 0, 'opencell.admin', NULL, 'C85', now(), NULL, 'reciprocal angstrom', 'reciprocal angstrom', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-351, 0, 'opencell.admin', NULL, 'C86', now(), NULL, 'reciprocal cubic metre', 'reciprocal cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-352, 0, 'opencell.admin', NULL, 'C87', now(), NULL, 'reciprocal cubic metre per second', 'reciprocal cubic metre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-353, 0, 'opencell.admin', NULL, 'C88', now(), NULL, 'reciprocal electron volt per cubic metre', 'reciprocal electron volt per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-354, 0, 'opencell.admin', NULL, 'C89', now(), NULL, 'reciprocal henry', 'reciprocal henry', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-355, 0, 'opencell.admin', NULL, 'C9', now(), NULL, 'coil group', 'coil group', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-356, 0, 'opencell.admin', NULL, 'C90', now(), NULL, 'reciprocal joule per cubic metre', 'reciprocal joule per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-357, 0, 'opencell.admin', NULL, 'C91', now(), NULL, 'reciprocal kelvin or kelvin to the power minus one', 'reciprocal kelvin or kelvin to the power minus one', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-358, 0, 'opencell.admin', NULL, 'C92', now(), NULL, 'reciprocal metre', 'reciprocal metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-359, 0, 'opencell.admin', NULL, 'C93', now(), NULL, 'reciprocal square metre', 'reciprocal square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-360, 0, 'opencell.admin', NULL, 'C94', now(), NULL, 'reciprocal minute', 'reciprocal minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-361, 0, 'opencell.admin', NULL, 'C95', now(), NULL, 'reciprocal mole', 'reciprocal mole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-362, 0, 'opencell.admin', NULL, 'C96', now(), NULL, 'reciprocal pascal or pascal to the power minus one', 'reciprocal pascal or pascal to the power minus one', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-363, 0, 'opencell.admin', NULL, 'C97', now(), NULL, 'reciprocal second', 'reciprocal second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-364, 0, 'opencell.admin', NULL, 'C99', now(), NULL, 'reciprocal second per metre squared', 'reciprocal second per metre squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-365, 0, 'opencell.admin', NULL, 'CCT', now(), NULL, 'carrying capacity in metric ton', 'carrying capacity in metric ton', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-366, 0, 'opencell.admin', NULL, 'CDL', now(), NULL, 'candela', 'candela', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-367, 0, 'opencell.admin', NULL, 'CEL', now(), NULL, 'degree Celsius', 'degree Celsius', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-368, 0, 'opencell.admin', NULL, 'CEN', now(), NULL, 'hundred', 'hundred', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-369, 0, 'opencell.admin', NULL, 'CG', now(), NULL, 'card', 'card', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-370, 0, 'opencell.admin', NULL, 'CGM', now(), NULL, 'centigram', 'centigram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-371, 0, 'opencell.admin', NULL, 'CKG', now(), NULL, 'coulomb per kilogram', 'coulomb per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-372, 0, 'opencell.admin', NULL, 'CLF', now(), NULL, 'hundred leave', 'hundred leave', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-373, 0, 'opencell.admin', NULL, 'CLT', now(), NULL, 'centilitre', 'centilitre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-374, 0, 'opencell.admin', NULL, 'CMK', now(), NULL, 'square centimetre', 'square centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-375, 0, 'opencell.admin', NULL, 'CMQ', now(), NULL, 'cubic centimetre', 'cubic centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-376, 0, 'opencell.admin', NULL, 'CMT', now(), NULL, 'centimetre', 'centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-377, 0, 'opencell.admin', NULL, 'CNP', now(), NULL, 'hundred pack', 'hundred pack', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-378, 0, 'opencell.admin', NULL, 'CNT', now(), NULL, 'cental (UK)', 'cental (UK)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-379, 0, 'opencell.admin', NULL, 'COU', now(), NULL, 'coulomb', 'coulomb', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-380, 0, 'opencell.admin', NULL, 'CTG', now(), NULL, 'content gram', 'content gram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-381, 0, 'opencell.admin', NULL, 'CTM', now(), NULL, 'metric carat', 'metric carat', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-382, 0, 'opencell.admin', NULL, 'CTN', now(), NULL, 'content ton (metric)', 'content ton (metric)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-383, 0, 'opencell.admin', NULL, 'CUR', now(), NULL, 'curie', 'curie', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-384, 0, 'opencell.admin', NULL, 'CWA', now(), NULL, 'hundred pound (cwt) / hundred weight (US)', 'hundred pound (cwt) / hundred weight (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-385, 0, 'opencell.admin', NULL, 'CWI', now(), NULL, 'hundred weight (UK)', 'hundred weight (UK)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-386, 0, 'opencell.admin', NULL, 'D03', now(), NULL, 'kilowatt hour per hour', 'kilowatt hour per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-387, 0, 'opencell.admin', NULL, 'D04', now(), NULL, 'lot  [unit of weight]', 'lot  [unit of weight]', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-388, 0, 'opencell.admin', NULL, 'D1', now(), NULL, 'reciprocal second per steradian', 'reciprocal second per steradian', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-389, 0, 'opencell.admin', NULL, 'D10', now(), NULL, 'siemens per metre', 'siemens per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-390, 0, 'opencell.admin', NULL, 'D11', now(), NULL, 'mebibit', 'mebibit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-391, 0, 'opencell.admin', NULL, 'D12', now(), NULL, 'siemens square metre per mole', 'siemens square metre per mole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-392, 0, 'opencell.admin', NULL, 'D13', now(), NULL, 'sievert', 'sievert', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-393, 0, 'opencell.admin', NULL, 'D15', now(), NULL, 'sone', 'sone', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-394, 0, 'opencell.admin', NULL, 'D16', now(), NULL, 'square centimetre per erg', 'square centimetre per erg', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-395, 0, 'opencell.admin', NULL, 'D17', now(), NULL, 'square centimetre per steradian erg', 'square centimetre per steradian erg', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-396, 0, 'opencell.admin', NULL, 'D18', now(), NULL, 'metre kelvin', 'metre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-397, 0, 'opencell.admin', NULL, 'D19', now(), NULL, 'square metre kelvin per watt', 'square metre kelvin per watt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-398, 0, 'opencell.admin', NULL, 'D2', now(), NULL, 'reciprocal second per steradian metre squared', 'reciprocal second per steradian metre squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-399, 0, 'opencell.admin', NULL, 'D20', now(), NULL, 'square metre per joule', 'square metre per joule', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-400, 0, 'opencell.admin', NULL, 'D21', now(), NULL, 'square metre per kilogram', 'square metre per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-401, 0, 'opencell.admin', NULL, 'D22', now(), NULL, 'square metre per mole', 'square metre per mole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-402, 0, 'opencell.admin', NULL, 'D23', now(), NULL, 'pen gram (protein)', 'pen gram (protein)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-403, 0, 'opencell.admin', NULL, 'D24', now(), NULL, 'square metre per steradian', 'square metre per steradian', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-404, 0, 'opencell.admin', NULL, 'D25', now(), NULL, 'square metre per steradian joule', 'square metre per steradian joule', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-405, 0, 'opencell.admin', NULL, 'D26', now(), NULL, 'square metre per volt second', 'square metre per volt second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-406, 0, 'opencell.admin', NULL, 'D27', now(), NULL, 'steradian', 'steradian', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-407, 0, 'opencell.admin', NULL, 'D29', now(), NULL, 'terahertz', 'terahertz', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-408, 0, 'opencell.admin', NULL, 'D30', now(), NULL, 'terajoule', 'terajoule', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-409, 0, 'opencell.admin', NULL, 'D31', now(), NULL, 'terawatt', 'terawatt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-410, 0, 'opencell.admin', NULL, 'D32', now(), NULL, 'terawatt hour', 'terawatt hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-411, 0, 'opencell.admin', NULL, 'D33', now(), NULL, 'tesla', 'tesla', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-412, 0, 'opencell.admin', NULL, 'D34', now(), NULL, 'tex', 'tex', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-413, 0, 'opencell.admin', NULL, 'D36', now(), NULL, 'megabit', 'megabit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-414, 0, 'opencell.admin', NULL, 'D41', now(), NULL, 'tonne per cubic metre', 'tonne per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-415, 0, 'opencell.admin', NULL, 'D42', now(), NULL, 'tropical year', 'tropical year', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-416, 0, 'opencell.admin', NULL, 'D43', now(), NULL, 'unified atomic mass unit', 'unified atomic mass unit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-417, 0, 'opencell.admin', NULL, 'D44', now(), NULL, 'var', 'var', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-418, 0, 'opencell.admin', NULL, 'D45', now(), NULL, 'volt squared per kelvin squared', 'volt squared per kelvin squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-419, 0, 'opencell.admin', NULL, 'D46', now(), NULL, 'volt - ampere', 'volt - ampere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-420, 0, 'opencell.admin', NULL, 'D47', now(), NULL, 'volt per centimetre', 'volt per centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-421, 0, 'opencell.admin', NULL, 'D48', now(), NULL, 'volt per kelvin', 'volt per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-422, 0, 'opencell.admin', NULL, 'D49', now(), NULL, 'millivolt per kelvin', 'millivolt per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-423, 0, 'opencell.admin', NULL, 'D5', now(), NULL, 'kilogram per square centimetre', 'kilogram per square centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-424, 0, 'opencell.admin', NULL, 'D50', now(), NULL, 'volt per metre', 'volt per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-425, 0, 'opencell.admin', NULL, 'D51', now(), NULL, 'volt per millimetre', 'volt per millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-426, 0, 'opencell.admin', NULL, 'D52', now(), NULL, 'watt per kelvin', 'watt per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-427, 0, 'opencell.admin', NULL, 'D53', now(), NULL, 'watt per metre kelvin', 'watt per metre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-428, 0, 'opencell.admin', NULL, 'D54', now(), NULL, 'watt per square metre', 'watt per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-429, 0, 'opencell.admin', NULL, 'D55', now(), NULL, 'watt per square metre kelvin', 'watt per square metre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-430, 0, 'opencell.admin', NULL, 'D56', now(), NULL, 'watt per square metre kelvin to the fourth power', 'watt per square metre kelvin to the fourth power', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-431, 0, 'opencell.admin', NULL, 'D57', now(), NULL, 'watt per steradian', 'watt per steradian', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-432, 0, 'opencell.admin', NULL, 'D58', now(), NULL, 'watt per steradian square metre', 'watt per steradian square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-433, 0, 'opencell.admin', NULL, 'D59', now(), NULL, 'weber per metre', 'weber per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-434, 0, 'opencell.admin', NULL, 'D6', now(), NULL, 'roentgen per second', 'roentgen per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-435, 0, 'opencell.admin', NULL, 'D60', now(), NULL, 'weber per millimetre', 'weber per millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-436, 0, 'opencell.admin', NULL, 'D61', now(), NULL, 'minute [unit of angle]', 'minute [unit of angle]', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-437, 0, 'opencell.admin', NULL, 'D62', now(), NULL, 'second [unit of angle]', 'second [unit of angle]', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-438, 0, 'opencell.admin', NULL, 'D63', now(), NULL, 'book', 'book', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-439, 0, 'opencell.admin', NULL, 'D65', now(), NULL, 'round', 'round', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-440, 0, 'opencell.admin', NULL, 'D68', now(), NULL, 'number of words', 'number of words', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-441, 0, 'opencell.admin', NULL, 'D69', now(), NULL, 'inch to the fourth power', 'inch to the fourth power', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-442, 0, 'opencell.admin', NULL, 'D73', now(), NULL, 'joule square metre', 'joule square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-443, 0, 'opencell.admin', NULL, 'D74', now(), NULL, 'kilogram per mole', 'kilogram per mole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-444, 0, 'opencell.admin', NULL, 'D77', now(), NULL, 'megacoulomb', 'megacoulomb', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-445, 0, 'opencell.admin', NULL, 'D78', now(), NULL, 'megajoule per second', 'megajoule per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-446, 0, 'opencell.admin', NULL, 'D80', now(), NULL, 'microwatt', 'microwatt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-447, 0, 'opencell.admin', NULL, 'D81', now(), NULL, 'microtesla', 'microtesla', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-448, 0, 'opencell.admin', NULL, 'D82', now(), NULL, 'microvolt', 'microvolt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-449, 0, 'opencell.admin', NULL, 'D83', now(), NULL, 'millinewton metre', 'millinewton metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-450, 0, 'opencell.admin', NULL, 'D85', now(), NULL, 'microwatt per square metre', 'microwatt per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-451, 0, 'opencell.admin', NULL, 'D86', now(), NULL, 'millicoulomb', 'millicoulomb', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-452, 0, 'opencell.admin', NULL, 'D87', now(), NULL, 'millimole per kilogram', 'millimole per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-453, 0, 'opencell.admin', NULL, 'D88', now(), NULL, 'millicoulomb per cubic metre', 'millicoulomb per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-454, 0, 'opencell.admin', NULL, 'D89', now(), NULL, 'millicoulomb per square metre', 'millicoulomb per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-455, 0, 'opencell.admin', NULL, 'D91', now(), NULL, 'rem', 'rem', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-456, 0, 'opencell.admin', NULL, 'D93', now(), NULL, 'second per cubic metre', 'second per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-457, 0, 'opencell.admin', NULL, 'D94', now(), NULL, 'second per cubic metre radian', 'second per cubic metre radian', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-458, 0, 'opencell.admin', NULL, 'D95', now(), NULL, 'joule per gram', 'joule per gram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-459, 0, 'opencell.admin', NULL, 'DAA', now(), NULL, 'decare', 'decare', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-460, 0, 'opencell.admin', NULL, 'DAD', now(), NULL, 'ten day', 'ten day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-461, 0, 'opencell.admin', NULL, 'DAY', now(), NULL, 'day', 'day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-462, 0, 'opencell.admin', NULL, 'DB', now(), NULL, 'dry pound', 'dry pound', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-463, 0, 'opencell.admin', NULL, 'DBM', now(), NULL, 'Decibel-milliwatts', 'Decibel-milliwatts', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-464, 0, 'opencell.admin', NULL, 'DBW', now(), NULL, 'Decibel watt', 'Decibel watt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-465, 0, 'opencell.admin', NULL, 'DD', now(), NULL, 'degree [unit of angle]', 'degree [unit of angle]', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-466, 0, 'opencell.admin', NULL, 'DEC', now(), NULL, 'decade', 'decade', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-467, 0, 'opencell.admin', NULL, 'DG', now(), NULL, 'decigram', 'decigram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-468, 0, 'opencell.admin', NULL, 'DJ', now(), NULL, 'decagram', 'decagram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-469, 0, 'opencell.admin', NULL, 'DLT', now(), NULL, 'decilitre', 'decilitre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-470, 0, 'opencell.admin', NULL, 'DMA', now(), NULL, 'cubic decametre', 'cubic decametre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-471, 0, 'opencell.admin', NULL, 'DMK', now(), NULL, 'square decimetre', 'square decimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-472, 0, 'opencell.admin', NULL, 'DMO', now(), NULL, 'standard kilolitre', 'standard kilolitre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-473, 0, 'opencell.admin', NULL, 'DMQ', now(), NULL, 'cubic decimetre', 'cubic decimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-474, 0, 'opencell.admin', NULL, 'DMT', now(), NULL, 'decimetre', 'decimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-475, 0, 'opencell.admin', NULL, 'DN', now(), NULL, 'decinewton metre', 'decinewton metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-476, 0, 'opencell.admin', NULL, 'DPC', now(), NULL, 'dozen piece', 'dozen piece', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-477, 0, 'opencell.admin', NULL, 'DPR', now(), NULL, 'dozen pair', 'dozen pair', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-478, 0, 'opencell.admin', NULL, 'DPT', now(), NULL, 'displacement tonnage', 'displacement tonnage', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-479, 0, 'opencell.admin', NULL, 'DRA', now(), NULL, 'dram (US)', 'dram (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-480, 0, 'opencell.admin', NULL, 'DRI', now(), NULL, 'dram (UK)', 'dram (UK)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-481, 0, 'opencell.admin', NULL, 'DRL', now(), NULL, 'dozen roll', 'dozen roll', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-482, 0, 'opencell.admin', NULL, 'DT', now(), NULL, 'dry ton', 'dry ton', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-483, 0, 'opencell.admin', NULL, 'DTN', now(), NULL, 'decitonne', 'decitonne', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-484, 0, 'opencell.admin', NULL, 'DWT', now(), NULL, 'pennyweight', 'pennyweight', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-485, 0, 'opencell.admin', NULL, 'DZN', now(), NULL, 'dozen', 'dozen', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-486, 0, 'opencell.admin', NULL, 'DZP', now(), NULL, 'dozen pack', 'dozen pack', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-487, 0, 'opencell.admin', NULL, 'E01', now(), NULL, 'newton per square centimetre', 'newton per square centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-488, 0, 'opencell.admin', NULL, 'E07', now(), NULL, 'megawatt hour per hour', 'megawatt hour per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-489, 0, 'opencell.admin', NULL, 'E08', now(), NULL, 'megawatt per hertz', 'megawatt per hertz', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-490, 0, 'opencell.admin', NULL, 'E09', now(), NULL, 'milliampere hour', 'milliampere hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-491, 0, 'opencell.admin', NULL, 'E10', now(), NULL, 'degree day', 'degree day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-492, 0, 'opencell.admin', NULL, 'E12', now(), NULL, 'mille', 'mille', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-493, 0, 'opencell.admin', NULL, 'E14', now(), NULL, 'kilocalorie (international table)', 'kilocalorie (international table)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-494, 0, 'opencell.admin', NULL, 'E15', now(), NULL, 'kilocalorie (thermochemical) per hour', 'kilocalorie (thermochemical) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-495, 0, 'opencell.admin', NULL, 'E16', now(), NULL, 'million Btu(IT) per hour', 'million Btu(IT) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-496, 0, 'opencell.admin', NULL, 'E17', now(), NULL, 'cubic foot per second', 'cubic foot per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-497, 0, 'opencell.admin', NULL, 'E18', now(), NULL, 'tonne per hour', 'tonne per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-498, 0, 'opencell.admin', NULL, 'E19', now(), NULL, 'ping', 'ping', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-499, 0, 'opencell.admin', NULL, 'E20', now(), NULL, 'megabit per second', 'megabit per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-500, 0, 'opencell.admin', NULL, 'E21', now(), NULL, 'shares', 'shares', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-501, 0, 'opencell.admin', NULL, 'E22', now(), NULL, 'TEU', 'TEU', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-502, 0, 'opencell.admin', NULL, 'E23', now(), NULL, 'tyre', 'tyre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-503, 0, 'opencell.admin', NULL, 'E25', now(), NULL, 'active unit', 'active unit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-504, 0, 'opencell.admin', NULL, 'E27', now(), NULL, 'dose', 'dose', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-505, 0, 'opencell.admin', NULL, 'E28', now(), NULL, 'air dry ton', 'air dry ton', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-506, 0, 'opencell.admin', NULL, 'E30', now(), NULL, 'strand', 'strand', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-507, 0, 'opencell.admin', NULL, 'E31', now(), NULL, 'square metre per litre', 'square metre per litre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-508, 0, 'opencell.admin', NULL, 'E32', now(), NULL, 'litre per hour', 'litre per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-509, 0, 'opencell.admin', NULL, 'E33', now(), NULL, 'foot per thousand', 'foot per thousand', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-510, 0, 'opencell.admin', NULL, 'E34', now(), NULL, 'gigabyte', 'gigabyte', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-511, 0, 'opencell.admin', NULL, 'E35', now(), NULL, 'terabyte', 'terabyte', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-512, 0, 'opencell.admin', NULL, 'E36', now(), NULL, 'petabyte', 'petabyte', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-513, 0, 'opencell.admin', NULL, 'E37', now(), NULL, 'pixel', 'pixel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-514, 0, 'opencell.admin', NULL, 'E38', now(), NULL, 'megapixel', 'megapixel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-515, 0, 'opencell.admin', NULL, 'E39', now(), NULL, 'dots per inch', 'dots per inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-516, 0, 'opencell.admin', NULL, 'E4', now(), NULL, 'gross kilogram', 'gross kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-517, 0, 'opencell.admin', NULL, 'E40', now(), NULL, 'part per hundred thousand', 'part per hundred thousand', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-518, 0, 'opencell.admin', NULL, 'E41', now(), NULL, 'kilogram-force per square millimetre', 'kilogram-force per square millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-519, 0, 'opencell.admin', NULL, 'E42', now(), NULL, 'kilogram-force per square centimetre', 'kilogram-force per square centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-520, 0, 'opencell.admin', NULL, 'E43', now(), NULL, 'joule per square centimetre', 'joule per square centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-521, 0, 'opencell.admin', NULL, 'E44', now(), NULL, 'kilogram-force metre per square centimetre', 'kilogram-force metre per square centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-522, 0, 'opencell.admin', NULL, 'E45', now(), NULL, 'milliohm', 'milliohm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-523, 0, 'opencell.admin', NULL, 'E46', now(), NULL, 'kilowatt hour per cubic metre', 'kilowatt hour per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-524, 0, 'opencell.admin', NULL, 'E47', now(), NULL, 'kilowatt hour per kelvin', 'kilowatt hour per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-525, 0, 'opencell.admin', NULL, 'E48', now(), NULL, 'service unit', 'service unit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-526, 0, 'opencell.admin', NULL, 'E49', now(), NULL, 'working day', 'working day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-527, 0, 'opencell.admin', NULL, 'E50', now(), NULL, 'accounting unit', 'accounting unit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-528, 0, 'opencell.admin', NULL, 'E51', now(), NULL, 'job', 'job', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-529, 0, 'opencell.admin', NULL, 'E52', now(), NULL, 'run foot', 'run foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-530, 0, 'opencell.admin', NULL, 'E53', now(), NULL, 'test', 'test', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-531, 0, 'opencell.admin', NULL, 'E54', now(), NULL, 'trip', 'trip', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-532, 0, 'opencell.admin', NULL, 'E55', now(), NULL, 'use', 'use', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-533, 0, 'opencell.admin', NULL, 'E56', now(), NULL, 'well', 'well', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-534, 0, 'opencell.admin', NULL, 'E57', now(), NULL, 'zone', 'zone', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-535, 0, 'opencell.admin', NULL, 'E58', now(), NULL, 'exabit per second', 'exabit per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-536, 0, 'opencell.admin', NULL, 'E59', now(), NULL, 'exbibyte', 'exbibyte', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-537, 0, 'opencell.admin', NULL, 'E60', now(), NULL, 'pebibyte', 'pebibyte', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-538, 0, 'opencell.admin', NULL, 'E61', now(), NULL, 'tebibyte', 'tebibyte', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-539, 0, 'opencell.admin', NULL, 'E62', now(), NULL, 'gibibyte', 'gibibyte', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-540, 0, 'opencell.admin', NULL, 'E63', now(), NULL, 'mebibyte', 'mebibyte', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-541, 0, 'opencell.admin', NULL, 'E64', now(), NULL, 'kibibyte', 'kibibyte', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-542, 0, 'opencell.admin', NULL, 'E65', now(), NULL, 'exbibit per metre', 'exbibit per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-543, 0, 'opencell.admin', NULL, 'E66', now(), NULL, 'exbibit per square metre', 'exbibit per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-544, 0, 'opencell.admin', NULL, 'E67', now(), NULL, 'exbibit per cubic metre', 'exbibit per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-545, 0, 'opencell.admin', NULL, 'E68', now(), NULL, 'gigabyte per second', 'gigabyte per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-546, 0, 'opencell.admin', NULL, 'E69', now(), NULL, 'gibibit per metre', 'gibibit per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-547, 0, 'opencell.admin', NULL, 'E70', now(), NULL, 'gibibit per square metre', 'gibibit per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-548, 0, 'opencell.admin', NULL, 'E71', now(), NULL, 'gibibit per cubic metre', 'gibibit per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-549, 0, 'opencell.admin', NULL, 'E72', now(), NULL, 'kibibit per metre', 'kibibit per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-550, 0, 'opencell.admin', NULL, 'E73', now(), NULL, 'kibibit per square metre', 'kibibit per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-551, 0, 'opencell.admin', NULL, 'E74', now(), NULL, 'kibibit per cubic metre', 'kibibit per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-552, 0, 'opencell.admin', NULL, 'E75', now(), NULL, 'mebibit per metre', 'mebibit per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-553, 0, 'opencell.admin', NULL, 'E76', now(), NULL, 'mebibit per square metre', 'mebibit per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-554, 0, 'opencell.admin', NULL, 'E77', now(), NULL, 'mebibit per cubic metre', 'mebibit per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-555, 0, 'opencell.admin', NULL, 'E78', now(), NULL, 'petabit', 'petabit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-556, 0, 'opencell.admin', NULL, 'E79', now(), NULL, 'petabit per second', 'petabit per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-557, 0, 'opencell.admin', NULL, 'E80', now(), NULL, 'pebibit per metre', 'pebibit per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-558, 0, 'opencell.admin', NULL, 'E81', now(), NULL, 'pebibit per square metre', 'pebibit per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-559, 0, 'opencell.admin', NULL, 'E82', now(), NULL, 'pebibit per cubic metre', 'pebibit per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-560, 0, 'opencell.admin', NULL, 'E83', now(), NULL, 'terabit', 'terabit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-561, 0, 'opencell.admin', NULL, 'E84', now(), NULL, 'terabit per second', 'terabit per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-562, 0, 'opencell.admin', NULL, 'E85', now(), NULL, 'tebibit per metre', 'tebibit per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-563, 0, 'opencell.admin', NULL, 'E86', now(), NULL, 'tebibit per cubic metre', 'tebibit per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-564, 0, 'opencell.admin', NULL, 'E87', now(), NULL, 'tebibit per square metre', 'tebibit per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-565, 0, 'opencell.admin', NULL, 'E88', now(), NULL, 'bit per metre', 'bit per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-566, 0, 'opencell.admin', NULL, 'E89', now(), NULL, 'bit per square metre', 'bit per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-567, 0, 'opencell.admin', NULL, 'E90', now(), NULL, 'reciprocal centimetre', 'reciprocal centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-568, 0, 'opencell.admin', NULL, 'E91', now(), NULL, 'reciprocal day', 'reciprocal day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-569, 0, 'opencell.admin', NULL, 'E92', now(), NULL, 'cubic decimetre per hour', 'cubic decimetre per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-570, 0, 'opencell.admin', NULL, 'E93', now(), NULL, 'kilogram per hour', 'kilogram per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-571, 0, 'opencell.admin', NULL, 'E94', now(), NULL, 'kilomole per second', 'kilomole per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-572, 0, 'opencell.admin', NULL, 'E95', now(), NULL, 'mole per second', 'mole per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-573, 0, 'opencell.admin', NULL, 'E96', now(), NULL, 'degree per second', 'degree per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-574, 0, 'opencell.admin', NULL, 'E97', now(), NULL, 'millimetre per degree Celcius metre', 'millimetre per degree Celcius metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-575, 0, 'opencell.admin', NULL, 'E98', now(), NULL, 'degree Celsius per kelvin', 'degree Celsius per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-576, 0, 'opencell.admin', NULL, 'E99', now(), NULL, 'hectopascal per bar', 'hectopascal per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-577, 0, 'opencell.admin', NULL, 'EA', now(), NULL, 'each', 'each', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-578, 0, 'opencell.admin', NULL, 'EB', now(), NULL, 'electronic mail box', 'electronic mail box', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-579, 0, 'opencell.admin', NULL, 'EQ', now(), NULL, 'equivalent gallon', 'equivalent gallon', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-580, 0, 'opencell.admin', NULL, 'F01', now(), NULL, 'bit per cubic metre', 'bit per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-581, 0, 'opencell.admin', NULL, 'F02', now(), NULL, 'kelvin per kelvin', 'kelvin per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-582, 0, 'opencell.admin', NULL, 'F03', now(), NULL, 'kilopascal per bar', 'kilopascal per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-583, 0, 'opencell.admin', NULL, 'F04', now(), NULL, 'millibar per bar', 'millibar per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-584, 0, 'opencell.admin', NULL, 'F05', now(), NULL, 'megapascal per bar', 'megapascal per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-585, 0, 'opencell.admin', NULL, 'F06', now(), NULL, 'poise per bar', 'poise per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-586, 0, 'opencell.admin', NULL, 'F07', now(), NULL, 'pascal per bar', 'pascal per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-587, 0, 'opencell.admin', NULL, 'F08', now(), NULL, 'milliampere per inch', 'milliampere per inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-588, 0, 'opencell.admin', NULL, 'F10', now(), NULL, 'kelvin per hour', 'kelvin per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-589, 0, 'opencell.admin', NULL, 'F11', now(), NULL, 'kelvin per minute', 'kelvin per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-590, 0, 'opencell.admin', NULL, 'F12', now(), NULL, 'kelvin per second', 'kelvin per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-591, 0, 'opencell.admin', NULL, 'F13', now(), NULL, 'slug', 'slug', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-592, 0, 'opencell.admin', NULL, 'F14', now(), NULL, 'gram per kelvin', 'gram per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-593, 0, 'opencell.admin', NULL, 'F15', now(), NULL, 'kilogram per kelvin', 'kilogram per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-594, 0, 'opencell.admin', NULL, 'F16', now(), NULL, 'milligram per kelvin', 'milligram per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-595, 0, 'opencell.admin', NULL, 'F17', now(), NULL, 'pound-force per foot', 'pound-force per foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-596, 0, 'opencell.admin', NULL, 'F18', now(), NULL, 'kilogram square centimetre', 'kilogram square centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-597, 0, 'opencell.admin', NULL, 'F19', now(), NULL, 'kilogram square millimetre', 'kilogram square millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-598, 0, 'opencell.admin', NULL, 'F20', now(), NULL, 'pound inch squared', 'pound inch squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-599, 0, 'opencell.admin', NULL, 'F21', now(), NULL, 'pound-force inch', 'pound-force inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-600, 0, 'opencell.admin', NULL, 'F22', now(), NULL, 'pound-force foot per ampere', 'pound-force foot per ampere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-601, 0, 'opencell.admin', NULL, 'F23', now(), NULL, 'gram per cubic decimetre', 'gram per cubic decimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-602, 0, 'opencell.admin', NULL, 'F24', now(), NULL, 'kilogram per kilomol', 'kilogram per kilomol', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-603, 0, 'opencell.admin', NULL, 'F25', now(), NULL, 'gram per hertz', 'gram per hertz', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-604, 0, 'opencell.admin', NULL, 'F26', now(), NULL, 'gram per day', 'gram per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-605, 0, 'opencell.admin', NULL, 'F27', now(), NULL, 'gram per hour', 'gram per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-606, 0, 'opencell.admin', NULL, 'F28', now(), NULL, 'gram per minute', 'gram per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-607, 0, 'opencell.admin', NULL, 'F29', now(), NULL, 'gram per second', 'gram per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-608, 0, 'opencell.admin', NULL, 'F30', now(), NULL, 'kilogram per day', 'kilogram per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-609, 0, 'opencell.admin', NULL, 'F31', now(), NULL, 'kilogram per minute', 'kilogram per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-610, 0, 'opencell.admin', NULL, 'F32', now(), NULL, 'milligram per day', 'milligram per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-611, 0, 'opencell.admin', NULL, 'F33', now(), NULL, 'milligram per minute', 'milligram per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-612, 0, 'opencell.admin', NULL, 'F34', now(), NULL, 'milligram per second', 'milligram per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-613, 0, 'opencell.admin', NULL, 'F35', now(), NULL, 'gram per day kelvin', 'gram per day kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-614, 0, 'opencell.admin', NULL, 'F36', now(), NULL, 'gram per hour kelvin', 'gram per hour kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-615, 0, 'opencell.admin', NULL, 'F37', now(), NULL, 'gram per minute kelvin', 'gram per minute kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-616, 0, 'opencell.admin', NULL, 'F38', now(), NULL, 'gram per second kelvin', 'gram per second kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-617, 0, 'opencell.admin', NULL, 'F39', now(), NULL, 'kilogram per day kelvin', 'kilogram per day kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-618, 0, 'opencell.admin', NULL, 'F40', now(), NULL, 'kilogram per hour kelvin', 'kilogram per hour kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-619, 0, 'opencell.admin', NULL, 'F41', now(), NULL, 'kilogram per minute kelvin', 'kilogram per minute kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-620, 0, 'opencell.admin', NULL, 'F42', now(), NULL, 'kilogram per second kelvin', 'kilogram per second kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-621, 0, 'opencell.admin', NULL, 'F43', now(), NULL, 'milligram per day kelvin', 'milligram per day kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-622, 0, 'opencell.admin', NULL, 'F44', now(), NULL, 'milligram per hour kelvin', 'milligram per hour kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-623, 0, 'opencell.admin', NULL, 'F45', now(), NULL, 'milligram per minute kelvin', 'milligram per minute kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-624, 0, 'opencell.admin', NULL, 'F46', now(), NULL, 'milligram per second kelvin', 'milligram per second kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-625, 0, 'opencell.admin', NULL, 'F47', now(), NULL, 'newton per millimetre', 'newton per millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-626, 0, 'opencell.admin', NULL, 'F48', now(), NULL, 'pound-force per inch', 'pound-force per inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-627, 0, 'opencell.admin', NULL, 'F49', now(), NULL, 'rod [unit of distance]', 'rod [unit of distance]', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-628, 0, 'opencell.admin', NULL, 'F50', now(), NULL, 'micrometre per kelvin', 'micrometre per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-629, 0, 'opencell.admin', NULL, 'F51', now(), NULL, 'centimetre per kelvin', 'centimetre per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-630, 0, 'opencell.admin', NULL, 'F52', now(), NULL, 'metre per kelvin', 'metre per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-631, 0, 'opencell.admin', NULL, 'F53', now(), NULL, 'millimetre per kelvin', 'millimetre per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-632, 0, 'opencell.admin', NULL, 'F54', now(), NULL, 'milliohm per metre', 'milliohm per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-633, 0, 'opencell.admin', NULL, 'F55', now(), NULL, 'ohm per mile (statute mile)', 'ohm per mile (statute mile)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-634, 0, 'opencell.admin', NULL, 'F56', now(), NULL, 'ohm per kilometre', 'ohm per kilometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-635, 0, 'opencell.admin', NULL, 'F57', now(), NULL, 'milliampere per pound-force per square inch', 'milliampere per pound-force per square inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-636, 0, 'opencell.admin', NULL, 'F58', now(), NULL, 'reciprocal bar', 'reciprocal bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-637, 0, 'opencell.admin', NULL, 'F59', now(), NULL, 'milliampere per bar', 'milliampere per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-638, 0, 'opencell.admin', NULL, 'F60', now(), NULL, 'degree Celsius per bar', 'degree Celsius per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-639, 0, 'opencell.admin', NULL, 'F61', now(), NULL, 'kelvin per bar', 'kelvin per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-640, 0, 'opencell.admin', NULL, 'F62', now(), NULL, 'gram per day bar', 'gram per day bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-641, 0, 'opencell.admin', NULL, 'F63', now(), NULL, 'gram per hour bar', 'gram per hour bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-642, 0, 'opencell.admin', NULL, 'F64', now(), NULL, 'gram per minute bar', 'gram per minute bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-643, 0, 'opencell.admin', NULL, 'F65', now(), NULL, 'gram per second bar', 'gram per second bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-644, 0, 'opencell.admin', NULL, 'F66', now(), NULL, 'kilogram per day bar', 'kilogram per day bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-645, 0, 'opencell.admin', NULL, 'F67', now(), NULL, 'kilogram per hour bar', 'kilogram per hour bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-646, 0, 'opencell.admin', NULL, 'F68', now(), NULL, 'kilogram per minute bar', 'kilogram per minute bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-647, 0, 'opencell.admin', NULL, 'F69', now(), NULL, 'kilogram per second bar', 'kilogram per second bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-648, 0, 'opencell.admin', NULL, 'F70', now(), NULL, 'milligram per day bar', 'milligram per day bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-649, 0, 'opencell.admin', NULL, 'F71', now(), NULL, 'milligram per hour bar', 'milligram per hour bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-650, 0, 'opencell.admin', NULL, 'F72', now(), NULL, 'milligram per minute bar', 'milligram per minute bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-651, 0, 'opencell.admin', NULL, 'F73', now(), NULL, 'milligram per second bar', 'milligram per second bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-652, 0, 'opencell.admin', NULL, 'F74', now(), NULL, 'gram per bar', 'gram per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-653, 0, 'opencell.admin', NULL, 'F75', now(), NULL, 'milligram per bar', 'milligram per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-654, 0, 'opencell.admin', NULL, 'F76', now(), NULL, 'milliampere per millimetre', 'milliampere per millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-655, 0, 'opencell.admin', NULL, 'F77', now(), NULL, 'pascal second per kelvin', 'pascal second per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-656, 0, 'opencell.admin', NULL, 'F78', now(), NULL, 'inch of water', 'inch of water', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-657, 0, 'opencell.admin', NULL, 'F79', now(), NULL, 'inch of mercury', 'inch of mercury', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-658, 0, 'opencell.admin', NULL, 'F80', now(), NULL, 'water horse power', 'water horse power', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-659, 0, 'opencell.admin', NULL, 'F81', now(), NULL, 'bar per kelvin', 'bar per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-660, 0, 'opencell.admin', NULL, 'F82', now(), NULL, 'hectopascal per kelvin', 'hectopascal per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-661, 0, 'opencell.admin', NULL, 'F83', now(), NULL, 'kilopascal per kelvin', 'kilopascal per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-662, 0, 'opencell.admin', NULL, 'F84', now(), NULL, 'millibar per kelvin', 'millibar per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-663, 0, 'opencell.admin', NULL, 'F85', now(), NULL, 'megapascal per kelvin', 'megapascal per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-664, 0, 'opencell.admin', NULL, 'F86', now(), NULL, 'poise per kelvin', 'poise per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-665, 0, 'opencell.admin', NULL, 'F87', now(), NULL, 'volt per litre minute', 'volt per litre minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-666, 0, 'opencell.admin', NULL, 'F88', now(), NULL, 'newton centimetre', 'newton centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-667, 0, 'opencell.admin', NULL, 'F89', now(), NULL, 'newton metre per degree', 'newton metre per degree', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-668, 0, 'opencell.admin', NULL, 'F90', now(), NULL, 'newton metre per ampere', 'newton metre per ampere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-669, 0, 'opencell.admin', NULL, 'F91', now(), NULL, 'bar litre per second', 'bar litre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-670, 0, 'opencell.admin', NULL, 'F92', now(), NULL, 'bar cubic metre per second', 'bar cubic metre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-671, 0, 'opencell.admin', NULL, 'F93', now(), NULL, 'hectopascal litre per second', 'hectopascal litre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-672, 0, 'opencell.admin', NULL, 'F94', now(), NULL, 'hectopascal cubic metre per second', 'hectopascal cubic metre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-673, 0, 'opencell.admin', NULL, 'F95', now(), NULL, 'millibar litre per second', 'millibar litre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-674, 0, 'opencell.admin', NULL, 'F96', now(), NULL, 'millibar cubic metre per second', 'millibar cubic metre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-675, 0, 'opencell.admin', NULL, 'F97', now(), NULL, 'megapascal litre per second', 'megapascal litre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-676, 0, 'opencell.admin', NULL, 'F98', now(), NULL, 'megapascal cubic metre per second', 'megapascal cubic metre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-677, 0, 'opencell.admin', NULL, 'F99', now(), NULL, 'pascal litre per second', 'pascal litre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-678, 0, 'opencell.admin', NULL, 'FAH', now(), NULL, 'degree Fahrenheit', 'degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-679, 0, 'opencell.admin', NULL, 'FAR', now(), NULL, 'farad', 'farad', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-680, 0, 'opencell.admin', NULL, 'FBM', now(), NULL, 'fibre metre', 'fibre metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-681, 0, 'opencell.admin', NULL, 'FC', now(), NULL, 'thousand cubic foot', 'thousand cubic foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-682, 0, 'opencell.admin', NULL, 'FF', now(), NULL, 'hundred cubic metre', 'hundred cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-683, 0, 'opencell.admin', NULL, 'FH', now(), NULL, 'micromole', 'micromole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-684, 0, 'opencell.admin', NULL, 'FIT', now(), NULL, 'failures in time', 'failures in time', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-685, 0, 'opencell.admin', NULL, 'FL', now(), NULL, 'flake ton', 'flake ton', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-686, 0, 'opencell.admin', NULL, 'FNU', now(), NULL, 'Formazin nephelometric unit', 'Formazin nephelometric unit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-687, 0, 'opencell.admin', NULL, 'FOT', now(), NULL, 'foot', 'foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-688, 0, 'opencell.admin', NULL, 'FP', now(), NULL, 'pound per square foot', 'pound per square foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-689, 0, 'opencell.admin', NULL, 'FR', now(), NULL, 'foot per minute', 'foot per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-690, 0, 'opencell.admin', NULL, 'FS', now(), NULL, 'foot per second', 'foot per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-691, 0, 'opencell.admin', NULL, 'FTK', now(), NULL, 'square foot', 'square foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-692, 0, 'opencell.admin', NULL, 'FTQ', now(), NULL, 'cubic foot', 'cubic foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-693, 0, 'opencell.admin', NULL, 'G01', now(), NULL, 'pascal cubic metre per second', 'pascal cubic metre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-694, 0, 'opencell.admin', NULL, 'G04', now(), NULL, 'centimetre per bar', 'centimetre per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-695, 0, 'opencell.admin', NULL, 'G05', now(), NULL, 'metre per bar', 'metre per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-696, 0, 'opencell.admin', NULL, 'G06', now(), NULL, 'millimetre per bar', 'millimetre per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-697, 0, 'opencell.admin', NULL, 'G08', now(), NULL, 'square inch per second', 'square inch per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-698, 0, 'opencell.admin', NULL, 'G09', now(), NULL, 'square metre per second kelvin', 'square metre per second kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-699, 0, 'opencell.admin', NULL, 'G10', now(), NULL, 'stokes per kelvin', 'stokes per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-700, 0, 'opencell.admin', NULL, 'G11', now(), NULL, 'gram per cubic centimetre bar', 'gram per cubic centimetre bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-701, 0, 'opencell.admin', NULL, 'G12', now(), NULL, 'gram per cubic decimetre bar', 'gram per cubic decimetre bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-702, 0, 'opencell.admin', NULL, 'G13', now(), NULL, 'gram per litre bar', 'gram per litre bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-703, 0, 'opencell.admin', NULL, 'G14', now(), NULL, 'gram per cubic metre bar', 'gram per cubic metre bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-704, 0, 'opencell.admin', NULL, 'G15', now(), NULL, 'gram per millilitre bar', 'gram per millilitre bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-705, 0, 'opencell.admin', NULL, 'G16', now(), NULL, 'kilogram per cubic centimetre bar', 'kilogram per cubic centimetre bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-706, 0, 'opencell.admin', NULL, 'G17', now(), NULL, 'kilogram per litre bar', 'kilogram per litre bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-707, 0, 'opencell.admin', NULL, 'G18', now(), NULL, 'kilogram per cubic metre bar', 'kilogram per cubic metre bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-708, 0, 'opencell.admin', NULL, 'G19', now(), NULL, 'newton metre per kilogram', 'newton metre per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-709, 0, 'opencell.admin', NULL, 'G2', now(), NULL, 'US gallon per minute', 'US gallon per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-710, 0, 'opencell.admin', NULL, 'G20', now(), NULL, 'pound-force foot per pound', 'pound-force foot per pound', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-711, 0, 'opencell.admin', NULL, 'G21', now(), NULL, 'cup [unit of volume]', 'cup [unit of volume]', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-712, 0, 'opencell.admin', NULL, 'G23', now(), NULL, 'peck', 'peck', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-713, 0, 'opencell.admin', NULL, 'G24', now(), NULL, 'tablespoon (US)', 'tablespoon (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-714, 0, 'opencell.admin', NULL, 'G25', now(), NULL, 'teaspoon (US)', 'teaspoon (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-715, 0, 'opencell.admin', NULL, 'G26', now(), NULL, 'stere', 'stere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-716, 0, 'opencell.admin', NULL, 'G27', now(), NULL, 'cubic centimetre per kelvin', 'cubic centimetre per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-717, 0, 'opencell.admin', NULL, 'G28', now(), NULL, 'litre per kelvin', 'litre per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-718, 0, 'opencell.admin', NULL, 'G29', now(), NULL, 'cubic metre per kelvin', 'cubic metre per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-719, 0, 'opencell.admin', NULL, 'G3', now(), NULL, 'Imperial gallon per minute', 'Imperial gallon per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-720, 0, 'opencell.admin', NULL, 'G30', now(), NULL, 'millilitre per kelvin', 'millilitre per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-721, 0, 'opencell.admin', NULL, 'G31', now(), NULL, 'kilogram per cubic centimetre', 'kilogram per cubic centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-722, 0, 'opencell.admin', NULL, 'G32', now(), NULL, 'ounce (avoirdupois) per cubic yard', 'ounce (avoirdupois) per cubic yard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-723, 0, 'opencell.admin', NULL, 'G33', now(), NULL, 'gram per cubic centimetre kelvin', 'gram per cubic centimetre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-724, 0, 'opencell.admin', NULL, 'G34', now(), NULL, 'gram per cubic decimetre kelvin', 'gram per cubic decimetre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-725, 0, 'opencell.admin', NULL, 'G35', now(), NULL, 'gram per litre kelvin', 'gram per litre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-726, 0, 'opencell.admin', NULL, 'G36', now(), NULL, 'gram per cubic metre kelvin', 'gram per cubic metre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-727, 0, 'opencell.admin', NULL, 'G37', now(), NULL, 'gram per millilitre kelvin', 'gram per millilitre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-728, 0, 'opencell.admin', NULL, 'G38', now(), NULL, 'kilogram per cubic centimetre kelvin', 'kilogram per cubic centimetre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-729, 0, 'opencell.admin', NULL, 'G39', now(), NULL, 'kilogram per litre kelvin', 'kilogram per litre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-730, 0, 'opencell.admin', NULL, 'G40', now(), NULL, 'kilogram per cubic metre kelvin', 'kilogram per cubic metre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-731, 0, 'opencell.admin', NULL, 'G41', now(), NULL, 'square metre per second bar', 'square metre per second bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-732, 0, 'opencell.admin', NULL, 'G42', now(), NULL, 'microsiemens per centimetre', 'microsiemens per centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-733, 0, 'opencell.admin', NULL, 'G43', now(), NULL, 'microsiemens per metre', 'microsiemens per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-734, 0, 'opencell.admin', NULL, 'G44', now(), NULL, 'nanosiemens per centimetre', 'nanosiemens per centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-735, 0, 'opencell.admin', NULL, 'G45', now(), NULL, 'nanosiemens per metre', 'nanosiemens per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-736, 0, 'opencell.admin', NULL, 'G46', now(), NULL, 'stokes per bar', 'stokes per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-737, 0, 'opencell.admin', NULL, 'G47', now(), NULL, 'cubic centimetre per day', 'cubic centimetre per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-738, 0, 'opencell.admin', NULL, 'G48', now(), NULL, 'cubic centimetre per hour', 'cubic centimetre per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-739, 0, 'opencell.admin', NULL, 'G49', now(), NULL, 'cubic centimetre per minute', 'cubic centimetre per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-740, 0, 'opencell.admin', NULL, 'G50', now(), NULL, 'gallon (US) per hour', 'gallon (US) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-741, 0, 'opencell.admin', NULL, 'G51', now(), NULL, 'litre per second', 'litre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-742, 0, 'opencell.admin', NULL, 'G52', now(), NULL, 'cubic metre per day', 'cubic metre per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-743, 0, 'opencell.admin', NULL, 'G53', now(), NULL, 'cubic metre per minute', 'cubic metre per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-744, 0, 'opencell.admin', NULL, 'G54', now(), NULL, 'millilitre per day', 'millilitre per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-745, 0, 'opencell.admin', NULL, 'G55', now(), NULL, 'millilitre per hour', 'millilitre per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-746, 0, 'opencell.admin', NULL, 'G56', now(), NULL, 'cubic inch per hour', 'cubic inch per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-747, 0, 'opencell.admin', NULL, 'G57', now(), NULL, 'cubic inch per minute', 'cubic inch per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-748, 0, 'opencell.admin', NULL, 'G58', now(), NULL, 'cubic inch per second', 'cubic inch per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-749, 0, 'opencell.admin', NULL, 'G59', now(), NULL, 'milliampere per litre minute', 'milliampere per litre minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-750, 0, 'opencell.admin', NULL, 'G60', now(), NULL, 'volt per bar', 'volt per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-751, 0, 'opencell.admin', NULL, 'G61', now(), NULL, 'cubic centimetre per day kelvin', 'cubic centimetre per day kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-752, 0, 'opencell.admin', NULL, 'G62', now(), NULL, 'cubic centimetre per hour kelvin', 'cubic centimetre per hour kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-753, 0, 'opencell.admin', NULL, 'G63', now(), NULL, 'cubic centimetre per minute kelvin', 'cubic centimetre per minute kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-754, 0, 'opencell.admin', NULL, 'G64', now(), NULL, 'cubic centimetre per second kelvin', 'cubic centimetre per second kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-755, 0, 'opencell.admin', NULL, 'G65', now(), NULL, 'litre per day kelvin', 'litre per day kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-756, 0, 'opencell.admin', NULL, 'G66', now(), NULL, 'litre per hour kelvin', 'litre per hour kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-757, 0, 'opencell.admin', NULL, 'G67', now(), NULL, 'litre per minute kelvin', 'litre per minute kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-758, 0, 'opencell.admin', NULL, 'G68', now(), NULL, 'litre per second kelvin', 'litre per second kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-759, 0, 'opencell.admin', NULL, 'G69', now(), NULL, 'cubic metre per day kelvin', 'cubic metre per day kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-760, 0, 'opencell.admin', NULL, 'G70', now(), NULL, 'cubic metre per hour kelvin', 'cubic metre per hour kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-761, 0, 'opencell.admin', NULL, 'G71', now(), NULL, 'cubic metre per minute kelvin', 'cubic metre per minute kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-762, 0, 'opencell.admin', NULL, 'G72', now(), NULL, 'cubic metre per second kelvin', 'cubic metre per second kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-763, 0, 'opencell.admin', NULL, 'G73', now(), NULL, 'millilitre per day kelvin', 'millilitre per day kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-764, 0, 'opencell.admin', NULL, 'G74', now(), NULL, 'millilitre per hour kelvin', 'millilitre per hour kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-765, 0, 'opencell.admin', NULL, 'G75', now(), NULL, 'millilitre per minute kelvin', 'millilitre per minute kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-766, 0, 'opencell.admin', NULL, 'G76', now(), NULL, 'millilitre per second kelvin', 'millilitre per second kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-767, 0, 'opencell.admin', NULL, 'G77', now(), NULL, 'millimetre to the fourth power', 'millimetre to the fourth power', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-768, 0, 'opencell.admin', NULL, 'G78', now(), NULL, 'cubic centimetre per day bar', 'cubic centimetre per day bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-769, 0, 'opencell.admin', NULL, 'G79', now(), NULL, 'cubic centimetre per hour bar', 'cubic centimetre per hour bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-770, 0, 'opencell.admin', NULL, 'G80', now(), NULL, 'cubic centimetre per minute bar', 'cubic centimetre per minute bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-771, 0, 'opencell.admin', NULL, 'G81', now(), NULL, 'cubic centimetre per second bar', 'cubic centimetre per second bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-772, 0, 'opencell.admin', NULL, 'G82', now(), NULL, 'litre per day bar', 'litre per day bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-773, 0, 'opencell.admin', NULL, 'G83', now(), NULL, 'litre per hour bar', 'litre per hour bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-774, 0, 'opencell.admin', NULL, 'G84', now(), NULL, 'litre per minute bar', 'litre per minute bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-775, 0, 'opencell.admin', NULL, 'G85', now(), NULL, 'litre per second bar', 'litre per second bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-776, 0, 'opencell.admin', NULL, 'G86', now(), NULL, 'cubic metre per day bar', 'cubic metre per day bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-777, 0, 'opencell.admin', NULL, 'G87', now(), NULL, 'cubic metre per hour bar', 'cubic metre per hour bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-778, 0, 'opencell.admin', NULL, 'G88', now(), NULL, 'cubic metre per minute bar', 'cubic metre per minute bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-779, 0, 'opencell.admin', NULL, 'G89', now(), NULL, 'cubic metre per second bar', 'cubic metre per second bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-780, 0, 'opencell.admin', NULL, 'G90', now(), NULL, 'millilitre per day bar', 'millilitre per day bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-781, 0, 'opencell.admin', NULL, 'G91', now(), NULL, 'millilitre per hour bar', 'millilitre per hour bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-782, 0, 'opencell.admin', NULL, 'G92', now(), NULL, 'millilitre per minute bar', 'millilitre per minute bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-783, 0, 'opencell.admin', NULL, 'G93', now(), NULL, 'millilitre per second bar', 'millilitre per second bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-784, 0, 'opencell.admin', NULL, 'G94', now(), NULL, 'cubic centimetre per bar', 'cubic centimetre per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-785, 0, 'opencell.admin', NULL, 'G95', now(), NULL, 'litre per bar', 'litre per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-786, 0, 'opencell.admin', NULL, 'G96', now(), NULL, 'cubic metre per bar', 'cubic metre per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-787, 0, 'opencell.admin', NULL, 'G97', now(), NULL, 'millilitre per bar', 'millilitre per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-788, 0, 'opencell.admin', NULL, 'G98', now(), NULL, 'microhenry per kiloohm', 'microhenry per kiloohm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-789, 0, 'opencell.admin', NULL, 'G99', now(), NULL, 'microhenry per ohm', 'microhenry per ohm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-790, 0, 'opencell.admin', NULL, 'GB', now(), NULL, 'gallon (US) per day', 'gallon (US) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-791, 0, 'opencell.admin', NULL, 'GBQ', now(), NULL, 'gigabecquerel', 'gigabecquerel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-792, 0, 'opencell.admin', NULL, 'GDW', now(), NULL, 'gram, dry weight', 'gram, dry weight', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-793, 0, 'opencell.admin', NULL, 'GE', now(), NULL, 'pound per gallon (US)', 'pound per gallon (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-794, 0, 'opencell.admin', NULL, 'GF', now(), NULL, 'gram per metre (gram per 100 centimetres)', 'gram per metre (gram per 100 centimetres)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-795, 0, 'opencell.admin', NULL, 'GFI', now(), NULL, 'gram of fissile isotope', 'gram of fissile isotope', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-796, 0, 'opencell.admin', NULL, 'GGR', now(), NULL, 'great gross', 'great gross', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-797, 0, 'opencell.admin', NULL, 'GIA', now(), NULL, 'gill (US)', 'gill (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-798, 0, 'opencell.admin', NULL, 'GIC', now(), NULL, 'gram, including container', 'gram, including container', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-799, 0, 'opencell.admin', NULL, 'GII', now(), NULL, 'gill (UK)', 'gill (UK)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-800, 0, 'opencell.admin', NULL, 'GIP', now(), NULL, 'gram, including inner packaging', 'gram, including inner packaging', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-801, 0, 'opencell.admin', NULL, 'GJ', now(), NULL, 'gram per millilitre', 'gram per millilitre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-802, 0, 'opencell.admin', NULL, 'GL', now(), NULL, 'gram per litre', 'gram per litre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-803, 0, 'opencell.admin', NULL, 'GLD', now(), NULL, 'dry gallon (US)', 'dry gallon (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-804, 0, 'opencell.admin', NULL, 'GLI', now(), NULL, 'gallon (UK)', 'gallon (UK)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-805, 0, 'opencell.admin', NULL, 'GLL', now(), NULL, 'gallon (US)', 'gallon (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-806, 0, 'opencell.admin', NULL, 'GM', now(), NULL, 'gram per square metre', 'gram per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-807, 0, 'opencell.admin', NULL, 'GO', now(), NULL, 'milligram per square metre', 'milligram per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-808, 0, 'opencell.admin', NULL, 'GP', now(), NULL, 'milligram per cubic metre', 'milligram per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-809, 0, 'opencell.admin', NULL, 'GQ', now(), NULL, 'microgram per cubic metre', 'microgram per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-810, 0, 'opencell.admin', NULL, 'GRM', now(), NULL, 'gram', 'gram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-811, 0, 'opencell.admin', NULL, 'GRN', now(), NULL, 'grain', 'grain', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-812, 0, 'opencell.admin', NULL, 'GRO', now(), NULL, 'gross', 'gross', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-813, 0, 'opencell.admin', NULL, 'GV', now(), NULL, 'gigajoule', 'gigajoule', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-814, 0, 'opencell.admin', NULL, 'GWH', now(), NULL, 'gigawatt hour', 'gigawatt hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-815, 0, 'opencell.admin', NULL, 'H03', now(), NULL, 'henry per kiloohm', 'henry per kiloohm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-816, 0, 'opencell.admin', NULL, 'H04', now(), NULL, 'henry per ohm', 'henry per ohm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-817, 0, 'opencell.admin', NULL, 'H05', now(), NULL, 'millihenry per kiloohm', 'millihenry per kiloohm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-818, 0, 'opencell.admin', NULL, 'H06', now(), NULL, 'millihenry per ohm', 'millihenry per ohm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-819, 0, 'opencell.admin', NULL, 'H07', now(), NULL, 'pascal second per bar', 'pascal second per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-820, 0, 'opencell.admin', NULL, 'H08', now(), NULL, 'microbecquerel', 'microbecquerel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-821, 0, 'opencell.admin', NULL, 'H09', now(), NULL, 'reciprocal year', 'reciprocal year', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-822, 0, 'opencell.admin', NULL, 'H10', now(), NULL, 'reciprocal hour', 'reciprocal hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-823, 0, 'opencell.admin', NULL, 'H11', now(), NULL, 'reciprocal month', 'reciprocal month', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-824, 0, 'opencell.admin', NULL, 'H12', now(), NULL, 'degree Celsius per hour', 'degree Celsius per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-825, 0, 'opencell.admin', NULL, 'H13', now(), NULL, 'degree Celsius per minute', 'degree Celsius per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-826, 0, 'opencell.admin', NULL, 'H14', now(), NULL, 'degree Celsius per second', 'degree Celsius per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-827, 0, 'opencell.admin', NULL, 'H15', now(), NULL, 'square centimetre per gram', 'square centimetre per gram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-828, 0, 'opencell.admin', NULL, 'H16', now(), NULL, 'square decametre', 'square decametre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-829, 0, 'opencell.admin', NULL, 'H18', now(), NULL, 'square hectometre', 'square hectometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-830, 0, 'opencell.admin', NULL, 'H19', now(), NULL, 'cubic hectometre', 'cubic hectometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-831, 0, 'opencell.admin', NULL, 'H20', now(), NULL, 'cubic kilometre', 'cubic kilometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-832, 0, 'opencell.admin', NULL, 'H21', now(), NULL, 'blank', 'blank', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-833, 0, 'opencell.admin', NULL, 'H22', now(), NULL, 'volt square inch per pound-force', 'volt square inch per pound-force', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-834, 0, 'opencell.admin', NULL, 'H23', now(), NULL, 'volt per inch', 'volt per inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-835, 0, 'opencell.admin', NULL, 'H24', now(), NULL, 'volt per microsecond', 'volt per microsecond', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-836, 0, 'opencell.admin', NULL, 'H25', now(), NULL, 'percent per kelvin', 'percent per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-837, 0, 'opencell.admin', NULL, 'H26', now(), NULL, 'ohm per metre', 'ohm per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-838, 0, 'opencell.admin', NULL, 'H27', now(), NULL, 'degree per metre', 'degree per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-839, 0, 'opencell.admin', NULL, 'H28', now(), NULL, 'microfarad per kilometre', 'microfarad per kilometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-840, 0, 'opencell.admin', NULL, 'H29', now(), NULL, 'microgram per litre', 'microgram per litre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-841, 0, 'opencell.admin', NULL, 'H30', now(), NULL, 'square micrometre (square micron)', 'square micrometre (square micron)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-842, 0, 'opencell.admin', NULL, 'H31', now(), NULL, 'ampere per kilogram', 'ampere per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-843, 0, 'opencell.admin', NULL, 'H32', now(), NULL, 'ampere squared second', 'ampere squared second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-844, 0, 'opencell.admin', NULL, 'H33', now(), NULL, 'farad per kilometre', 'farad per kilometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-845, 0, 'opencell.admin', NULL, 'H34', now(), NULL, 'hertz metre', 'hertz metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-846, 0, 'opencell.admin', NULL, 'H35', now(), NULL, 'kelvin metre per watt', 'kelvin metre per watt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-847, 0, 'opencell.admin', NULL, 'H36', now(), NULL, 'megaohm per kilometre', 'megaohm per kilometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-848, 0, 'opencell.admin', NULL, 'H37', now(), NULL, 'megaohm per metre', 'megaohm per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-849, 0, 'opencell.admin', NULL, 'H38', now(), NULL, 'megaampere', 'megaampere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-850, 0, 'opencell.admin', NULL, 'H39', now(), NULL, 'megahertz kilometre', 'megahertz kilometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-851, 0, 'opencell.admin', NULL, 'H40', now(), NULL, 'newton per ampere', 'newton per ampere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-852, 0, 'opencell.admin', NULL, 'H41', now(), NULL, 'newton metre watt to the power minus 0,5', 'newton metre watt to the power minus 0,5', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-853, 0, 'opencell.admin', NULL, 'H42', now(), NULL, 'pascal per metre', 'pascal per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-854, 0, 'opencell.admin', NULL, 'H43', now(), NULL, 'siemens per centimetre', 'siemens per centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-855, 0, 'opencell.admin', NULL, 'H44', now(), NULL, 'teraohm', 'teraohm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-856, 0, 'opencell.admin', NULL, 'H45', now(), NULL, 'volt second per metre', 'volt second per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-857, 0, 'opencell.admin', NULL, 'H46', now(), NULL, 'volt per second', 'volt per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-858, 0, 'opencell.admin', NULL, 'H47', now(), NULL, 'watt per cubic metre', 'watt per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-859, 0, 'opencell.admin', NULL, 'H48', now(), NULL, 'attofarad', 'attofarad', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-860, 0, 'opencell.admin', NULL, 'H49', now(), NULL, 'centimetre per hour', 'centimetre per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-861, 0, 'opencell.admin', NULL, 'H50', now(), NULL, 'reciprocal cubic centimetre', 'reciprocal cubic centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-862, 0, 'opencell.admin', NULL, 'H51', now(), NULL, 'decibel per kilometre', 'decibel per kilometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-863, 0, 'opencell.admin', NULL, 'H52', now(), NULL, 'decibel per metre', 'decibel per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-864, 0, 'opencell.admin', NULL, 'H53', now(), NULL, 'kilogram per bar', 'kilogram per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-865, 0, 'opencell.admin', NULL, 'H54', now(), NULL, 'kilogram per cubic decimetre kelvin', 'kilogram per cubic decimetre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-866, 0, 'opencell.admin', NULL, 'H55', now(), NULL, 'kilogram per cubic decimetre bar', 'kilogram per cubic decimetre bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-867, 0, 'opencell.admin', NULL, 'H56', now(), NULL, 'kilogram per square metre second', 'kilogram per square metre second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-868, 0, 'opencell.admin', NULL, 'H57', now(), NULL, 'inch per two pi radiant', 'inch per two pi radiant', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-869, 0, 'opencell.admin', NULL, 'H58', now(), NULL, 'metre per volt second', 'metre per volt second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-870, 0, 'opencell.admin', NULL, 'H59', now(), NULL, 'square metre per newton', 'square metre per newton', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-871, 0, 'opencell.admin', NULL, 'H60', now(), NULL, 'cubic metre per cubic metre', 'cubic metre per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-872, 0, 'opencell.admin', NULL, 'H61', now(), NULL, 'millisiemens per centimetre', 'millisiemens per centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-873, 0, 'opencell.admin', NULL, 'H62', now(), NULL, 'millivolt per minute', 'millivolt per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-874, 0, 'opencell.admin', NULL, 'H63', now(), NULL, 'milligram per square centimetre', 'milligram per square centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-875, 0, 'opencell.admin', NULL, 'H64', now(), NULL, 'milligram per gram', 'milligram per gram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-876, 0, 'opencell.admin', NULL, 'H65', now(), NULL, 'millilitre per cubic metre', 'millilitre per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-877, 0, 'opencell.admin', NULL, 'H66', now(), NULL, 'millimetre per year', 'millimetre per year', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-878, 0, 'opencell.admin', NULL, 'H67', now(), NULL, 'millimetre per hour', 'millimetre per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-879, 0, 'opencell.admin', NULL, 'H68', now(), NULL, 'millimole per gram', 'millimole per gram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-880, 0, 'opencell.admin', NULL, 'H69', now(), NULL, 'picopascal per kilometre', 'picopascal per kilometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-881, 0, 'opencell.admin', NULL, 'H70', now(), NULL, 'picosecond', 'picosecond', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-882, 0, 'opencell.admin', NULL, 'H71', now(), NULL, 'percent per month', 'percent per month', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-883, 0, 'opencell.admin', NULL, 'H72', now(), NULL, 'percent per hectobar', 'percent per hectobar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-884, 0, 'opencell.admin', NULL, 'H73', now(), NULL, 'percent per decakelvin', 'percent per decakelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-885, 0, 'opencell.admin', NULL, 'H74', now(), NULL, 'watt per metre', 'watt per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-886, 0, 'opencell.admin', NULL, 'H75', now(), NULL, 'decapascal', 'decapascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-887, 0, 'opencell.admin', NULL, 'H76', now(), NULL, 'gram per millimetre', 'gram per millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-888, 0, 'opencell.admin', NULL, 'H77', now(), NULL, 'module width', 'module width', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-889, 0, 'opencell.admin', NULL, 'H79', now(), NULL, 'French gauge', 'French gauge', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-890, 0, 'opencell.admin', NULL, 'H80', now(), NULL, 'rack unit', 'rack unit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-891, 0, 'opencell.admin', NULL, 'H81', now(), NULL, 'millimetre per minute', 'millimetre per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-892, 0, 'opencell.admin', NULL, 'H82', now(), NULL, 'big point', 'big point', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-893, 0, 'opencell.admin', NULL, 'H83', now(), NULL, 'litre per kilogram', 'litre per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-894, 0, 'opencell.admin', NULL, 'H84', now(), NULL, 'gram millimetre', 'gram millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-895, 0, 'opencell.admin', NULL, 'H85', now(), NULL, 'reciprocal week', 'reciprocal week', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-896, 0, 'opencell.admin', NULL, 'H87', now(), NULL, 'piece', 'piece', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-897, 0, 'opencell.admin', NULL, 'H88', now(), NULL, 'megaohm kilometre', 'megaohm kilometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-898, 0, 'opencell.admin', NULL, 'H89', now(), NULL, 'percent per ohm', 'percent per ohm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-899, 0, 'opencell.admin', NULL, 'H90', now(), NULL, 'percent per degree', 'percent per degree', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-900, 0, 'opencell.admin', NULL, 'H91', now(), NULL, 'percent per ten thousand', 'percent per ten thousand', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-901, 0, 'opencell.admin', NULL, 'H92', now(), NULL, 'percent per one hundred thousand', 'percent per one hundred thousand', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-902, 0, 'opencell.admin', NULL, 'H93', now(), NULL, 'percent per hundred', 'percent per hundred', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-903, 0, 'opencell.admin', NULL, 'H94', now(), NULL, 'percent per thousand', 'percent per thousand', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-904, 0, 'opencell.admin', NULL, 'H95', now(), NULL, 'percent per volt', 'percent per volt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-905, 0, 'opencell.admin', NULL, 'H96', now(), NULL, 'percent per bar', 'percent per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-906, 0, 'opencell.admin', NULL, 'H98', now(), NULL, 'percent per inch', 'percent per inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-907, 0, 'opencell.admin', NULL, 'H99', now(), NULL, 'percent per metre', 'percent per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-908, 0, 'opencell.admin', NULL, 'HA', now(), NULL, 'hank', 'hank', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-909, 0, 'opencell.admin', NULL, 'HAD', now(), NULL, 'Piece Day', 'Piece Day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-910, 0, 'opencell.admin', NULL, 'HBA', now(), NULL, 'hectobar', 'hectobar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-911, 0, 'opencell.admin', NULL, 'HBX', now(), NULL, 'hundred boxes', 'hundred boxes', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-912, 0, 'opencell.admin', NULL, 'HC', now(), NULL, 'hundred count', 'hundred count', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-913, 0, 'opencell.admin', NULL, 'HDW', now(), NULL, 'hundred kilogram, dry weight', 'hundred kilogram, dry weight', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-914, 0, 'opencell.admin', NULL, 'HEA', now(), NULL, 'head', 'head', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-915, 0, 'opencell.admin', NULL, 'HGM', now(), NULL, 'hectogram', 'hectogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-916, 0, 'opencell.admin', NULL, 'HH', now(), NULL, 'hundred cubic foot', 'hundred cubic foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-917, 0, 'opencell.admin', NULL, 'HIU', now(), NULL, 'hundred international unit', 'hundred international unit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-918, 0, 'opencell.admin', NULL, 'HKM', now(), NULL, 'hundred kilogram, net mass', 'hundred kilogram, net mass', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-919, 0, 'opencell.admin', NULL, 'HLT', now(), NULL, 'hectolitre', 'hectolitre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-920, 0, 'opencell.admin', NULL, 'HM', now(), NULL, 'mile per hour (statute mile)', 'mile per hour (statute mile)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-921, 0, 'opencell.admin', NULL, 'HMO', now(), NULL, 'Piece Month', 'Piece Month', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-922, 0, 'opencell.admin', NULL, 'HMQ', now(), NULL, 'million cubic metre', 'million cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-923, 0, 'opencell.admin', NULL, 'HMT', now(), NULL, 'hectometre', 'hectometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-924, 0, 'opencell.admin', NULL, 'HPA', now(), NULL, 'hectolitre of pure alcohol', 'hectolitre of pure alcohol', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-925, 0, 'opencell.admin', NULL, 'HTZ', now(), NULL, 'hertz', 'hertz', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-926, 0, 'opencell.admin', NULL, 'HUR', now(), NULL, 'hour', 'hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-927, 0, 'opencell.admin', NULL, 'HWE', now(), NULL, 'Piece Week', 'Piece Week', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-928, 0, 'opencell.admin', NULL, 'IA', now(), NULL, 'inch pound (pound inch)', 'inch pound (pound inch)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-929, 0, 'opencell.admin', NULL, 'IE', now(), NULL, 'person', 'person', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-930, 0, 'opencell.admin', NULL, 'INH', now(), NULL, 'inch', 'inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-931, 0, 'opencell.admin', NULL, 'INK', now(), NULL, 'square inch', 'square inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-932, 0, 'opencell.admin', NULL, 'INQ', now(), NULL, 'cubic inch', 'cubic inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-933, 0, 'opencell.admin', NULL, 'ISD', now(), NULL, 'international sugar degree', 'international sugar degree', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-934, 0, 'opencell.admin', NULL, 'IU', now(), NULL, 'inch per second', 'inch per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-935, 0, 'opencell.admin', NULL, 'IUG', now(), NULL, 'international unit per gram', 'international unit per gram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-936, 0, 'opencell.admin', NULL, 'IV', now(), NULL, 'inch per second squared', 'inch per second squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-937, 0, 'opencell.admin', NULL, 'J10', now(), NULL, 'percent per millimetre', 'percent per millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-938, 0, 'opencell.admin', NULL, 'J12', now(), NULL, 'per mille per psi', 'per mille per psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-939, 0, 'opencell.admin', NULL, 'J13', now(), NULL, 'degree API', 'degree API', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-940, 0, 'opencell.admin', NULL, 'J14', now(), NULL, 'degree Baume (origin scale)', 'degree Baume (origin scale)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-941, 0, 'opencell.admin', NULL, 'J15', now(), NULL, 'degree Baume (US heavy)', 'degree Baume (US heavy)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-942, 0, 'opencell.admin', NULL, 'J16', now(), NULL, 'degree Baume (US light)', 'degree Baume (US light)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-943, 0, 'opencell.admin', NULL, 'J17', now(), NULL, 'degree Balling', 'degree Balling', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-944, 0, 'opencell.admin', NULL, 'J18', now(), NULL, 'degree Brix', 'degree Brix', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-945, 0, 'opencell.admin', NULL, 'J19', now(), NULL, 'degree Fahrenheit hour square foot per British thermal unit (thermochemical)', 'degree Fahrenheit hour square foot per British thermal unit (thermochemical)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-946, 0, 'opencell.admin', NULL, 'J2', now(), NULL, 'joule per kilogram', 'joule per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-947, 0, 'opencell.admin', NULL, 'J20', now(), NULL, 'degree Fahrenheit per kelvin', 'degree Fahrenheit per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-948, 0, 'opencell.admin', NULL, 'J21', now(), NULL, 'degree Fahrenheit per bar', 'degree Fahrenheit per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-949, 0, 'opencell.admin', NULL, 'J22', now(), NULL, 'degree Fahrenheit hour square foot per British thermal unit (international table)', 'degree Fahrenheit hour square foot per British thermal unit (international table)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-950, 0, 'opencell.admin', NULL, 'J23', now(), NULL, 'degree Fahrenheit per hour', 'degree Fahrenheit per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-951, 0, 'opencell.admin', NULL, 'J24', now(), NULL, 'degree Fahrenheit per minute', 'degree Fahrenheit per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-952, 0, 'opencell.admin', NULL, 'J25', now(), NULL, 'degree Fahrenheit per second', 'degree Fahrenheit per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-953, 0, 'opencell.admin', NULL, 'J26', now(), NULL, 'reciprocal degree Fahrenheit', 'reciprocal degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-954, 0, 'opencell.admin', NULL, 'J27', now(), NULL, 'degree Oechsle', 'degree Oechsle', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-955, 0, 'opencell.admin', NULL, 'J28', now(), NULL, 'degree Rankine per hour', 'degree Rankine per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-956, 0, 'opencell.admin', NULL, 'J29', now(), NULL, 'degree Rankine per minute', 'degree Rankine per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-957, 0, 'opencell.admin', NULL, 'J30', now(), NULL, 'degree Rankine per second', 'degree Rankine per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-958, 0, 'opencell.admin', NULL, 'J31', now(), NULL, 'degree Twaddell', 'degree Twaddell', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-959, 0, 'opencell.admin', NULL, 'J32', now(), NULL, 'micropoise', 'micropoise', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-960, 0, 'opencell.admin', NULL, 'J33', now(), NULL, 'microgram per kilogram', 'microgram per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-961, 0, 'opencell.admin', NULL, 'J34', now(), NULL, 'microgram per cubic metre kelvin', 'microgram per cubic metre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-962, 0, 'opencell.admin', NULL, 'J35', now(), NULL, 'microgram per cubic metre bar', 'microgram per cubic metre bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-963, 0, 'opencell.admin', NULL, 'J36', now(), NULL, 'microlitre per litre', 'microlitre per litre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-964, 0, 'opencell.admin', NULL, 'J38', now(), NULL, 'baud', 'baud', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-965, 0, 'opencell.admin', NULL, 'J39', now(), NULL, 'British thermal unit (mean)', 'British thermal unit (mean)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-966, 0, 'opencell.admin', NULL, 'J40', now(), NULL, 'British thermal unit (international table) foot per hour square foot degree Fahrenheit', 'British thermal unit (international table) foot per hour square foot degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-967, 0, 'opencell.admin', NULL, 'J41', now(), NULL, 'British thermal unit (international table) inch per hour square foot degree Fahrenheit', 'British thermal unit (international table) inch per hour square foot degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-968, 0, 'opencell.admin', NULL, 'J42', now(), NULL, 'British thermal unit (international table) inch per second square foot degree Fahrenheit', 'British thermal unit (international table) inch per second square foot degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-969, 0, 'opencell.admin', NULL, 'J43', now(), NULL, 'British thermal unit (international table) per pound degree Fahrenheit', 'British thermal unit (international table) per pound degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-970, 0, 'opencell.admin', NULL, 'J44', now(), NULL, 'British thermal unit (international table) per minute', 'British thermal unit (international table) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-971, 0, 'opencell.admin', NULL, 'J45', now(), NULL, 'British thermal unit (international table) per second', 'British thermal unit (international table) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-972, 0, 'opencell.admin', NULL, 'J46', now(), NULL, 'British thermal unit (thermochemical) foot per hour square foot degree Fahrenheit', 'British thermal unit (thermochemical) foot per hour square foot degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-973, 0, 'opencell.admin', NULL, 'J47', now(), NULL, 'British thermal unit (thermochemical) per hour', 'British thermal unit (thermochemical) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-974, 0, 'opencell.admin', NULL, 'J48', now(), NULL, 'British thermal unit (thermochemical) inch per hour square foot degree Fahrenheit', 'British thermal unit (thermochemical) inch per hour square foot degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-975, 0, 'opencell.admin', NULL, 'J49', now(), NULL, 'British thermal unit (thermochemical) inch per second square foot degree Fahrenheit', 'British thermal unit (thermochemical) inch per second square foot degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1117, 0, 'opencell.admin', NULL, 'KBA', now(), NULL, 'kilobar', 'kilobar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-976, 0, 'opencell.admin', NULL, 'J50', now(), NULL, 'British thermal unit (thermochemical) per pound degree Fahrenheit', 'British thermal unit (thermochemical) per pound degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-977, 0, 'opencell.admin', NULL, 'J51', now(), NULL, 'British thermal unit (thermochemical) per minute', 'British thermal unit (thermochemical) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-978, 0, 'opencell.admin', NULL, 'J52', now(), NULL, 'British thermal unit (thermochemical) per second', 'British thermal unit (thermochemical) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-979, 0, 'opencell.admin', NULL, 'J53', now(), NULL, 'coulomb square metre per kilogram', 'coulomb square metre per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-980, 0, 'opencell.admin', NULL, 'J54', now(), NULL, 'megabaud', 'megabaud', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-981, 0, 'opencell.admin', NULL, 'J55', now(), NULL, 'watt second', 'watt second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-982, 0, 'opencell.admin', NULL, 'J56', now(), NULL, 'bar per bar', 'bar per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-983, 0, 'opencell.admin', NULL, 'J57', now(), NULL, 'barrel (UK petroleum)', 'barrel (UK petroleum)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-984, 0, 'opencell.admin', NULL, 'J58', now(), NULL, 'barrel (UK petroleum) per minute', 'barrel (UK petroleum) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-985, 0, 'opencell.admin', NULL, 'J59', now(), NULL, 'barrel (UK petroleum) per day', 'barrel (UK petroleum) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-986, 0, 'opencell.admin', NULL, 'J60', now(), NULL, 'barrel (UK petroleum) per hour', 'barrel (UK petroleum) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-987, 0, 'opencell.admin', NULL, 'J61', now(), NULL, 'barrel (UK petroleum) per second', 'barrel (UK petroleum) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-988, 0, 'opencell.admin', NULL, 'J62', now(), NULL, 'barrel (US petroleum) per hour', 'barrel (US petroleum) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-989, 0, 'opencell.admin', NULL, 'J63', now(), NULL, 'barrel (US petroleum) per second', 'barrel (US petroleum) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-990, 0, 'opencell.admin', NULL, 'J64', now(), NULL, 'bushel (UK) per day', 'bushel (UK) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-991, 0, 'opencell.admin', NULL, 'J65', now(), NULL, 'bushel (UK) per hour', 'bushel (UK) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-992, 0, 'opencell.admin', NULL, 'J66', now(), NULL, 'bushel (UK) per minute', 'bushel (UK) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-993, 0, 'opencell.admin', NULL, 'J67', now(), NULL, 'bushel (UK) per second', 'bushel (UK) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-994, 0, 'opencell.admin', NULL, 'J68', now(), NULL, 'bushel (US dry) per day', 'bushel (US dry) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-995, 0, 'opencell.admin', NULL, 'J69', now(), NULL, 'bushel (US dry) per hour', 'bushel (US dry) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-996, 0, 'opencell.admin', NULL, 'J70', now(), NULL, 'bushel (US dry) per minute', 'bushel (US dry) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-997, 0, 'opencell.admin', NULL, 'J71', now(), NULL, 'bushel (US dry) per second', 'bushel (US dry) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-998, 0, 'opencell.admin', NULL, 'J72', now(), NULL, 'centinewton metre', 'centinewton metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-999, 0, 'opencell.admin', NULL, 'J73', now(), NULL, 'centipoise per kelvin', 'centipoise per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1000, 0, 'opencell.admin', NULL, 'J74', now(), NULL, 'centipoise per bar', 'centipoise per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1001, 0, 'opencell.admin', NULL, 'J75', now(), NULL, 'calorie (mean)', 'calorie (mean)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1002, 0, 'opencell.admin', NULL, 'J76', now(), NULL, 'calorie (international table) per gram degree Celsius', 'calorie (international table) per gram degree Celsius', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1003, 0, 'opencell.admin', NULL, 'J78', now(), NULL, 'calorie (thermochemical) per centimetre second degree Celsius', 'calorie (thermochemical) per centimetre second degree Celsius', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1004, 0, 'opencell.admin', NULL, 'J79', now(), NULL, 'calorie (thermochemical) per gram degree Celsius', 'calorie (thermochemical) per gram degree Celsius', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1005, 0, 'opencell.admin', NULL, 'J81', now(), NULL, 'calorie (thermochemical) per minute', 'calorie (thermochemical) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1006, 0, 'opencell.admin', NULL, 'J82', now(), NULL, 'calorie (thermochemical) per second', 'calorie (thermochemical) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1007, 0, 'opencell.admin', NULL, 'J83', now(), NULL, 'clo', 'clo', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1008, 0, 'opencell.admin', NULL, 'J84', now(), NULL, 'centimetre per second kelvin', 'centimetre per second kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1009, 0, 'opencell.admin', NULL, 'J85', now(), NULL, 'centimetre per second bar', 'centimetre per second bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1010, 0, 'opencell.admin', NULL, 'J87', now(), NULL, 'cubic centimetre per cubic metre', 'cubic centimetre per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1011, 0, 'opencell.admin', NULL, 'J90', now(), NULL, 'cubic decimetre per day', 'cubic decimetre per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1012, 0, 'opencell.admin', NULL, 'J91', now(), NULL, 'cubic decimetre per cubic metre', 'cubic decimetre per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1013, 0, 'opencell.admin', NULL, 'J92', now(), NULL, 'cubic decimetre per minute', 'cubic decimetre per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1014, 0, 'opencell.admin', NULL, 'J93', now(), NULL, 'cubic decimetre per second', 'cubic decimetre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1015, 0, 'opencell.admin', NULL, 'J95', now(), NULL, 'ounce (UK fluid) per day', 'ounce (UK fluid) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1016, 0, 'opencell.admin', NULL, 'J96', now(), NULL, 'ounce (UK fluid) per hour', 'ounce (UK fluid) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1017, 0, 'opencell.admin', NULL, 'J97', now(), NULL, 'ounce (UK fluid) per minute', 'ounce (UK fluid) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1018, 0, 'opencell.admin', NULL, 'J98', now(), NULL, 'ounce (UK fluid) per second', 'ounce (UK fluid) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1019, 0, 'opencell.admin', NULL, 'J99', now(), NULL, 'ounce (US fluid) per day', 'ounce (US fluid) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1020, 0, 'opencell.admin', NULL, 'JE', now(), NULL, 'joule per kelvin', 'joule per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1021, 0, 'opencell.admin', NULL, 'JK', now(), NULL, 'megajoule per kilogram', 'megajoule per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1022, 0, 'opencell.admin', NULL, 'JM', now(), NULL, 'megajoule per cubic metre', 'megajoule per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1023, 0, 'opencell.admin', NULL, 'JNT', now(), NULL, 'pipeline joint', 'pipeline joint', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1024, 0, 'opencell.admin', NULL, 'JOU', now(), NULL, 'joule', 'joule', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1025, 0, 'opencell.admin', NULL, 'JPS', now(), NULL, 'hundred metre', 'hundred metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1026, 0, 'opencell.admin', NULL, 'JWL', now(), NULL, 'number of jewels', 'number of jewels', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1027, 0, 'opencell.admin', NULL, 'K1', now(), NULL, 'kilowatt demand', 'kilowatt demand', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1028, 0, 'opencell.admin', NULL, 'K10', now(), NULL, 'ounce (US fluid) per hour', 'ounce (US fluid) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1029, 0, 'opencell.admin', NULL, 'K11', now(), NULL, 'ounce (US fluid) per minute', 'ounce (US fluid) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1030, 0, 'opencell.admin', NULL, 'K12', now(), NULL, 'ounce (US fluid) per second', 'ounce (US fluid) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1031, 0, 'opencell.admin', NULL, 'K13', now(), NULL, 'foot per degree Fahrenheit', 'foot per degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1032, 0, 'opencell.admin', NULL, 'K14', now(), NULL, 'foot per hour', 'foot per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1033, 0, 'opencell.admin', NULL, 'K15', now(), NULL, 'foot pound-force per hour', 'foot pound-force per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1034, 0, 'opencell.admin', NULL, 'K16', now(), NULL, 'foot pound-force per minute', 'foot pound-force per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1035, 0, 'opencell.admin', NULL, 'K17', now(), NULL, 'foot per psi', 'foot per psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1036, 0, 'opencell.admin', NULL, 'K18', now(), NULL, 'foot per second degree Fahrenheit', 'foot per second degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1037, 0, 'opencell.admin', NULL, 'K19', now(), NULL, 'foot per second psi', 'foot per second psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1038, 0, 'opencell.admin', NULL, 'K2', now(), NULL, 'kilovolt ampere reactive demand', 'kilovolt ampere reactive demand', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1039, 0, 'opencell.admin', NULL, 'K20', now(), NULL, 'reciprocal cubic foot', 'reciprocal cubic foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1040, 0, 'opencell.admin', NULL, 'K21', now(), NULL, 'cubic foot per degree Fahrenheit', 'cubic foot per degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1041, 0, 'opencell.admin', NULL, 'K22', now(), NULL, 'cubic foot per day', 'cubic foot per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1042, 0, 'opencell.admin', NULL, 'K23', now(), NULL, 'cubic foot per psi', 'cubic foot per psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1043, 0, 'opencell.admin', NULL, 'K26', now(), NULL, 'gallon (UK) per day', 'gallon (UK) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1044, 0, 'opencell.admin', NULL, 'K27', now(), NULL, 'gallon (UK) per hour', 'gallon (UK) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1045, 0, 'opencell.admin', NULL, 'K28', now(), NULL, 'gallon (UK) per second', 'gallon (UK) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1046, 0, 'opencell.admin', NULL, 'K3', now(), NULL, 'kilovolt ampere reactive hour', 'kilovolt ampere reactive hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1047, 0, 'opencell.admin', NULL, 'K30', now(), NULL, 'gallon (US liquid) per second', 'gallon (US liquid) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1048, 0, 'opencell.admin', NULL, 'K31', now(), NULL, 'gram-force per square centimetre', 'gram-force per square centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1049, 0, 'opencell.admin', NULL, 'K32', now(), NULL, 'gill (UK) per day', 'gill (UK) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1050, 0, 'opencell.admin', NULL, 'K33', now(), NULL, 'gill (UK) per hour', 'gill (UK) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1051, 0, 'opencell.admin', NULL, 'K34', now(), NULL, 'gill (UK) per minute', 'gill (UK) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1052, 0, 'opencell.admin', NULL, 'K35', now(), NULL, 'gill (UK) per second', 'gill (UK) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1053, 0, 'opencell.admin', NULL, 'K36', now(), NULL, 'gill (US) per day', 'gill (US) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1054, 0, 'opencell.admin', NULL, 'K37', now(), NULL, 'gill (US) per hour', 'gill (US) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1055, 0, 'opencell.admin', NULL, 'K38', now(), NULL, 'gill (US) per minute', 'gill (US) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1056, 0, 'opencell.admin', NULL, 'K39', now(), NULL, 'gill (US) per second', 'gill (US) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1057, 0, 'opencell.admin', NULL, 'K40', now(), NULL, 'standard acceleration of free fall', 'standard acceleration of free fall', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1058, 0, 'opencell.admin', NULL, 'K41', now(), NULL, 'grain per gallon (US)', 'grain per gallon (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1059, 0, 'opencell.admin', NULL, 'K42', now(), NULL, 'horsepower (boiler)', 'horsepower (boiler)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1060, 0, 'opencell.admin', NULL, 'K43', now(), NULL, 'horsepower (electric)', 'horsepower (electric)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1061, 0, 'opencell.admin', NULL, 'K45', now(), NULL, 'inch per degree Fahrenheit', 'inch per degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1062, 0, 'opencell.admin', NULL, 'K46', now(), NULL, 'inch per psi', 'inch per psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1063, 0, 'opencell.admin', NULL, 'K47', now(), NULL, 'inch per second degree Fahrenheit', 'inch per second degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1064, 0, 'opencell.admin', NULL, 'K48', now(), NULL, 'inch per second psi', 'inch per second psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1065, 0, 'opencell.admin', NULL, 'K49', now(), NULL, 'reciprocal cubic inch', 'reciprocal cubic inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1066, 0, 'opencell.admin', NULL, 'K50', now(), NULL, 'kilobaud', 'kilobaud', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1067, 0, 'opencell.admin', NULL, 'K51', now(), NULL, 'kilocalorie (mean)', 'kilocalorie (mean)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1068, 0, 'opencell.admin', NULL, 'K52', now(), NULL, 'kilocalorie (international table) per hour metre degree Celsius', 'kilocalorie (international table) per hour metre degree Celsius', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1069, 0, 'opencell.admin', NULL, 'K53', now(), NULL, 'kilocalorie (thermochemical)', 'kilocalorie (thermochemical)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1070, 0, 'opencell.admin', NULL, 'K54', now(), NULL, 'kilocalorie (thermochemical) per minute', 'kilocalorie (thermochemical) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1071, 0, 'opencell.admin', NULL, 'K55', now(), NULL, 'kilocalorie (thermochemical) per second', 'kilocalorie (thermochemical) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1072, 0, 'opencell.admin', NULL, 'K58', now(), NULL, 'kilomole per hour', 'kilomole per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1073, 0, 'opencell.admin', NULL, 'K59', now(), NULL, 'kilomole per cubic metre kelvin', 'kilomole per cubic metre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1074, 0, 'opencell.admin', NULL, 'K6', now(), NULL, 'kilolitre', 'kilolitre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1075, 0, 'opencell.admin', NULL, 'K60', now(), NULL, 'kilomole per cubic metre bar', 'kilomole per cubic metre bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1076, 0, 'opencell.admin', NULL, 'K61', now(), NULL, 'kilomole per minute', 'kilomole per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1077, 0, 'opencell.admin', NULL, 'K62', now(), NULL, 'litre per litre', 'litre per litre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1078, 0, 'opencell.admin', NULL, 'K63', now(), NULL, 'reciprocal litre', 'reciprocal litre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1079, 0, 'opencell.admin', NULL, 'K64', now(), NULL, 'pound (avoirdupois) per degree Fahrenheit', 'pound (avoirdupois) per degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1080, 0, 'opencell.admin', NULL, 'K65', now(), NULL, 'pound (avoirdupois) square foot', 'pound (avoirdupois) square foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1081, 0, 'opencell.admin', NULL, 'K66', now(), NULL, 'pound (avoirdupois) per day', 'pound (avoirdupois) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1082, 0, 'opencell.admin', NULL, 'K67', now(), NULL, 'pound per foot hour', 'pound per foot hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1083, 0, 'opencell.admin', NULL, 'K68', now(), NULL, 'pound per foot second', 'pound per foot second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1084, 0, 'opencell.admin', NULL, 'K69', now(), NULL, 'pound (avoirdupois) per cubic foot degree Fahrenheit', 'pound (avoirdupois) per cubic foot degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1085, 0, 'opencell.admin', NULL, 'K70', now(), NULL, 'pound (avoirdupois) per cubic foot psi', 'pound (avoirdupois) per cubic foot psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1086, 0, 'opencell.admin', NULL, 'K71', now(), NULL, 'pound (avoirdupois) per gallon (UK)', 'pound (avoirdupois) per gallon (UK)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1087, 0, 'opencell.admin', NULL, 'K73', now(), NULL, 'pound (avoirdupois) per hour degree Fahrenheit', 'pound (avoirdupois) per hour degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1088, 0, 'opencell.admin', NULL, 'K74', now(), NULL, 'pound (avoirdupois) per hour psi', 'pound (avoirdupois) per hour psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1089, 0, 'opencell.admin', NULL, 'K75', now(), NULL, 'pound (avoirdupois) per cubic inch degree Fahrenheit', 'pound (avoirdupois) per cubic inch degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1090, 0, 'opencell.admin', NULL, 'K76', now(), NULL, 'pound (avoirdupois) per cubic inch psi', 'pound (avoirdupois) per cubic inch psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1091, 0, 'opencell.admin', NULL, 'K77', now(), NULL, 'pound (avoirdupois) per psi', 'pound (avoirdupois) per psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1092, 0, 'opencell.admin', NULL, 'K78', now(), NULL, 'pound (avoirdupois) per minute', 'pound (avoirdupois) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1093, 0, 'opencell.admin', NULL, 'K79', now(), NULL, 'pound (avoirdupois) per minute degree Fahrenheit', 'pound (avoirdupois) per minute degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1094, 0, 'opencell.admin', NULL, 'K80', now(), NULL, 'pound (avoirdupois) per minute psi', 'pound (avoirdupois) per minute psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1095, 0, 'opencell.admin', NULL, 'K81', now(), NULL, 'pound (avoirdupois) per second', 'pound (avoirdupois) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1096, 0, 'opencell.admin', NULL, 'K82', now(), NULL, 'pound (avoirdupois) per second degree Fahrenheit', 'pound (avoirdupois) per second degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1097, 0, 'opencell.admin', NULL, 'K83', now(), NULL, 'pound (avoirdupois) per second psi', 'pound (avoirdupois) per second psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1098, 0, 'opencell.admin', NULL, 'K84', now(), NULL, 'pound per cubic yard', 'pound per cubic yard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1099, 0, 'opencell.admin', NULL, 'K85', now(), NULL, 'pound-force per square foot', 'pound-force per square foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1100, 0, 'opencell.admin', NULL, 'K86', now(), NULL, 'pound-force per square inch degree Fahrenheit', 'pound-force per square inch degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1101, 0, 'opencell.admin', NULL, 'K87', now(), NULL, 'psi cubic inch per second', 'psi cubic inch per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1102, 0, 'opencell.admin', NULL, 'K88', now(), NULL, 'psi litre per second', 'psi litre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1103, 0, 'opencell.admin', NULL, 'K89', now(), NULL, 'psi cubic metre per second', 'psi cubic metre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1104, 0, 'opencell.admin', NULL, 'K90', now(), NULL, 'psi cubic yard per second', 'psi cubic yard per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1105, 0, 'opencell.admin', NULL, 'K91', now(), NULL, 'pound-force second per square foot', 'pound-force second per square foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1106, 0, 'opencell.admin', NULL, 'K92', now(), NULL, 'pound-force second per square inch', 'pound-force second per square inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1107, 0, 'opencell.admin', NULL, 'K93', now(), NULL, 'reciprocal psi', 'reciprocal psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1108, 0, 'opencell.admin', NULL, 'K94', now(), NULL, 'quart (UK liquid) per day', 'quart (UK liquid) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1109, 0, 'opencell.admin', NULL, 'K95', now(), NULL, 'quart (UK liquid) per hour', 'quart (UK liquid) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1110, 0, 'opencell.admin', NULL, 'K96', now(), NULL, 'quart (UK liquid) per minute', 'quart (UK liquid) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1111, 0, 'opencell.admin', NULL, 'K97', now(), NULL, 'quart (UK liquid) per second', 'quart (UK liquid) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1112, 0, 'opencell.admin', NULL, 'K98', now(), NULL, 'quart (US liquid) per day', 'quart (US liquid) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1113, 0, 'opencell.admin', NULL, 'K99', now(), NULL, 'quart (US liquid) per hour', 'quart (US liquid) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1114, 0, 'opencell.admin', NULL, 'KA', now(), NULL, 'cake', 'cake', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1115, 0, 'opencell.admin', NULL, 'KAT', now(), NULL, 'katal', 'katal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1116, 0, 'opencell.admin', NULL, 'KB', now(), NULL, 'kilocharacter', 'kilocharacter', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1118, 0, 'opencell.admin', NULL, 'KCC', now(), NULL, 'kilogram of choline chloride', 'kilogram of choline chloride', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1119, 0, 'opencell.admin', NULL, 'KDW', now(), NULL, 'kilogram drained net weight', 'kilogram drained net weight', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1120, 0, 'opencell.admin', NULL, 'KEL', now(), NULL, 'kelvin', 'kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1121, 0, 'opencell.admin', NULL, 'KGM', now(), NULL, 'kilogram', 'kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1122, 0, 'opencell.admin', NULL, 'KGS', now(), NULL, 'kilogram per second', 'kilogram per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1123, 0, 'opencell.admin', NULL, 'KHY', now(), NULL, 'kilogram of hydrogen peroxide', 'kilogram of hydrogen peroxide', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1124, 0, 'opencell.admin', NULL, 'KHZ', now(), NULL, 'kilohertz', 'kilohertz', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1125, 0, 'opencell.admin', NULL, 'KI', now(), NULL, 'kilogram per millimetre width', 'kilogram per millimetre width', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1126, 0, 'opencell.admin', NULL, 'KIC', now(), NULL, 'kilogram, including container', 'kilogram, including container', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1127, 0, 'opencell.admin', NULL, 'KIP', now(), NULL, 'kilogram, including inner packaging', 'kilogram, including inner packaging', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1128, 0, 'opencell.admin', NULL, 'KJ', now(), NULL, 'kilosegment', 'kilosegment', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1129, 0, 'opencell.admin', NULL, 'KJO', now(), NULL, 'kilojoule', 'kilojoule', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1130, 0, 'opencell.admin', NULL, 'KL', now(), NULL, 'kilogram per metre', 'kilogram per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1131, 0, 'opencell.admin', NULL, 'KLK', now(), NULL, 'lactic dry material percentage', 'lactic dry material percentage', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1132, 0, 'opencell.admin', NULL, 'KLX', now(), NULL, 'kilolux', 'kilolux', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1133, 0, 'opencell.admin', NULL, 'KMA', now(), NULL, 'kilogram of methylamine', 'kilogram of methylamine', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1134, 0, 'opencell.admin', NULL, 'KMH', now(), NULL, 'kilometre per hour', 'kilometre per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1135, 0, 'opencell.admin', NULL, 'KMK', now(), NULL, 'square kilometre', 'square kilometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1136, 0, 'opencell.admin', NULL, 'KMQ', now(), NULL, 'kilogram per cubic metre', 'kilogram per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1137, 0, 'opencell.admin', NULL, 'KMT', now(), NULL, 'kilometre', 'kilometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1138, 0, 'opencell.admin', NULL, 'KNI', now(), NULL, 'kilogram of nitrogen', 'kilogram of nitrogen', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1139, 0, 'opencell.admin', NULL, 'KNM', now(), NULL, 'kilonewton per square metre', 'kilonewton per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1140, 0, 'opencell.admin', NULL, 'KNS', now(), NULL, 'kilogram named substance', 'kilogram named substance', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1141, 0, 'opencell.admin', NULL, 'KNT', now(), NULL, 'knot', 'knot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1142, 0, 'opencell.admin', NULL, 'KO', now(), NULL, 'milliequivalence caustic potash per gram of product', 'milliequivalence caustic potash per gram of product', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1143, 0, 'opencell.admin', NULL, 'KPA', now(), NULL, 'kilopascal', 'kilopascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1144, 0, 'opencell.admin', NULL, 'KPH', now(), NULL, 'kilogram of potassium hydroxide (caustic potash)', 'kilogram of potassium hydroxide (caustic potash)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1145, 0, 'opencell.admin', NULL, 'KPO', now(), NULL, 'kilogram of potassium oxide', 'kilogram of potassium oxide', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1146, 0, 'opencell.admin', NULL, 'KPP', now(), NULL, 'kilogram of phosphorus pentoxide (phosphoric anhydride)', 'kilogram of phosphorus pentoxide (phosphoric anhydride)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1147, 0, 'opencell.admin', NULL, 'KR', now(), NULL, 'kiloroentgen', 'kiloroentgen', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1148, 0, 'opencell.admin', NULL, 'KSD', now(), NULL, 'kilogram of substance 90 % dry', 'kilogram of substance 90 % dry', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1149, 0, 'opencell.admin', NULL, 'KSH', now(), NULL, 'kilogram of sodium hydroxide (caustic soda)', 'kilogram of sodium hydroxide (caustic soda)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1150, 0, 'opencell.admin', NULL, 'KT', now(), NULL, 'kit', 'kit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1151, 0, 'opencell.admin', NULL, 'KTN', now(), NULL, 'kilotonne', 'kilotonne', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1152, 0, 'opencell.admin', NULL, 'KUR', now(), NULL, 'kilogram of uranium', 'kilogram of uranium', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1153, 0, 'opencell.admin', NULL, 'KVA', now(), NULL, 'kilovolt - ampere', 'kilovolt - ampere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1154, 0, 'opencell.admin', NULL, 'KVR', now(), NULL, 'kilovar', 'kilovar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1155, 0, 'opencell.admin', NULL, 'KVT', now(), NULL, 'kilovolt', 'kilovolt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1156, 0, 'opencell.admin', NULL, 'KW', now(), NULL, 'kilogram per millimetre', 'kilogram per millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1157, 0, 'opencell.admin', NULL, 'KWH', now(), NULL, 'kilowatt hour', 'kilowatt hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1158, 0, 'opencell.admin', NULL, 'KWN', now(), NULL, 'Kilowatt hour per normalized cubic metre', 'Kilowatt hour per normalized cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1159, 0, 'opencell.admin', NULL, 'KWO', now(), NULL, 'kilogram of tungsten trioxide', 'kilogram of tungsten trioxide', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1160, 0, 'opencell.admin', NULL, 'KWS', now(), NULL, 'Kilowatt hour per standard cubic metre', 'Kilowatt hour per standard cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1161, 0, 'opencell.admin', NULL, 'KWT', now(), NULL, 'kilowatt', 'kilowatt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1162, 0, 'opencell.admin', NULL, 'KWY', now(), NULL, 'kilowatt year', 'kilowatt year', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1163, 0, 'opencell.admin', NULL, 'KX', now(), NULL, 'millilitre per kilogram', 'millilitre per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1164, 0, 'opencell.admin', NULL, 'L10', now(), NULL, 'quart (US liquid) per minute', 'quart (US liquid) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1165, 0, 'opencell.admin', NULL, 'L11', now(), NULL, 'quart (US liquid) per second', 'quart (US liquid) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1166, 0, 'opencell.admin', NULL, 'L12', now(), NULL, 'metre per second kelvin', 'metre per second kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1167, 0, 'opencell.admin', NULL, 'L13', now(), NULL, 'metre per second bar', 'metre per second bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1168, 0, 'opencell.admin', NULL, 'L14', now(), NULL, 'square metre hour degree Celsius per kilocalorie (international table)', 'square metre hour degree Celsius per kilocalorie (international table)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1169, 0, 'opencell.admin', NULL, 'L15', now(), NULL, 'millipascal second per kelvin', 'millipascal second per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1170, 0, 'opencell.admin', NULL, 'L16', now(), NULL, 'millipascal second per bar', 'millipascal second per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1171, 0, 'opencell.admin', NULL, 'L17', now(), NULL, 'milligram per cubic metre kelvin', 'milligram per cubic metre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1172, 0, 'opencell.admin', NULL, 'L18', now(), NULL, 'milligram per cubic metre bar', 'milligram per cubic metre bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1173, 0, 'opencell.admin', NULL, 'L19', now(), NULL, 'millilitre per litre', 'millilitre per litre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1174, 0, 'opencell.admin', NULL, 'L2', now(), NULL, 'litre per minute', 'litre per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1175, 0, 'opencell.admin', NULL, 'L20', now(), NULL, 'reciprocal cubic millimetre', 'reciprocal cubic millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1176, 0, 'opencell.admin', NULL, 'L21', now(), NULL, 'cubic millimetre per cubic metre', 'cubic millimetre per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1177, 0, 'opencell.admin', NULL, 'L23', now(), NULL, 'mole per hour', 'mole per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1178, 0, 'opencell.admin', NULL, 'L24', now(), NULL, 'mole per kilogram kelvin', 'mole per kilogram kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1179, 0, 'opencell.admin', NULL, 'L25', now(), NULL, 'mole per kilogram bar', 'mole per kilogram bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1180, 0, 'opencell.admin', NULL, 'L26', now(), NULL, 'mole per litre kelvin', 'mole per litre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1181, 0, 'opencell.admin', NULL, 'L27', now(), NULL, 'mole per litre bar', 'mole per litre bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1182, 0, 'opencell.admin', NULL, 'L28', now(), NULL, 'mole per cubic metre kelvin', 'mole per cubic metre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1183, 0, 'opencell.admin', NULL, 'L29', now(), NULL, 'mole per cubic metre bar', 'mole per cubic metre bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1184, 0, 'opencell.admin', NULL, 'L30', now(), NULL, 'mole per minute', 'mole per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1185, 0, 'opencell.admin', NULL, 'L31', now(), NULL, 'milliroentgen aequivalent men', 'milliroentgen aequivalent men', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1186, 0, 'opencell.admin', NULL, 'L32', now(), NULL, 'nanogram per kilogram', 'nanogram per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1187, 0, 'opencell.admin', NULL, 'L33', now(), NULL, 'ounce (avoirdupois) per day', 'ounce (avoirdupois) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1188, 0, 'opencell.admin', NULL, 'L34', now(), NULL, 'ounce (avoirdupois) per hour', 'ounce (avoirdupois) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1189, 0, 'opencell.admin', NULL, 'L35', now(), NULL, 'ounce (avoirdupois) per minute', 'ounce (avoirdupois) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1190, 0, 'opencell.admin', NULL, 'L36', now(), NULL, 'ounce (avoirdupois) per second', 'ounce (avoirdupois) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1191, 0, 'opencell.admin', NULL, 'L37', now(), NULL, 'ounce (avoirdupois) per gallon (UK)', 'ounce (avoirdupois) per gallon (UK)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1192, 0, 'opencell.admin', NULL, 'L38', now(), NULL, 'ounce (avoirdupois) per gallon (US)', 'ounce (avoirdupois) per gallon (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1193, 0, 'opencell.admin', NULL, 'L39', now(), NULL, 'ounce (avoirdupois) per cubic inch', 'ounce (avoirdupois) per cubic inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1194, 0, 'opencell.admin', NULL, 'L40', now(), NULL, 'ounce (avoirdupois)-force', 'ounce (avoirdupois)-force', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1195, 0, 'opencell.admin', NULL, 'L41', now(), NULL, 'ounce (avoirdupois)-force inch', 'ounce (avoirdupois)-force inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1196, 0, 'opencell.admin', NULL, 'L42', now(), NULL, 'picosiemens per metre', 'picosiemens per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1197, 0, 'opencell.admin', NULL, 'L43', now(), NULL, 'peck (UK)', 'peck (UK)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1198, 0, 'opencell.admin', NULL, 'L44', now(), NULL, 'peck (UK) per day', 'peck (UK) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1199, 0, 'opencell.admin', NULL, 'L45', now(), NULL, 'peck (UK) per hour', 'peck (UK) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1200, 0, 'opencell.admin', NULL, 'L46', now(), NULL, 'peck (UK) per minute', 'peck (UK) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1201, 0, 'opencell.admin', NULL, 'L47', now(), NULL, 'peck (UK) per second', 'peck (UK) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1202, 0, 'opencell.admin', NULL, 'L48', now(), NULL, 'peck (US dry) per day', 'peck (US dry) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1203, 0, 'opencell.admin', NULL, 'L49', now(), NULL, 'peck (US dry) per hour', 'peck (US dry) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1204, 0, 'opencell.admin', NULL, 'L50', now(), NULL, 'peck (US dry) per minute', 'peck (US dry) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1205, 0, 'opencell.admin', NULL, 'L51', now(), NULL, 'peck (US dry) per second', 'peck (US dry) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1206, 0, 'opencell.admin', NULL, 'L52', now(), NULL, 'psi per psi', 'psi per psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1207, 0, 'opencell.admin', NULL, 'L53', now(), NULL, 'pint (UK) per day', 'pint (UK) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1208, 0, 'opencell.admin', NULL, 'L54', now(), NULL, 'pint (UK) per hour', 'pint (UK) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1209, 0, 'opencell.admin', NULL, 'L55', now(), NULL, 'pint (UK) per minute', 'pint (UK) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1210, 0, 'opencell.admin', NULL, 'L56', now(), NULL, 'pint (UK) per second', 'pint (UK) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1211, 0, 'opencell.admin', NULL, 'L57', now(), NULL, 'pint (US liquid) per day', 'pint (US liquid) per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1212, 0, 'opencell.admin', NULL, 'L58', now(), NULL, 'pint (US liquid) per hour', 'pint (US liquid) per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1213, 0, 'opencell.admin', NULL, 'L59', now(), NULL, 'pint (US liquid) per minute', 'pint (US liquid) per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1214, 0, 'opencell.admin', NULL, 'L60', now(), NULL, 'pint (US liquid) per second', 'pint (US liquid) per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1215, 0, 'opencell.admin', NULL, 'L63', now(), NULL, 'slug per day', 'slug per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1216, 0, 'opencell.admin', NULL, 'L64', now(), NULL, 'slug per foot second', 'slug per foot second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1217, 0, 'opencell.admin', NULL, 'L65', now(), NULL, 'slug per cubic foot', 'slug per cubic foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1218, 0, 'opencell.admin', NULL, 'L66', now(), NULL, 'slug per hour', 'slug per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1219, 0, 'opencell.admin', NULL, 'L67', now(), NULL, 'slug per minute', 'slug per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1220, 0, 'opencell.admin', NULL, 'L68', now(), NULL, 'slug per second', 'slug per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1221, 0, 'opencell.admin', NULL, 'L69', now(), NULL, 'tonne per kelvin', 'tonne per kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1222, 0, 'opencell.admin', NULL, 'L70', now(), NULL, 'tonne per bar', 'tonne per bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1223, 0, 'opencell.admin', NULL, 'L71', now(), NULL, 'tonne per day', 'tonne per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1224, 0, 'opencell.admin', NULL, 'L72', now(), NULL, 'tonne per day kelvin', 'tonne per day kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1225, 0, 'opencell.admin', NULL, 'L73', now(), NULL, 'tonne per day bar', 'tonne per day bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1226, 0, 'opencell.admin', NULL, 'L74', now(), NULL, 'tonne per hour kelvin', 'tonne per hour kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1227, 0, 'opencell.admin', NULL, 'L75', now(), NULL, 'tonne per hour bar', 'tonne per hour bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1228, 0, 'opencell.admin', NULL, 'L76', now(), NULL, 'tonne per cubic metre kelvin', 'tonne per cubic metre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1229, 0, 'opencell.admin', NULL, 'L77', now(), NULL, 'tonne per cubic metre bar', 'tonne per cubic metre bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1230, 0, 'opencell.admin', NULL, 'L78', now(), NULL, 'tonne per minute', 'tonne per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1231, 0, 'opencell.admin', NULL, 'L79', now(), NULL, 'tonne per minute kelvin', 'tonne per minute kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1232, 0, 'opencell.admin', NULL, 'L80', now(), NULL, 'tonne per minute bar', 'tonne per minute bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1233, 0, 'opencell.admin', NULL, 'L81', now(), NULL, 'tonne per second', 'tonne per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1234, 0, 'opencell.admin', NULL, 'L82', now(), NULL, 'tonne per second kelvin', 'tonne per second kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1235, 0, 'opencell.admin', NULL, 'L83', now(), NULL, 'tonne per second bar', 'tonne per second bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1236, 0, 'opencell.admin', NULL, 'L84', now(), NULL, 'ton (UK shipping)', 'ton (UK shipping)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1237, 0, 'opencell.admin', NULL, 'L85', now(), NULL, 'ton long per day', 'ton long per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1238, 0, 'opencell.admin', NULL, 'L86', now(), NULL, 'ton (US shipping)', 'ton (US shipping)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1239, 0, 'opencell.admin', NULL, 'L87', now(), NULL, 'ton short per degree Fahrenheit', 'ton short per degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1240, 0, 'opencell.admin', NULL, 'L88', now(), NULL, 'ton short per day', 'ton short per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1241, 0, 'opencell.admin', NULL, 'L89', now(), NULL, 'ton short per hour degree Fahrenheit', 'ton short per hour degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1242, 0, 'opencell.admin', NULL, 'L90', now(), NULL, 'ton short per hour psi', 'ton short per hour psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1243, 0, 'opencell.admin', NULL, 'L91', now(), NULL, 'ton short per psi', 'ton short per psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1244, 0, 'opencell.admin', NULL, 'L92', now(), NULL, 'ton (UK long) per cubic yard', 'ton (UK long) per cubic yard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1245, 0, 'opencell.admin', NULL, 'L93', now(), NULL, 'ton (US short) per cubic yard', 'ton (US short) per cubic yard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1246, 0, 'opencell.admin', NULL, 'L94', now(), NULL, 'ton-force (US short)', 'ton-force (US short)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1247, 0, 'opencell.admin', NULL, 'L95', now(), NULL, 'common year', 'common year', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1248, 0, 'opencell.admin', NULL, 'L96', now(), NULL, 'sidereal year', 'sidereal year', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1249, 0, 'opencell.admin', NULL, 'L98', now(), NULL, 'yard per degree Fahrenheit', 'yard per degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1250, 0, 'opencell.admin', NULL, 'L99', now(), NULL, 'yard per psi', 'yard per psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1251, 0, 'opencell.admin', NULL, 'LA', now(), NULL, 'pound per cubic inch', 'pound per cubic inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1252, 0, 'opencell.admin', NULL, 'LAC', now(), NULL, 'lactose excess percentage', 'lactose excess percentage', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1253, 0, 'opencell.admin', NULL, 'LBR', now(), NULL, 'pound', 'pound', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1254, 0, 'opencell.admin', NULL, 'LBT', now(), NULL, 'troy pound (US)', 'troy pound (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1255, 0, 'opencell.admin', NULL, 'LD', now(), NULL, 'litre per day', 'litre per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1256, 0, 'opencell.admin', NULL, 'LEF', now(), NULL, 'leaf', 'leaf', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1257, 0, 'opencell.admin', NULL, 'LF', now(), NULL, 'linear foot', 'linear foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1258, 0, 'opencell.admin', NULL, 'LH', now(), NULL, 'labour hour', 'labour hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1259, 0, 'opencell.admin', NULL, 'LK', now(), NULL, 'link', 'link', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1260, 0, 'opencell.admin', NULL, 'LM', now(), NULL, 'linear metre', 'linear metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1261, 0, 'opencell.admin', NULL, 'LN', now(), NULL, 'length', 'length', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1262, 0, 'opencell.admin', NULL, 'LO', now(), NULL, 'lot  [unit of procurement]', 'lot  [unit of procurement]', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1263, 0, 'opencell.admin', NULL, 'LP', now(), NULL, 'liquid pound', 'liquid pound', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1264, 0, 'opencell.admin', NULL, 'LPA', now(), NULL, 'litre of pure alcohol', 'litre of pure alcohol', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1265, 0, 'opencell.admin', NULL, 'LR', now(), NULL, 'layer', 'layer', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1266, 0, 'opencell.admin', NULL, 'LS', now(), NULL, 'lump sum', 'lump sum', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1267, 0, 'opencell.admin', NULL, 'LTN', now(), NULL, 'ton (UK) or long ton (US)', 'ton (UK) or long ton (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1268, 0, 'opencell.admin', NULL, 'LTR', now(), NULL, 'litre', 'litre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1269, 0, 'opencell.admin', NULL, 'LUB', now(), NULL, 'metric ton, lubricating oil', 'metric ton, lubricating oil', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1270, 0, 'opencell.admin', NULL, 'LUM', now(), NULL, 'lumen', 'lumen', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1271, 0, 'opencell.admin', NULL, 'LUX', now(), NULL, 'lux', 'lux', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1272, 0, 'opencell.admin', NULL, 'LY', now(), NULL, 'linear yard', 'linear yard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1273, 0, 'opencell.admin', NULL, 'M1', now(), NULL, 'milligram per litre', 'milligram per litre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1274, 0, 'opencell.admin', NULL, 'M10', now(), NULL, 'reciprocal cubic yard', 'reciprocal cubic yard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1275, 0, 'opencell.admin', NULL, 'M11', now(), NULL, 'cubic yard per degree Fahrenheit', 'cubic yard per degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1276, 0, 'opencell.admin', NULL, 'M12', now(), NULL, 'cubic yard per day', 'cubic yard per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1277, 0, 'opencell.admin', NULL, 'M13', now(), NULL, 'cubic yard per hour', 'cubic yard per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1278, 0, 'opencell.admin', NULL, 'M14', now(), NULL, 'cubic yard per psi', 'cubic yard per psi', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1279, 0, 'opencell.admin', NULL, 'M15', now(), NULL, 'cubic yard per minute', 'cubic yard per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1280, 0, 'opencell.admin', NULL, 'M16', now(), NULL, 'cubic yard per second', 'cubic yard per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1281, 0, 'opencell.admin', NULL, 'M17', now(), NULL, 'kilohertz metre', 'kilohertz metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1282, 0, 'opencell.admin', NULL, 'M18', now(), NULL, 'gigahertz metre', 'gigahertz metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1283, 0, 'opencell.admin', NULL, 'M19', now(), NULL, 'Beaufort', 'Beaufort', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1284, 0, 'opencell.admin', NULL, 'M20', now(), NULL, 'reciprocal megakelvin or megakelvin to the power minus one', 'reciprocal megakelvin or megakelvin to the power minus one', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1285, 0, 'opencell.admin', NULL, 'M21', now(), NULL, 'reciprocal kilovolt - ampere reciprocal hour', 'reciprocal kilovolt - ampere reciprocal hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1286, 0, 'opencell.admin', NULL, 'M22', now(), NULL, 'millilitre per square centimetre minute', 'millilitre per square centimetre minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1287, 0, 'opencell.admin', NULL, 'M23', now(), NULL, 'newton per centimetre', 'newton per centimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1288, 0, 'opencell.admin', NULL, 'M24', now(), NULL, 'ohm kilometre', 'ohm kilometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1289, 0, 'opencell.admin', NULL, 'M25', now(), NULL, 'percent per degree Celsius', 'percent per degree Celsius', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1290, 0, 'opencell.admin', NULL, 'M26', now(), NULL, 'gigaohm per metre', 'gigaohm per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1291, 0, 'opencell.admin', NULL, 'M27', now(), NULL, 'megahertz metre', 'megahertz metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1292, 0, 'opencell.admin', NULL, 'M29', now(), NULL, 'kilogram per kilogram', 'kilogram per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1293, 0, 'opencell.admin', NULL, 'M30', now(), NULL, 'reciprocal volt - ampere reciprocal second', 'reciprocal volt - ampere reciprocal second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1294, 0, 'opencell.admin', NULL, 'M31', now(), NULL, 'kilogram per kilometre', 'kilogram per kilometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1295, 0, 'opencell.admin', NULL, 'M32', now(), NULL, 'pascal second per litre', 'pascal second per litre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1296, 0, 'opencell.admin', NULL, 'M33', now(), NULL, 'millimole per litre', 'millimole per litre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1297, 0, 'opencell.admin', NULL, 'M34', now(), NULL, 'newton metre per square metre', 'newton metre per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1298, 0, 'opencell.admin', NULL, 'M35', now(), NULL, 'millivolt - ampere', 'millivolt - ampere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1299, 0, 'opencell.admin', NULL, 'M36', now(), NULL, '30-day month', '30-day month', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1300, 0, 'opencell.admin', NULL, 'M37', now(), NULL, 'actual/360', 'actual/360', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1301, 0, 'opencell.admin', NULL, 'M38', now(), NULL, 'kilometre per second squared', 'kilometre per second squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1302, 0, 'opencell.admin', NULL, 'M39', now(), NULL, 'centimetre per second squared', 'centimetre per second squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1303, 0, 'opencell.admin', NULL, 'M4', now(), NULL, 'monetary value', 'monetary value', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1304, 0, 'opencell.admin', NULL, 'M40', now(), NULL, 'yard per second squared', 'yard per second squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1305, 0, 'opencell.admin', NULL, 'M41', now(), NULL, 'millimetre per second squared', 'millimetre per second squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1306, 0, 'opencell.admin', NULL, 'M42', now(), NULL, 'mile (statute mile) per second squared', 'mile (statute mile) per second squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1307, 0, 'opencell.admin', NULL, 'M43', now(), NULL, 'mil', 'mil', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1308, 0, 'opencell.admin', NULL, 'M44', now(), NULL, 'revolution', 'revolution', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1309, 0, 'opencell.admin', NULL, 'M45', now(), NULL, 'degree [unit of angle] per second squared', 'degree [unit of angle] per second squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1310, 0, 'opencell.admin', NULL, 'M46', now(), NULL, 'revolution per minute ', 'revolution per minute ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1311, 0, 'opencell.admin', NULL, 'M47', now(), NULL, 'circular mil ', 'circular mil ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1312, 0, 'opencell.admin', NULL, 'M48', now(), NULL, 'square mile (based on U.S. survey foot) ', 'square mile (based on U.S. survey foot) ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1313, 0, 'opencell.admin', NULL, 'M49', now(), NULL, 'chain (based on U.S. survey foot)', 'chain (based on U.S. survey foot)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1314, 0, 'opencell.admin', NULL, 'M5', now(), NULL, 'microcurie', 'microcurie', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1315, 0, 'opencell.admin', NULL, 'M50', now(), NULL, 'furlong', 'furlong', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1316, 0, 'opencell.admin', NULL, 'M51', now(), NULL, 'foot (U.S. survey) ', 'foot (U.S. survey) ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1317, 0, 'opencell.admin', NULL, 'M52', now(), NULL, 'mile (based on U.S. survey foot) ', 'mile (based on U.S. survey foot) ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1318, 0, 'opencell.admin', NULL, 'M53', now(), NULL, 'metre per pascal', 'metre per pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1319, 0, 'opencell.admin', NULL, 'M55', now(), NULL, 'metre per radiant', 'metre per radiant', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1320, 0, 'opencell.admin', NULL, 'M56', now(), NULL, 'shake', 'shake', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1321, 0, 'opencell.admin', NULL, 'M57', now(), NULL, 'mile per minute ', 'mile per minute ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1322, 0, 'opencell.admin', NULL, 'M58', now(), NULL, 'mile per second ', 'mile per second ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1323, 0, 'opencell.admin', NULL, 'M59', now(), NULL, 'metre per second pascal', 'metre per second pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1324, 0, 'opencell.admin', NULL, 'M60', now(), NULL, 'metre per hour', 'metre per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1325, 0, 'opencell.admin', NULL, 'M61', now(), NULL, 'inch per year', 'inch per year', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1326, 0, 'opencell.admin', NULL, 'M62', now(), NULL, 'kilometre per second ', 'kilometre per second ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1327, 0, 'opencell.admin', NULL, 'M63', now(), NULL, 'inch per minute', 'inch per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1328, 0, 'opencell.admin', NULL, 'M64', now(), NULL, 'yard per second', 'yard per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1329, 0, 'opencell.admin', NULL, 'M65', now(), NULL, 'yard per minute', 'yard per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1330, 0, 'opencell.admin', NULL, 'M66', now(), NULL, 'yard per hour', 'yard per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1331, 0, 'opencell.admin', NULL, 'M67', now(), NULL, 'acre-foot (based on U.S. survey foot)', 'acre-foot (based on U.S. survey foot)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1332, 0, 'opencell.admin', NULL, 'M68', now(), NULL, 'cord (128 ft3)', 'cord (128 ft3)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1333, 0, 'opencell.admin', NULL, 'M69', now(), NULL, 'cubic mile (UK statute)', 'cubic mile (UK statute)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1334, 0, 'opencell.admin', NULL, 'M7', now(), NULL, 'micro-inch', 'micro-inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1335, 0, 'opencell.admin', NULL, 'M70', now(), NULL, 'ton, register ', 'ton, register ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1336, 0, 'opencell.admin', NULL, 'M71', now(), NULL, 'cubic metre per pascal', 'cubic metre per pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1337, 0, 'opencell.admin', NULL, 'M72', now(), NULL, 'bel', 'bel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1338, 0, 'opencell.admin', NULL, 'M73', now(), NULL, 'kilogram per cubic metre pascal', 'kilogram per cubic metre pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1339, 0, 'opencell.admin', NULL, 'M74', now(), NULL, 'kilogram per pascal', 'kilogram per pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1340, 0, 'opencell.admin', NULL, 'M75', now(), NULL, 'kilopound-force', 'kilopound-force', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1341, 0, 'opencell.admin', NULL, 'M76', now(), NULL, 'poundal', 'poundal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1342, 0, 'opencell.admin', NULL, 'M77', now(), NULL, 'kilogram metre per second squared', 'kilogram metre per second squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1343, 0, 'opencell.admin', NULL, 'M78', now(), NULL, 'pond', 'pond', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1344, 0, 'opencell.admin', NULL, 'M79', now(), NULL, 'square foot per hour ', 'square foot per hour ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1345, 0, 'opencell.admin', NULL, 'M80', now(), NULL, 'stokes per pascal', 'stokes per pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1346, 0, 'opencell.admin', NULL, 'M81', now(), NULL, 'square centimetre per second', 'square centimetre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1347, 0, 'opencell.admin', NULL, 'M82', now(), NULL, 'square metre per second pascal', 'square metre per second pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1348, 0, 'opencell.admin', NULL, 'M83', now(), NULL, 'denier ', 'denier ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1349, 0, 'opencell.admin', NULL, 'M84', now(), NULL, 'pound per yard ', 'pound per yard ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1350, 0, 'opencell.admin', NULL, 'M85', now(), NULL, 'ton, assay', 'ton, assay', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1351, 0, 'opencell.admin', NULL, 'M86', now(), NULL, 'pfund', 'pfund', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1352, 0, 'opencell.admin', NULL, 'M87', now(), NULL, 'kilogram per second pascal', 'kilogram per second pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1353, 0, 'opencell.admin', NULL, 'M88', now(), NULL, 'tonne per month', 'tonne per month', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1354, 0, 'opencell.admin', NULL, 'M89', now(), NULL, 'tonne per year', 'tonne per year', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1355, 0, 'opencell.admin', NULL, 'M9', now(), NULL, 'million Btu per 1000 cubic foot', 'million Btu per 1000 cubic foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1356, 0, 'opencell.admin', NULL, 'M90', now(), NULL, 'kilopound per hour', 'kilopound per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1357, 0, 'opencell.admin', NULL, 'M91', now(), NULL, 'pound per pound', 'pound per pound', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1358, 0, 'opencell.admin', NULL, 'M92', now(), NULL, 'pound-force foot', 'pound-force foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1359, 0, 'opencell.admin', NULL, 'M93', now(), NULL, 'newton metre per radian', 'newton metre per radian', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1360, 0, 'opencell.admin', NULL, 'M94', now(), NULL, 'kilogram metre', 'kilogram metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1361, 0, 'opencell.admin', NULL, 'M95', now(), NULL, 'poundal foot', 'poundal foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1362, 0, 'opencell.admin', NULL, 'M96', now(), NULL, 'poundal inch', 'poundal inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1363, 0, 'opencell.admin', NULL, 'M97', now(), NULL, 'dyne metre', 'dyne metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1364, 0, 'opencell.admin', NULL, 'M98', now(), NULL, 'kilogram centimetre per second', 'kilogram centimetre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1365, 0, 'opencell.admin', NULL, 'M99', now(), NULL, 'gram centimetre per second', 'gram centimetre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1366, 0, 'opencell.admin', NULL, 'MAH', now(), NULL, 'megavolt ampere reactive hour', 'megavolt ampere reactive hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1367, 0, 'opencell.admin', NULL, 'MAL', now(), NULL, 'megalitre', 'megalitre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1368, 0, 'opencell.admin', NULL, 'MAM', now(), NULL, 'megametre', 'megametre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1369, 0, 'opencell.admin', NULL, 'MAR', now(), NULL, 'megavar', 'megavar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1370, 0, 'opencell.admin', NULL, 'MAW', now(), NULL, 'megawatt', 'megawatt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1371, 0, 'opencell.admin', NULL, 'MBE', now(), NULL, 'thousand standard brick equivalent', 'thousand standard brick equivalent', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1372, 0, 'opencell.admin', NULL, 'MBF', now(), NULL, 'thousand board foot', 'thousand board foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1373, 0, 'opencell.admin', NULL, 'MBR', now(), NULL, 'millibar', 'millibar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1374, 0, 'opencell.admin', NULL, 'MC', now(), NULL, 'microgram', 'microgram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1375, 0, 'opencell.admin', NULL, 'MCU', now(), NULL, 'millicurie', 'millicurie', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1376, 0, 'opencell.admin', NULL, 'MD', now(), NULL, 'air dry metric ton', 'air dry metric ton', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1377, 0, 'opencell.admin', NULL, 'MGM', now(), NULL, 'milligram', 'milligram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1378, 0, 'opencell.admin', NULL, 'MHZ', now(), NULL, 'megahertz', 'megahertz', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1379, 0, 'opencell.admin', NULL, 'MIK', now(), NULL, 'square mile (statute mile)', 'square mile (statute mile)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1380, 0, 'opencell.admin', NULL, 'MIL', now(), NULL, 'thousand', 'thousand', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1381, 0, 'opencell.admin', NULL, 'MIN', now(), NULL, 'minute [unit of time]', 'minute [unit of time]', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1382, 0, 'opencell.admin', NULL, 'MIO', now(), NULL, 'million', 'million', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1383, 0, 'opencell.admin', NULL, 'MIU', now(), NULL, 'million international unit', 'million international unit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1384, 0, 'opencell.admin', NULL, 'MKD', now(), NULL, 'Square Metre Day', 'Square Metre Day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1385, 0, 'opencell.admin', NULL, 'MKM', now(), NULL, 'Square Metre Month', 'Square Metre Month', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1386, 0, 'opencell.admin', NULL, 'MKW', now(), NULL, 'Square Metre Week', 'Square Metre Week', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1387, 0, 'opencell.admin', NULL, 'MLD', now(), NULL, 'milliard', 'milliard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1388, 0, 'opencell.admin', NULL, 'MLT', now(), NULL, 'millilitre', 'millilitre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1389, 0, 'opencell.admin', NULL, 'MMK', now(), NULL, 'square millimetre', 'square millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1390, 0, 'opencell.admin', NULL, 'MMQ', now(), NULL, 'cubic millimetre', 'cubic millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1391, 0, 'opencell.admin', NULL, 'MMT', now(), NULL, 'millimetre', 'millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1392, 0, 'opencell.admin', NULL, 'MND', now(), NULL, 'kilogram, dry weight', 'kilogram, dry weight', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1393, 0, 'opencell.admin', NULL, 'MNJ', now(), NULL, 'Mega Joule per Normalised cubic Metre', 'Mega Joule per Normalised cubic Metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1394, 0, 'opencell.admin', NULL, 'MON', now(), NULL, 'month', 'month', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1395, 0, 'opencell.admin', NULL, 'MPA', now(), NULL, 'megapascal', 'megapascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1396, 0, 'opencell.admin', NULL, 'MQD', now(), NULL, 'Cubic Metre Day', 'Cubic Metre Day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1397, 0, 'opencell.admin', NULL, 'MQH', now(), NULL, 'cubic metre per hour', 'cubic metre per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1398, 0, 'opencell.admin', NULL, 'MQM', now(), NULL, 'Cubic Metre Month', 'Cubic Metre Month', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1399, 0, 'opencell.admin', NULL, 'MQS', now(), NULL, 'cubic metre per second', 'cubic metre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1400, 0, 'opencell.admin', NULL, 'MQW', now(), NULL, 'Cubic Metre Week', 'Cubic Metre Week', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1401, 0, 'opencell.admin', NULL, 'MRD', now(), NULL, 'Metre Day', 'Metre Day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1402, 0, 'opencell.admin', NULL, 'MRM', now(), NULL, 'Metre Month', 'Metre Month', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1403, 0, 'opencell.admin', NULL, 'MRW', now(), NULL, 'Metre Week', 'Metre Week', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1404, 0, 'opencell.admin', NULL, 'MSK', now(), NULL, 'metre per second squared', 'metre per second squared', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1405, 0, 'opencell.admin', NULL, 'MTK', now(), NULL, 'square metre', 'square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1406, 0, 'opencell.admin', NULL, 'MTQ', now(), NULL, 'cubic metre', 'cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1407, 0, 'opencell.admin', NULL, 'MTR', now(), NULL, 'metre', 'metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1408, 0, 'opencell.admin', NULL, 'MTS', now(), NULL, 'metre per second', 'metre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1409, 0, 'opencell.admin', NULL, 'MTZ', now(), NULL, 'milihertz', 'milihertz', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1410, 0, 'opencell.admin', NULL, 'MVA', now(), NULL, 'megavolt - ampere', 'megavolt - ampere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1411, 0, 'opencell.admin', NULL, 'MWH', now(), NULL, 'megawatt hour (1000 kW.h)', 'megawatt hour (1000 kW.h)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1412, 0, 'opencell.admin', NULL, 'N1', now(), NULL, 'pen calorie', 'pen calorie', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1413, 0, 'opencell.admin', NULL, 'N10', now(), NULL, 'pound foot per second', 'pound foot per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1414, 0, 'opencell.admin', NULL, 'N11', now(), NULL, 'pound inch per second', 'pound inch per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1415, 0, 'opencell.admin', NULL, 'N12', now(), NULL, 'Pferdestaerke', 'Pferdestaerke', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1416, 0, 'opencell.admin', NULL, 'N13', now(), NULL, 'centimetre of mercury (0 ºC)', 'centimetre of mercury (0 ºC)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1417, 0, 'opencell.admin', NULL, 'N14', now(), NULL, 'centimetre of water (4 ºC)', 'centimetre of water (4 ºC)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1418, 0, 'opencell.admin', NULL, 'N15', now(), NULL, 'foot of water (39.2 ºF)', 'foot of water (39.2 ºF)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1419, 0, 'opencell.admin', NULL, 'N16', now(), NULL, 'inch of mercury (32 ºF)', 'inch of mercury (32 ºF)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1420, 0, 'opencell.admin', NULL, 'N17', now(), NULL, 'inch of mercury (60 ºF)', 'inch of mercury (60 ºF)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1421, 0, 'opencell.admin', NULL, 'N18', now(), NULL, 'inch of water (39.2 ºF)', 'inch of water (39.2 ºF)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1422, 0, 'opencell.admin', NULL, 'N19', now(), NULL, 'inch of water (60 ºF)', 'inch of water (60 ºF)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1423, 0, 'opencell.admin', NULL, 'N20', now(), NULL, 'kip per square inch', 'kip per square inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1424, 0, 'opencell.admin', NULL, 'N21', now(), NULL, 'poundal per square foot ', 'poundal per square foot ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1425, 0, 'opencell.admin', NULL, 'N22', now(), NULL, 'ounce (avoirdupois) per square inch ', 'ounce (avoirdupois) per square inch ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1426, 0, 'opencell.admin', NULL, 'N23', now(), NULL, 'conventional metre of water', 'conventional metre of water', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1427, 0, 'opencell.admin', NULL, 'N24', now(), NULL, 'gram per square millimetre', 'gram per square millimetre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1428, 0, 'opencell.admin', NULL, 'N25', now(), NULL, 'pound per square yard', 'pound per square yard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1429, 0, 'opencell.admin', NULL, 'N26', now(), NULL, 'poundal per square inch', 'poundal per square inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1430, 0, 'opencell.admin', NULL, 'N27', now(), NULL, 'foot to the fourth power ', 'foot to the fourth power ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1431, 0, 'opencell.admin', NULL, 'N28', now(), NULL, 'cubic decimetre per kilogram', 'cubic decimetre per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1432, 0, 'opencell.admin', NULL, 'N29', now(), NULL, 'cubic foot per pound', 'cubic foot per pound', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1433, 0, 'opencell.admin', NULL, 'N3', now(), NULL, 'print point', 'print point', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1434, 0, 'opencell.admin', NULL, 'N30', now(), NULL, 'cubic inch per pound', 'cubic inch per pound', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1435, 0, 'opencell.admin', NULL, 'N31', now(), NULL, 'kilonewton per metre', 'kilonewton per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1436, 0, 'opencell.admin', NULL, 'N32', now(), NULL, 'poundal per inch', 'poundal per inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1437, 0, 'opencell.admin', NULL, 'N33', now(), NULL, 'pound-force per yard', 'pound-force per yard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1438, 0, 'opencell.admin', NULL, 'N34', now(), NULL, 'poundal second per square foot ', 'poundal second per square foot ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1439, 0, 'opencell.admin', NULL, 'N35', now(), NULL, 'poise per pascal', 'poise per pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1440, 0, 'opencell.admin', NULL, 'N36', now(), NULL, 'newton second per square metre', 'newton second per square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1441, 0, 'opencell.admin', NULL, 'N37', now(), NULL, 'kilogram per metre second', 'kilogram per metre second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1442, 0, 'opencell.admin', NULL, 'N38', now(), NULL, 'kilogram per metre minute', 'kilogram per metre minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1443, 0, 'opencell.admin', NULL, 'N39', now(), NULL, 'kilogram per metre day', 'kilogram per metre day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1444, 0, 'opencell.admin', NULL, 'N40', now(), NULL, 'kilogram per metre hour', 'kilogram per metre hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1445, 0, 'opencell.admin', NULL, 'N41', now(), NULL, 'gram per centimetre second', 'gram per centimetre second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1446, 0, 'opencell.admin', NULL, 'N42', now(), NULL, 'poundal second per square inch', 'poundal second per square inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1447, 0, 'opencell.admin', NULL, 'N43', now(), NULL, 'pound per foot minute', 'pound per foot minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1448, 0, 'opencell.admin', NULL, 'N44', now(), NULL, 'pound per foot day', 'pound per foot day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1449, 0, 'opencell.admin', NULL, 'N45', now(), NULL, 'cubic metre per second pascal', 'cubic metre per second pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1450, 0, 'opencell.admin', NULL, 'N46', now(), NULL, 'foot poundal', 'foot poundal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1451, 0, 'opencell.admin', NULL, 'N47', now(), NULL, 'inch poundal', 'inch poundal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1452, 0, 'opencell.admin', NULL, 'N48', now(), NULL, 'watt per square centimetre ', 'watt per square centimetre ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1453, 0, 'opencell.admin', NULL, 'N49', now(), NULL, 'watt per square inch ', 'watt per square inch ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1454, 0, 'opencell.admin', NULL, 'N50', now(), NULL, 'British thermal unit (international table) per square foot hour', 'British thermal unit (international table) per square foot hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1455, 0, 'opencell.admin', NULL, 'N51', now(), NULL, 'British thermal unit (thermochemical) per square foot hour', 'British thermal unit (thermochemical) per square foot hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1456, 0, 'opencell.admin', NULL, 'N52', now(), NULL, 'British thermal unit (thermochemical) per square foot minute', 'British thermal unit (thermochemical) per square foot minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1457, 0, 'opencell.admin', NULL, 'N53', now(), NULL, 'British thermal unit (international table) per square foot second', 'British thermal unit (international table) per square foot second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1458, 0, 'opencell.admin', NULL, 'N54', now(), NULL, 'British thermal unit (thermochemical) per square foot second', 'British thermal unit (thermochemical) per square foot second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1459, 0, 'opencell.admin', NULL, 'N55', now(), NULL, 'British thermal unit (international table) per square inch second', 'British thermal unit (international table) per square inch second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1460, 0, 'opencell.admin', NULL, 'N56', now(), NULL, 'calorie (thermochemical) per square centimetre minute', 'calorie (thermochemical) per square centimetre minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1461, 0, 'opencell.admin', NULL, 'N57', now(), NULL, 'calorie (thermochemical) per square centimetre second', 'calorie (thermochemical) per square centimetre second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1462, 0, 'opencell.admin', NULL, 'N58', now(), NULL, 'British thermal unit (international table) per cubic foot ', 'British thermal unit (international table) per cubic foot ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1463, 0, 'opencell.admin', NULL, 'N59', now(), NULL, 'British thermal unit (thermochemical) per cubic foot', 'British thermal unit (thermochemical) per cubic foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1464, 0, 'opencell.admin', NULL, 'N60', now(), NULL, 'British thermal unit (international table) per degree Fahrenheit', 'British thermal unit (international table) per degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1465, 0, 'opencell.admin', NULL, 'N61', now(), NULL, 'British thermal unit (thermochemical) per degree Fahrenheit', 'British thermal unit (thermochemical) per degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1466, 0, 'opencell.admin', NULL, 'N62', now(), NULL, 'British thermal unit (international table) per degree Rankine', 'British thermal unit (international table) per degree Rankine', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1467, 0, 'opencell.admin', NULL, 'N63', now(), NULL, 'British thermal unit (thermochemical) per degree Rankine', 'British thermal unit (thermochemical) per degree Rankine', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1468, 0, 'opencell.admin', NULL, 'N64', now(), NULL, 'British thermal unit (thermochemical) per pound degree Rankine', 'British thermal unit (thermochemical) per pound degree Rankine', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1469, 0, 'opencell.admin', NULL, 'N65', now(), NULL, 'kilocalorie (international table) per gram kelvin', 'kilocalorie (international table) per gram kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1470, 0, 'opencell.admin', NULL, 'N66', now(), NULL, 'British thermal unit (39 ºF) ', 'British thermal unit (39 ºF) ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1471, 0, 'opencell.admin', NULL, 'N67', now(), NULL, 'British thermal unit (59 ºF)', 'British thermal unit (59 ºF)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1472, 0, 'opencell.admin', NULL, 'N68', now(), NULL, 'British thermal unit (60 ºF) ', 'British thermal unit (60 ºF) ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1473, 0, 'opencell.admin', NULL, 'N69', now(), NULL, 'calorie (20 ºC) ', 'calorie (20 ºC) ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1474, 0, 'opencell.admin', NULL, 'N70', now(), NULL, 'quad (1015 BtuIT)', 'quad (1015 BtuIT)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1475, 0, 'opencell.admin', NULL, 'N71', now(), NULL, 'therm (EC)', 'therm (EC)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1476, 0, 'opencell.admin', NULL, 'N72', now(), NULL, 'therm (U.S.)', 'therm (U.S.)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1477, 0, 'opencell.admin', NULL, 'N73', now(), NULL, 'British thermal unit (thermochemical) per pound', 'British thermal unit (thermochemical) per pound', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1478, 0, 'opencell.admin', NULL, 'N74', now(), NULL, 'British thermal unit (international table) per hour square foot degree Fahrenheit', 'British thermal unit (international table) per hour square foot degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1479, 0, 'opencell.admin', NULL, 'N75', now(), NULL, 'British thermal unit (thermochemical) per hour square foot degree Fahrenheit', 'British thermal unit (thermochemical) per hour square foot degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1480, 0, 'opencell.admin', NULL, 'N76', now(), NULL, 'British thermal unit (international table) per second square foot degree Fahrenheit', 'British thermal unit (international table) per second square foot degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1555, 0, 'opencell.admin', NULL, 'P31', now(), NULL, 'stilb', 'stilb', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1481, 0, 'opencell.admin', NULL, 'N77', now(), NULL, 'British thermal unit (thermochemical) per second square foot degree Fahrenheit', 'British thermal unit (thermochemical) per second square foot degree Fahrenheit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1482, 0, 'opencell.admin', NULL, 'N78', now(), NULL, 'kilowatt per square metre kelvin', 'kilowatt per square metre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1483, 0, 'opencell.admin', NULL, 'N79', now(), NULL, 'kelvin per pascal', 'kelvin per pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1484, 0, 'opencell.admin', NULL, 'N80', now(), NULL, 'watt per metre degree Celsius', 'watt per metre degree Celsius', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1485, 0, 'opencell.admin', NULL, 'N81', now(), NULL, 'kilowatt per metre kelvin', 'kilowatt per metre kelvin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1486, 0, 'opencell.admin', NULL, 'N82', now(), NULL, 'kilowatt per metre degree Celsius', 'kilowatt per metre degree Celsius', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1487, 0, 'opencell.admin', NULL, 'N83', now(), NULL, 'metre per degree Celcius metre', 'metre per degree Celcius metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1488, 0, 'opencell.admin', NULL, 'N84', now(), NULL, 'degree Fahrenheit hour per British thermal unit (international table)', 'degree Fahrenheit hour per British thermal unit (international table)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1489, 0, 'opencell.admin', NULL, 'N85', now(), NULL, 'degree Fahrenheit hour per British thermal unit (thermochemical)', 'degree Fahrenheit hour per British thermal unit (thermochemical)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1490, 0, 'opencell.admin', NULL, 'N86', now(), NULL, 'degree Fahrenheit second per British thermal unit (international table)', 'degree Fahrenheit second per British thermal unit (international table)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1491, 0, 'opencell.admin', NULL, 'N87', now(), NULL, 'degree Fahrenheit second per British thermal unit (thermochemical)', 'degree Fahrenheit second per British thermal unit (thermochemical)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1492, 0, 'opencell.admin', NULL, 'N88', now(), NULL, 'degree Fahrenheit hour square foot per British thermal unit (international table) inch', 'degree Fahrenheit hour square foot per British thermal unit (international table) inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1493, 0, 'opencell.admin', NULL, 'N89', now(), NULL, 'degree Fahrenheit hour square foot per British thermal unit (thermochemical) inch', 'degree Fahrenheit hour square foot per British thermal unit (thermochemical) inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1494, 0, 'opencell.admin', NULL, 'N90', now(), NULL, 'kilofarad', 'kilofarad', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1495, 0, 'opencell.admin', NULL, 'N91', now(), NULL, 'reciprocal joule', 'reciprocal joule', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1496, 0, 'opencell.admin', NULL, 'N92', now(), NULL, 'picosiemens', 'picosiemens', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1497, 0, 'opencell.admin', NULL, 'N93', now(), NULL, 'ampere per pascal', 'ampere per pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1498, 0, 'opencell.admin', NULL, 'N94', now(), NULL, 'franklin', 'franklin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1499, 0, 'opencell.admin', NULL, 'N95', now(), NULL, 'ampere minute', 'ampere minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1500, 0, 'opencell.admin', NULL, 'N96', now(), NULL, 'biot', 'biot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1501, 0, 'opencell.admin', NULL, 'N97', now(), NULL, 'gilbert', 'gilbert', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1502, 0, 'opencell.admin', NULL, 'N98', now(), NULL, 'volt per pascal', 'volt per pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1503, 0, 'opencell.admin', NULL, 'N99', now(), NULL, 'picovolt', 'picovolt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1504, 0, 'opencell.admin', NULL, 'NA', now(), NULL, 'milligram per kilogram', 'milligram per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1505, 0, 'opencell.admin', NULL, 'NAR', now(), NULL, 'number of articles', 'number of articles', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1506, 0, 'opencell.admin', NULL, 'NCL', now(), NULL, 'number of cells', 'number of cells', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1507, 0, 'opencell.admin', NULL, 'NEW', now(), NULL, 'newton', 'newton', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1508, 0, 'opencell.admin', NULL, 'NF', now(), NULL, 'message', 'message', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1509, 0, 'opencell.admin', NULL, 'NIL', now(), NULL, 'nil', 'nil', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1510, 0, 'opencell.admin', NULL, 'NIU', now(), NULL, 'number of international units', 'number of international units', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1511, 0, 'opencell.admin', NULL, 'NL', now(), NULL, 'load', 'load', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1512, 0, 'opencell.admin', NULL, 'NM3', now(), NULL, 'Normalised cubic metre', 'Normalised cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1513, 0, 'opencell.admin', NULL, 'NMI', now(), NULL, 'nautical mile', 'nautical mile', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1514, 0, 'opencell.admin', NULL, 'NMP', now(), NULL, 'number of packs', 'number of packs', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1515, 0, 'opencell.admin', NULL, 'NPT', now(), NULL, 'number of parts', 'number of parts', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1516, 0, 'opencell.admin', NULL, 'NT', now(), NULL, 'net ton', 'net ton', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1517, 0, 'opencell.admin', NULL, 'NTU', now(), NULL, 'Nephelometric turbidity unit', 'Nephelometric turbidity unit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1518, 0, 'opencell.admin', NULL, 'NU', now(), NULL, 'newton metre', 'newton metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1519, 0, 'opencell.admin', NULL, 'NX', now(), NULL, 'part per thousand', 'part per thousand', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1520, 0, 'opencell.admin', NULL, 'OA', now(), NULL, 'panel', 'panel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1521, 0, 'opencell.admin', NULL, 'ODE', now(), NULL, 'ozone depletion equivalent', 'ozone depletion equivalent', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1522, 0, 'opencell.admin', NULL, 'ODG', now(), NULL, 'ODS Grams', 'ODS Grams', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1523, 0, 'opencell.admin', NULL, 'ODK', now(), NULL, 'ODS Kilograms', 'ODS Kilograms', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1524, 0, 'opencell.admin', NULL, 'ODM', now(), NULL, 'ODS Milligrams', 'ODS Milligrams', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1525, 0, 'opencell.admin', NULL, 'OHM', now(), NULL, 'ohm', 'ohm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1526, 0, 'opencell.admin', NULL, 'ON', now(), NULL, 'ounce per square yard', 'ounce per square yard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1527, 0, 'opencell.admin', NULL, 'ONZ', now(), NULL, 'ounce (avoirdupois)', 'ounce (avoirdupois)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1528, 0, 'opencell.admin', NULL, 'OPM', now(), NULL, 'oscillations per minute', 'oscillations per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1529, 0, 'opencell.admin', NULL, 'OT', now(), NULL, 'overtime hour', 'overtime hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1530, 0, 'opencell.admin', NULL, 'OZA', now(), NULL, 'fluid ounce (US)', 'fluid ounce (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1531, 0, 'opencell.admin', NULL, 'OZI', now(), NULL, 'fluid ounce (UK)', 'fluid ounce (UK)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1532, 0, 'opencell.admin', NULL, 'P1', now(), NULL, 'percent', 'percent', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1533, 0, 'opencell.admin', NULL, 'P10', now(), NULL, 'coulomb per metre', 'coulomb per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1534, 0, 'opencell.admin', NULL, 'P11', now(), NULL, 'kiloweber', 'kiloweber', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1535, 0, 'opencell.admin', NULL, 'P12', now(), NULL, 'gamma', 'gamma', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1536, 0, 'opencell.admin', NULL, 'P13', now(), NULL, 'kilotesla', 'kilotesla', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1537, 0, 'opencell.admin', NULL, 'P14', now(), NULL, 'joule per second', 'joule per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1538, 0, 'opencell.admin', NULL, 'P15', now(), NULL, 'joule per minute', 'joule per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1539, 0, 'opencell.admin', NULL, 'P16', now(), NULL, 'joule per hour', 'joule per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1540, 0, 'opencell.admin', NULL, 'P17', now(), NULL, 'joule per day', 'joule per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1541, 0, 'opencell.admin', NULL, 'P18', now(), NULL, 'kilojoule per second', 'kilojoule per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1542, 0, 'opencell.admin', NULL, 'P19', now(), NULL, 'kilojoule per minute', 'kilojoule per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1543, 0, 'opencell.admin', NULL, 'P2', now(), NULL, 'pound per foot', 'pound per foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1544, 0, 'opencell.admin', NULL, 'P20', now(), NULL, 'kilojoule per hour', 'kilojoule per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1545, 0, 'opencell.admin', NULL, 'P21', now(), NULL, 'kilojoule per day', 'kilojoule per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1546, 0, 'opencell.admin', NULL, 'P22', now(), NULL, 'nanoohm', 'nanoohm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1547, 0, 'opencell.admin', NULL, 'P23', now(), NULL, 'ohm circular-mil per foot ', 'ohm circular-mil per foot ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1548, 0, 'opencell.admin', NULL, 'P24', now(), NULL, 'kilohenry', 'kilohenry', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1549, 0, 'opencell.admin', NULL, 'P25', now(), NULL, 'lumen per square foot ', 'lumen per square foot ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1550, 0, 'opencell.admin', NULL, 'P26', now(), NULL, 'phot', 'phot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1551, 0, 'opencell.admin', NULL, 'P27', now(), NULL, 'footcandle', 'footcandle', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1552, 0, 'opencell.admin', NULL, 'P28', now(), NULL, 'candela per square inch ', 'candela per square inch ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1553, 0, 'opencell.admin', NULL, 'P29', now(), NULL, 'footlambert', 'footlambert', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1554, 0, 'opencell.admin', NULL, 'P30', now(), NULL, 'lambert', 'lambert', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1556, 0, 'opencell.admin', NULL, 'P32', now(), NULL, 'candela per square foot', 'candela per square foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1557, 0, 'opencell.admin', NULL, 'P33', now(), NULL, 'kilocandela', 'kilocandela', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1558, 0, 'opencell.admin', NULL, 'P34', now(), NULL, 'millicandela', 'millicandela', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1559, 0, 'opencell.admin', NULL, 'P35', now(), NULL, 'Hefner-Kerze', 'Hefner-Kerze', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1560, 0, 'opencell.admin', NULL, 'P36', now(), NULL, 'international candle ', 'international candle ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1561, 0, 'opencell.admin', NULL, 'P37', now(), NULL, 'British thermal unit (international table) per square foot', 'British thermal unit (international table) per square foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1562, 0, 'opencell.admin', NULL, 'P38', now(), NULL, 'British thermal unit (thermochemical) per square foot', 'British thermal unit (thermochemical) per square foot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1563, 0, 'opencell.admin', NULL, 'P39', now(), NULL, 'calorie (thermochemical) per square centimetre ', 'calorie (thermochemical) per square centimetre ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1564, 0, 'opencell.admin', NULL, 'P40', now(), NULL, 'langley', 'langley', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1565, 0, 'opencell.admin', NULL, 'P41', now(), NULL, 'decade (logarithmic)', 'decade (logarithmic)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1566, 0, 'opencell.admin', NULL, 'P42', now(), NULL, 'pascal squared second', 'pascal squared second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1567, 0, 'opencell.admin', NULL, 'P43', now(), NULL, 'bel per metre', 'bel per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1568, 0, 'opencell.admin', NULL, 'P44', now(), NULL, 'pound mole', 'pound mole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1569, 0, 'opencell.admin', NULL, 'P45', now(), NULL, 'pound mole per second', 'pound mole per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1570, 0, 'opencell.admin', NULL, 'P46', now(), NULL, 'pound mole per minute', 'pound mole per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1571, 0, 'opencell.admin', NULL, 'P47', now(), NULL, 'kilomole per kilogram', 'kilomole per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1572, 0, 'opencell.admin', NULL, 'P48', now(), NULL, 'pound mole per pound', 'pound mole per pound', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1573, 0, 'opencell.admin', NULL, 'P49', now(), NULL, 'newton square metre per ampere', 'newton square metre per ampere', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1574, 0, 'opencell.admin', NULL, 'P5', now(), NULL, 'five pack', 'five pack', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1575, 0, 'opencell.admin', NULL, 'P50', now(), NULL, 'weber metre', 'weber metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1576, 0, 'opencell.admin', NULL, 'P51', now(), NULL, 'mol per kilogram pascal', 'mol per kilogram pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1577, 0, 'opencell.admin', NULL, 'P52', now(), NULL, 'mol per cubic metre pascal', 'mol per cubic metre pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1578, 0, 'opencell.admin', NULL, 'P53', now(), NULL, 'unit pole ', 'unit pole ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1579, 0, 'opencell.admin', NULL, 'P54', now(), NULL, 'milligray per second', 'milligray per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1580, 0, 'opencell.admin', NULL, 'P55', now(), NULL, 'microgray per second', 'microgray per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1581, 0, 'opencell.admin', NULL, 'P56', now(), NULL, 'nanogray per second', 'nanogray per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1582, 0, 'opencell.admin', NULL, 'P57', now(), NULL, 'gray per minute', 'gray per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1583, 0, 'opencell.admin', NULL, 'P58', now(), NULL, 'milligray per minute', 'milligray per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1584, 0, 'opencell.admin', NULL, 'P59', now(), NULL, 'microgray per minute', 'microgray per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1585, 0, 'opencell.admin', NULL, 'P60', now(), NULL, 'nanogray per minute', 'nanogray per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1586, 0, 'opencell.admin', NULL, 'P61', now(), NULL, 'gray per hour', 'gray per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1587, 0, 'opencell.admin', NULL, 'P62', now(), NULL, 'milligray per hour', 'milligray per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1588, 0, 'opencell.admin', NULL, 'P63', now(), NULL, 'microgray per hour', 'microgray per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1589, 0, 'opencell.admin', NULL, 'P64', now(), NULL, 'nanogray per hour', 'nanogray per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1590, 0, 'opencell.admin', NULL, 'P65', now(), NULL, 'sievert per second', 'sievert per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1591, 0, 'opencell.admin', NULL, 'P66', now(), NULL, 'millisievert per second', 'millisievert per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1592, 0, 'opencell.admin', NULL, 'P67', now(), NULL, 'microsievert per second', 'microsievert per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1593, 0, 'opencell.admin', NULL, 'P68', now(), NULL, 'nanosievert per second', 'nanosievert per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1594, 0, 'opencell.admin', NULL, 'P69', now(), NULL, 'rem per second', 'rem per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1595, 0, 'opencell.admin', NULL, 'P70', now(), NULL, 'sievert per hour', 'sievert per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1596, 0, 'opencell.admin', NULL, 'P71', now(), NULL, 'millisievert per hour', 'millisievert per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1597, 0, 'opencell.admin', NULL, 'P72', now(), NULL, 'microsievert per hour', 'microsievert per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1598, 0, 'opencell.admin', NULL, 'P73', now(), NULL, 'nanosievert per hour', 'nanosievert per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1599, 0, 'opencell.admin', NULL, 'P74', now(), NULL, 'sievert per minute', 'sievert per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1600, 0, 'opencell.admin', NULL, 'P75', now(), NULL, 'millisievert per minute', 'millisievert per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1601, 0, 'opencell.admin', NULL, 'P76', now(), NULL, 'microsievert per minute', 'microsievert per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1602, 0, 'opencell.admin', NULL, 'P77', now(), NULL, 'nanosievert per minute', 'nanosievert per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1603, 0, 'opencell.admin', NULL, 'P78', now(), NULL, 'reciprocal square inch', 'reciprocal square inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1604, 0, 'opencell.admin', NULL, 'P79', now(), NULL, 'pascal square metre per kilogram', 'pascal square metre per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1605, 0, 'opencell.admin', NULL, 'P80', now(), NULL, 'millipascal per metre', 'millipascal per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1606, 0, 'opencell.admin', NULL, 'P81', now(), NULL, 'kilopascal per metre', 'kilopascal per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1607, 0, 'opencell.admin', NULL, 'P82', now(), NULL, 'hectopascal per metre', 'hectopascal per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1608, 0, 'opencell.admin', NULL, 'P83', now(), NULL, 'standard atmosphere per metre', 'standard atmosphere per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1609, 0, 'opencell.admin', NULL, 'P84', now(), NULL, 'technical atmosphere per metre', 'technical atmosphere per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1610, 0, 'opencell.admin', NULL, 'P85', now(), NULL, 'torr per metre', 'torr per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1611, 0, 'opencell.admin', NULL, 'P86', now(), NULL, 'psi per inch', 'psi per inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1612, 0, 'opencell.admin', NULL, 'P87', now(), NULL, 'cubic metre per second square metre', 'cubic metre per second square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1613, 0, 'opencell.admin', NULL, 'P88', now(), NULL, 'rhe', 'rhe', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1614, 0, 'opencell.admin', NULL, 'P89', now(), NULL, 'pound-force foot per inch', 'pound-force foot per inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1615, 0, 'opencell.admin', NULL, 'P90', now(), NULL, 'pound-force inch per inch ', 'pound-force inch per inch ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1616, 0, 'opencell.admin', NULL, 'P91', now(), NULL, 'perm (0 ºC) ', 'perm (0 ºC) ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1617, 0, 'opencell.admin', NULL, 'P92', now(), NULL, 'perm (23 ºC) ', 'perm (23 ºC) ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1618, 0, 'opencell.admin', NULL, 'P93', now(), NULL, 'byte per second', 'byte per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1619, 0, 'opencell.admin', NULL, 'P94', now(), NULL, 'kilobyte per second', 'kilobyte per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1620, 0, 'opencell.admin', NULL, 'P95', now(), NULL, 'megabyte per second', 'megabyte per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1621, 0, 'opencell.admin', NULL, 'P96', now(), NULL, 'reciprocal volt', 'reciprocal volt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1622, 0, 'opencell.admin', NULL, 'P97', now(), NULL, 'reciprocal radian', 'reciprocal radian', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1623, 0, 'opencell.admin', NULL, 'P98', now(), NULL, 'pascal to the power sum of stoichiometric numbers', 'pascal to the power sum of stoichiometric numbers', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1624, 0, 'opencell.admin', NULL, 'P99', now(), NULL, 'mole per cubiv metre to the power sum of stoichiometric numbers', 'mole per cubiv metre to the power sum of stoichiometric numbers', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1625, 0, 'opencell.admin', NULL, 'PAL', now(), NULL, 'pascal', 'pascal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1626, 0, 'opencell.admin', NULL, 'PD', now(), NULL, 'pad', 'pad', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1627, 0, 'opencell.admin', NULL, 'PFL', now(), NULL, 'proof litre', 'proof litre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1628, 0, 'opencell.admin', NULL, 'PGL', now(), NULL, 'proof gallon', 'proof gallon', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1629, 0, 'opencell.admin', NULL, 'PI', now(), NULL, 'pitch', 'pitch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1630, 0, 'opencell.admin', NULL, 'PLA', now(), NULL, 'degree Plato', 'degree Plato', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1631, 0, 'opencell.admin', NULL, 'PO', now(), NULL, 'pound per inch of length', 'pound per inch of length', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1632, 0, 'opencell.admin', NULL, 'PQ', now(), NULL, 'page per inch', 'page per inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1633, 0, 'opencell.admin', NULL, 'PR', now(), NULL, 'pair', 'pair', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1634, 0, 'opencell.admin', NULL, 'PS', now(), NULL, 'pound-force per square inch', 'pound-force per square inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1635, 0, 'opencell.admin', NULL, 'PTD', now(), NULL, 'dry pint (US)', 'dry pint (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1636, 0, 'opencell.admin', NULL, 'PTI', now(), NULL, 'pint (UK)', 'pint (UK)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1637, 0, 'opencell.admin', NULL, 'PTL', now(), NULL, 'liquid pint (US)', 'liquid pint (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1638, 0, 'opencell.admin', NULL, 'PTN', now(), NULL, 'portion', 'portion', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1639, 0, 'opencell.admin', NULL, 'Q10', now(), NULL, 'joule per tesla', 'joule per tesla', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1640, 0, 'opencell.admin', NULL, 'Q11', now(), NULL, 'erlang', 'erlang', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1641, 0, 'opencell.admin', NULL, 'Q12', now(), NULL, 'octet', 'octet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1642, 0, 'opencell.admin', NULL, 'Q13', now(), NULL, 'octet per second', 'octet per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1643, 0, 'opencell.admin', NULL, 'Q14', now(), NULL, 'shannon', 'shannon', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1644, 0, 'opencell.admin', NULL, 'Q15', now(), NULL, 'hartley', 'hartley', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1645, 0, 'opencell.admin', NULL, 'Q16', now(), NULL, 'natural unit of information', 'natural unit of information', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1646, 0, 'opencell.admin', NULL, 'Q17', now(), NULL, 'shannon per second', 'shannon per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1647, 0, 'opencell.admin', NULL, 'Q18', now(), NULL, 'hartley per second', 'hartley per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1648, 0, 'opencell.admin', NULL, 'Q19', now(), NULL, 'natural unit of information per second', 'natural unit of information per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1649, 0, 'opencell.admin', NULL, 'Q20', now(), NULL, 'second per kilogramm', 'second per kilogramm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1650, 0, 'opencell.admin', NULL, 'Q21', now(), NULL, 'watt square metre', 'watt square metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1651, 0, 'opencell.admin', NULL, 'Q22', now(), NULL, 'second per radian cubic metre', 'second per radian cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1652, 0, 'opencell.admin', NULL, 'Q23', now(), NULL, 'weber to the power minus one', 'weber to the power minus one', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1653, 0, 'opencell.admin', NULL, 'Q24', now(), NULL, 'reciprocal inch', 'reciprocal inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1654, 0, 'opencell.admin', NULL, 'Q25', now(), NULL, 'dioptre', 'dioptre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1655, 0, 'opencell.admin', NULL, 'Q26', now(), NULL, 'one per one', 'one per one', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1656, 0, 'opencell.admin', NULL, 'Q27', now(), NULL, 'newton metre per metre', 'newton metre per metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1657, 0, 'opencell.admin', NULL, 'Q28', now(), NULL, 'kilogram per square metre pascal second', 'kilogram per square metre pascal second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1658, 0, 'opencell.admin', NULL, 'Q29', now(), NULL, 'microgram per hectogram', 'microgram per hectogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1659, 0, 'opencell.admin', NULL, 'Q3', now(), NULL, 'meal', 'meal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1660, 0, 'opencell.admin', NULL, 'Q30', now(), NULL, 'pH (potential of Hydrogen)', 'pH (potential of Hydrogen)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1661, 0, 'opencell.admin', NULL, 'Q31', now(), NULL, 'kilojoule per gram', 'kilojoule per gram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1662, 0, 'opencell.admin', NULL, 'Q32', now(), NULL, 'femtolitre', 'femtolitre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1663, 0, 'opencell.admin', NULL, 'Q33', now(), NULL, 'picolitre', 'picolitre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1664, 0, 'opencell.admin', NULL, 'Q34', now(), NULL, 'nanolitre', 'nanolitre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1665, 0, 'opencell.admin', NULL, 'Q35', now(), NULL, 'megawatts per minute', 'megawatts per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1666, 0, 'opencell.admin', NULL, 'Q36', now(), NULL, 'square metre per cubic metre', 'square metre per cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1667, 0, 'opencell.admin', NULL, 'Q37', now(), NULL, 'Standard cubic metre per day', 'Standard cubic metre per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1668, 0, 'opencell.admin', NULL, 'Q38', now(), NULL, 'Standard cubic metre per hour', 'Standard cubic metre per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1669, 0, 'opencell.admin', NULL, 'Q39', now(), NULL, 'Normalized cubic metre per day', 'Normalized cubic metre per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1670, 0, 'opencell.admin', NULL, 'Q40', now(), NULL, 'Normalized cubic metre per hour', 'Normalized cubic metre per hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1671, 0, 'opencell.admin', NULL, 'Q41', now(), NULL, 'Joule per normalised cubic metre', 'Joule per normalised cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1672, 0, 'opencell.admin', NULL, 'Q42', now(), NULL, 'Joule per standard cubic metre', 'Joule per standard cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1673, 0, 'opencell.admin', NULL, 'QA', now(), NULL, 'page - facsimile', 'page - facsimile', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1674, 0, 'opencell.admin', NULL, 'QAN', now(), NULL, 'quarter (of a year)', 'quarter (of a year)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1675, 0, 'opencell.admin', NULL, 'QB', now(), NULL, 'page - hardcopy', 'page - hardcopy', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1676, 0, 'opencell.admin', NULL, 'QR', now(), NULL, 'quire', 'quire', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1677, 0, 'opencell.admin', NULL, 'QTD', now(), NULL, 'dry quart (US)', 'dry quart (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1678, 0, 'opencell.admin', NULL, 'QTI', now(), NULL, 'quart (UK)', 'quart (UK)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1679, 0, 'opencell.admin', NULL, 'QTL', now(), NULL, 'liquid quart (US)', 'liquid quart (US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1680, 0, 'opencell.admin', NULL, 'QTR', now(), NULL, 'quarter (UK)', 'quarter (UK)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1681, 0, 'opencell.admin', NULL, 'R1', now(), NULL, 'pica', 'pica', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1682, 0, 'opencell.admin', NULL, 'R9', now(), NULL, 'thousand cubic metre', 'thousand cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1683, 0, 'opencell.admin', NULL, 'RH', now(), NULL, 'running or operating hour', 'running or operating hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1684, 0, 'opencell.admin', NULL, 'RM', now(), NULL, 'ream', 'ream', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1685, 0, 'opencell.admin', NULL, 'ROM', now(), NULL, 'room', 'room', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1686, 0, 'opencell.admin', NULL, 'RP', now(), NULL, 'pound per ream', 'pound per ream', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1687, 0, 'opencell.admin', NULL, 'RPM', now(), NULL, 'revolutions per minute', 'revolutions per minute', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1688, 0, 'opencell.admin', NULL, 'RPS', now(), NULL, 'revolutions per second', 'revolutions per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1689, 0, 'opencell.admin', NULL, 'RT', now(), NULL, 'revenue ton mile', 'revenue ton mile', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1690, 0, 'opencell.admin', NULL, 'S3', now(), NULL, 'square foot per second', 'square foot per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1691, 0, 'opencell.admin', NULL, 'S4', now(), NULL, 'square metre per second', 'square metre per second', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1692, 0, 'opencell.admin', NULL, 'SAN', now(), NULL, 'half year (6 months)', 'half year (6 months)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1693, 0, 'opencell.admin', NULL, 'SCO', now(), NULL, 'score', 'score', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1694, 0, 'opencell.admin', NULL, 'SCR', now(), NULL, 'scruple', 'scruple', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1695, 0, 'opencell.admin', NULL, 'SEC', now(), NULL, 'second [unit of time]', 'second [unit of time]', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1696, 0, 'opencell.admin', NULL, 'SET', now(), NULL, 'set', 'set', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1697, 0, 'opencell.admin', NULL, 'SG', now(), NULL, 'segment', 'segment', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1698, 0, 'opencell.admin', NULL, 'SIE', now(), NULL, 'siemens', 'siemens', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1699, 0, 'opencell.admin', NULL, 'SM3', now(), NULL, 'Standard cubic metre', 'Standard cubic metre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1700, 0, 'opencell.admin', NULL, 'SMI', now(), NULL, 'mile (statute mile)', 'mile (statute mile)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1701, 0, 'opencell.admin', NULL, 'SQ', now(), NULL, 'square', 'square', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1702, 0, 'opencell.admin', NULL, 'SQR', now(), NULL, 'square, roofing', 'square, roofing', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1703, 0, 'opencell.admin', NULL, 'SR', now(), NULL, 'strip', 'strip', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1704, 0, 'opencell.admin', NULL, 'STC', now(), NULL, 'stick', 'stick', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1705, 0, 'opencell.admin', NULL, 'STI', now(), NULL, 'stone (UK)', 'stone (UK)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1706, 0, 'opencell.admin', NULL, 'STK', now(), NULL, 'stick, cigarette', 'stick, cigarette', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1707, 0, 'opencell.admin', NULL, 'STL', now(), NULL, 'standard litre', 'standard litre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1708, 0, 'opencell.admin', NULL, 'STN', now(), NULL, 'ton (US) or short ton (UK/US)', 'ton (US) or short ton (UK/US)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1709, 0, 'opencell.admin', NULL, 'STW', now(), NULL, 'straw', 'straw', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1710, 0, 'opencell.admin', NULL, 'SW', now(), NULL, 'skein', 'skein', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1711, 0, 'opencell.admin', NULL, 'SX', now(), NULL, 'shipment', 'shipment', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1712, 0, 'opencell.admin', NULL, 'SYR', now(), NULL, 'syringe', 'syringe', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1713, 0, 'opencell.admin', NULL, 'T0', now(), NULL, 'telecommunication line in service', 'telecommunication line in service', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1714, 0, 'opencell.admin', NULL, 'T3', now(), NULL, 'thousand piece', 'thousand piece', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1715, 0, 'opencell.admin', NULL, 'TAH', now(), NULL, 'kiloampere hour (thousand ampere hour)', 'kiloampere hour (thousand ampere hour)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1716, 0, 'opencell.admin', NULL, 'TAN', now(), NULL, 'total acid number', 'total acid number', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1717, 0, 'opencell.admin', NULL, 'TI', now(), NULL, 'thousand square inch', 'thousand square inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1718, 0, 'opencell.admin', NULL, 'TIC', now(), NULL, 'metric ton, including container', 'metric ton, including container', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1719, 0, 'opencell.admin', NULL, 'TIP', now(), NULL, 'metric ton, including inner packaging', 'metric ton, including inner packaging', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1720, 0, 'opencell.admin', NULL, 'TKM', now(), NULL, 'tonne kilometre', 'tonne kilometre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1721, 0, 'opencell.admin', NULL, 'TMS', now(), NULL, 'kilogram of imported meat, less offal', 'kilogram of imported meat, less offal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1722, 0, 'opencell.admin', NULL, 'TNE', now(), NULL, 'tonne (metric ton)', 'tonne (metric ton)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1723, 0, 'opencell.admin', NULL, 'TP', now(), NULL, 'ten pack', 'ten pack', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1724, 0, 'opencell.admin', NULL, 'TPI', now(), NULL, 'teeth per inch', 'teeth per inch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1725, 0, 'opencell.admin', NULL, 'TPR', now(), NULL, 'ten pair', 'ten pair', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1726, 0, 'opencell.admin', NULL, 'TQD', now(), NULL, 'thousand cubic metre per day', 'thousand cubic metre per day', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1727, 0, 'opencell.admin', NULL, 'TRL', now(), NULL, 'trillion (EUR)', 'trillion (EUR)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1728, 0, 'opencell.admin', NULL, 'TST', now(), NULL, 'ten set', 'ten set', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1729, 0, 'opencell.admin', NULL, 'TTS', now(), NULL, 'ten thousand sticks', 'ten thousand sticks', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1730, 0, 'opencell.admin', NULL, 'U1', now(), NULL, 'treatment', 'treatment', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1731, 0, 'opencell.admin', NULL, 'U2', now(), NULL, 'tablet', 'tablet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1732, 0, 'opencell.admin', NULL, 'UB', now(), NULL, 'telecommunication line in service average', 'telecommunication line in service average', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1733, 0, 'opencell.admin', NULL, 'UC', now(), NULL, 'telecommunication port', 'telecommunication port', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1734, 0, 'opencell.admin', NULL, 'VA', now(), NULL, 'volt - ampere per kilogram', 'volt - ampere per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1735, 0, 'opencell.admin', NULL, 'VLT', now(), NULL, 'volt', 'volt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1736, 0, 'opencell.admin', NULL, 'VP', now(), NULL, 'percent volume', 'percent volume', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1737, 0, 'opencell.admin', NULL, 'W2', now(), NULL, 'wet kilo', 'wet kilo', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1738, 0, 'opencell.admin', NULL, 'WA', now(), NULL, 'watt per kilogram', 'watt per kilogram', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1739, 0, 'opencell.admin', NULL, 'WB', now(), NULL, 'wet pound', 'wet pound', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1740, 0, 'opencell.admin', NULL, 'WCD', now(), NULL, 'cord', 'cord', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1741, 0, 'opencell.admin', NULL, 'WE', now(), NULL, 'wet ton', 'wet ton', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1742, 0, 'opencell.admin', NULL, 'WEB', now(), NULL, 'weber', 'weber', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1743, 0, 'opencell.admin', NULL, 'WEE', now(), NULL, 'week', 'week', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1744, 0, 'opencell.admin', NULL, 'WG', now(), NULL, 'wine gallon', 'wine gallon', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1745, 0, 'opencell.admin', NULL, 'WHR', now(), NULL, 'watt hour', 'watt hour', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1746, 0, 'opencell.admin', NULL, 'WM', now(), NULL, 'working month', 'working month', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1747, 0, 'opencell.admin', NULL, 'WSD', now(), NULL, 'standard', 'standard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1748, 0, 'opencell.admin', NULL, 'WTT', now(), NULL, 'watt', 'watt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1749, 0, 'opencell.admin', NULL, 'X1', now(), NULL, 'Gunters chain', 'Gunters chain', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1750, 0, 'opencell.admin', NULL, 'YDK', now(), NULL, 'square yard', 'square yard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1751, 0, 'opencell.admin', NULL, 'YDQ', now(), NULL, 'cubic yard', 'cubic yard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1752, 0, 'opencell.admin', NULL, 'YRD', now(), NULL, 'yard', 'yard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1753, 0, 'opencell.admin', NULL, 'Z11', now(), NULL, 'hanging container', 'hanging container', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1754, 0, 'opencell.admin', NULL, 'Z9', now(), NULL, 'nanomole', 'nanomole', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1755, 0, 'opencell.admin', NULL, 'ZP', now(), NULL, 'page', 'page', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1756, 0, 'opencell.admin', NULL, 'ZZ', now(), NULL, 'mutually defined', 'mutually defined', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1757, 0, 'opencell.admin', NULL, 'X1A', now(), NULL, 'Drum, steel', 'Drum, steel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1758, 0, 'opencell.admin', NULL, 'X1B', now(), NULL, 'Drum, aluminium', 'Drum, aluminium', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1759, 0, 'opencell.admin', NULL, 'X1D', now(), NULL, 'Drum, plywood', 'Drum, plywood', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1760, 0, 'opencell.admin', NULL, 'X1F', now(), NULL, 'Container, flexible', 'Container, flexible', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1761, 0, 'opencell.admin', NULL, 'X1G', now(), NULL, 'Drum, fibre', 'Drum, fibre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1762, 0, 'opencell.admin', NULL, 'X1W', now(), NULL, 'Drum, wooden', 'Drum, wooden', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1763, 0, 'opencell.admin', NULL, 'X2C', now(), NULL, 'Barrel, wooden', 'Barrel, wooden', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1764, 0, 'opencell.admin', NULL, 'X3A', now(), NULL, 'Jerrican, steel', 'Jerrican, steel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1765, 0, 'opencell.admin', NULL, 'X3H', now(), NULL, 'Jerrican, plastic', 'Jerrican, plastic', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1766, 0, 'opencell.admin', NULL, 'X43', now(), NULL, 'Bag, super bulk', 'Bag, super bulk', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1767, 0, 'opencell.admin', NULL, 'X44', now(), NULL, 'Bag, polybag', 'Bag, polybag', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1768, 0, 'opencell.admin', NULL, 'X4A', now(), NULL, 'Box, steel', 'Box, steel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1769, 0, 'opencell.admin', NULL, 'X4B', now(), NULL, 'Box, aluminium', 'Box, aluminium', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1770, 0, 'opencell.admin', NULL, 'X4C', now(), NULL, 'Box, natural wood', 'Box, natural wood', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1771, 0, 'opencell.admin', NULL, 'X4D', now(), NULL, 'Box, plywood', 'Box, plywood', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1772, 0, 'opencell.admin', NULL, 'X4F', now(), NULL, 'Box, reconstituted wood', 'Box, reconstituted wood', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1773, 0, 'opencell.admin', NULL, 'X4G', now(), NULL, 'Box, fibreboard', 'Box, fibreboard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1774, 0, 'opencell.admin', NULL, 'X4H', now(), NULL, 'Box, plastic', 'Box, plastic', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1775, 0, 'opencell.admin', NULL, 'X5H', now(), NULL, 'Bag, woven plastic', 'Bag, woven plastic', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1776, 0, 'opencell.admin', NULL, 'X5L', now(), NULL, 'Bag, textile ', 'Bag, textile ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1777, 0, 'opencell.admin', NULL, 'X5M', now(), NULL, 'Bag, paper ', 'Bag, paper ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1778, 0, 'opencell.admin', NULL, 'X6H', now(), NULL, 'Composite packaging, plastic receptacle', 'Composite packaging, plastic receptacle', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1779, 0, 'opencell.admin', NULL, 'X6P', now(), NULL, 'Composite packaging, glass receptacle', 'Composite packaging, glass receptacle', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1780, 0, 'opencell.admin', NULL, 'X7A', now(), NULL, 'Case, car', 'Case, car', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1781, 0, 'opencell.admin', NULL, 'X7B', now(), NULL, 'Case, wooden', 'Case, wooden', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1782, 0, 'opencell.admin', NULL, 'X8A', now(), NULL, 'Pallet, wooden', 'Pallet, wooden', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1783, 0, 'opencell.admin', NULL, 'X8B', now(), NULL, 'Crate, wooden', 'Crate, wooden', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1784, 0, 'opencell.admin', NULL, 'X8C', now(), NULL, 'Bundle, wooden', 'Bundle, wooden', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1785, 0, 'opencell.admin', NULL, 'XAA', now(), NULL, 'Intermediate bulk container, rigid plastic', 'Intermediate bulk container, rigid plastic', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1786, 0, 'opencell.admin', NULL, 'XAB', now(), NULL, 'Receptacle, fibre ', 'Receptacle, fibre ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1787, 0, 'opencell.admin', NULL, 'XAC', now(), NULL, 'Receptacle, paper ', 'Receptacle, paper ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1788, 0, 'opencell.admin', NULL, 'XAD', now(), NULL, 'Receptacle, wooden ', 'Receptacle, wooden ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1789, 0, 'opencell.admin', NULL, 'XAE', now(), NULL, 'Aerosol', 'Aerosol', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1790, 0, 'opencell.admin', NULL, 'XAF', now(), NULL, 'Pallet, modular, collars 80cms * 60cms ', 'Pallet, modular, collars 80cms * 60cms ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1791, 0, 'opencell.admin', NULL, 'XAG', now(), NULL, 'Pallet, shrinkwrapped ', 'Pallet, shrinkwrapped ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1792, 0, 'opencell.admin', NULL, 'XAH', now(), NULL, 'Pallet, 100cms * 110cms ', 'Pallet, 100cms * 110cms ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1793, 0, 'opencell.admin', NULL, 'XAI', now(), NULL, 'Clamshell', 'Clamshell', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1794, 0, 'opencell.admin', NULL, 'XAJ', now(), NULL, 'Cone', 'Cone', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1795, 0, 'opencell.admin', NULL, 'XAL', now(), NULL, 'Ball', 'Ball', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1796, 0, 'opencell.admin', NULL, 'XAM', now(), NULL, 'Ampoule, non-protected ', 'Ampoule, non-protected ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1797, 0, 'opencell.admin', NULL, 'XAP', now(), NULL, 'Ampoule, protected ', 'Ampoule, protected ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1798, 0, 'opencell.admin', NULL, 'XAT', now(), NULL, 'Atomizer ', 'Atomizer ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1799, 0, 'opencell.admin', NULL, 'XAV', now(), NULL, 'Capsule', 'Capsule', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1800, 0, 'opencell.admin', NULL, 'XB4', now(), NULL, 'Belt', 'Belt', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1801, 0, 'opencell.admin', NULL, 'XBA', now(), NULL, 'Barrel ', 'Barrel ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1802, 0, 'opencell.admin', NULL, 'XBB', now(), NULL, 'Bobbin ', 'Bobbin ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1803, 0, 'opencell.admin', NULL, 'XBC', now(), NULL, 'Bottlecrate / bottlerack ', 'Bottlecrate / bottlerack ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1804, 0, 'opencell.admin', NULL, 'XBD', now(), NULL, 'Board', 'Board', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1805, 0, 'opencell.admin', NULL, 'XBE', now(), NULL, 'Bundle ', 'Bundle ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1806, 0, 'opencell.admin', NULL, 'XBF', now(), NULL, 'Balloon, non-protected ', 'Balloon, non-protected ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1807, 0, 'opencell.admin', NULL, 'XBG', now(), NULL, 'Bag', 'Bag', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1808, 0, 'opencell.admin', NULL, 'XBH', now(), NULL, 'Bunch', 'Bunch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1809, 0, 'opencell.admin', NULL, 'XBI', now(), NULL, 'Bin', 'Bin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1810, 0, 'opencell.admin', NULL, 'XBJ', now(), NULL, 'Bucket ', 'Bucket ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1811, 0, 'opencell.admin', NULL, 'XBK', now(), NULL, 'Basket ', 'Basket ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1812, 0, 'opencell.admin', NULL, 'XBL', now(), NULL, 'Bale, compressed ', 'Bale, compressed ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1813, 0, 'opencell.admin', NULL, 'XBM', now(), NULL, 'Basin', 'Basin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1814, 0, 'opencell.admin', NULL, 'XBN', now(), NULL, 'Bale, non-compressed ', 'Bale, non-compressed ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1815, 0, 'opencell.admin', NULL, 'XBO', now(), NULL, 'Bottle, non-protected, cylindrical ', 'Bottle, non-protected, cylindrical ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1816, 0, 'opencell.admin', NULL, 'XBP', now(), NULL, 'Balloon, protected ', 'Balloon, protected ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1817, 0, 'opencell.admin', NULL, 'XBQ', now(), NULL, 'Bottle, protected cylindrical', 'Bottle, protected cylindrical', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1818, 0, 'opencell.admin', NULL, 'XBR', now(), NULL, 'Bar', 'Bar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1819, 0, 'opencell.admin', NULL, 'XBS', now(), NULL, 'Bottle, non-protected, bulbous ', 'Bottle, non-protected, bulbous ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1820, 0, 'opencell.admin', NULL, 'XBT', now(), NULL, 'Bolt ', 'Bolt ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1821, 0, 'opencell.admin', NULL, 'XBU', now(), NULL, 'Butt ', 'Butt ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1822, 0, 'opencell.admin', NULL, 'XBV', now(), NULL, 'Bottle, protected bulbous', 'Bottle, protected bulbous', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1823, 0, 'opencell.admin', NULL, 'XBW', now(), NULL, 'Box, for liquids', 'Box, for liquids', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1824, 0, 'opencell.admin', NULL, 'XBX', now(), NULL, 'Box', 'Box', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1825, 0, 'opencell.admin', NULL, 'XBY', now(), NULL, 'Board, in bundle/bunch/truss ', 'Board, in bundle/bunch/truss ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1826, 0, 'opencell.admin', NULL, 'XBZ', now(), NULL, 'Bars, in bundle/bunch/truss', 'Bars, in bundle/bunch/truss', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1827, 0, 'opencell.admin', NULL, 'XCA', now(), NULL, 'Can, rectangular ', 'Can, rectangular ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1828, 0, 'opencell.admin', NULL, 'XCB', now(), NULL, 'Crate, beer', 'Crate, beer', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1829, 0, 'opencell.admin', NULL, 'XCC', now(), NULL, 'Churn', 'Churn', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1830, 0, 'opencell.admin', NULL, 'XCD', now(), NULL, 'Can, with handle and spout ', 'Can, with handle and spout ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1831, 0, 'opencell.admin', NULL, 'XCE', now(), NULL, 'Creel', 'Creel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1832, 0, 'opencell.admin', NULL, 'XCF', now(), NULL, 'Coffer ', 'Coffer ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1833, 0, 'opencell.admin', NULL, 'XCG', now(), NULL, 'Cage ', 'Cage ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1834, 0, 'opencell.admin', NULL, 'XCH', now(), NULL, 'Chest', 'Chest', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1835, 0, 'opencell.admin', NULL, 'XCI', now(), NULL, 'Canister ', 'Canister ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1836, 0, 'opencell.admin', NULL, 'XCJ', now(), NULL, 'Coffin ', 'Coffin ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1837, 0, 'opencell.admin', NULL, 'XCK', now(), NULL, 'Cask ', 'Cask ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1838, 0, 'opencell.admin', NULL, 'XCL', now(), NULL, 'Coil ', 'Coil ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1839, 0, 'opencell.admin', NULL, 'XCM', now(), NULL, 'Card', 'Card', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1840, 0, 'opencell.admin', NULL, 'XCN', now(), NULL, 'Container, not otherwise specified as transport equipment', 'Container, not otherwise specified as transport equipment', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1841, 0, 'opencell.admin', NULL, 'XCO', now(), NULL, 'Carboy, non-protected', 'Carboy, non-protected', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1842, 0, 'opencell.admin', NULL, 'XCP', now(), NULL, 'Carboy, protected', 'Carboy, protected', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1843, 0, 'opencell.admin', NULL, 'XCQ', now(), NULL, 'Cartridge', 'Cartridge', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1844, 0, 'opencell.admin', NULL, 'XCR', now(), NULL, 'Crate', 'Crate', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1845, 0, 'opencell.admin', NULL, 'XCS', now(), NULL, 'Case ', 'Case ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1846, 0, 'opencell.admin', NULL, 'XCT', now(), NULL, 'Carton ', 'Carton ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1847, 0, 'opencell.admin', NULL, 'XCU', now(), NULL, 'Cup', 'Cup', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1848, 0, 'opencell.admin', NULL, 'XCV', now(), NULL, 'Cover', 'Cover', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1849, 0, 'opencell.admin', NULL, 'XCW', now(), NULL, 'Cage, roll ', 'Cage, roll ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1850, 0, 'opencell.admin', NULL, 'XCX', now(), NULL, 'Can, cylindrical ', 'Can, cylindrical ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1851, 0, 'opencell.admin', NULL, 'XCY', now(), NULL, 'Cylinder ', 'Cylinder ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1852, 0, 'opencell.admin', NULL, 'XCZ', now(), NULL, 'Canvas ', 'Canvas ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1853, 0, 'opencell.admin', NULL, 'XDA', now(), NULL, 'Crate, multiple layer, plastic ', 'Crate, multiple layer, plastic ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1854, 0, 'opencell.admin', NULL, 'XDB', now(), NULL, 'Crate, multiple layer, wooden', 'Crate, multiple layer, wooden', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1855, 0, 'opencell.admin', NULL, 'XDC', now(), NULL, 'Crate, multiple layer, cardboard ', 'Crate, multiple layer, cardboard ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1856, 0, 'opencell.admin', NULL, 'XDG', now(), NULL, 'Cage, Commonwealth Handling Equipment Pool  (CHEP)', 'Cage, Commonwealth Handling Equipment Pool  (CHEP)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1857, 0, 'opencell.admin', NULL, 'XDH', now(), NULL, 'Box, Commonwealth Handling Equipment Pool (CHEP), Eurobox', 'Box, Commonwealth Handling Equipment Pool (CHEP), Eurobox', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1858, 0, 'opencell.admin', NULL, 'XDI', now(), NULL, 'Drum, iron ', 'Drum, iron ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1859, 0, 'opencell.admin', NULL, 'XDJ', now(), NULL, 'Demijohn, non-protected', 'Demijohn, non-protected', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1860, 0, 'opencell.admin', NULL, 'XDK', now(), NULL, 'Crate, bulk, cardboard ', 'Crate, bulk, cardboard ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1861, 0, 'opencell.admin', NULL, 'XDL', now(), NULL, 'Crate, bulk, plastic ', 'Crate, bulk, plastic ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1862, 0, 'opencell.admin', NULL, 'XDM', now(), NULL, 'Crate, bulk, wooden', 'Crate, bulk, wooden', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1863, 0, 'opencell.admin', NULL, 'XDN', now(), NULL, 'Dispenser', 'Dispenser', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1864, 0, 'opencell.admin', NULL, 'XDP', now(), NULL, 'Demijohn, protected', 'Demijohn, protected', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1865, 0, 'opencell.admin', NULL, 'XDR', now(), NULL, 'Drum ', 'Drum ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1866, 0, 'opencell.admin', NULL, 'XDS', now(), NULL, 'Tray, one layer no cover, plastic', 'Tray, one layer no cover, plastic', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1867, 0, 'opencell.admin', NULL, 'XDT', now(), NULL, 'Tray, one layer no cover, wooden ', 'Tray, one layer no cover, wooden ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1868, 0, 'opencell.admin', NULL, 'XDU', now(), NULL, 'Tray, one layer no cover, polystyrene', 'Tray, one layer no cover, polystyrene', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1869, 0, 'opencell.admin', NULL, 'XDV', now(), NULL, 'Tray, one layer no cover, cardboard', 'Tray, one layer no cover, cardboard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1870, 0, 'opencell.admin', NULL, 'XDW', now(), NULL, 'Tray, two layers no cover, plastic tray', 'Tray, two layers no cover, plastic tray', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1871, 0, 'opencell.admin', NULL, 'XDX', now(), NULL, 'Tray, two layers no cover, wooden', 'Tray, two layers no cover, wooden', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1872, 0, 'opencell.admin', NULL, 'XDY', now(), NULL, 'Tray, two layers no cover, cardboard ', 'Tray, two layers no cover, cardboard ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1873, 0, 'opencell.admin', NULL, 'XEC', now(), NULL, 'Bag, plastic ', 'Bag, plastic ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1874, 0, 'opencell.admin', NULL, 'XED', now(), NULL, 'Case, with pallet base ', 'Case, with pallet base ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1875, 0, 'opencell.admin', NULL, 'XEE', now(), NULL, 'Case, with pallet base, wooden ', 'Case, with pallet base, wooden ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1876, 0, 'opencell.admin', NULL, 'XEF', now(), NULL, 'Case, with pallet base, cardboard', 'Case, with pallet base, cardboard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1877, 0, 'opencell.admin', NULL, 'XEG', now(), NULL, 'Case, with pallet base, plastic', 'Case, with pallet base, plastic', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1878, 0, 'opencell.admin', NULL, 'XEH', now(), NULL, 'Case, with pallet base, metal', 'Case, with pallet base, metal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1879, 0, 'opencell.admin', NULL, 'XEI', now(), NULL, 'Case, isothermic ', 'Case, isothermic ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1880, 0, 'opencell.admin', NULL, 'XEN', now(), NULL, 'Envelope ', 'Envelope ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1881, 0, 'opencell.admin', NULL, 'XFB', now(), NULL, 'Flexibag', 'Flexibag', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1882, 0, 'opencell.admin', NULL, 'XFC', now(), NULL, 'Crate, fruit ', 'Crate, fruit ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1883, 0, 'opencell.admin', NULL, 'XFD', now(), NULL, 'Crate, framed', 'Crate, framed', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1884, 0, 'opencell.admin', NULL, 'XFE', now(), NULL, 'Flexitank', 'Flexitank', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1885, 0, 'opencell.admin', NULL, 'XFI', now(), NULL, 'Firkin ', 'Firkin ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1886, 0, 'opencell.admin', NULL, 'XFL', now(), NULL, 'Flask', 'Flask', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1887, 0, 'opencell.admin', NULL, 'XFO', now(), NULL, 'Footlocker ', 'Footlocker ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1888, 0, 'opencell.admin', NULL, 'XFP', now(), NULL, 'Filmpack ', 'Filmpack ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1889, 0, 'opencell.admin', NULL, 'XFR', now(), NULL, 'Frame', 'Frame', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1890, 0, 'opencell.admin', NULL, 'XFT', now(), NULL, 'Foodtainer', 'Foodtainer', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1891, 0, 'opencell.admin', NULL, 'XFW', now(), NULL, 'Cart, flatbed', 'Cart, flatbed', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1892, 0, 'opencell.admin', NULL, 'XFX', now(), NULL, 'Bag, flexible container', 'Bag, flexible container', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1893, 0, 'opencell.admin', NULL, 'XGB', now(), NULL, 'Bottle, gas', 'Bottle, gas', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1894, 0, 'opencell.admin', NULL, 'XGI', now(), NULL, 'Girder ', 'Girder ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1895, 0, 'opencell.admin', NULL, 'XGL', now(), NULL, 'Container, gallon', 'Container, gallon', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1896, 0, 'opencell.admin', NULL, 'XGR', now(), NULL, 'Receptacle, glass ', 'Receptacle, glass ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1897, 0, 'opencell.admin', NULL, 'XGU', now(), NULL, 'Tray, containing horizontally stacked flat items', 'Tray, containing horizontally stacked flat items', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1898, 0, 'opencell.admin', NULL, 'XGY', now(), NULL, 'Bag, gunny', 'Bag, gunny', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1899, 0, 'opencell.admin', NULL, 'XGZ', now(), NULL, 'Girders, in bundle/bunch/truss ', 'Girders, in bundle/bunch/truss ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1900, 0, 'opencell.admin', NULL, 'XHA', now(), NULL, 'Basket, with handle, plastic ', 'Basket, with handle, plastic ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1901, 0, 'opencell.admin', NULL, 'XHB', now(), NULL, 'Basket, with handle, wooden', 'Basket, with handle, wooden', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1902, 0, 'opencell.admin', NULL, 'XHC', now(), NULL, 'Basket, with handle, cardboard ', 'Basket, with handle, cardboard ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1903, 0, 'opencell.admin', NULL, 'XHG', now(), NULL, 'Hogshead ', 'Hogshead ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1904, 0, 'opencell.admin', NULL, 'XHN', now(), NULL, 'Hanger', 'Hanger', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1905, 0, 'opencell.admin', NULL, 'XHR', now(), NULL, 'Hamper ', 'Hamper ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1906, 0, 'opencell.admin', NULL, 'XIA', now(), NULL, 'Package, display, wooden ', 'Package, display, wooden ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1907, 0, 'opencell.admin', NULL, 'XIB', now(), NULL, 'Package, display, cardboard', 'Package, display, cardboard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1908, 0, 'opencell.admin', NULL, 'XIC', now(), NULL, 'Package, display, plastic', 'Package, display, plastic', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1909, 0, 'opencell.admin', NULL, 'XID', now(), NULL, 'Package, display, metal', 'Package, display, metal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1910, 0, 'opencell.admin', NULL, 'XIE', now(), NULL, 'Package, show', 'Package, show', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1911, 0, 'opencell.admin', NULL, 'XIF', now(), NULL, 'Package, flow ', 'Package, flow ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1912, 0, 'opencell.admin', NULL, 'XIG', now(), NULL, 'Package, paper wrapped', 'Package, paper wrapped', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1913, 0, 'opencell.admin', NULL, 'XIH', now(), NULL, 'Drum, plastic', 'Drum, plastic', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1914, 0, 'opencell.admin', NULL, 'XIK', now(), NULL, 'Package, cardboard, with bottle grip-holes ', 'Package, cardboard, with bottle grip-holes ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1915, 0, 'opencell.admin', NULL, 'XIL', now(), NULL, 'Tray, rigid, lidded stackable (CEN TS 14482:2002)', 'Tray, rigid, lidded stackable (CEN TS 14482:2002)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1916, 0, 'opencell.admin', NULL, 'XIN', now(), NULL, 'Ingot', 'Ingot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1917, 0, 'opencell.admin', NULL, 'XIZ', now(), NULL, 'Ingots, in bundle/bunch/truss', 'Ingots, in bundle/bunch/truss', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1918, 0, 'opencell.admin', NULL, 'XJB', now(), NULL, 'Bag, jumbo', 'Bag, jumbo', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1919, 0, 'opencell.admin', NULL, 'XJC', now(), NULL, 'Jerrican, rectangular', 'Jerrican, rectangular', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1920, 0, 'opencell.admin', NULL, 'XJG', now(), NULL, 'Jug', 'Jug', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1921, 0, 'opencell.admin', NULL, 'XJR', now(), NULL, 'Jar', 'Jar', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1922, 0, 'opencell.admin', NULL, 'XJT', now(), NULL, 'Jutebag', 'Jutebag', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1923, 0, 'opencell.admin', NULL, 'XJY', now(), NULL, 'Jerrican, cylindrical', 'Jerrican, cylindrical', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1924, 0, 'opencell.admin', NULL, 'XKG', now(), NULL, 'Keg', 'Keg', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1925, 0, 'opencell.admin', NULL, 'XKI', now(), NULL, 'Kit', 'Kit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1926, 0, 'opencell.admin', NULL, 'XLE', now(), NULL, 'Luggage', 'Luggage', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1927, 0, 'opencell.admin', NULL, 'XLG', now(), NULL, 'Log', 'Log', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1928, 0, 'opencell.admin', NULL, 'XLT', now(), NULL, 'Lot', 'Lot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1929, 0, 'opencell.admin', NULL, 'XLU', now(), NULL, 'Lug', 'Lug', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1930, 0, 'opencell.admin', NULL, 'XLV', now(), NULL, 'Liftvan', 'Liftvan', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1931, 0, 'opencell.admin', NULL, 'XLZ', now(), NULL, 'Logs, in bundle/bunch/truss', 'Logs, in bundle/bunch/truss', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1932, 0, 'opencell.admin', NULL, 'XMA', now(), NULL, 'Crate, metal', 'Crate, metal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1933, 0, 'opencell.admin', NULL, 'XMB', now(), NULL, 'Bag, multiply', 'Bag, multiply', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1934, 0, 'opencell.admin', NULL, 'XMC', now(), NULL, 'Crate, milk', 'Crate, milk', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1935, 0, 'opencell.admin', NULL, 'XME', now(), NULL, 'Container, metal', 'Container, metal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1936, 0, 'opencell.admin', NULL, 'XMR', now(), NULL, 'Receptacle, metal ', 'Receptacle, metal ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2087, 0, 'opencell.admin', NULL, 'XWB', now(), NULL, 'Wickerbottle ', 'Wickerbottle ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1937, 0, 'opencell.admin', NULL, 'XMS', now(), NULL, 'Sack, multi-wall ', 'Sack, multi-wall ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1938, 0, 'opencell.admin', NULL, 'XMT', now(), NULL, 'Mat', 'Mat', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1939, 0, 'opencell.admin', NULL, 'XMW', now(), NULL, 'Receptacle, plastic wrapped ', 'Receptacle, plastic wrapped ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1940, 0, 'opencell.admin', NULL, 'XMX', now(), NULL, 'Matchbox ', 'Matchbox ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1941, 0, 'opencell.admin', NULL, 'XNA', now(), NULL, 'Not available', 'Not available', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1942, 0, 'opencell.admin', NULL, 'XNE', now(), NULL, 'Unpacked or unpackaged ', 'Unpacked or unpackaged ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1943, 0, 'opencell.admin', NULL, 'XNF', now(), NULL, 'Unpacked or unpackaged, single unit', 'Unpacked or unpackaged, single unit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1944, 0, 'opencell.admin', NULL, 'XNG', now(), NULL, 'Unpacked or unpackaged, multiple units', 'Unpacked or unpackaged, multiple units', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1945, 0, 'opencell.admin', NULL, 'XNS', now(), NULL, 'Nest ', 'Nest ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1946, 0, 'opencell.admin', NULL, 'XNT', now(), NULL, 'Net', 'Net', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1947, 0, 'opencell.admin', NULL, 'XNU', now(), NULL, 'Net, tube, plastic ', 'Net, tube, plastic ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1948, 0, 'opencell.admin', NULL, 'XNV', now(), NULL, 'Net, tube, textile ', 'Net, tube, textile ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1949, 0, 'opencell.admin', NULL, 'XO1', now(), NULL, 'Two sided cage on wheels with fixing strap', 'Two sided cage on wheels with fixing strap', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1950, 0, 'opencell.admin', NULL, 'XO2', now(), NULL, 'Trolley', 'Trolley', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1951, 0, 'opencell.admin', NULL, 'XO3', now(), NULL, 'Oneway pallet ISO 0 - 1/2 EURO Pallet', 'Oneway pallet ISO 0 - 1/2 EURO Pallet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1952, 0, 'opencell.admin', NULL, 'XO4', now(), NULL, 'Oneway pallet ISO 1 - 1/1 EURO Pallet', 'Oneway pallet ISO 1 - 1/1 EURO Pallet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1953, 0, 'opencell.admin', NULL, 'XO5', now(), NULL, 'Oneway pallet ISO 2 - 2/1 EURO Pallet', 'Oneway pallet ISO 2 - 2/1 EURO Pallet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1954, 0, 'opencell.admin', NULL, 'XO6', now(), NULL, 'Pallet with exceptional dimensions', 'Pallet with exceptional dimensions', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1955, 0, 'opencell.admin', NULL, 'XO7', now(), NULL, 'Wooden pallet  40 cm x 80 cm', 'Wooden pallet  40 cm x 80 cm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1956, 0, 'opencell.admin', NULL, 'XO8', now(), NULL, 'Plastic pallet SRS 60 cm x 80 cm', 'Plastic pallet SRS 60 cm x 80 cm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1957, 0, 'opencell.admin', NULL, 'XO9', now(), NULL, 'Plastic pallet SRS 80 cm x 120 cm', 'Plastic pallet SRS 80 cm x 120 cm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1958, 0, 'opencell.admin', NULL, 'XOA', now(), NULL, 'Pallet, CHEP 40 cm x 60 cm', 'Pallet, CHEP 40 cm x 60 cm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1959, 0, 'opencell.admin', NULL, 'XOB', now(), NULL, 'Pallet, CHEP 80 cm x 120 cm', 'Pallet, CHEP 80 cm x 120 cm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1960, 0, 'opencell.admin', NULL, 'XOC', now(), NULL, 'Pallet, CHEP 100 cm x 120 cm', 'Pallet, CHEP 100 cm x 120 cm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1961, 0, 'opencell.admin', NULL, 'XOD', now(), NULL, 'Pallet, AS 4068-1993', 'Pallet, AS 4068-1993', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1962, 0, 'opencell.admin', NULL, 'XOE', now(), NULL, 'Pallet, ISO T11', 'Pallet, ISO T11', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1963, 0, 'opencell.admin', NULL, 'XOF', now(), NULL, 'Platform, unspecified weight or dimension', 'Platform, unspecified weight or dimension', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1964, 0, 'opencell.admin', NULL, 'XOG', now(), NULL, 'Pallet ISO 0 - 1/2 EURO Pallet', 'Pallet ISO 0 - 1/2 EURO Pallet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1965, 0, 'opencell.admin', NULL, 'XOH', now(), NULL, 'Pallet ISO 1 - 1/1 EURO Pallet', 'Pallet ISO 1 - 1/1 EURO Pallet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1966, 0, 'opencell.admin', NULL, 'XOI', now(), NULL, 'Pallet ISO 2  2/1 EURO Pallet', 'Pallet ISO 2  2/1 EURO Pallet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1967, 0, 'opencell.admin', NULL, 'XOJ', now(), NULL, '1/4 EURO Pallet', '1/4 EURO Pallet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1968, 0, 'opencell.admin', NULL, 'XOK', now(), NULL, 'Block', 'Block', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1969, 0, 'opencell.admin', NULL, 'XOL', now(), NULL, '1/8 EURO Pallet', '1/8 EURO Pallet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1970, 0, 'opencell.admin', NULL, 'XOM', now(), NULL, 'Synthetic pallet ISO 1', 'Synthetic pallet ISO 1', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1971, 0, 'opencell.admin', NULL, 'XON', now(), NULL, 'Synthetic pallet ISO 2', 'Synthetic pallet ISO 2', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1972, 0, 'opencell.admin', NULL, 'XOP', now(), NULL, 'Wholesaler pallet', 'Wholesaler pallet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1973, 0, 'opencell.admin', NULL, 'XOQ', now(), NULL, 'Pallet 80 X 100 cm', 'Pallet 80 X 100 cm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1974, 0, 'opencell.admin', NULL, 'XOR', now(), NULL, 'Pallet 60 X 100 cm', 'Pallet 60 X 100 cm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1975, 0, 'opencell.admin', NULL, 'XOS', now(), NULL, 'Oneway pallet', 'Oneway pallet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1976, 0, 'opencell.admin', NULL, 'XOT', now(), NULL, 'Octabin', 'Octabin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1977, 0, 'opencell.admin', NULL, 'XOU', now(), NULL, 'Container, outer', 'Container, outer', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1978, 0, 'opencell.admin', NULL, 'XOV', now(), NULL, 'Returnable pallet', 'Returnable pallet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1979, 0, 'opencell.admin', NULL, 'XOW', now(), NULL, 'Large bag, pallet sized', 'Large bag, pallet sized', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1980, 0, 'opencell.admin', NULL, 'XOX', now(), NULL, 'A wheeled pallet with raised rim (81 x 67 x 135)', 'A wheeled pallet with raised rim (81 x 67 x 135)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1981, 0, 'opencell.admin', NULL, 'XOY', now(), NULL, 'A Wheeled pallet with raised rim (81 x 72 x 135)', 'A Wheeled pallet with raised rim (81 x 72 x 135)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1982, 0, 'opencell.admin', NULL, 'XOZ', now(), NULL, 'Wheeled pallet with raised rim ( 81 x 60 x 16)', 'Wheeled pallet with raised rim ( 81 x 60 x 16)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1983, 0, 'opencell.admin', NULL, 'XP1', now(), NULL, 'CHEP pallet 60 cm x 80 cm ', 'CHEP pallet 60 cm x 80 cm ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1984, 0, 'opencell.admin', NULL, 'XP2', now(), NULL, 'Pan', 'Pan', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1985, 0, 'opencell.admin', NULL, 'XP3', now(), NULL, 'LPR pallet 60 cm x 80 cm', 'LPR pallet 60 cm x 80 cm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1986, 0, 'opencell.admin', NULL, 'XP4', now(), NULL, 'LPR pallet 80 cm x 120 cm', 'LPR pallet 80 cm x 120 cm', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1987, 0, 'opencell.admin', NULL, 'XPA', now(), NULL, 'Packet ', 'Packet ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1988, 0, 'opencell.admin', NULL, 'XPB', now(), NULL, 'Pallet, box Combined open-ended box and pallet', 'Pallet, box Combined open-ended box and pallet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1989, 0, 'opencell.admin', NULL, 'XPC', now(), NULL, 'Parcel ', 'Parcel ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1990, 0, 'opencell.admin', NULL, 'XPD', now(), NULL, 'Pallet, modular, collars 80cms * 100cms ', 'Pallet, modular, collars 80cms * 100cms ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1991, 0, 'opencell.admin', NULL, 'XPE', now(), NULL, 'Pallet, modular, collars 80cms * 120cms ', 'Pallet, modular, collars 80cms * 120cms ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1992, 0, 'opencell.admin', NULL, 'XPF', now(), NULL, 'Pen ', 'Pen ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1993, 0, 'opencell.admin', NULL, 'XPG', now(), NULL, 'Plate', 'Plate', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1994, 0, 'opencell.admin', NULL, 'XPH', now(), NULL, 'Pitcher', 'Pitcher', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1995, 0, 'opencell.admin', NULL, 'XPI', now(), NULL, 'Pipe ', 'Pipe ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1996, 0, 'opencell.admin', NULL, 'XPJ', now(), NULL, 'Punnet', 'Punnet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1997, 0, 'opencell.admin', NULL, 'XPK', now(), NULL, 'Package', 'Package', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1998, 0, 'opencell.admin', NULL, 'XPL', now(), NULL, 'Pail ', 'Pail ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-1999, 0, 'opencell.admin', NULL, 'XPN', now(), NULL, 'Plank', 'Plank', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2000, 0, 'opencell.admin', NULL, 'XPO', now(), NULL, 'Pouch', 'Pouch', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2001, 0, 'opencell.admin', NULL, 'XPP', now(), NULL, 'Piece', 'Piece', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2002, 0, 'opencell.admin', NULL, 'XPR', now(), NULL, 'Receptacle, plastic ', 'Receptacle, plastic ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2003, 0, 'opencell.admin', NULL, 'XPT', now(), NULL, 'Pot', 'Pot', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2004, 0, 'opencell.admin', NULL, 'XPU', now(), NULL, 'Tray ', 'Tray ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2005, 0, 'opencell.admin', NULL, 'XPV', now(), NULL, 'Pipes, in bundle/bunch/truss ', 'Pipes, in bundle/bunch/truss ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2006, 0, 'opencell.admin', NULL, 'XPX', now(), NULL, 'Pallet ', 'Pallet ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2007, 0, 'opencell.admin', NULL, 'XPY', now(), NULL, 'Plates, in bundle/bunch/truss', 'Plates, in bundle/bunch/truss', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2008, 0, 'opencell.admin', NULL, 'XPZ', now(), NULL, 'Planks, in bundle/bunch/truss', 'Planks, in bundle/bunch/truss', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2009, 0, 'opencell.admin', NULL, 'XQA', now(), NULL, 'Drum, steel, non-removable head', 'Drum, steel, non-removable head', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2010, 0, 'opencell.admin', NULL, 'XQB', now(), NULL, 'Drum, steel, removable head', 'Drum, steel, removable head', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2011, 0, 'opencell.admin', NULL, 'XQC', now(), NULL, 'Drum, aluminium, non-removable head', 'Drum, aluminium, non-removable head', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2012, 0, 'opencell.admin', NULL, 'XQD', now(), NULL, 'Drum, aluminium, removable head', 'Drum, aluminium, removable head', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2013, 0, 'opencell.admin', NULL, 'XQF', now(), NULL, 'Drum, plastic, non-removable head', 'Drum, plastic, non-removable head', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2014, 0, 'opencell.admin', NULL, 'XQG', now(), NULL, 'Drum, plastic, removable head', 'Drum, plastic, removable head', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2015, 0, 'opencell.admin', NULL, 'XQH', now(), NULL, 'Barrel, wooden, bung type', 'Barrel, wooden, bung type', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2016, 0, 'opencell.admin', NULL, 'XQJ', now(), NULL, 'Barrel, wooden, removable head ', 'Barrel, wooden, removable head ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2017, 0, 'opencell.admin', NULL, 'XQK', now(), NULL, 'Jerrican, steel, non-removable head', 'Jerrican, steel, non-removable head', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2018, 0, 'opencell.admin', NULL, 'XQL', now(), NULL, 'Jerrican, steel, removable head', 'Jerrican, steel, removable head', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2019, 0, 'opencell.admin', NULL, 'XQM', now(), NULL, 'Jerrican, plastic, non-removable head', 'Jerrican, plastic, non-removable head', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2020, 0, 'opencell.admin', NULL, 'XQN', now(), NULL, 'Jerrican, plastic, removable head', 'Jerrican, plastic, removable head', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2021, 0, 'opencell.admin', NULL, 'XQP', now(), NULL, 'Box, wooden, natural wood, ordinary', 'Box, wooden, natural wood, ordinary', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2022, 0, 'opencell.admin', NULL, 'XQQ', now(), NULL, 'Box, wooden, natural wood, with sift proof walls', 'Box, wooden, natural wood, with sift proof walls', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2023, 0, 'opencell.admin', NULL, 'XQR', now(), NULL, 'Box, plastic, expanded ', 'Box, plastic, expanded ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2024, 0, 'opencell.admin', NULL, 'XQS', now(), NULL, 'Box, plastic, solid', 'Box, plastic, solid', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2025, 0, 'opencell.admin', NULL, 'XRD', now(), NULL, 'Rod', 'Rod', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2026, 0, 'opencell.admin', NULL, 'XRG', now(), NULL, 'Ring ', 'Ring ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2027, 0, 'opencell.admin', NULL, 'XRJ', now(), NULL, 'Rack, clothing hanger', 'Rack, clothing hanger', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2028, 0, 'opencell.admin', NULL, 'XRK', now(), NULL, 'Rack ', 'Rack ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2029, 0, 'opencell.admin', NULL, 'XRL', now(), NULL, 'Reel ', 'Reel ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2030, 0, 'opencell.admin', NULL, 'XRO', now(), NULL, 'Roll ', 'Roll ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2031, 0, 'opencell.admin', NULL, 'XRT', now(), NULL, 'Rednet ', 'Rednet ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2032, 0, 'opencell.admin', NULL, 'XRZ', now(), NULL, 'Rods, in bundle/bunch/truss', 'Rods, in bundle/bunch/truss', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2033, 0, 'opencell.admin', NULL, 'XSA', now(), NULL, 'Sack ', 'Sack ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2034, 0, 'opencell.admin', NULL, 'XSB', now(), NULL, 'Slab', 'Slab', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2035, 0, 'opencell.admin', NULL, 'XSC', now(), NULL, 'Crate, shallow ', 'Crate, shallow ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2036, 0, 'opencell.admin', NULL, 'XSD', now(), NULL, 'Spindle', 'Spindle', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2037, 0, 'opencell.admin', NULL, 'XSE', now(), NULL, 'Sea-chest', 'Sea-chest', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2038, 0, 'opencell.admin', NULL, 'XSH', now(), NULL, 'Sachet ', 'Sachet ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2039, 0, 'opencell.admin', NULL, 'XSI', now(), NULL, 'Skid ', 'Skid ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2040, 0, 'opencell.admin', NULL, 'XSK', now(), NULL, 'Case, skeleton ', 'Case, skeleton ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2041, 0, 'opencell.admin', NULL, 'XSL', now(), NULL, 'Slipsheet ', 'Slipsheet ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2042, 0, 'opencell.admin', NULL, 'XSM', now(), NULL, 'Sheetmetal ', 'Sheetmetal ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2043, 0, 'opencell.admin', NULL, 'XSO', now(), NULL, 'Spool ', 'Spool ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2044, 0, 'opencell.admin', NULL, 'XSP', now(), NULL, 'Sheet, plastic wrapping', 'Sheet, plastic wrapping', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2045, 0, 'opencell.admin', NULL, 'XSS', now(), NULL, 'Case, steel', 'Case, steel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2046, 0, 'opencell.admin', NULL, 'XST', now(), NULL, 'Sheet', 'Sheet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2047, 0, 'opencell.admin', NULL, 'XSU', now(), NULL, 'Suitcase ', 'Suitcase ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2048, 0, 'opencell.admin', NULL, 'XSV', now(), NULL, 'Envelope, steel', 'Envelope, steel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2049, 0, 'opencell.admin', NULL, 'XSW', now(), NULL, 'Shrinkwrapped  ', 'Shrinkwrapped  ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2050, 0, 'opencell.admin', NULL, 'XSX', now(), NULL, 'Set', 'Set', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2051, 0, 'opencell.admin', NULL, 'XSY', now(), NULL, 'Sleeve', 'Sleeve', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2052, 0, 'opencell.admin', NULL, 'XSZ', now(), NULL, 'Sheets, in bundle/bunch/truss', 'Sheets, in bundle/bunch/truss', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2053, 0, 'opencell.admin', NULL, 'XT1', now(), NULL, 'Tablet', 'Tablet', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2054, 0, 'opencell.admin', NULL, 'XTB', now(), NULL, 'Tub', 'Tub', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2055, 0, 'opencell.admin', NULL, 'XTC', now(), NULL, 'Tea-chest', 'Tea-chest', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2056, 0, 'opencell.admin', NULL, 'XTD', now(), NULL, 'Tube, collapsible', 'Tube, collapsible', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2057, 0, 'opencell.admin', NULL, 'XTE', now(), NULL, 'Tyre', 'Tyre', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2058, 0, 'opencell.admin', NULL, 'XTG', now(), NULL, 'Tank container, generic', 'Tank container, generic', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2059, 0, 'opencell.admin', NULL, 'XTI', now(), NULL, 'Tierce', 'Tierce', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2060, 0, 'opencell.admin', NULL, 'XTK', now(), NULL, 'Tank, rectangular', 'Tank, rectangular', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2061, 0, 'opencell.admin', NULL, 'XTL', now(), NULL, 'Tub, with lid', 'Tub, with lid', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2062, 0, 'opencell.admin', NULL, 'XTN', now(), NULL, 'Tin', 'Tin', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2063, 0, 'opencell.admin', NULL, 'XTO', now(), NULL, 'Tun', 'Tun', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2064, 0, 'opencell.admin', NULL, 'XTR', now(), NULL, 'Trunk', 'Trunk', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2065, 0, 'opencell.admin', NULL, 'XTS', now(), NULL, 'Truss', 'Truss', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2066, 0, 'opencell.admin', NULL, 'XTT', now(), NULL, 'Bag, tote', 'Bag, tote', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2067, 0, 'opencell.admin', NULL, 'XTU', now(), NULL, 'Tube ', 'Tube ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2068, 0, 'opencell.admin', NULL, 'XTV', now(), NULL, 'Tube, with nozzle ', 'Tube, with nozzle ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2069, 0, 'opencell.admin', NULL, 'XTW', now(), NULL, 'Pallet, triwall', 'Pallet, triwall', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2070, 0, 'opencell.admin', NULL, 'XTY', now(), NULL, 'Tank, cylindrical', 'Tank, cylindrical', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2071, 0, 'opencell.admin', NULL, 'XTZ', now(), NULL, 'Tubes, in bundle/bunch/truss ', 'Tubes, in bundle/bunch/truss ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2072, 0, 'opencell.admin', NULL, 'XUC', now(), NULL, 'Uncaged ', 'Uncaged ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2073, 0, 'opencell.admin', NULL, 'XUN', now(), NULL, 'Unit', 'Unit', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2074, 0, 'opencell.admin', NULL, 'XVA', now(), NULL, 'Vat', 'Vat', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2075, 0, 'opencell.admin', NULL, 'XVG', now(), NULL, 'Bulk, gas (at 1031 mbar and 15°C)', 'Bulk, gas (at 1031 mbar and 15°C)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2076, 0, 'opencell.admin', NULL, 'XVI', now(), NULL, 'Vial ', 'Vial ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2077, 0, 'opencell.admin', NULL, 'XVK', now(), NULL, 'Vanpack ', 'Vanpack ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2078, 0, 'opencell.admin', NULL, 'XVL', now(), NULL, 'Bulk, liquid ', 'Bulk, liquid ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2079, 0, 'opencell.admin', NULL, 'XVN', now(), NULL, 'Vehicle', 'Vehicle', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2080, 0, 'opencell.admin', NULL, 'XVO', now(), NULL, 'Bulk, solid, large particles (nodules) ', 'Bulk, solid, large particles (nodules) ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2081, 0, 'opencell.admin', NULL, 'XVP', now(), NULL, 'Vacuum-packed', 'Vacuum-packed', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2082, 0, 'opencell.admin', NULL, 'XVQ', now(), NULL, 'Bulk, liquefied gas (at abnormal temperature/pressure) ', 'Bulk, liquefied gas (at abnormal temperature/pressure) ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2083, 0, 'opencell.admin', NULL, 'XVR', now(), NULL, 'Bulk, solid, granular particles (grains) ', 'Bulk, solid, granular particles (grains) ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2084, 0, 'opencell.admin', NULL, 'XVS', now(), NULL, 'Bulk, scrap metal', 'Bulk, scrap metal', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2085, 0, 'opencell.admin', NULL, 'XVY', now(), NULL, 'Bulk, solid, fine particles (powders)', 'Bulk, solid, fine particles (powders)', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2086, 0, 'opencell.admin', NULL, 'XWA', now(), NULL, 'Intermediate bulk container', 'Intermediate bulk container', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2088, 0, 'opencell.admin', NULL, 'XWC', now(), NULL, 'Intermediate bulk container, steel ', 'Intermediate bulk container, steel ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2089, 0, 'opencell.admin', NULL, 'XWD', now(), NULL, 'Intermediate bulk container, aluminium ', 'Intermediate bulk container, aluminium ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2090, 0, 'opencell.admin', NULL, 'XWF', now(), NULL, 'Intermediate bulk container, metal ', 'Intermediate bulk container, metal ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2091, 0, 'opencell.admin', NULL, 'XWG', now(), NULL, 'Intermediate bulk container, steel, pressurised > 10 kpa', 'Intermediate bulk container, steel, pressurised > 10 kpa', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2092, 0, 'opencell.admin', NULL, 'XWH', now(), NULL, 'Intermediate bulk container, aluminium, pressurised > 10 kpa', 'Intermediate bulk container, aluminium, pressurised > 10 kpa', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2093, 0, 'opencell.admin', NULL, 'XWJ', now(), NULL, 'Intermediate bulk container, metal, pressure 10 kpa ', 'Intermediate bulk container, metal, pressure 10 kpa ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2094, 0, 'opencell.admin', NULL, 'XWK', now(), NULL, 'Intermediate bulk container, steel, liquid ', 'Intermediate bulk container, steel, liquid ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2095, 0, 'opencell.admin', NULL, 'XWL', now(), NULL, 'Intermediate bulk container, aluminium, liquid ', 'Intermediate bulk container, aluminium, liquid ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2096, 0, 'opencell.admin', NULL, 'XWM', now(), NULL, 'Intermediate bulk container, metal, liquid ', 'Intermediate bulk container, metal, liquid ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2097, 0, 'opencell.admin', NULL, 'XWN', now(), NULL, 'Intermediate bulk container, woven plastic, without coat/liner ', 'Intermediate bulk container, woven plastic, without coat/liner ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2098, 0, 'opencell.admin', NULL, 'XWP', now(), NULL, 'Intermediate bulk container, woven plastic, coated ', 'Intermediate bulk container, woven plastic, coated ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2099, 0, 'opencell.admin', NULL, 'XWQ', now(), NULL, 'Intermediate bulk container, woven plastic, with liner ', 'Intermediate bulk container, woven plastic, with liner ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2100, 0, 'opencell.admin', NULL, 'XWR', now(), NULL, 'Intermediate bulk container, woven plastic, coated and liner ', 'Intermediate bulk container, woven plastic, coated and liner ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2101, 0, 'opencell.admin', NULL, 'XWS', now(), NULL, 'Intermediate bulk container, plastic film', 'Intermediate bulk container, plastic film', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2102, 0, 'opencell.admin', NULL, 'XWT', now(), NULL, 'Intermediate bulk container, textile with out coat/liner ', 'Intermediate bulk container, textile with out coat/liner ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2103, 0, 'opencell.admin', NULL, 'XWU', now(), NULL, 'Intermediate bulk container, natural wood, with inner liner', 'Intermediate bulk container, natural wood, with inner liner', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2104, 0, 'opencell.admin', NULL, 'XWV', now(), NULL, 'Intermediate bulk container, textile, coated ', 'Intermediate bulk container, textile, coated ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2105, 0, 'opencell.admin', NULL, 'XWW', now(), NULL, 'Intermediate bulk container, textile, with liner ', 'Intermediate bulk container, textile, with liner ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2106, 0, 'opencell.admin', NULL, 'XWX', now(), NULL, 'Intermediate bulk container, textile, coated and liner ', 'Intermediate bulk container, textile, coated and liner ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2107, 0, 'opencell.admin', NULL, 'XWY', now(), NULL, 'Intermediate bulk container, plywood, with inner liner ', 'Intermediate bulk container, plywood, with inner liner ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2108, 0, 'opencell.admin', NULL, 'XWZ', now(), NULL, 'Intermediate bulk container, reconstituted wood, with inner liner', 'Intermediate bulk container, reconstituted wood, with inner liner', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2109, 0, 'opencell.admin', NULL, 'XXA', now(), NULL, 'Bag, woven plastic, without inner coat/liner ', 'Bag, woven plastic, without inner coat/liner ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2110, 0, 'opencell.admin', NULL, 'XXB', now(), NULL, 'Bag, woven plastic, sift proof ', 'Bag, woven plastic, sift proof ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2111, 0, 'opencell.admin', NULL, 'XXC', now(), NULL, 'Bag, woven plastic, water resistant', 'Bag, woven plastic, water resistant', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2112, 0, 'opencell.admin', NULL, 'XXD', now(), NULL, 'Bag, plastics film ', 'Bag, plastics film ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2113, 0, 'opencell.admin', NULL, 'XXF', now(), NULL, 'Bag, textile, without inner coat/liner ', 'Bag, textile, without inner coat/liner ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2114, 0, 'opencell.admin', NULL, 'XXG', now(), NULL, 'Bag, textile, sift proof ', 'Bag, textile, sift proof ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2115, 0, 'opencell.admin', NULL, 'XXH', now(), NULL, 'Bag, textile, water resistant', 'Bag, textile, water resistant', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2116, 0, 'opencell.admin', NULL, 'XXJ', now(), NULL, 'Bag, paper, multi-wall ', 'Bag, paper, multi-wall ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2117, 0, 'opencell.admin', NULL, 'XXK', now(), NULL, 'Bag, paper, multi-wall, water resistant', 'Bag, paper, multi-wall, water resistant', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2118, 0, 'opencell.admin', NULL, 'XYA', now(), NULL, 'Composite packaging, plastic receptacle in steel drum', 'Composite packaging, plastic receptacle in steel drum', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2119, 0, 'opencell.admin', NULL, 'XYB', now(), NULL, 'Composite packaging, plastic receptacle in steel crate box', 'Composite packaging, plastic receptacle in steel crate box', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2120, 0, 'opencell.admin', NULL, 'XYC', now(), NULL, 'Composite packaging, plastic receptacle in aluminium drum', 'Composite packaging, plastic receptacle in aluminium drum', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2121, 0, 'opencell.admin', NULL, 'XYD', now(), NULL, 'Composite packaging, plastic receptacle in aluminium crate', 'Composite packaging, plastic receptacle in aluminium crate', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2122, 0, 'opencell.admin', NULL, 'XYF', now(), NULL, 'Composite packaging, plastic receptacle in wooden box', 'Composite packaging, plastic receptacle in wooden box', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2123, 0, 'opencell.admin', NULL, 'XYG', now(), NULL, 'Composite packaging, plastic receptacle in plywood drum', 'Composite packaging, plastic receptacle in plywood drum', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2124, 0, 'opencell.admin', NULL, 'XYH', now(), NULL, 'Composite packaging, plastic receptacle in plywood box ', 'Composite packaging, plastic receptacle in plywood box ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2125, 0, 'opencell.admin', NULL, 'XYJ', now(), NULL, 'Composite packaging, plastic receptacle in fibre drum', 'Composite packaging, plastic receptacle in fibre drum', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2126, 0, 'opencell.admin', NULL, 'XYK', now(), NULL, 'Composite packaging, plastic receptacle in fibreboard box', 'Composite packaging, plastic receptacle in fibreboard box', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2127, 0, 'opencell.admin', NULL, 'XYL', now(), NULL, 'Composite packaging, plastic receptacle in plastic drum', 'Composite packaging, plastic receptacle in plastic drum', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2128, 0, 'opencell.admin', NULL, 'XYM', now(), NULL, 'Composite packaging, plastic receptacle in solid plastic box', 'Composite packaging, plastic receptacle in solid plastic box', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2129, 0, 'opencell.admin', NULL, 'XYN', now(), NULL, 'Composite packaging, glass receptacle in steel drum', 'Composite packaging, glass receptacle in steel drum', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2130, 0, 'opencell.admin', NULL, 'XYP', now(), NULL, 'Composite packaging, glass receptacle in steel crate box', 'Composite packaging, glass receptacle in steel crate box', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2131, 0, 'opencell.admin', NULL, 'XYQ', now(), NULL, 'Composite packaging, glass receptacle in aluminium drum', 'Composite packaging, glass receptacle in aluminium drum', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2132, 0, 'opencell.admin', NULL, 'XYR', now(), NULL, 'Composite packaging, glass receptacle in aluminium crate', 'Composite packaging, glass receptacle in aluminium crate', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2133, 0, 'opencell.admin', NULL, 'XYS', now(), NULL, 'Composite packaging, glass receptacle in wooden box', 'Composite packaging, glass receptacle in wooden box', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2134, 0, 'opencell.admin', NULL, 'XYT', now(), NULL, 'Composite packaging, glass receptacle in plywood drum', 'Composite packaging, glass receptacle in plywood drum', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2135, 0, 'opencell.admin', NULL, 'XYV', now(), NULL, 'Composite packaging, glass receptacle in wickerwork hamper', 'Composite packaging, glass receptacle in wickerwork hamper', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2136, 0, 'opencell.admin', NULL, 'XYW', now(), NULL, 'Composite packaging, glass receptacle in fibre drum', 'Composite packaging, glass receptacle in fibre drum', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2137, 0, 'opencell.admin', NULL, 'XYX', now(), NULL, 'Composite packaging, glass receptacle in fibreboard box ', 'Composite packaging, glass receptacle in fibreboard box ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2138, 0, 'opencell.admin', NULL, 'XYY', now(), NULL, 'Composite packaging, glass receptacle in expandable plastic pack', 'Composite packaging, glass receptacle in expandable plastic pack', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2139, 0, 'opencell.admin', NULL, 'XYZ', now(), NULL, 'Composite packaging, glass receptacle in solid plastic pack', 'Composite packaging, glass receptacle in solid plastic pack', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2140, 0, 'opencell.admin', NULL, 'XZA', now(), NULL, 'Intermediate bulk container, paper, multi-wall ', 'Intermediate bulk container, paper, multi-wall ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2141, 0, 'opencell.admin', NULL, 'XZB', now(), NULL, 'Bag, large ', 'Bag, large ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2142, 0, 'opencell.admin', NULL, 'XZC', now(), NULL, 'Intermediate bulk container, paper, multi-wall, water resistant', 'Intermediate bulk container, paper, multi-wall, water resistant', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2143, 0, 'opencell.admin', NULL, 'XZD', now(), NULL, 'Intermediate bulk container, rigid plastic, with structural equipment, solids', 'Intermediate bulk container, rigid plastic, with structural equipment, solids', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2144, 0, 'opencell.admin', NULL, 'XZF', now(), NULL, 'Intermediate bulk container, rigid plastic, freestanding, solids', 'Intermediate bulk container, rigid plastic, freestanding, solids', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2145, 0, 'opencell.admin', NULL, 'XZG', now(), NULL, 'Intermediate bulk container, rigid plastic, with structural equipment, pressurised', 'Intermediate bulk container, rigid plastic, with structural equipment, pressurised', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2146, 0, 'opencell.admin', NULL, 'XZH', now(), NULL, 'Intermediate bulk container, rigid plastic, freestanding, pressurised', 'Intermediate bulk container, rigid plastic, freestanding, pressurised', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2147, 0, 'opencell.admin', NULL, 'XZJ', now(), NULL, 'Intermediate bulk container, rigid plastic, with structural equipment, liquids ', 'Intermediate bulk container, rigid plastic, with structural equipment, liquids ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2148, 0, 'opencell.admin', NULL, 'XZK', now(), NULL, 'Intermediate bulk container, rigid plastic, freestanding, liquids', 'Intermediate bulk container, rigid plastic, freestanding, liquids', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2149, 0, 'opencell.admin', NULL, 'XZL', now(), NULL, 'Intermediate bulk container, composite, rigid plastic, solids', 'Intermediate bulk container, composite, rigid plastic, solids', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2150, 0, 'opencell.admin', NULL, 'XZM', now(), NULL, 'Intermediate bulk container, composite, flexible plastic, solids', 'Intermediate bulk container, composite, flexible plastic, solids', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2151, 0, 'opencell.admin', NULL, 'XZN', now(), NULL, 'Intermediate bulk container, composite, rigid plastic, pressurised ', 'Intermediate bulk container, composite, rigid plastic, pressurised ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2152, 0, 'opencell.admin', NULL, 'XZP', now(), NULL, 'Intermediate bulk container, composite, flexible plastic, pressurised', 'Intermediate bulk container, composite, flexible plastic, pressurised', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2153, 0, 'opencell.admin', NULL, 'XZQ', now(), NULL, 'Intermediate bulk container, composite, rigid plastic, liquids', 'Intermediate bulk container, composite, rigid plastic, liquids', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2154, 0, 'opencell.admin', NULL, 'XZR', now(), NULL, 'Intermediate bulk container, composite, flexible plastic, liquids ', 'Intermediate bulk container, composite, flexible plastic, liquids ', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2155, 0, 'opencell.admin', NULL, 'XZS', now(), NULL, 'Intermediate bulk container, composite', 'Intermediate bulk container, composite', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2156, 0, 'opencell.admin', NULL, 'XZT', now(), NULL, 'Intermediate bulk container, fibreboard', 'Intermediate bulk container, fibreboard', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2157, 0, 'opencell.admin', NULL, 'XZU', now(), NULL, 'Intermediate bulk container, flexible', 'Intermediate bulk container, flexible', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2158, 0, 'opencell.admin', NULL, 'XZV', now(), NULL, 'Intermediate bulk container, metal, other than steel', 'Intermediate bulk container, metal, other than steel', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2159, 0, 'opencell.admin', NULL, 'XZW', now(), NULL, 'Intermediate bulk container, natural wood', 'Intermediate bulk container, natural wood', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2160, 0, 'opencell.admin', NULL, 'XZX', now(), NULL, 'Intermediate bulk container, plywood', 'Intermediate bulk container, plywood', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2161, 0, 'opencell.admin', NULL, 'XZY', now(), NULL, 'Intermediate bulk container, reconstituted wood', 'Intermediate bulk container, reconstituted wood', NULL, 1, NULL);

INSERT INTO public.CAT_UNIT_OF_MEASURE (id,version,creator,updater,code,created,updated,symbol,description,description_i18n,multiplicator,parent_id) VALUES (-2162, 0, 'opencell.admin', NULL, 'XZZ', now(), NULL, 'Mutually defined ', 'Mutually defined ', NULL, 1, NULL);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13957_20230213', 'houdad', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4823, '8:26064989fe90bf532c239af6e6aa09e7', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-4724_20220201::TarikRabeh
INSERT INTO ar_occ_template (id, version, created, creator, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id, manual_creation_enabled) VALUES (-51, 0, NOW(), 'opencell.admin', -3, 165000000, 'CRD_SD', 'Credit for Security deposit transfer', 'CREDIT', '-2', '0');

INSERT INTO ar_occ_template (id, version, created, creator, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id, manual_creation_enabled) VALUES (-52, 0, NOW(), 'opencell.admin', -2, 41100000, 'DEB_SD', 'Debit for Security deposit transfer', 'DEBIT', '-2', '0');

INSERT INTO ar_occ_template (id, version, created, accounting_code_id, account_code_client_side, code, description, occ_category, journal_id, creator, manual_creation_enabled) VALUES (-53, 0, NOW(), -2, 512010000, 'REF_SD', 'Refund of Security deposit transfer', 'DEBIT', '-2', 'opencell.admin', '0');

INSERT INTO billing_seq_invoice (id, version, code, description, sequence_size, created, creator) VALUES (-6, 0, 'SECURITY_DEPOSIT', 'Security Deposit', 9, NOW(), 'opencell.admin');

INSERT INTO billing_invoice_type (id, version, created, creator, code, description, description_i18n, invoice_sequence_id, occ_template_id, uuid, vat_payment_option_id, invoice_code_type_id, invoice_subject_code) VALUES (-6, 0, NOW(), 'opencell.admin', 'SECURITY_DEPOSIT', 'Security deposit', '{"FRA":"Dépôt de garantie","ENG":"Security deposit"}', -6, -52, 'InvoiceType-SECURITY_DEPOSIT', '1', '30', (SELECT id FROM untdid_4451_invoice_subject_code where code = 'IND'));

INSERT INTO billing_invoice_cat (id, code, description, created, creator, uuid, version) VALUES ('-4', 'ICAT_SECURITY_DEPOSIT', 'Security Deposit”', NOW(), 'opencell.admin', 'billing_invoice_cat_icat_security_deposit', 0);

INSERT INTO billing_invoice_sub_cat (id, invoice_category_id, version, code, description, created, creator, uuid) VALUES ('-4', '-4', 0, 'ISCAT_SECURITY_DEPOSIT', 'ISCAT_SECURITY_DEPOSIT', NOW(), 'opencell.admin', 'billing_invoice_sub_cat_iscat_security_deposit');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-4724_20220201', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4825, '8:a4fe575c9280208275fb7a657fe17d5d', 'insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=billing_seq_invoice; insert tableName=billing_invoice_type; insert tableName=billing_invoice_cat; insert tableName=billing_invoi...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-5089_20220215::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-5089_20220215', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4827, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-5344_2022-02_25::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5344_2022-02_25', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4829, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-5888_2022-03_23::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-5888_2022-03_23', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4831, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-5997_20220330::HichamELHALOUI
INSERT INTO ar_occ_template (id, version, created, code, description, occ_category, journal_id, creator, accounting_code_id, contra_accounting_code_id, contra_accounting_code2_id, accounting_scheme_id) VALUES (-60, 0, NOW(), 'PAY_CASH', 'Payment - cash', 'CREDIT', '-2', 'opencell.admin', (SELECT id FROM billing_accounting_code WHERE code='411000000'), (SELECT id FROM billing_accounting_code WHERE code='531100000'), (SELECT id FROM billing_accounting_code WHERE code='419100000'), (SELECT id FROM ar_accounting_scheme WHERE code = 'Payment entry scheme'));

INSERT INTO ar_occ_template (id, version, created, code, description, occ_category, journal_id, creator, accounting_code_id, contra_accounting_code_id, contra_accounting_code2_id, accounting_scheme_id) VALUES (-61, 0, NOW(), 'PAY_WIRE', 'Payment - wiretransfer', 'CREDIT', '-2', 'opencell.admin', (SELECT id FROM billing_accounting_code WHERE code='411000000'), (SELECT id FROM billing_accounting_code WHERE code='512000000'), (SELECT id FROM billing_accounting_code WHERE code='419100000'), (SELECT id FROM ar_accounting_scheme WHERE code = 'Payment entry scheme'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-5997_20220330', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4833, '8:5037c059a12fddfdbd8cf1b9231c40bd', 'insert tableName=ar_occ_template; insert tableName=ar_occ_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-6341_20220406::aelmalki
UPDATE ar_occ_template SET accounting_scheme_id = (SELECT id FROM ar_accounting_scheme WHERE code = 'Invoice and Credit Note'), contra_accounting_code2_id = (SELECT id FROM billing_accounting_code WHERE code='445710000'), contra_accounting_code_id = (SELECT id FROM billing_accounting_code WHERE code='701000000') WHERE code IN ('INV_STD', 'INV_CRN');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6341_20220406', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4835, '8:4200528855ce3cd52fdf18d18785774e', 'update tableName=ar_occ_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-11745_20221130_build::TarikFA.
INSERT INTO ar_occ_template (id, version, created, code, description, occ_category, manual_creation_enabled, contra_accounting_code_id, contra_accounting_code2_id, accounting_scheme_id, account_code_client_side, journal_id, accounting_code_id) VALUES (-26, 0, NOW(), 'ADJ_REF', 'Refundable adjustment', 'CREDIT', '0', (SELECT id FROM billing_accounting_code WHERE code='701000000'), (SELECT id FROM billing_accounting_code WHERE code='445710000'), (SELECT id FROM ar_accounting_scheme WHERE code='Invoice and Credit Note'), '701000000', '-1', '-6');

INSERT INTO ar_occ_template (id, version, created, code, description, occ_category, manual_creation_enabled, contra_accounting_code_id, contra_accounting_code2_id, accounting_scheme_id, account_code_client_side, journal_id, accounting_code_id) VALUES (-27, 0, NOW(), 'ADJ_INV', 'Adjustment on invoice', 'CREDIT', '0', (SELECT id FROM billing_accounting_code WHERE code='701000000'), (SELECT id FROM billing_accounting_code WHERE code='445710000'), (SELECT id FROM ar_accounting_scheme WHERE code='Invoice and Credit Note'), '701000000', '-1', '-6');

INSERT INTO billing_invoice_type (id, version, created, creator, code, description, description_i18n, invoice_sequence_id, occ_template_id, matching_auto, uuid, invoice_accountable, vat_payment_option_id, invoice_code_type_id, invoice_subject_code) VALUES (-7, 0, NOW(), 'OPENCELL.ADMIN', 'ADJ_REF', 'Refundable credit note', '{"FRA":"Avoir remboursable","ENG":"Refundable credit note"}', (SELECT id from billing_seq_invoice where code = 'ADJ'), '-26', 0, 'InvoiceType-ADJ-REF', '1', '1', '19', (SELECT id FROM untdid_4451_invoice_subject_code where code = 'IND'));

INSERT INTO billing_invoice_type (id, version, created, creator, code, description, description_i18n, invoice_sequence_id, occ_template_id, matching_auto, uuid, invoice_accountable, vat_payment_option_id, invoice_code_type_id, invoice_subject_code) VALUES (-8, 0, NOW(), 'OPENCELL.ADMIN', 'ADJ_INV', 'Credit note on invoice', '{"FRA":"Avoir sur facture","ENG":"Credit note on invoice"}', (SELECT id from billing_seq_invoice where code = 'ADJ'), '-27', 0, 'InvoiceType-ADJ-INV', '1', '1', '19', (SELECT id FROM untdid_4451_invoice_subject_code where code = 'IND'));

INSERT INTO billing_invoice_type_applies_to (invoice_type_id, applies_to_id) VALUES (-8, -1);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-11745_20221130_build', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4837, '8:475c8f44c160f7efae002b5e82d4a5ac', 'insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=billing_invoice_type; insert tableName=billing_invoice_type; insert tableName=billing_invoice_type_applies_to', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-12024_20221202_build::aeljaouhari
INSERT INTO billing_seq_invoice (id, version, code, description, sequence_size, created, creator) VALUES (-9, 0, 'COMMERCIAL_ORDER', 'Commercial order', 9, NOW(), 'opencell.admin');

INSERT INTO billing_invoice_type (id, version, created, creator, code, description, description_i18n, invoice_sequence_id, occ_template_id, uuid, vat_payment_option_id) VALUES (-9, 0, NOW(), 'opencell.admin', 'COMMERCIAL_ORDER', 'Commercial order', '{"FRA":"Commande","ENG":"Commercial order"}', -9, -25, 'InvoiceType-COMMERCIAL_ORDER', '1');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12024_20221202_build', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4839, '8:6c1e3cc154d74b01ee4e33190a1717cf', 'insert tableName=billing_seq_invoice; insert tableName=billing_invoice_type', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-15222_20230424::aelmalki
INSERT INTO billing_invoice_type_applies_to (invoice_type_id, applies_to_id) VALUES ((select id from billing_invoice_type where code = 'ADJ'), (select id from billing_invoice_type where code = 'COMMERCIAL_ORDER'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-15222_20230424', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4841, '8:917f5df6f2e44f1649a5bae15f2a0ac3', 'insert tableName=billing_invoice_type_applies_to', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#OUTRD-49_20220913::HamzaBiadi
INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, description, field_type, value_required, creator, versionable, storage_type, trigger_end_period_event, applies_to, allow_edit, max_value, hide_on_new, inh_as_def_value, gui_position, cf_protectable) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'user', 'User', 'STRING', '0', 'opencell.admin', '0', 'SINGLE', '0', 'JobInstance_FlatFileProcessingJob', '1', '50', '0', '0', 'tab:Configuration:1;fieldGroup:Execution configuration:0;field:3', '0');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, job_speed, cluster_behavior, verbose_report, following_job_id, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), 'MEDIATION', 'FlatFileProcessingJob', 'massImportCustomerJob', 'opencell.admin', 'NORMAL', 'LIMIT_TO_SINGLE_NODE', 1, (SELECT id from meveo_job_instance where code = 'massImportCustomerAccountJob'), '{"nbRuns": [{"long": 1}], "oneFilePerJob": [{"boolean": false}], "waitingMillis": [{"long": 0}], "FlatFileProcessingJob_inputDir": [{"string": "/imports/massImport/customer/input"}], "FlatFileProcessingJob_outputDir": [{"string": "/imports/massImport/customer/output"}], "FlatFileProcessingJob_rejectDir": [{"string": "/imports/massImport/customer/reject"}], "FlatFileProcessingJob_archiveDir": [{"string": "/imports/massImport/customer/archive"}], "FlatFileProcessingJob_errorAction": [{"string": "CONTINUE"}], "FlatFileProcessingJob_mappingConf": [{"string": "<beanio\r\n        xmlns=\"http://www.beanio.org/2012/03\"\r\n        xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n        xsi:schemaLocation=\"http://www.beanio.org/2012/03 http://www.beanio.org/2012/03/mapping.xsd\">\r\n    <stream name=\"record\" format=\"csv\">\r\n        <parser>\r\n            <property name=\"delimiter\" value=\";\" />\r\n            <property name=\"comments\" value=\"END\" />\r\n            <property name=\"multilineEnabled\" value=\"true\" />\r\n        </parser>\r\n        <record name=\"header\" minOccurs=\"1\" maxOccurs=\"1\" class=\"map\">\r\n            <field name=\"OC_ENTITY\" ignore=\"true\"/>\r\n            <field name=\"OC_ACTION\" ignore=\"true\"/>\r\n            <field name=\"OC_CUSTOMER_CODE\" ignore=\"true\"/>\r\n            <field name=\"OC_CUSTOMER_DESCRIPTION\" ignore=\"true\"/>\r\n            <field name=\"OC_CU_REGISTRATION\" ignore=\"true\"/>\r\n            <field name=\"OC_CU_TVANUMBER\" ignore=\"true\"/>\r\n            <field name=\"OC_CUSTOMER_SELLER\" ignore=\"true\"/>\r\n            <field name=\"OC_CU_CATEGORY\" ignore=\"true\"/>\r\n            <field name=\"OC_CU_IS_COMPANY\" ignore=\"true\"/>\r\n            <field name=\"OC_CU_TITLE\" ignore=\"true\"/>\r\n            <field name=\"OC_CU_FIRST_NAME\" ignore=\"true\"/>\r\n            <field name=\"OC_CU_LAST_NAME\" ignore=\"true\"/>\r\n        </record>\r\n        <record name=\"details\" minOccurs=\"1\" maxOccurs=\"unbounded\" class=\"map\">\r\n            <field name=\"OC_ENTITY\" required=\"true\"/>\r\n            <field name=\"OC_ACTION\" required=\"true\"/>\r\n            <field name=\"OC_CUSTOMER_CODE\" required=\"true\"/>\r\n            <field name=\"OC_CUSTOMER_DESCRIPTION\"/>\r\n            <field name=\"OC_CU_REGISTRATION\"/>\r\n            <field name=\"OC_CU_TVANUMBER\" />\r\n            <field name=\"OC_CUSTOMER_SELLER\" />\r\n            <field name=\"OC_CU_CATEGORY\" />\r\n            <field name=\"OC_CU_IS_COMPANY\" />\r\n            <field name=\"OC_CU_TITLE\" />\r\n            <field name=\"OC_CU_FIRST_NAME\" />\r\n            <field name=\"OC_CU_LAST_NAME\" />\r\n            <field name=\"OC_CFS\" type=\"String\" collection=\"list\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\r\n        </record>\r\n    </stream>\r\n</beanio>\r\n"}], "FlatFileProcessingJob_scriptsFlow": [{"string": "org.meveo.service.script.CustomerImportScript"}], "FlatFileProcessingJob_formatTransfo": [{"string": "None"}], "FlatFileProcessingJob_originFilename": [{"string": "origin_filename"}], "FlatFileProcessingJob_nbLinesToProcess": [{"long": 1}], "FlatFileProcessingJob_fileNameExtension": [{"string": "csv"}], "FlatFileProcessingJob_recordVariableName": [{"string": "record"}]}');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, job_speed, cluster_behavior, verbose_report, following_job_id, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), 'MEDIATION', 'FlatFileProcessingJob', 'massImportCustomerAccountJob', 'opencell.admin', 'NORMAL', 'LIMIT_TO_SINGLE_NODE', 1, (SELECT id from meveo_job_instance where code = 'massImportPaymentMethodJob'), '{"nbRuns": [{"long": 1}], "oneFilePerJob": [{"boolean": false}], "waitingMillis": [{"long": 0}], "FlatFileProcessingJob_inputDir": [{"string": "/imports/massImport/customerAccount/input"}], "FlatFileProcessingJob_outputDir": [{"string": "/imports/massImport/customerAccount/output"}], "FlatFileProcessingJob_rejectDir": [{"string": "/imports/massImport/customerAccount/reject"}], "FlatFileProcessingJob_archiveDir": [{"string": "/imports/massImport/customerAccount/archive"}], "FlatFileProcessingJob_errorAction": [{"string": "CONTINUE"}], "FlatFileProcessingJob_mappingConf": [{"string": "<beanio\r\n        xmlns=\"http://www.beanio.org/2012/03\"\r\n        xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n        xsi:schemaLocation=\"http://www.beanio.org/2012/03 http://www.beanio.org/2012/03/mapping.xsd\">\r\n    <stream name=\"record\" format=\"csv\">\r\n        <parser>\r\n            <property name=\"delimiter\" value=\";\" />\r\n            <property name=\"comments\" value=\"END\" />\r\n            <property name=\"multilineEnabled\" value=\"true\" />\r\n        </parser>\r\n        <record name=\"header\" minOccurs=\"1\" maxOccurs=\"1\" class=\"map\">\r\n            <field name=\"OC_ENTITY\" ignore=\"true\"/>\r\n            <field name=\"OC_ACTION\" ignore=\"true\"/>\r\n            <field name=\"OC_CUSTOMER_CODE\" ignore=\"true\"/>\r\n            <field name=\"OC_CUSTOMERACCOUNT_CODE\" ignore=\"true\"/>\r\n            <field name=\"OC_CUSTOMERACCOUNT_CURRENCY\" ignore=\"true\"/>\r\n            <field name=\"OC_CUSTOMERACCOUNT_PAYTERM\" ignore=\"true\"/>\r\n            <field name=\"OC_CUSTOMERACCOUNT_CREDCAT\" ignore=\"true\"/>\r\n            <field name=\"OC_CUSTOMERACCOUNT_LANG\" ignore=\"true\"/>\r\n        </record>\r\n        <record name=\"details\" minOccurs=\"1\" maxOccurs=\"unbounded\" class=\"map\">\r\n            <field name=\"OC_ENTITY\" required=\"true\"/>\r\n            <field name=\"OC_ACTION\" required=\"true\"/>\r\n            <field name=\"OC_CUSTOMER_CODE\" required=\"true\"/>\r\n            <field name=\"OC_CUSTOMERACCOUNT_CODE\" required=\"true\"/>\r\n            <field name=\"OC_CUSTOMERACCOUNT_CURRENCY\" required=\"true\"/>\r\n            <field name=\"OC_CUSTOMERACCOUNT_PAYTERM\"/>\r\n            <field name=\"OC_CUSTOMERACCOUNT_CREDCAT\" required=\"true\"/>\r\n            <field name=\"OC_CUSTOMERACCOUNT_LANG\" required=\"true\"/>\r\n            <field name=\"OC_CFS\" type=\"String\" collection=\"list\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\r\n        </record>\r\n    </stream>\r\n</beanio>"}], "FlatFileProcessingJob_scriptsFlow": [{"string": "org.meveo.service.script.CustomerAccountImportScript"}], "FlatFileProcessingJob_formatTransfo": [{"string": "None"}], "FlatFileProcessingJob_originFilename": [{"string": "origin_filename"}], "FlatFileProcessingJob_nbLinesToProcess": [{"long": 1}], "FlatFileProcessingJob_fileNameExtension": [{"string": "csv"}], "FlatFileProcessingJob_recordVariableName": [{"string": "record"}]}');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, job_speed, cluster_behavior, verbose_report, following_job_id, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), 'MEDIATION', 'FlatFileProcessingJob', 'massImportPaymentMethodJob', 'opencell.admin', 'NORMAL', 'LIMIT_TO_SINGLE_NODE', 1, (SELECT id from meveo_job_instance where code = 'massImportBillingAccountJob'), '{"nbRuns": [{"long": 1}], "oneFilePerJob": [{"boolean": false}], "waitingMillis": [{"long": 0}], "FlatFileProcessingJob_inputDir": [{"string": "/imports/massImport/paymentMethod/input"}], "FlatFileProcessingJob_outputDir": [{"string": "/imports/massImport/paymentMethod/output"}], "FlatFileProcessingJob_rejectDir": [{"string": "/imports/massImport/paymentMethod/reject"}], "FlatFileProcessingJob_archiveDir": [{"string": "/imports/massImport/paymentMethod/archive"}], "FlatFileProcessingJob_errorAction": [{"string": "CONTINUE"}], "FlatFileProcessingJob_mappingConf": [{"string": "<beanio\r\n        xmlns=\"http://www.beanio.org/2012/03\"\r\n        xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n        xsi:schemaLocation=\"http://www.beanio.org/2012/03 http://www.beanio.org/2012/03/mapping.xsd\">\r\n    <stream name=\"record\" format=\"csv\">\r\n        <parser>\r\n            <property name=\"delimiter\" value=\";\"/>\r\n            <property name=\"comments\" value=\"END\"/>\r\n            <property name=\"multilineEnabled\" value=\"true\"/>\r\n        </parser>\r\n        <record name=\"header\" minOccurs=\"1\" maxOccurs=\"1\" class=\"map\">\r\n            <field name=\"OC_ENTITY\" ignore=\"true\"/>\r\n            <field name=\"OC_ACTION\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_TYPE\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_PREFERRED\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_ALIAS\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_CA\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_cardType\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_monthExpiration\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_yearExpiration\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_tokenId\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_cardNumber\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_issueNumber\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_userId\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_email\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_referenceDocumentCode\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_bankCode\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_branchCode\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_accountNumber\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_key\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_iban\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_bic\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_accountOwner\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_bankName\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_bankId\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_issuerNumber\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_issuerName\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_ics\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_mandateIdentification\" ignore=\"true\"/>\r\n            <field name=\"OC_PMT_mandateDate\" ignore=\"true\"/>\r\n        </record>\r\n        <record name=\"details\" minOccurs=\"1\" maxOccurs=\"unbounded\" class=\"map\">\r\n            <field name=\"OC_ENTITY\" required=\"true\"/>\r\n            <field name=\"OC_ACTION\" required=\"true\"/>\r\n            <field name=\"OC_PMT_TYPE\" required=\"true\"/>\r\n            <field name=\"OC_PMT_PREFERRED\"/>\r\n            <field name=\"OC_PMT_ALIAS\"/>\r\n            <field name=\"OC_PMT_CA\"/>\r\n            <field name=\"OC_PMT_cardType\"/>\r\n            <field name=\"OC_PMT_monthExpiration\"/>\r\n            <field name=\"OC_PMT_yearExpiration\"/>\r\n            <field name=\"OC_PMT_tokenId\"/>\r\n            <field name=\"OC_PMT_cardNumber\"/>\r\n            <field name=\"OC_PMT_issueNumber\"/>\r\n            <field name=\"OC_PMT_userId\"/>\r\n            <field name=\"OC_PMT_email\"/>\r\n            <field name=\"OC_PMT_referenceDocumentCode\"/>\r\n            <field name=\"OC_PMT_bankCode\" />\r\n            <field name=\"OC_PMT_branchCode\" />\r\n            <field name=\"OC_PMT_accountNumber\" />\r\n            <field name=\"OC_PMT_key\" />\r\n            <field name=\"OC_PMT_iban\" />\r\n            <field name=\"OC_PMT_bic\" />\r\n            <field name=\"OC_PMT_accountOwner\"/>\r\n            <field name=\"OC_PMT_bankName\"/>\r\n            <field name=\"OC_PMT_bankId\"/>\r\n            <field name=\"OC_PMT_issuerNumber\"/>\r\n            <field name=\"OC_PMT_issuerName\"/>\r\n            <field name=\"OC_PMT_ics\"/>\r\n            <field name=\"OC_PMT_mandateIdentification\"/>\r\n            <field name=\"OC_PMT_mandateDate\"/>\r\n            <field name=\"OC_CFS\" type=\"String\" collection=\"list\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\r\n        </record>\r\n    </stream>\r\n</beanio>\r\n"}], "FlatFileProcessingJob_scriptsFlow": [{"string": "org.meveo.service.script.PaymentMethodImportScript"}], "FlatFileProcessingJob_formatTransfo": [{"string": "None"}], "FlatFileProcessingJob_originFilename": [{"string": "origin_filename"}], "FlatFileProcessingJob_nbLinesToProcess": [{"long": 1}], "FlatFileProcessingJob_fileNameExtension": [{"string": "csv"}], "FlatFileProcessingJob_recordVariableName": [{"string": "record"}]}');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, job_speed, cluster_behavior, verbose_report, following_job_id, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), 'MEDIATION', 'FlatFileProcessingJob', 'massImportBillingAccountJob', 'opencell.admin', 'NORMAL', 'LIMIT_TO_SINGLE_NODE', 1, (SELECT id from meveo_job_instance where code = 'massImportUserAccountJob'), '{"nbRuns": [{"long": 1}], "oneFilePerJob": [{"boolean": false}], "waitingMillis": [{"long": 0}], "FlatFileProcessingJob_inputDir": [{"string": "/imports/massImport/billingAccount/input"}], "FlatFileProcessingJob_outputDir": [{"string": "/imports/massImport/billingAccount/output"}], "FlatFileProcessingJob_rejectDir": [{"string": "/imports/massImport/billingAccount/reject"}], "FlatFileProcessingJob_archiveDir": [{"string": "/imports/massImport/billingAccount/archive"}], "FlatFileProcessingJob_errorAction": [{"string": "CONTINUE"}], "FlatFileProcessingJob_mappingConf": [{"string": "<beanio\r\n        xmlns=\"http://www.beanio.org/2012/03\"\r\n        xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n        xsi:schemaLocation=\"http://www.beanio.org/2012/03 http://www.beanio.org/2012/03/mapping.xsd\">\r\n    <stream name=\"record\" format=\"csv\">\r\n        <parser>\r\n            <property name=\"delimiter\" value=\";\"/>\r\n            <property name=\"comments\" value=\"END\"/>\r\n            <property name=\"multilineEnabled\" value=\"true\"/>\r\n        </parser>\r\n        <record name=\"header\" minOccurs=\"1\" maxOccurs=\"1\" class=\"map\">\r\n            <field name=\"OC_ENTITY\" ignore=\"true\" />\r\n            <field name=\"OC_ACTION\" ignore=\"true\" />\r\n            <field name=\"OC_CUSTOMERACCOUNT_CODE\" ignore=\"true\" />\r\n            <field name=\"OC_BILLINGACCOUNT_CODE\" ignore=\"true\" />\r\n            <field name=\"OC_BILLINGACCOUNT_DESCRIPTION\" ignore=\"true\" />\r\n            <field name=\"OC_BILLINGACCOUNT_BC\" ignore=\"true\" />\r\n            <field name=\"OC_BILLINGACCOUNT_COUNTRY\" ignore=\"true\" />\r\n            <field name=\"OC_BILLINGACCOUNT_LANGUAGE\" ignore=\"true\" />\r\n            <field name=\"OC_BILLINGACCOUNT_CURRENCY\" ignore=\"true\" />\r\n            <field name=\"OC_BILLINGACCOUNT_TAXCAT\" ignore=\"true\" />\r\n            <field name=\"OC_BA_DATE\" ignore=\"true\" />\r\n            <field name=\"OC_BA_REGISTRATION\" ignore=\"true\" />\r\n            <field name=\"OC_BA_TVANUMBER\" ignore=\"true\" />\r\n            <field name=\"OC_BA_TITLE\" ignore=\"true\" />\r\n            <field name=\"OC_BA_FNAME\" ignore=\"true\" />\r\n            <field name=\"OC_BA_LNAME\" ignore=\"true\" />\r\n            <field name=\"OC_BA_ORGANIZATION\" ignore=\"true\" />\r\n            <field name=\"OC_BA_EBILL\" ignore=\"true\" />\r\n            <field name=\"OC_BA_EBILLEMAIL\" ignore=\"true\" />\r\n            <field name=\"OC_BA_EBILLEMAILS\" ignore=\"true\" />\r\n            <field name=\"OC_BA_ADDRESS\" ignore=\"true\" />\r\n            <field name=\"OC_BA_ZIPCODE\" ignore=\"true\" />\r\n            <field name=\"OC_BA_CITY\" ignore=\"true\" />\r\n            <field name=\"OC_BA_STATE\" ignore=\"true\" />\r\n            <field name=\"OC_BA_COUNTRY\" ignore=\"true\" />\r\n        </record>\r\n        <record name=\"details\" minOccurs=\"1\" maxOccurs=\"unbounded\" class=\"map\">\r\n            <field name=\"OC_ENTITY\" required=\"true\"/>\r\n            <field name=\"OC_ACTION\" required=\"true\"/>\r\n            <field name=\"OC_CUSTOMERACCOUNT_CODE\" />\r\n            <field name=\"OC_BILLINGACCOUNT_CODE\" />\r\n            <field name=\"OC_BILLINGACCOUNT_DESCRIPTION\" />\r\n            <field name=\"OC_BILLINGACCOUNT_BC\" required=\"true\"/>\r\n            <field name=\"OC_BILLINGACCOUNT_COUNTRY\" required=\"true\"/>\r\n            <field name=\"OC_BILLINGACCOUNT_LANGUAGE\" required=\"true\"/>\r\n            <field name=\"OC_BILLINGACCOUNT_CURRENCY\" />\r\n            <field name=\"OC_BILLINGACCOUNT_TAXCAT\" />\r\n            <field name=\"OC_BA_DATE\" />\r\n            <field name=\"OC_BA_REGISTRATION\" />\r\n            <field name=\"OC_BA_TVANUMBER\" />\r\n            <field name=\"OC_BA_TITLE\" />\r\n            <field name=\"OC_BA_FNAME\" />\r\n            <field name=\"OC_BA_LNAME\" required=\"true\"/>\r\n            <field name=\"OC_BA_ORGANIZATION\" />\r\n            <field name=\"OC_BA_EBILL\" />\r\n            <field name=\"OC_BA_EBILLEMAIL\" />\r\n            <field name=\"OC_BA_EBILLEMAILS\" />\r\n            <field name=\"OC_BA_ADDRESS\" />\r\n            <field name=\"OC_BA_ZIPCODE\" />\r\n            <field name=\"OC_BA_CITY\" />\r\n            <field name=\"OC_BA_STATE\" />\r\n            <field name=\"OC_BA_COUNTRY\" />\r\n            <field name=\"OC_CFS\" type=\"String\" collection=\"list\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\r\n        </record>\r\n    </stream>\r\n</beanio>\r\n"}], "FlatFileProcessingJob_scriptsFlow": [{"string": "org.meveo.service.script.BillingAccountImportScript"}], "FlatFileProcessingJob_formatTransfo": [{"string": "None"}], "FlatFileProcessingJob_originFilename": [{"string": "origin_filename"}], "FlatFileProcessingJob_nbLinesToProcess": [{"long": 1}], "FlatFileProcessingJob_fileNameExtension": [{"string": "csv"}], "FlatFileProcessingJob_recordVariableName": [{"string": "record"}]}');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, job_speed, cluster_behavior, verbose_report, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), 'MEDIATION', 'FlatFileProcessingJob', 'massImportUserAccountJob', 'opencell.admin', 'NORMAL', 'LIMIT_TO_SINGLE_NODE', 1, '{"nbRuns": [{"long": 1}], "oneFilePerJob": [{"boolean": false}], "waitingMillis": [{"long": 0}], "FlatFileProcessingJob_inputDir": [{"string": "/imports/massImport/userAccount/input"}], "FlatFileProcessingJob_outputDir": [{"string": "/imports/massImport/userAccount/output"}], "FlatFileProcessingJob_rejectDir": [{"string": "/imports/massImport/userAccount/reject"}], "FlatFileProcessingJob_archiveDir": [{"string": "/imports/massImport/userAccount/archive"}], "FlatFileProcessingJob_errorAction": [{"string": "CONTINUE"}], "FlatFileProcessingJob_mappingConf": [{"string": "<beanio\r\n        xmlns=\"http://www.beanio.org/2012/03\"\r\n        xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n        xsi:schemaLocation=\"http://www.beanio.org/2012/03 http://www.beanio.org/2012/03/mapping.xsd\">\r\n    <stream name=\"record\" format=\"csv\">\r\n        <parser>\r\n            <property name=\"delimiter\" value=\";\"/>\r\n            <property name=\"comments\" value=\"END\"/>\r\n            <property name=\"multilineEnabled\" value=\"true\"/>\r\n        </parser>\r\n        <record name=\"header\" minOccurs=\"1\" maxOccurs=\"1\" class=\"map\">\r\n            <field name=\"OC_ENTITY\" ignore=\"true\" />\r\n            <field name=\"OC_ACTION\" ignore=\"true\" />\r\n            <field name=\"OC_BILLINGACCOUNT_CODE\" ignore=\"true\"/>\r\n          \t<field name=\"OC_PARENT_UA_CODE\" ignore=\"true\"/>\r\n            <field name=\"OC_USERACCOUNT_CODE\" ignore=\"true\"/>\r\n            <field name=\"OC_USERACCOUNT_ DESCRIPTION\" ignore=\"true\"/>\r\n            <field name=\"OC_UA_DATE\" ignore=\"true\"/>\r\n            <field name=\"OC_UA_REGISTRATION\" ignore=\"true\"/>\r\n            <field name=\"OC_UA_TVANUMBER\" ignore=\"true\"/>\r\n            <field name=\"OC_UA_TITLE\" ignore=\"true\"/>\r\n            <field name=\"OC_UA_FNAME\" ignore=\"true\"/>\r\n            <field name=\"OC_UA_LNAME\" ignore=\"true\"/>\r\n            <field name=\"OC_UA_ORGANIZATION\" ignore=\"true\"/>\r\n        </record>\r\n        <record name=\"details\" minOccurs=\"1\" maxOccurs=\"unbounded\" class=\"map\">\r\n            <field name=\"OC_ENTITY\" required=\"true\"/>\r\n            <field name=\"OC_ACTION\" required=\"true\"/>\r\n            <field name=\"OC_BILLINGACCOUNT_CODE\"/>\r\n          \t<field name=\"OC_PARENT_UA_CODE\"/>\r\n            <field name=\"OC_USERACCOUNT_CODE\"/>\r\n            <field name=\"OC_USERACCOUNT_ DESCRIPTION\"/>\r\n            <field name=\"OC_UA_DATE\"/>\r\n            <field name=\"OC_UA_REGISTRATION\"/>\r\n            <field name=\"OC_UA_TVANUMBER\"/>\r\n            <field name=\"OC_UA_TITLE\"/>\r\n            <field name=\"OC_UA_FNAME\"/>\r\n            <field name=\"OC_UA_LNAME\" required=\"true\"/>\r\n            <field name=\"OC_UA_ORGANIZATION\"/>\r\n            <field name=\"OC_CFS\" type=\"String\" collection=\"list\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\r\n        </record>\r\n    </stream>\r\n</beanio>\r\n"}], "FlatFileProcessingJob_scriptsFlow": [{"string": "org.meveo.service.script.UserAccountImportScript"}], "FlatFileProcessingJob_formatTransfo": [{"string": "None"}], "FlatFileProcessingJob_originFilename": [{"string": "origin_filename"}], "FlatFileProcessingJob_nbLinesToProcess": [{"long": 1}], "FlatFileProcessingJob_fileNameExtension": [{"string": "csv"}], "FlatFileProcessingJob_recordVariableName": [{"string": "record"}]}');

INSERT INTO com_message_template (media, id, version, created, code, tag_start, tag_end, subject, htmlcontent) VALUES ('EMAIL', nextval('com_msg_tmpl_seq'), '0', NOW(), 'MASS_IMPORT_ISSUES_EMAIL', '#{', '}', 'Your import had a few issues : #{job}', '<font face="Arial, Verdana">Your import of&nbsp;<b>#{entityName}</b>&nbsp;was not a 100% success and some records were not created. Please review the rejection file.');

INSERT INTO com_message_template (media, id, version, created, code, tag_start, tag_end, subject, htmlcontent) VALUES ('EMAIL', nextval('com_msg_tmpl_seq'), '0', NOW(), 'MASS_IMPORT_FAILURE_EMAIL', '#{', '}', 'Your import has failed : #{job}', '<font face="Arial, Verdana">Import process of&nbsp;<b>#{entityName}</b>&nbsp;has failed. Please check the rejection file for more details. If this persists, please contact&nbsp;</font>your integrator or our support team.');

INSERT INTO com_message_template (media, id, version, created, code, tag_start, tag_end, subject, htmlcontent) VALUES ('EMAIL', nextval('com_msg_tmpl_seq'), '0', NOW(), 'MASS_IMPORT_SUCCESS_EMAIL', '#{', '}', 'Your import was a success : #{job}', '<font face="Arial, Verdana">Your import of&nbsp;<b>#{entityName}</b>&nbsp;that started&nbsp;<b>#{date}</b>&nbsp;at&nbsp;<b>#{time}&nbsp;</b>has been&nbsp;</font>processed successfully.');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-49_20220913', 'HamzaBiadi', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4843, '8:d3325dcc3b92995ad84efa2129704fab', 'insert tableName=crm_custom_field_tmpl; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=com_m...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#OUTRD-49-SUB_20220914::HamzaBiadi
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, job_speed, cluster_behavior, verbose_report, following_job_id, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), 'MEDIATION', 'FlatFileProcessingJob', 'massImportSubscriptionJob', 'opencell.admin', 'NORMAL', 'LIMIT_TO_SINGLE_NODE', 1, (SELECT id from meveo_job_instance where code = 'massImportServiceInstanceJob'), '{"nbRuns":[{"long":1}],
                "waitingMillis":[{"long":0}],
                "oneFilePerJob":[{"boolean":false}],
                "FlatFileProcessingJob_inputDir":[{"string":"/imports/massImport/subscription/input"}],
	            "FlatFileProcessingJob_archiveDir":[{"string":"/imports/massImport/subscription/archive"}],
                "FlatFileProcessingJob_rejectDir":[{"string":"/imports/massImport/subscription/reject"}],
	            "FlatFileProcessingJob_outputDir":[{"string":"/imports/massImport/subscription/output"}],
	            "FlatFileProcessingJob_fileNameExtension":[{"string":"csv"}],
	            "FlatFileProcessingJob_nbLinesToProcess":[{"long":1}],
	            "FlatFileProcessingJob_mappingConf":[{"string":"<beanio\r\n\txmlns=\"http://www.beanio.org/2012/03\"\r\n\txmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n  xsi:schemaLocation=\"http://www.beanio.org/2012/03 http://www.beanio.org/2012/03/mapping.xsd\">\r\n\t<stream name=\"record\" format=\"csv\">\r\n\t\t<parser>\r\n\t\t\t<property name=\"delimiter\" value=\";\" />\r\n\t\t\t<property name=\"comments\" value=\"END\" />\r\n\t\t\t<property name=\"multilineEnabled\" value=\"true\" />\r\n\t\t</parser>\r\n\t\t<record name=\"header\" minOccurs=\"1\" maxOccurs=\"1\" class=\"map\">\r\n\t\t\t<field name=\"OC_ENTITY*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ACTION*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_USERACCOUNT_CODE*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SUBSCRIPTION_CODE*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_STATUS\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SUBSCRIPTION_DESCRIPTION\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_OFFER_CODE*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SELLER_CODE*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SUBSCRIPTION_DATE\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ENDAGREEMENTDATE\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_TERMINATIONDATE\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SUB_BC*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SUB_INITTERMTYPE\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SUB_DURATIONTYPE\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SUB_INITTERMLENGTH\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SUB_INITTERMUNIT\"  ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SUB_ENDTERMACTION\"  ignore=\"true\" />\r\n\t\t\t<field name=\"OC_SUB_TERMINATIONREASON\"  ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SUB_EBILL\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SUB_EBILLEMAIL\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SUB_EBILLEMAILS\" ignore=\"true\"/>\r\n\t\t</record>\r\n\t\t<record name=\"details\" minOccurs=\"1\" maxOccurs=\"unbounded\" class=\"map\">\r\n\t\t\t<field name=\"OC_ENTITY\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_ACTION\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_USERACCOUNT_CODE\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_SUBSCRIPTION_CODE\"/>\r\n\t\t\t<field name=\"OC_STATUS\"/>\r\n\t\t\t<field name=\"OC_SUBSCRIPTION_DESCRIPTION\" />\r\n\t\t\t<field name=\"OC_OFFER_CODE\" />\r\n\t\t\t<field name=\"OC_SELLER_CODE\" />\r\n\t\t\t<field name=\"OC_SUBSCRIPTION_DATE\" />\r\n\t\t\t<field name=\"OC_ENDAGREEMENTDATE\" />\r\n\t\t\t<field name=\"OC_TERMINATIONDATE\" />\r\n\t\t\t<field name=\"OC_SUB_BC\" />\r\n\t\t\t<field name=\"OC_SUB_INITTERMTYPE\" />\r\n\t\t\t<field name=\"OC_SUB_DURATIONTYPE\" />\r\n\t\t\t<field name=\"OC_SUB_INITTERMLENGTH\" />\r\n\t\t\t<field name=\"OC_SUB_INITTERMUNIT\" />\r\n\t\t\t<field name=\"OC_SUB_ENDTERMACTION\" />\r\n\t\t\t<field name=\"OC_SUB_TERMINATIONREASON\" />\r\n\t\t\t<field name=\"OC_SUB_EBILL\" />\r\n\t\t\t<field name=\"OC_SUB_EBILLEMAIL\" />\r\n\t\t\t<field name=\"OC_SUB_EBILLEMAILS\" />\r\n          \t<field name=\"OC_CFS\" type=\"String\" collection=\"list\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\r\n\t\t</record>\r\n\t</stream>\r\n</beanio>"}],
                "FlatFileProcessingJob_scriptsFlow":[{"string":"org.meveo.service.script.SubscriptionMassImportScript"}],
                "FlatFileProcessingJob_recordVariableName":[{"string":"record"}],
                "FlatFileProcessingJob_originFilename":[{"string":"origin_filename"}],
                "FlatFileProcessingJob_formatTransfo":[{"string":"None"}],
                "FlatFileProcessingJob_errorAction":[{"string":"CONTINUE"}]}');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, job_speed, cluster_behavior, verbose_report, following_job_id, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), 'MEDIATION', 'FlatFileProcessingJob', 'massImportServiceInstanceJob', 'opencell.admin', 'NORMAL', 'LIMIT_TO_SINGLE_NODE', 1, (SELECT id from meveo_job_instance where code = 'massImportAttributeInstance'), '{"nbRuns":[{"long":1}],
                "waitingMillis":[{"long":0}],
                "oneFilePerJob":[{"boolean":false}],
                "FlatFileProcessingJob_inputDir":[{"string":"/imports/massImport/serviceInstance/input"}],
	            "FlatFileProcessingJob_archiveDir":[{"string":"/imports/massImport/serviceInstance/archive"}],
                "FlatFileProcessingJob_rejectDir":[{"string":"/imports/massImport/serviceInstance/reject"}],
	            "FlatFileProcessingJob_outputDir":[{"string":"/imports/massImport/serviceInstance/output"}],
	            "FlatFileProcessingJob_fileNameExtension":[{"string":"csv"}],
	            "FlatFileProcessingJob_nbLinesToProcess":[{"long":1}],
	            "FlatFileProcessingJob_mappingConf":[{"string":"<beanio\r\n\txmlns=\"http://www.beanio.org/2012/03\"\r\n\txmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n  xsi:schemaLocation=\"http://www.beanio.org/2012/03 http://www.beanio.org/2012/03/mapping.xsd\">\r\n\t<stream name=\"record\" format=\"csv\">\r\n\t\t<parser>\r\n\t\t\t<property name=\"delimiter\" value=\";\" />\r\n\t\t\t<property name=\"comments\" value=\"END\" />\r\n\t\t\t<property name=\"multilineEnabled\" value=\"true\" />\r\n\t\t</parser>\r\n\t\t<record name=\"header\" minOccurs=\"1\" maxOccurs=\"1\" class=\"map\">\r\n\t\t\t<field name=\"OC_ENTITY*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ACTION*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SUBSCRIPTION_CODE*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SI_CODE*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SI_DESC\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_PRODUCT_CODE*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_PRODUCT_QTY\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_PRODUCT_DELIV_DT\" ignore=\"true\"/>\r\n\t\t</record>\r\n\t\t<record name=\"details\" minOccurs=\"1\" maxOccurs=\"unbounded\" class=\"map\">\r\n\t\t\t<field name=\"OC_ENTITY\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_ACTION\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_SUBSCRIPTION_CODE\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_SI_CODE\"/>\r\n\t\t\t<field name=\"OC_SI_DESC\"/>\r\n\t\t\t<field name=\"OC_PRODUCT_CODE\" />\r\n\t\t\t<field name=\"OC_PRODUCT_QTY\" />\r\n\t\t\t<field name=\"OC_PRODUCT_DELIV_DT\" />\r\n          \t<field name=\"OC_CFS\" type=\"String\" collection=\"list\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\r\n\t\t</record>\r\n\t</stream>\r\n</beanio>"}],
                "FlatFileProcessingJob_scriptsFlow":[{"string":"org.meveo.service.script.ServiceInstanceImportScript"}],
                "FlatFileProcessingJob_recordVariableName":[{"string":"record"}],
                "FlatFileProcessingJob_originFilename":[{"string":"origin_filename"}],
                "FlatFileProcessingJob_formatTransfo":[{"string":"None"}],
                "FlatFileProcessingJob_errorAction":[{"string":"CONTINUE"}]}');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, job_speed, cluster_behavior, verbose_report, following_job_id, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), 'MEDIATION', 'FlatFileProcessingJob', 'massImportAttributeInstance', 'opencell.admin', 'NORMAL', 'LIMIT_TO_SINGLE_NODE', 1, (SELECT id from meveo_job_instance where code = 'massImportAccessPoint'), '{"nbRuns":[{"long":1}],
                "waitingMillis":[{"long":0}],
                "oneFilePerJob":[{"boolean":false}],
                "FlatFileProcessingJob_inputDir":[{"string":"/imports/massImport/attributeInstance/input"}],
	            "FlatFileProcessingJob_archiveDir":[{"string":"/imports/massImport/attributeInstance/archive"}],
                "FlatFileProcessingJob_rejectDir":[{"string":"/imports/massImport/attributeInstance/reject"}],
	            "FlatFileProcessingJob_outputDir":[{"string":"/imports/massImport/attributeInstance/output"}],
	            "FlatFileProcessingJob_fileNameExtension":[{"string":"csv"}],
	            "FlatFileProcessingJob_nbLinesToProcess":[{"long":1}],
	            "FlatFileProcessingJob_mappingConf":[{"string":"<beanio\r\n\txmlns=\"http://www.beanio.org/2012/03\"\r\n\txmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n  xsi:schemaLocation=\"http://www.beanio.org/2012/03 http://www.beanio.org/2012/03/mapping.xsd\">\r\n\t<stream name=\"record\" format=\"csv\">\r\n\t\t<parser>\r\n\t\t\t<property name=\"delimiter\" value=\";\" />\r\n\t\t\t<property name=\"comments\" value=\"END\" />\r\n\t\t\t<property name=\"multilineEnabled\" value=\"true\" />\r\n\t\t</parser>\r\n\t\t<record name=\"header\" minOccurs=\"1\" maxOccurs=\"1\" class=\"map\">\r\n\t\t\t<field name=\"OC_ENTITY*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ACTION*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SUBSCRIPTION_CODE*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SERVICE_INSTANCE_CODE*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SI_ATTRIB_CODE*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SI_ATTRIB_VALUE\" ignore=\"true\"/>\r\n\t\t</record>\r\n\t\t<record name=\"details\" minOccurs=\"1\" maxOccurs=\"unbounded\" class=\"map\">\r\n\t\t\t<field name=\"OC_ENTITY\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_ACTION\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_SUBSCRIPTION_CODE\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_SERVICE_INSTANCE_CODE\"/>\r\n\t\t\t<field name=\"OC_SI_ATTRIB_CODE\"/>\r\n\t\t\t<field name=\"OC_SI_ATTRIB_VALUE\" />\r\n          \t<field name=\"OC_CFS\" type=\"String\" collection=\"list\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\r\n\t\t</record>\r\n\t</stream>\r\n</beanio>"}],
                "FlatFileProcessingJob_scriptsFlow":[{"string":"org.meveo.service.script.AttributeInstanceImportScript"}],
                "FlatFileProcessingJob_recordVariableName":[{"string":"record"}],
                "FlatFileProcessingJob_originFilename":[{"string":"origin_filename"}],
                "FlatFileProcessingJob_formatTransfo":[{"string":"None"}],
                "FlatFileProcessingJob_errorAction":[{"string":"CONTINUE"}]}');

INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, job_speed, cluster_behavior, verbose_report, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), 'MEDIATION', 'FlatFileProcessingJob', 'massImportAccessPoint', 'opencell.admin', 'NORMAL', 'LIMIT_TO_SINGLE_NODE', 1, '{"nbRuns":[{"long":1}],
                "waitingMillis":[{"long":0}],
                "oneFilePerJob":[{"boolean":false}],
                "FlatFileProcessingJob_inputDir":[{"string":"/imports/massImport/accessPoint/input"}],
	            "FlatFileProcessingJob_archiveDir":[{"string":"/imports/massImport/accessPoint/archive"}],
                "FlatFileProcessingJob_rejectDir":[{"string":"/imports/massImport/accessPoint/reject"}],
	            "FlatFileProcessingJob_outputDir":[{"string":"/imports/massImport/accessPoint/output"}],
	            "FlatFileProcessingJob_fileNameExtension":[{"string":"csv"}],
	            "FlatFileProcessingJob_nbLinesToProcess":[{"long":1}],
	            "FlatFileProcessingJob_mappingConf":[{"string":"<beanio\r\n\txmlns=\"http://www.beanio.org/2012/03\"\r\n\txmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n  xsi:schemaLocation=\"http://www.beanio.org/2012/03 http://www.beanio.org/2012/03/mapping.xsd\">\r\n\t<stream name=\"record\" format=\"csv\">\r\n\t\t<parser>\r\n\t\t\t<property name=\"delimiter\" value=\";\" />\r\n\t\t\t<property name=\"comments\" value=\"END\" />\r\n\t\t\t<property name=\"multilineEnabled\" value=\"true\" />\r\n\t\t</parser>\r\n\t\t<record name=\"header\" minOccurs=\"1\" maxOccurs=\"1\" class=\"map\">\r\n\t\t\t<field name=\"OC_ENTITY*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ACTION*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_SUBSCRIPTION_CODE*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ACCESSPOINT_CODE*\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ACCESSPOINT_STARTDATE\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ACCESSPOINT_ENDDATE\" ignore=\"true\"/>\r\n\t\t</record>\r\n\t\t<record name=\"details\" minOccurs=\"1\" maxOccurs=\"unbounded\" class=\"map\">\r\n\t\t\t<field name=\"OC_ENTITY\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_ACTION\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_SUBSCRIPTION_CODE\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_ACCESSPOINT_CODE\"/>\r\n\t\t\t<field name=\"OC_ACCESSPOINT_STARTDATE\"/>\r\n\t\t\t<field name=\"OC_ACCESSPOINT_ENDDATE\" />\r\n          \t<field name=\"OC_CFS\" type=\"String\" collection=\"list\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\r\n\t\t</record>\r\n\t</stream>\r\n</beanio>"}],
                "FlatFileProcessingJob_scriptsFlow":[{"string":"org.meveo.service.script.AccessPointImportScript"}],
                "FlatFileProcessingJob_recordVariableName":[{"string":"record"}],
                "FlatFileProcessingJob_originFilename":[{"string":"origin_filename"}],
                "FlatFileProcessingJob_formatTransfo":[{"string":"None"}],
                "FlatFileProcessingJob_errorAction":[{"string":"CONTINUE"}]}');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-49-SUB_20220914', 'HamzaBiadi', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4845, '8:c113b23effe5e88441209d903bd08ce6', 'insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#OUTRD-53_20220930::Ilham-Chafik
INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.ImportJobNotificationScript', NOW(), 'opencell.admin', 0, 'JAVA_CLASS');

INSERT INTO adm_notification (id, created, code, class_name_filter, event_type_filter, event_expression_filter, version, creator, disabled, script_instance_id) VALUES (nextval('adm_notification_seq'), NOW(), 'OC_MASS_IMPORT_NOTIFICATION', 'org.meveo.model.jobs.JobExecutionResultImpl', 'STARTED', '#{event.jobInstance.code.toLowerCase().startsWith(''massimport'')}', '0', 'opencell.admin', '1', (SELECT id from meveo_script_instance where code = 'org.meveo.service.script.ImportJobNotificationScript'));

INSERT INTO adm_notif_job (id, job_instance_id) VALUES ((SELECT id from adm_notification where code = 'OC_MASS_IMPORT_NOTIFICATION'), (SELECT id from meveo_job_instance where code = 'massImportCustomerJob'));

INSERT INTO adm_notification_params (notification_id, params, params_key) VALUES ((SELECT id from adm_notification where code = 'OC_MASS_IMPORT_NOTIFICATION'), 'customer', 'category');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-53_20220930', 'Ilham-Chafik', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4847, '8:0caa805d3a5ca85466e82acbb7758f1d', 'insert tableName=meveo_script_instance; insert tableName=adm_notification; insert tableName=adm_notif_job; insert tableName=adm_notification_params', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#277_20210622::TarikFA.
INSERT INTO public.meveo_script_instance (id, version, disabled, created, code, description, src_type, script) VALUES (-31, 0, 0, now(), 'org.meveo.service.quote.script.QuoteValidationScript', 'quote validation', 'JAVA_CLASS', null);

INSERT INTO public.meveo_script_instance (id, version, disabled, created, code, description, src_type, script) VALUES (-32, 0, 0, now(), 'org.meveo.service.quote.script.OrderAdvancementScript', 'order advancemnt script', 'JAVA_CLASS', null);

INSERT INTO adm_notification (id, version, disabled, created, code, class_name_filter, event_expression_filter, event_type_filter, creator, script_instance_id, uuid, priority, run_async, save_successful_notif) VALUES ('-11', '0', '0', NOW(), 'NOTIF_QUOTE_VALIDATION', 'org.meveo.model.cpq.CpqQuote', '#{event.status == ''ACCEPTED'' }', 'STATUS_UPDATED', 'opencell.admin', '-31', 'GENERIC_UUID_CPQUOTE', '0', '0', '1');

INSERT INTO adm_notification_params (notification_id, params, params_key) VALUES ('-11', '#{event}', 'cpqQuote');

INSERT INTO adm_script_notification (id) VALUES ('-11');

INSERT INTO adm_notification (id, version, disabled, created, code, class_name_filter, event_type_filter, creator, script_instance_id, uuid, priority, run_async, save_successful_notif) VALUES ('-12', '0', '0', NOW(), 'NOTIF_ORDER_ADVANCEMENT', 'org.meveo.model.cpq.commercial.CommercialOrder', 'ADVT_RATE_INCREASED', 'opencell.admin', '-32', 'GENERIC_UUID_ORDER', '0', '0', '1');

INSERT INTO adm_notification_params (notification_id, params, params_key) VALUES ('-12', '#{event}', 'commercialOrder');

INSERT INTO adm_script_notification (id) VALUES ('-12');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#277_20210622', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4849, '8:7c0c228ad057b10116f2ffaa402188f5', 'sql; sql; insert tableName=adm_notification; insert tableName=adm_notification_params; insert tableName=adm_script_notification; insert tableName=adm_notification; insert tableName=adm_notification_params; insert tableName=adm_script_notification', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::J215_20210708::Mohammed_ELAZZOUZI
INSERT INTO meveo_script_instance (id, version, code, src_type, description, created) VALUES (-43, 0, 'org.meveo.service.script.ServiceImportScript', 'JAVA_CLASS', 'script processor to import service instances]', NOW());

INSERT INTO meveo_script_instance (id, version, code, src_type, description, created) VALUES (-44, 0, 'org.meveo.service.script.AccessImportScript', 'JAVA_CLASS', 'script processor to import access points', NOW());

INSERT INTO meveo_script_instance (id, version, code, src_type, description, created) VALUES (-45, 0, 'org.meveo.service.script.SubscriptionImportScript', 'JAVA_CLASS', 'script processor to import subscriptions', NOW());

INSERT INTO meveo_job_instance (id, version, disabled, created, updated, code, description, job_category, job_template, parametres, creator, updater, timerentity_id, following_job_id, uuid, run_on_nodes, cluster_behavior, cf_values, verbose_report) VALUES (-46, 0, 0, NOW(), NOW(), 'importServicesJob', 'importServicesJob', 'MEDIATION', 'FlatFileProcessingJob', NULL, 'opencell.admin', 'opencell.admin', NULL, NULL, 'importServicesJob', NULL, 'LIMIT_TO_SINGLE_NODE', '{"oneFilePerJob":[{"boolean":false}],
                "FlatFileProcessingJob_outputDir":[{"string":"/imports/services/outputs"}],
                "FlatFileProcessingJob_mappingConf":[{"string":"<beanio xmlns=\"http://www.beanio.org/2012/03\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n  xsi:schemaLocation=\"http://www.beanio.org/2012/03 http://www.beanio.org/2012/03/mapping.xsd\">\r\n\t<stream name=\"record\" format=\"csv\">\r\n\t\t<parser>\r\n\t\t\t<property name=\"delimiter\" value=\",\" />\r\n\t\t\t<property name=\"comments\" value=\"END\" />\r\n          \t<property name=\"multilineEnabled\" value=\"true\" />\r\n\t\t</parser>\r\n\t\t<record name=\"header\" minOccurs=\"1\" maxOccurs=\"1\" class=\"map\">\r\n\t\t\t<field name=\"OC_ENTITY\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ACTION\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_Subscription_code\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ServiceInstance_code\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ServiceInstance_description\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ServiceInstance_quantity\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ServiceInstance_subscriptionDate\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ServiceInstance_rateUntilDate\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ServiceInstance_endAgreementDate\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_terminationDate\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_terminationReason\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_MATRICE_APPEL_SORTANT_PPC_ZONE\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_MATRICE_APPEL_SORTANT_PRIXMINUTE_ZONE\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_PRIX_NRC\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_MAP_PRIX_CHATS_PALIER\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_PRIX_SMS_ENTRANT\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_MATRICE_PRIX_NRC_REACH\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_MATRICE_COUTPARUNITE_APPEL_ENTRANT\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_MAP_PRIX_LICENCE\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_MATRICE_PRIX_SMS_SORTANT_ZONE\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_PRIX_UNITAIRE_OPTION\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_MATRICE_PRIX_REC_REACH\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_PRIX_REC\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_MATRICE_COUT_APPEL_ENTRANT\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_MAP_PRIX_EMAILS_PALIER\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_MAP_PRIX_HITS_PALIER\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_PRIX_TRANCHE_STOCKAGE_GO\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_TAILLE_TRANCHE_STOCKAGE_GO\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_STOCKAGE_EMAILS_GO_INCLUS\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_MAP_MIN_FACTURATION\" ignore=\"true\"/>\r\n\t\t</record>\r\n\t\t<record name=\"details\" minOccurs=\"1\" maxOccurs=\"unbounded\" class=\"map\">\r\n\t\t\t<field name=\"OC_ENTITY\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_ACTION\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_Subscription_code\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_ServiceInstance_code\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_ServiceInstance_description\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_ServiceInstance_quantity\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_ServiceInstance_subscriptionDate\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_ServiceInstance_rateUntilDate\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_terminationDate\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_terminationReason\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_ServiceInstance_endAgreementDate\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_MATRICE_APPEL_SORTANT_PPC_ZONE\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_MATRICE_APPEL_SORTANT_PRIXMINUTE_ZONE\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_PRIX_NRC\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_MAP_PRIX_CHATS_PALIER\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_PRIX_SMS_ENTRANT\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_MATRICE_PRIX_NRC_REACH\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_MATRICE_COUTPARUNITE_APPEL_ENTRANT\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_MAP_PRIX_LICENCE\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_MATRICE_PRIX_SMS_SORTANT_ZONE\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_PRIX_UNITAIRE_OPTION\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_MATRICE_PRIX_REC_REACH\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_PRIX_REC\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_MATRICE_COUT_APPEL_ENTRANT\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_MAP_PRIX_EMAILS_PALIER\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_MAP_PRIX_HITS_PALIER\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_PRIX_TRANCHE_STOCKAGE_GO\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_TAILLE_TRANCHE_STOCKAGE_GO\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_STOCKAGE_EMAILS_GO_INCLUS\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_MAP_MIN_FACTURATION\" required=\"false\"/>\r\n\t\t</record>\r\n\t</stream>\r\n</beanio>"}],
                "FlatFileProcessingJob_recordVariableName":[{"string":"record"}],
                "FlatFileProcessingJob_errorAction":[{"string":"CONTINUE"}],
                "FlatFileProcessingJob_originFilename":[{"string":"origin_filename"}],
                "FlatFileProcessingJob_archiveDir":[{"string":"/imports/services/archives"}],
                "FlatFileProcessingJob_inputDir":[{"string":"/imports/services/inputs"}],
                "waitingMillis":[{"long":0}],
                "FlatFileProcessingJob_nbLinesToProcess":[{"long":1}],
                "FlatFileProcessingJob_formatTransfo":[{"string":"None"}],
                "FlatFileProcessingJob_rejectDir":[{"string":"/imports/services/rejects"}],
                "nbRuns":[{"long":1}],
                "FlatFileProcessingJob_scriptsFlow":[{"string":"org.meveo.service.script.ServiceImportScript"}]}', '1');

INSERT INTO meveo_job_instance (id, version, disabled, created, updated, code, description, job_category, job_template, parametres, creator, updater, timerentity_id, following_job_id, uuid, run_on_nodes, cluster_behavior, cf_values, verbose_report) VALUES (-47, 0, 0, NOW(), NOW(), 'importSubscriptionsJob', 'importSubscriptionsJob', 'MEDIATION', 'FlatFileProcessingJob', NULL, 'opencell.admin', 'opencell.admin', NULL, NULL, 'importSubscriptionsJob', NULL, 'LIMIT_TO_SINGLE_NODE', '{"oneFilePerJob":[{"boolean":false}],
                "FlatFileProcessingJob_outputDir":[{"string":"/imports/subscriptions/outputs"}],
                "FlatFileProcessingJob_mappingConf":[{"string":"<beanio\r\n\txmlns=\"http://www.beanio.org/2012/03\"\r\n\txmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n  xsi:schemaLocation=\"http://www.beanio.org/2012/03 http://www.beanio.org/2012/03/mapping.xsd\">\r\n\t<stream name=\"record\" format=\"csv\">\r\n\t\t<parser>\r\n\t\t\t<property name=\"delimiter\" value=\",\" />\r\n\t\t\t<property name=\"comments\" value=\"END\" />\r\n\t\t\t<property name=\"multilineEnabled\" value=\"true\" />\r\n\t\t</parser>\r\n\t\t<record name=\"header\" minOccurs=\"1\" maxOccurs=\"1\" class=\"map\">\r\n\t\t\t<field name=\"OC_ENTITY\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ACTION\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_subscription_code\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_subscription_description\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_userAccount_code\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_offer_code\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_seller_code\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_subscriptionDate\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_endAgreementDate\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_terminationDate\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_subscriptionTerminationReason_code\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_NUM_REACH\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_PAYS_NUM\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_TYPE_NUM\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_NIVEAU_NUM\" ignore=\"true\"/>\r\n\t\t\t<field name=\"CF_CF_NUM_COMMANDE_SUB\" ignore=\"true\"/>\r\n\t\t</record>\r\n\t\t<record name=\"details\" minOccurs=\"1\" maxOccurs=\"unbounded\" class=\"map\">\r\n\t\t\t<field name=\"OC_ENTITY\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_ACTION\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_subscription_code\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_subscription_description\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_userAccount_code\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_offer_code\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_seller_code\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_subscriptionDate\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_endAgreementDate\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_terminationDate\" required=\"false\"/>\r\n\t\t\t<field name=\"OC_subscriptionTerminationReason_code\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_NUM_REACH\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_PAYS_NUM\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_TYPE_NUM\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_NIVEAU_NUM\" required=\"false\"/>\r\n\t\t\t<field name=\"CF_CF_NUM_COMMANDE_SUB\" required=\"false\"/>\r\n\r\n\t\t</record>\r\n\t</stream>\r\n</beanio>"}],
                "FlatFileProcessingJob_recordVariableName":[{"string":"record"}],
                "FlatFileProcessingJob_errorAction":[{"string":"CONTINUE"}],
                "FlatFileProcessingJob_originFilename":[{"string":"origin_filename"}],
                "FlatFileProcessingJob_archiveDir":[{"string":"/imports/subscriptions/archives"}],
                "FlatFileProcessingJob_inputDir":[{"string":"/imports/subscriptions/inputs"}],
                "waitingMillis":[{"long":0}],"FlatFileProcessingJob_nbLinesToProcess":[{"long":1}],
                "FlatFileProcessingJob_formatTransfo":[{"string":"None"}],"FlatFileProcessingJob_rejectDir":[{"string":"/imports/subscriptions/rejects"}],
                "nbRuns":[{"long":1}],"FlatFileProcessingJob_scriptsFlow":[{"string":"org.meveo.service.script.SubscriptionImportScript"}]}', '1');

INSERT INTO meveo_job_instance (id, version, disabled, created, updated, code, description, job_category, job_template, parametres, creator, updater, timerentity_id, following_job_id, uuid, run_on_nodes, cluster_behavior, cf_values, verbose_report) VALUES (-48, 0, 0, NOW(), NOW(), 'importAccesPointsJob', 'importAccesPointsJob', 'MEDIATION', 'FlatFileProcessingJob', NULL, 'opencell.admin', 'opencell.admin', NULL, NULL, 'importAccesPointsJob', NULL, 'LIMIT_TO_SINGLE_NODE', '{"oneFilePerJob":[{"boolean":false}],
                "FlatFileProcessingJob_outputDir":[{"string":"/imports/accessPoints/outputs"}],
                "FlatFileProcessingJob_mappingConf":[{"string":"<beanio\r\n\txmlns=\"http://www.beanio.org/2012/03\"\r\n\txmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n  xsi:schemaLocation=\"http://www.beanio.org/2012/03 http://www.beanio.org/2012/03/mapping.xsd\">\r\n\t<stream name=\"record\" format=\"csv\">\r\n\t\t<parser>\r\n\t\t\t<property name=\"delimiter\" value=\",\" />\r\n\t\t\t<property name=\"comments\" value=\"END\" />\r\n\t\t\t<property name=\"multilineEnabled\" value=\"true\" />\r\n\t\t</parser>\r\n\t\t<record name=\"header\" minOccurs=\"1\" maxOccurs=\"1\" class=\"map\">\r\n\t\t\t<field name=\"OC_ENTITY\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_ACTION\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_Subscription_code\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_accessPoint_code\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_accessPoint_startDate\" ignore=\"true\"/>\r\n\t\t\t<field name=\"OC_accessPoint_endDate\" ignore=\"true\"/>\r\n\t\t</record>\r\n\t\t<record name=\"details\" minOccurs=\"1\" maxOccurs=\"unbounded\" class=\"map\">\r\n\t\t\t<field name=\"OC_ENTITY\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_ACTION\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_Subscription_code\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_accessPoint_code\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_accessPoint_startDate\" required=\"true\"/>\r\n\t\t\t<field name=\"OC_accessPoint_endDate\" required=\"true\"/>\r\n\t\t</record>\r\n\t</stream>\r\n</beanio>"}],
                "FlatFileProcessingJob_recordVariableName":[{"string":"record"}],
                "FlatFileProcessingJob_errorAction":[{"string":"CONTINUE"}],
                "FlatFileProcessingJob_originFilename":[{"string":"origin_filename"}],
                "FlatFileProcessingJob_archiveDir":[{"string":"/imports/accessPoints/archives"}],
                "FlatFileProcessingJob_inputDir":[{"string":"/imports/accessPoints/inputs"}],
                "waitingMillis":[{"long":0}],
                "FlatFileProcessingJob_nbLinesToProcess":[{"long":1}],
                "FlatFileProcessingJob_formatTransfo":[{"string":"None"}],
                "FlatFileProcessingJob_rejectDir":[{"string":"/imports/accessPoints/rejects"}],
                "nbRuns":[{"long":1}],
                "FlatFileProcessingJob_scriptsFlow":[{"string":"org.meveo.service.script.AccessImportScript"}]}', '1');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('J215_20210708', 'Mohammed_ELAZZOUZI', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4851, '8:8c79b2dd02d6a79f4ad9488d3f48c49b', 'insert tableName=meveo_script_instance; insert tableName=meveo_script_instance; insert tableName=meveo_script_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::1589_20210930::YoussefIZEM
INSERT INTO meveo_script_instance (id, version, code, src_type, description, created) VALUES (-55, 0, 'org.meveo.service.script.ProcessCustomerPaymentsFileScript', 'JAVA_CLASS', 'Process customer payments file script', NOW());

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('1589_20210930', 'YoussefIZEM', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4853, '8:5774825995aab3205cfd2f90cc81f79a', 'insert tableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-3765_07012022::hichamElHaloui
INSERT INTO public.meveo_script_instance (id, version, disabled, created, code, description, src_type, script) VALUES (-23, 0, 0, now(), 'org.meveo.service.script.DeleteCustomersScript', 'DeleteCustomersScript', 'JAVA_CLASS', null);

INSERT INTO meveo_job_instance (id, version, disabled, created, updated, code, description, job_category, job_template, parametres, creator, updater, timerentity_id, following_job_id, uuid, run_on_nodes, cluster_behavior, cf_values, verbose_report) VALUES (-26, 0, 0, NOW(), NOW(), 'DeleteCustomersScript_JOB', 'DeleteCustomersScript_JOB', 'MEDIATION', 'FlatFileProcessingJob', NULL, 'opencell.admin', 'opencell.admin', NULL, NULL, 'DeleteCustomersScript_JOB', NULL, 'LIMIT_TO_SINGLE_NODE', '{"FlatFileProcessingJob_mappingConf":[{"string":"<beanio xmlns=\"http://www.beanio.org/2012/03\" \r\n      xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n      xsi:schemaLocation=\"http://www.beanio.org/2012/03 http://www.beanio.org/2012/03/mapping.xsd\">\r\n      <stream name=\"RECORD\" format=\"csv\" strict=\"true\">\r\n        <parser>\r\n          <property name=\"delimiter\" value=\";\" />\r\n        </parser>     \r\n        <record name=\"customer\"  minOccurs=\"1\" maxOccurs=\"unbounded\" class=\"map\">  \r\n           <field name=\"customerCode\" minOccurs=\"0\" position=\"0\" />\r\n           <field name=\"noCheck\" minOccurs=\"0\" position=\"1\"/>\r\n        </record> \r\n      </stream>\r\n    </beanio>"}]
                        ,"FlatFileProcessingJob_recordVariableName":[{"string":"RECORD"}]
                        ,"FlatFileProcessingJob_errorAction":[{"string":"CONTINUE"}]
                        ,"FlatFileProcessingJob_fileNameExtension":[{"string":"csv"}]
                        ,"FlatFileProcessingJob_scriptsFlow":[{"string":"org.meveo.service.script.DeleteCustomersScript"}]
                        ,"FlatFileProcessingJob_inputDir":[{"string":"/batch/customer/delete"}]}', '1');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-3765_07012022', 'hichamElHaloui', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4855, '8:e39a40487ac5ee568a673a95598e9581', 'sql; insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD_1985_20210923_script::TarikFA.
INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.OrderValidationScript', NOW(), 'OPENCELL.ADMIN', 1, 'JAVA_CLASS');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD_1985_20210923_script', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4857, '8:ca879f7bb85267d6b8531f5b7b460df8', 'insert tableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-12266_20221214_rebuild::aeljaouhari
INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type, description, description_i18n, script_instance_cat_id) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.validation.ValidateCreditCategoryScript', NOW(), 'OPENCELL.ADMIN', 1, 'JAVA_CLASS', 'The customer''s (customer account actually) credit category must not be in the provided list for the rule to pass. If customer''s credit category is in the list, the rule will fail. If credit category list is empty, then rule will be ignored.', '{"ENG":"<p>The customer''s (customer account actually) credit category must not be in the provided list for the rule to pass.</p><p>If customer''s credit category is in the list, the rule will fail.</p><p>If credit category list is empty, then rule will be ignored.</p>","FRA":"<p>Le catégorie de crédit du client (customer account) ne doit pas être dans la liste fournie pour que la règle passe.</p><p>Si la catégorie de crédit du client est dans la liste, la règle va échouer.</p><p>Si la liste de catégories de crédit est vide, la règle sera ignorée.</p>"}', (SELECT id FROM meveo_script_instance_cat WHERE code='INVOICE_VALIDATION'));

INSERT INTO meveo_script_parameter (id, version, code, description_i18n, class_name, mandatory, values_separator, collection, script_instance_id) VALUES (nextval('meveo_script_parameter_seq'), 0, 'CheckCreditCategory', '{"FRA":"Catégories de crédit interdites","ENG":"Forbidden credit categories"}', 'org.meveo.model.payments.CreditCategory', 0, '\|', 1, (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.validation.ValidateCreditCategoryScript'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-12266_20221214_rebuild', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4859, '8:96763b89d0fe218428ea1a6e23051d90', 'insert tableName=meveo_script_instance; insert tableName=meveo_script_parameter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-12267_20221219_rebuild::aeljaouhari
INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type, description, description_i18n, script_instance_cat_id) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.validation.ValidateCustomerAgeScript', NOW(), 'OPENCELL.ADMIN', 1, 'JAVA_CLASS', 'The invoice’s customer (Customer/Group, Customer Account/Payer, Billing account) age is compared to a provided number of days. Age is computed at invoice date.', '{"ENG":"<p>The invoice’s customer (Customer/Group, Customer Account/Payer, Billing account) age is compared to a provided number of days.</p><p>Age is computed at invoice date.</p>","FRA":"<p>L’âge du client (Customer/Groupe, Customer Account/Compte payeur, Billing account/Compte de facturation) est comparé au nombre de jours indiqué.</p><p>L''âge est calculé à la date de facture.</p>"}', (SELECT id FROM meveo_script_instance_cat WHERE code='INVOICE_VALIDATION'));

INSERT INTO meveo_script_parameter (id, version, code, description_i18n, class_name, mandatory, default_value, allowed_values, values_separator, collection, script_instance_id) VALUES (nextval('meveo_script_parameter_seq'), 0, 'referenceDate', '{"FRA":"Date à tester","ENG":"Date to test"}', 'java.lang.String', 1, 'Billling Account subscription', 'Customer creation|Customer Account creation|Billing Account creation|Billing Account subscription', '\|', 0, (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.validation.ValidateCustomerAgeScript'));

INSERT INTO meveo_script_parameter (id, version, code, description_i18n, class_name, default_value, mandatory, allowed_values, values_separator, collection, script_instance_id) VALUES (nextval('meveo_script_parameter_seq'), 0, 'operator', '{"FRA":"Operateur de comparaison","ENG":"Comparison operator"}', 'java.lang.String', '>', 1, '<|≤|=|≠|>|≥', '\|', 0, (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.validation.ValidateCustomerAgeScript'));

INSERT INTO meveo_script_parameter (id, version, code, description_i18n, class_name, default_value, mandatory, values_separator, collection, script_instance_id) VALUES (nextval('meveo_script_parameter_seq'), 0, 'age', '{"FRA":"Âge en jour","ENG":"Age in days"}', 'java.lang.Integer', '30', 1, '\|', 0, (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.validation.ValidateCustomerAgeScript'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-12267_20221219_rebuild', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4861, '8:35a68aa1113826f0aaf3e5c6ebd2a591', 'insert tableName=meveo_script_instance; insert tableName=meveo_script_parameter; insert tableName=meveo_script_parameter; insert tableName=meveo_script_parameter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-12268_20221221_rebuild::aeljaouhari
INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type, description, description_i18n, script_instance_cat_id) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.validation.ValidateSubscriptionAgeScript', NOW(), 'OPENCELL.ADMIN', 1, 'JAVA_CLASS', 'The invoice’s subscriptions age is compared to a provided number of days. Age is computed at invoice date.', '{"ENG":"<p>The invoice’s subscriptions age is compared to a provided number of days.</p><p>Age is computed at invoice date.</p>","FRA":"<p>L’âge de la souscription est comparé au nombre de jours indiqué.</p><p>L''âge est calculé à la date de facture.</p>"}', (SELECT id FROM meveo_script_instance_cat WHERE code='INVOICE_VALIDATION'));

INSERT INTO meveo_script_parameter (id, version, code, description_i18n, class_name, mandatory, default_value, allowed_values, values_separator, collection, script_instance_id) VALUES (nextval('meveo_script_parameter_seq'), 0, 'referenceDate', '{"FRA":"Date à tester","ENG":"Date to test"}', 'java.lang.String', 1, 'Subscription date', 'Subscription creation|Subscription date', '\|', 0, (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.validation.ValidateSubscriptionAgeScript'));

INSERT INTO meveo_script_parameter (id, version, code, description_i18n, class_name, default_value, mandatory, allowed_values, values_separator, collection, script_instance_id) VALUES (nextval('meveo_script_parameter_seq'), 0, 'operator', '{"FRA":"Operateur de comparaison","ENG":"Comparison operator"}', 'java.lang.String', '>', 1, '<|≤|=|≠|>|≥', '\|', 0, (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.validation.ValidateSubscriptionAgeScript'));

INSERT INTO meveo_script_parameter (id, version, code, description_i18n, class_name, default_value, mandatory, values_separator, collection, script_instance_id) VALUES (nextval('meveo_script_parameter_seq'), 0, 'age', '{"FRA":"Âge en jour","ENG":"Age in days"}', 'java.lang.Integer', '30', 1, '\|', 0, (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.validation.ValidateSubscriptionAgeScript'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-12268_20221221_rebuild', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4863, '8:48b57965a1bd91e2ba6113664e0ad66d', 'insert tableName=meveo_script_instance; insert tableName=meveo_script_parameter; insert tableName=meveo_script_parameter; insert tableName=meveo_script_parameter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#OUTRD-3_20221006-scripts::MohamedChaouki
INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.CdrFlatFileImportScript', NOW(), 'opencell.admin', 0, 'JAVA_CLASS');

INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.CdrJsonImportScript', NOW(), 'opencell.admin', 0, 'JAVA_CLASS');

INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.CdrCsvImportScript', NOW(), 'opencell.admin', 0, 'JAVA_CLASS');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-3_20221006-scripts', 'MohamedChaouki', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4865, '8:c27506fad11d803ccb4c39652420e85a', 'insert tableName=meveo_script_instance; insert tableName=meveo_script_instance; insert tableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#OUTRD-3_20221006-jobs::MohamedChaouki
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, job_speed, cluster_behavior, verbose_report, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), 'MEDIATION', 'FlatFileProcessingJob', 'CsvImportCDR', 'opencell.admin', 'NORMAL', 'LIMIT_TO_SINGLE_NODE', 1, '{"nbRuns": [{"long": 1}], "oneFilePerJob": [{"boolean": false}], "waitingMillis": [{"long": 0}], "FlatFileProcessingJob_inputDir": [{"string": "/imports/cdr/csv/input"}], "FlatFileProcessingJob_outputDir": [{"string": "/imports/cdr/csv/output"}], "FlatFileProcessingJob_rejectDir": [{"string": "/imports/cdr/csv/reject"}], "FlatFileProcessingJob_archiveDir": [{"string": "/imports/cdr/csv/archive"}], "FlatFileProcessingJob_errorAction": [{"string": "CONTINUE"}], "FlatFileProcessingJob_mappingConf": [{"string": "<beanio\r\n        xmlns=\"http://www.beanio.org/2012/03\"\r\n        xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n        xsi:schemaLocation=\"http://www.beanio.org/2012/03 http://www.beanio.org/2012/03/mapping.xsd\">\r\n    <stream name=\"record\" format=\"csv\">\r\n        <parser>\r\n            <property name=\"delimiter\" value=\";\" />\r\n            <property name=\"comments\" value=\"END\" />\r\n            <property name=\"multilineEnabled\" value=\"true\" />\r\n        </parser>\r\n  <record name=\"header\" minOccurs=\"1\" maxOccurs=\"1\" class=\"map\">\r\n  <field name=\"OC_CDR_DATE\" ignore=\"true\"/>\r\n  <field name=\"OC_QANTITY\" ignore=\"true\"/>\r\n  <field name=\"OC_AC\" ignore=\"true\"/>\r\n  <field name=\"OC_PARAMETER_1\" ignore=\"true\"/>\r\n <field name=\"OC_PARAMETER_2\" ignore=\"true\"/>\r\n  <field name=\"OC_PARAMETER_3\" ignore=\"true\"/>\r\n <field name=\"OC_PARAMETER_4\" ignore=\"true\"/>\r\n   <field name=\"OC_PARAMETER_5\" ignore=\"true\"/>\r\n  <field name=\"OC_PARAMETER_6\" ignore=\"true\"/>\r\n  <field name=\"OC_PARAMETER_7\" ignore=\"true\"/>\r\n  <field name=\"OC_PARAMETER_8\" ignore=\"true\"/>\r\n   <field name=\"OC_PARAMETER_9\" ignore=\"true\"/>\r\n  <field name=\"OC_DATE_PARAM_1\" ignore=\"true\"/>\r\n   <field name=\"OC_DATE_PARAM_2\" ignore=\"true\"/>\r\n  <field name=\"OC_DATE_PARAM_3\" ignore=\"true\"/>\r\n   <field name=\"OC_DATE_PARAM_4\" ignore=\"true\"/>\r\n  <field name=\"OC_DATE_PARAM_5\" ignore=\"true\"/>\r\n  <field name=\"OC_DECIMAL_PARAM_1\" ignore=\"true\"/>\r\n  <field name=\"OC_DECIMAL_PARAM_2\" ignore=\"true\"/>\r\n   <field name=\"OC_DECIMAL_PARAM_3\" ignore=\"true\"/>\r\n   <field name=\"OC_DECIMAL_PARAM_4\" ignore=\"true\"/>\r\n   <field name=\"OC_DECIMAL_PARAM_5\" ignore=\"true\"/>\r\n  <field name=\"OC_EXTRA_PARAM\" ignore=\"true\"/>\r\n  </record>\r\n  <record name=\"details\" minOccurs=\"1\" maxOccurs=\"unbounded\" class=\"map\">\r\n  <field name=\"OC_CDR_DATE\" required=\"true\"/>\r\n  <field name=\"OC_QANTITY\" required=\"true\"/>\r\n  <field name=\"OC_AC\" required=\"true\"/>\r\n   <field name=\"OC_PARAMETER_1\"/>\r\n  <field name=\"OC_PARAMETER_2\"/>\r\n  <field name=\"OC_PARAMETER_3\" />\r\n   <field name=\"OC_PARAMETER_4\" />\r\n  <field name=\"OC_PARAMETER_5\" />\r\n  <field name=\"OC_PARAMETER_6\" />\r\n  <field name=\"OC_PARAMETER_7\" />\r\n <field name=\"OC_PARAMETER_8\" />\r\n <field name=\"OC_PARAMETER_9\" />\r\n  <field name=\"OC_DATE_PARAM_1\"/>\r\n  <field name=\"OC_DATE_PARAM_2\"/>\r\n <field name=\"OC_DATE_PARAM_3\" />\r\n  <field name=\"OC_DATE_PARAM_4\" />\r\n  <field name=\"OC_DATE_PARAM_5\" />\r\n   <field name=\"OC_DECIMAL_PARAM_1\"/>\r\n  <field name=\"OC_DECIMAL_PARAM_2\"/>\r\n <field name=\"OC_DECIMAL_PARAM_3\" />\r\n <field name=\"OC_DECIMAL_PARAM_4\" />\r\n  <field name=\"OC_DECIMAL_PARAM_5\" />\r\n  <field name=\"OC_EXTRA_PARAM\" />\r\n  </record>\r\n  </stream>\r\n  </beanio>\r\n"}], "FlatFileProcessingJob_scriptsFlow": [{"string": "org.meveo.service.script.CdrCsvImportScript"}], "FlatFileProcessingJob_formatTransfo": [{"string": "None"}], "FlatFileProcessingJob_originFilename": [{"string": "origin_filename"}], "FlatFileProcessingJob_nbLinesToProcess": [{"long": 1}], "FlatFileProcessingJob_fileNameExtension": [{"string": "csv"}], "FlatFileProcessingJob_recordVariableName": [{"string": "record"}]}');

INSERT INTO meveo_job_instance (id, version, disabled, created, updated, uuid, code, description, job_category, job_template, parametres, creator, updater, timerentity_id, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), NULL, 'FlatFileImportCDR', 'FlatFileImportCDR', 'FlatFileImportCDR', 'MEDIATION', 'ScriptingJob', NULL, 'opencell.admin', NULL, NULL, '{"ScriptingJob_script":[{"entity":{"classname":"org.meveo.model.scripts.ScriptInstance","code":"org.meveo.service.script.CdrFlatFileImportScript","id":-30}}],"ScriptingJob_TransactionType":[{"string":"REQUIRES_NEW"}]}');

INSERT INTO meveo_job_instance (id, version, disabled, created, updated, uuid, code, description, job_category, job_template, parametres, creator, updater, timerentity_id, cf_values) VALUES (nextval('meveo_job_instance_seq'), 0, 0, NOW(), NULL, 'JsonImportCDR', 'JsonImportCDR', 'JsonImportCDR', 'MEDIATION', 'ScriptingJob', NULL, 'opencell.admin', NULL, NULL, '{"ScriptingJob_script":[{"entity":{"classname":"org.meveo.model.scripts.ScriptInstance","code":"org.meveo.service.script.CdrJsonImportScript","id":-30}}],"ScriptingJob_TransactionType":[{"string":"REQUIRES_NEW"}]}');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, value_required, creator, versionable, storage_type, gui_position, allow_edit, hide_on_new, inh_as_def_value, max_value, cf_protectable) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'pathFile', 'JobInstance_ScriptingJob', 'pathFile', 'STRING', '0', 'applicationInitializer', '0', 'SINGLE', '', '1', '0', '0', 256, '0');

INSERT INTO crm_custom_field_tmpl (id, version, disabled, created, code, applies_to, description, field_type, value_required, creator, versionable, storage_type, gui_position, allow_edit, hide_on_new, inh_as_def_value, mapkey_type, max_value, cf_protectable) VALUES (nextval('crm_custom_fld_tmp_seq'), 0, 0, NOW(), 'mapping', 'JobInstance_ScriptingJob', 'mapping', 'STRING', '0', 'applicationInitializer', '0', 'MAP', '', '1', '0', '0', 'STRING', 256, '0');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-3_20221006-jobs', 'MohamedChaouki', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4867, '8:cd88963edd9f83ade33cc83080352aa6', 'insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=crm_custom_field_tmpl; insert tableName=crm_custom_field_tmpl', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#OUTRD-49_20220913-scripts::HamzaBiadi
INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.CustomerImportScript', NOW(), 'opencell.admin', 0, 'JAVA_CLASS');

INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.CustomerAccountImportScript', NOW(), 'opencell.admin', 0, 'JAVA_CLASS');

INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.PaymentMethodImportScript', NOW(), 'opencell.admin', 0, 'JAVA_CLASS');

INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.BillingAccountImportScript', NOW(), 'opencell.admin', 0, 'JAVA_CLASS');

INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.UserAccountImportScript', NOW(), 'opencell.admin', 0, 'JAVA_CLASS');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-49_20220913-scripts', 'HamzaBiadi', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4869, '8:be5a8c4a332a44cd9080bd549d3c40cb', 'insert tableName=meveo_script_instance; insert tableName=meveo_script_instance; insert tableName=meveo_script_instance; insert tableName=meveo_script_instance; insert tableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#OUTRD-49-SUB_20220914-scripts::HamzaBiadi
INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.SubscriptionMassImportScript', NOW(), 'opencell.admin', 0, 'JAVA_CLASS');

INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.ServiceInstanceImportScript', NOW(), 'opencell.admin', 0, 'JAVA_CLASS');

INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.AttributeInstanceImportScript', NOW(), 'opencell.admin', 0, 'JAVA_CLASS');

INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.AccessPointImportScript', NOW(), 'opencell.admin', 0, 'JAVA_CLASS');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-49-SUB_20220914-scripts', 'HamzaBiadi', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4871, '8:67f2883d1ba669673ecd20df2245d1da', 'insert tableName=meveo_script_instance; insert tableName=meveo_script_instance; insert tableName=meveo_script_instance; insert tableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD_11783_20221201_compate_invoice_amount::a.rouaguebe
INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type, description, description_i18n, script_instance_cat_id) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.CompareInvoiceAmountScript', NOW(), 'OPENCELL.ADMIN', 1, 'JAVA_CLASS', 'Invoice amount will be compared to provided amount using the selected operator.', '{"FRA":"Le montant de la facture sera comparé au montant indiqué en utilisant l’opérateur sélectionné.", "EN": "Invoice amount will be compared to provided amount using the selected operator."}', (SELECT id FROM meveo_script_instance_cat WHERE code='INVOICE_VALIDATION'));

INSERT INTO meveo_script_parameter (id, version, code, script_instance_id, description_i18n, class_name, default_value, mandatory, allowed_values, values_separator, collection) VALUES (nextval('meveo_script_parameter_seq'), 0, 'withOrWithoutTax', (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.CompareInvoiceAmountScript'), '{"FRA":"Montant à tester","ENG":"Amount to test"}', 'java.lang.String', 'without tax', 1, 'without tax|with tax', '\|', 0);

INSERT INTO meveo_script_parameter (id, version, code, script_instance_id, description_i18n, class_name, default_value, mandatory, allowed_values, values_separator, collection) VALUES (nextval('meveo_script_parameter_seq'), 0, 'operator', (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.CompareInvoiceAmountScript'), '{"FRA":"Operateur de comparaison","ENG":"Comparison operator"}', 'java.lang.String', '>', 1, '<|≤|=|≠|>|≥', '\|', 0);

INSERT INTO meveo_script_parameter (id, version, code, script_instance_id, description_i18n, class_name, default_value, mandatory, values_separator, collection) VALUES (nextval('meveo_script_parameter_seq'), 0, 'value', (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.CompareInvoiceAmountScript'), '{"FRA":"Valeur","ENG":"Value"}', 'java.math.BigDecimal', '0', 1, '\|', 0);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD_11783_20221201_compate_invoice_amount', 'a.rouaguebe', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4873, '8:ddc0886c27184f011bc13287d8c3f552', 'insert tableName=meveo_script_instance; insert tableName=meveo_script_parameter; insert tableName=meveo_script_parameter; insert tableName=meveo_script_parameter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD_12001_20221205_rebuild::TarikFA.
INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type, description, description_i18n, script_instance_cat_id) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.CompareOfferAmountScript', NOW(), 'OPENCELL.ADMIN', 1, 'JAVA_CLASS', 'Amount invoiced for each offer in the list will be compared to the provided value using the selected operator If offer list is empty, then rule will be ignored. Only offer actually present on invoice will be tested.', '{"FRA":"<p>Le montant facturé pour chacune des offres dans la liste sera comparé à la valeur indiquée, en utilisant l’opérateur sélectionné.</p><p>Si la liste des offres est vide, alors la règle sera ignorée.</p><p>Seules les offres effectivement présentes sur la facture seront testées.</p>","ENG":"<p>Amount invoiced for each offer in the list will be compared to the provided value using the selected operator</p><p>If offer list is empty, then rule will be ignored.</p><p>Only offer actually present on invoice will be tested.</p>"}', (SELECT id FROM meveo_script_instance_cat WHERE code='INVOICE_VALIDATION'));

INSERT INTO meveo_script_parameter (id, version, code, description_i18n, class_name, mandatory, values_separator, collection, script_instance_id) VALUES (nextval('meveo_script_parameter_seq'), 0, 'offers', '{"FRA":"Offres à vérifier","ENG":"Offers to check"}', 'org.meveo.model.catalog.OfferTemplate', 0, '\|', 1, (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.CompareOfferAmountScript'));

INSERT INTO meveo_script_parameter (id, version, code, description_i18n, class_name, default_value, mandatory, allowed_values, values_separator, collection, script_instance_id) VALUES (nextval('meveo_script_parameter_seq'), 0, 'withOrWithoutTax', '{"FRA":"Montant à tester","ENG":"Amount to test"}', 'java.lang.String', 'without tax', 1, 'without tax|with tax', '\|', 0, (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.CompareOfferAmountScript'));

INSERT INTO meveo_script_parameter (id, version, code, description_i18n, class_name, default_value, mandatory, allowed_values, values_separator, collection, script_instance_id) VALUES (nextval('meveo_script_parameter_seq'), 0, 'operator', '{"FRA":"Operateur de comparaison","ENG":"Comparison operator"}', 'java.lang.String', '>', 1, '<|≤|=|≠|>|≥', '\|', 0, (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.CompareOfferAmountScript'));

INSERT INTO meveo_script_parameter (id, version, code, description_i18n, class_name, default_value, mandatory, values_separator, collection, script_instance_id) VALUES (nextval('meveo_script_parameter_seq'), 0, 'value', '{"FRA":"Valeur","ENG":"Value"}', 'java.math.BigDecimal', '0', 1, '\|', 0, (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.CompareOfferAmountScript'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD_12001_20221205_rebuild', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4875, '8:06e11b52b7e8170fa245c812da528baf', 'insert tableName=meveo_script_instance; insert tableName=meveo_script_parameter; insert tableName=meveo_script_parameter; insert tableName=meveo_script_parameter; insert tableName=meveo_script_parameter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-12103_20221215_rebuild::HichamHANINE
INSERT INTO meveo_script_instance (id, code, created, creator, version, src_type, description, description_i18n, script_instance_cat_id) VALUES (nextval('meveo_script_instance_seq'), 'org.meveo.service.script.CompareOfferLinesAmountScript', NOW(), 'OPENCELL.ADMIN', 1, 'JAVA_CLASS', 'Amount of each invoice line coming from offers in the list will be compared to the provided value using the selected operator. Only offer from the list actually present on invoice will be tested. If offer list is empty, then all invoice lines will be tested regardless of their offer. For the test to pass, all tested invoice lines must pass the test.', '{"ENG":"<p>Amount of each invoice line coming from offers in the list will be compared to the provided value using the selected operator.</p><p>Only offer from the list actually present on invoice will be tested</p><p>If offer list is empty, then all invoice lines will be tested regardless of their offer.</p><p>For the test to pass, all tested invoice lines must pass the test.</p>",
				"FRA":"<p>Le montant de chaque ligne de facture provenant d’une offre de la liste sera comparé à la valeur indiquée, en utilisant l’opérateur sélectionné.</p><p>Seule les offres de la liste effectivement présentes sur la facture seront testées.</p><p>Si la liste des offres est vide, alors toutes les lignes de facture seront testées, quelle que soit leur offre.</p><p>Pour que le teste passe, toutes les lignes de facture testées doivent passer le test.</p>"}', (SELECT id FROM meveo_script_instance_cat WHERE code='INVOICE_VALIDATION'));

INSERT INTO meveo_script_parameter (id, version, code, description_i18n, class_name, mandatory, values_separator, collection, script_instance_id) VALUES (nextval('meveo_script_parameter_seq'), 0, 'offers', '{"FRA":"Offres à vérifier","ENG":"Offers to check"}', 'org.meveo.model.catalog.OfferTemplate', 0, '\|', 1, (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.CompareOfferLinesAmountScript'));

INSERT INTO meveo_script_parameter (id, version, code, description_i18n, class_name, default_value, mandatory, allowed_values, values_separator, collection, script_instance_id) VALUES (nextval('meveo_script_parameter_seq'), 0, 'withOrWithoutTax', '{"FRA":"Montant à tester","ENG":"Amount to test"}', 'java.lang.String', 'without tax', 1, 'without tax|with tax', '\|', 0, (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.CompareOfferLinesAmountScript'));

INSERT INTO meveo_script_parameter (id, version, code, description_i18n, class_name, default_value, mandatory, allowed_values, values_separator, collection, script_instance_id) VALUES (nextval('meveo_script_parameter_seq'), 0, 'operator', '{"FRA":"Operateur de comparaison","ENG":"Comparison operator"}', 'java.lang.String', '>', 1, '<|≤|=|≠|>|≥', '\|', 0, (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.CompareOfferLinesAmountScript'));

INSERT INTO meveo_script_parameter (id, version, code, description_i18n, class_name, default_value, mandatory, values_separator, collection, script_instance_id) VALUES (nextval('meveo_script_parameter_seq'), 0, 'value', '{"FRA":"Valeur","ENG":"Value"}', 'java.math.BigDecimal', '0', 1, '\|', 0, (SELECT id FROM meveo_script_instance WHERE code='org.meveo.service.script.CompareOfferLinesAmountScript'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-12103_20221215_rebuild', 'HichamHANINE', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4877, '8:2d74cd2ab7d86138974ae143bcca2098', 'insert tableName=meveo_script_instance; insert tableName=meveo_script_parameter; insert tableName=meveo_script_parameter; insert tableName=meveo_script_parameter; insert tableName=meveo_script_parameter', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-14122_20230221::hichamELHALOUI
INSERT INTO cpq_tag_type (id, created, code, description) VALUES ('-1', NOW(), 'tunnel', 'Tunnel');

INSERT INTO cpq_tag (id, created, code, description, tag_type_id) VALUES ('-1', NOW(), 'featured', 'Featured', '-1');

INSERT INTO crm_customer_category (id, version, uuid, created, code, description, accounting_code_id, tax_category_id) VALUES (-3, 0, 'CCC_B2B', NOW(), 'B2B', 'B2B', (select id from billing_accounting_code where code = '410000000'), -3);

INSERT INTO crm_customer_category (id, version, uuid, created, code, description, accounting_code_id, tax_category_id) VALUES (-4, 0, 'CCC_regular_account', NOW(), 'regular account', 'regular account', (select id from billing_accounting_code where code = '410000000'), -3);

INSERT INTO cat_offer_template_category (id, version, created, code, name, order_level) VALUES (-1, 0, NOW(), 'new', 'New', 0);

INSERT INTO cat_offer_template_category (id, version, created, code, name, order_level) VALUES (-2, 0, NOW(), 'standard', 'Standard', 0);

INSERT INTO cat_channel (id, version, created, code, description) VALUES (-1, 0, NOW(), 'backoffice', 'Backoffice');

INSERT INTO cat_channel (id, version, created, code, description) VALUES (-2, 0, NOW(), 'web', 'Web');

INSERT INTO adm_title (id, version, creator, created, code, description, is_company, description_i18n) VALUES (-8, 0, 'OPENCELL.ADMIN', NOW(), 'SA', 'French joint-stock company', 1, '{"FRA":"Société Anonyme","ENG":"French joint-stock company"}');

INSERT INTO adm_title (id, version, creator, created, code, description, is_company, description_i18n) VALUES (-9, 0, 'OPENCELL.ADMIN', NOW(), 'SARL', 'French limited liability company', 1, '{"FRA":"Société a responsabilité limitée","ENG":"French limited liability company"}');

INSERT INTO adm_title (id, version, creator, created, code, description, is_company, description_i18n) VALUES (-10, 0, 'OPENCELL.ADMIN', NOW(), 'SAS', 'Simplified joint-stock corporation', 1, '{"FRA":"Société par actions simplifiée","ENG":"Simplified joint-stock corporation"}');

INSERT INTO adm_title (id, version, creator, created, code, description, is_company, description_i18n) VALUES (-11, 0, 'OPENCELL.ADMIN', NOW(), 'PLC', 'Public limited company', 1, '{"FRA":"société ouverte à responsabilité limitée","ENG":"Public limited company"}');

INSERT INTO adm_title (id, version, creator, created, code, description, is_company, description_i18n) VALUES (-12, 0, 'OPENCELL.ADMIN', NOW(), 'LTD', 'Private company limited by shares', 1, '{"FRA":"Société privée limité par actions","ENG":"Private company limited by shares"}');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14122_20230221', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4879, '8:df357e6a1918f81a74648c64bec99d39', 'insert tableName=cpq_tag_type; insert tableName=cpq_tag; insert tableName=crm_customer_category; insert tableName=crm_customer_category; insert tableName=cat_offer_template_category; insert tableName=cat_offer_template_category; insert tableName=c...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-13074_20230214::zelmeliani
INSERT INTO ar_customer_balance (id, version, created, creator, code, description, default_balance) VALUES ('-1', '0', NOW(), 'applicationInitializer', 'default_customer_balance', 'Default Customer Balance', '1');

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'INV_ADV'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'PAY_WIRE'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'PAY_CASH'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'PAY_BATCH'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'PAY_STP'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'PAY_PAL'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'CRD_TRS'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'DBT_TRS'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'PAY_CRD'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'EXP_WRT'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'REF_TIP'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'INV_CRN'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'INV_DIS'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'INV_REB'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'REJ_RDD'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'REJ_RCR'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'REJ_CRD'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'TAX_VAT_10'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'TAX_VAT_20'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'TAX_VAT_05'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'TAX_VAT_00'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'REF_CRD'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'ADJ_INV'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'ADJ_REF'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'INV_STD'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'INV_FEE'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'PAY_DEP'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'RND_INC'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'RND_EXP'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'REF_DDT'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'REF_CHK'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'PAY_REC'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'PAY_NID'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'REJ_TIP'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'REJ_DDT'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'REJ_CHK'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'PAY_DDT'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'PAY_TIP'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'PAY_CHK'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO ar_customer_balance_templates (template_id, customer_balance_id) VALUES ((SELECT id FROM ar_occ_template WHERE code = 'PAY_SD'), (SELECT id FROM ar_customer_balance WHERE code = 'default_customer_balance'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13074_20230214', 'zelmeliani', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4881, '8:768f5fac0c42ded6f6b61603a1d99d32', 'insert tableName=ar_customer_balance; insert tableName=ar_customer_balance_templates; insert tableName=ar_customer_balance_templates; insert tableName=ar_customer_balance_templates; insert tableName=ar_customer_balance_templates; insert tableName=...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-14750_20230331_build::TarikFA.
INSERT INTO meveo_job_instance (id, version, disabled, created, job_category, job_template, code, creator, uuid) VALUES (-65, 0, 1, '2023-03-31 15:51:00', 'INVOICING', 'DuplicateRatedTransactionJob', 'DuplicateRatedTransactionJob', 'OPENCELL.ADMIN', 'DuplicateRatedTransactionJob-UUID');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14750_20230331_build', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4883, '8:74b20981055308afd8842e1ceb5b353f', 'insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-2698-20211028::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-2698-20211028', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4885, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-4950-20220208-script::MohammedSTITANE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4950-20220208-script', 'MohammedSTITANE', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4887, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-12546_20221230_rebuild::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12546_20221230_rebuild', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4889, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-12891_20230105::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12891_20230105', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4891, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-6283_20220404::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6283_20220404', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4893, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-6291_20220406::AbdelmounaimAkadid
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6291_20220406', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4895, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-6162_20220407::TarikRabeh
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-6162_20220407', 'TarikRabeh', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4897, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-6283_20220422::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6283_20220422', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4899, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-6908_20220503::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-6908_20220503', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4901, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-8004_210622::AbdelkaderBouazza
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8004_210622', 'AbdelkaderBouazza', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4903, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-10199_20221010::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10199_20221010', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4905, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-10592_20221014::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-10592_20221014', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4907, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-11122_20221104::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-11122_20221104', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4909, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-13237_20230119::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-13237_20230119', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4911, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-13608_20230130::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-13608_20230130', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4913, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-13629_20230203::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-13629_20230203', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4915, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-4267_20220108::AmineBENAICHA
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-4267_20220108', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4917, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#OUTRD-3_20221006-custom-field::MohamedChaouki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-3_20221006-custom-field', 'MohamedChaouki', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4919, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#OUTRD-63-SUB_20220926-scripts::Ilham-Chafik
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-63-SUB_20220926-scripts', 'Ilham-Chafik', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4921, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#OUTRD-56-SUB_20220926-scripts::Ilham-Chafik
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#OUTRD-56-SUB_20220926-scripts', 'Ilham-Chafik', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4923, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-6075_20220330::aelmalki
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-6075_20220330', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4925, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-8420_20220708::hichamHANINE
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-8420_20220708', 'hichamHANINE', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4927, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#4082_20190404::SaidRamli
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#4082_20190404', 'SaidRamli', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4929, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#5308_20200618 - Add script::AndriusKarpavicius
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5308_20200618 - Add script', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4931, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-12906_20230112::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-12906_20230112', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4933, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-15189_20230327::hichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-15189_20230327', 'hichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4935, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-14750_20230331::TarikFA.
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-14750_20230331', 'TarikFA.', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4937, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-13682_20230510::AbdellatifBARI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13682_20230510', 'AbdellatifBARI', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4939, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-16066_20230515::AbdellatifBARI.
INSERT INTO billing_accounting_article (id, version, code, tax_class_id, invoice_sub_category_id, description_i18n, description, created, creator, uuid) VALUES ('-1', 0, 'ADV-STD', '-3', '-3', '{"FRA":"Acompte","ENG":"Advance payment"}', 'Advance payment', NOW(), 'applicationInitializer', 'billing_accounting_article-ADV-STD');

INSERT INTO billing_accounting_article (id, version, code, tax_class_id, invoice_sub_category_id, description_i18n, description, created, creator, uuid) VALUES ('-2', 0, 'DISC-STD', '-5', '-3', '{"FRA":"Remise de pied de facture","ENG":"Invoice discount"}', 'Invoice discount', NOW(), 'applicationInitializer', 'billing_accounting_article-DISC-STD');

INSERT INTO billing_accounting_article (id, version, code, tax_class_id, invoice_sub_category_id, description_i18n, description, created, creator, uuid) VALUES ('-3', 0, 'ART-STD', '-5', '-3', '{"FRA":"Article standard","ENG":"Standard article"}', 'Standard article', NOW(), 'applicationInitializer', 'billing_accounting_article-ART-STD');

INSERT INTO billing_accounting_article (id, version, code, tax_class_id, invoice_sub_category_id, description_i18n, description, created, creator, uuid) VALUES ('-4', 0, 'MIN-STD', '-5', '-3', '{"FRA":"Complément du minimum de facturation","ENG":"Invoice minimum complement"}', 'Invoice minimum complement', NOW(), 'applicationInitializer', 'billing_accounting_article-MIN-STD');

INSERT INTO billing_accounting_article (id, version, code, tax_class_id, invoice_sub_category_id, description_i18n, description, created, creator, uuid) VALUES ('-10', 0, 'PROD-STD', '-5', '-2', '{"FRA":"Remise de pied de facture","ENG":"Invoice discount"}', 'Invoice discount', NOW(), 'applicationInitializer', '63ef9cee-f498-4908-PROD-STD');

INSERT INTO billing_accounting_article (id, version, code, tax_class_id, accounting_code_id, invoice_sub_category_id, invoice_type_id, description, created, creator, uuid, allowance_code) VALUES ('-11', 0, 'ART_SECURITY_DEPOSIT', '-3', '-2', '-4', '-6', 'Article Security Deposit', NOW(), 'opencell.admin', 'billing_accounting_article_art_security_deposit', (SELECT id FROM untdid_5189_allowance_code Where code = '95'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16066_20230515', 'AbdellatifBARI.', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4941, '8:190a83a1bd4b20cf19eb46b1f9ff2ab7', 'insert tableName=billing_accounting_article; insert tableName=billing_accounting_article; insert tableName=billing_accounting_article; insert tableName=billing_accounting_article; insert tableName=billing_accounting_article; insert tableName=billi...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-17572_20230721-ADJ-REF::aelmalki
INSERT INTO billing_invoice_type_applies_to (invoice_type_id, applies_to_id) VALUES ((SELECT id FROM billing_invoice_type WHERE code = 'ADJ_REF'), (SELECT id FROM billing_invoice_type WHERE code = 'COM'));

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-17572_20230721-ADJ-REF', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4943, '8:0e883f12152a9810700441c9b06851ef', 'insert tableName=billing_invoice_type_applies_to', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::INTRD-12463_20230821::aelmalki
UPDATE billing_invoice_configuration SET default_advanced_payment_article_id = (SELECT id FROM billing_accounting_article WHERE code = 'ADV-STD');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-12463_20230821', 'aelmalki', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4945, '8:dfa75edd32a4e0f29eea103a94169d55', 'update tableName=billing_invoice_configuration', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#INTRD-16859_20230626::aeljaouhari
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-16859_20230626', 'aeljaouhari', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4947, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-demo.xml::#liquibase_hack_data::AbdelmounaimAkadid
update databasechangelog set filename='src/main/db_resources/changelog/current/data.xml' where filename='src/main/db_resources/changelog/rebuild/data-demo.xml';

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#liquibase_hack_data', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/data-demo.xml', NOW(), 4949, '8:807572086408427b2026a0afd884f47f', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-scripts.xml::rebuild-data-decisionRule::AndriusKarpavicius
INSERT INTO wf_decision_rule (id, version, condition_el, name, type, value, model) VALUES (1, 0, '#{mv:getCFValue(entity,''Territory'')==_VALUE_}', 'Territory', 'STRING', 'Other', 1);

INSERT INTO wf_decision_rule (id, version, condition_el, name, type, value, model) VALUES (2, 0, '#{mv:getCFValue(entity,''Territory'')==_VALUE_}', 'Territory', 'STRING', 'south', 0);

INSERT INTO wf_decision_rule (id, version, condition_el, name, type, value, model) VALUES (3, 0, '#{mv:getCFValue(entity,''Territory'')==_VALUE_}', 'Territory', 'STRING', 'west', 1);

INSERT INTO wf_decision_rule (id, version, condition_el, name, type, value, model) VALUES (4, 0, '#{mv:getCFValue(entity,''Territory'')==_VALUE_}', 'Territory', 'STRING', 'north', 0);

INSERT INTO wf_decision_rule (id, version, condition_el, name, type, value, model) VALUES (5, 0, '#{mv:getCFValue(entity,''SalesAmount'')==_VALUE_}', 'Sales amount', 'STRING', 'Other', 1);

INSERT INTO wf_decision_rule (id, version, condition_el, name, type, value, model) VALUES (6, 0, '#{mv:getCFValue(entity,''AccountType'')==_VALUE_}', 'Account Type', 'STRING', 'Other', 1);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-decisionRule', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-scripts.xml', NOW(), 4951, '8:f930a981aaa793592039fb53245adaff', 'insert tableName=wf_decision_rule; insert tableName=wf_decision_rule; insert tableName=wf_decision_rule; insert tableName=wf_decision_rule; insert tableName=wf_decision_rule; insert tableName=wf_decision_rule', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-scripts.xml::rebuild-data-paymentGateway::AndriusKarpavicius
INSERT INTO crm_provider_pay_methods (provider_id, payment_method) VALUES (1, 'CARD');

INSERT INTO crm_provider_pay_methods (provider_id, payment_method) VALUES (1, 'DIRECTDEBIT');

INSERT INTO crm_provider_pay_methods (provider_id, payment_method) VALUES (1, 'PAYPALPAYMENTLINK');

INSERT INTO crm_provider_pay_methods (provider_id, payment_method) VALUES (1, 'STRIPEDIRECTLINK');

INSERT INTO crm_provider_pay_methods (provider_id, payment_method) VALUES (1, 'CHECK');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-paymentGateway', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-scripts.xml', NOW(), 4953, '8:c5e526e0913aa527f9d8262c08bfe7bd', 'insert tableName=crm_provider_pay_methods; insert tableName=crm_provider_pay_methods; insert tableName=crm_provider_pay_methods; insert tableName=crm_provider_pay_methods; insert tableName=crm_provider_pay_methods', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-scripts.xml::rebuild-data-payment-gateway::AndriusKarpavicius
INSERT INTO meveo_script_instance (id, version, code, src_type, description, created, script) VALUES (-10, 0, 'org.meveo.service.script.demo.CustomGatewayPaymentScript', 'JAVA_CLASS', 'CustomGatewayPaymentScript demo implementation', NOW(), 'package org.meveo.service.script.demo;
					
					import java.io.StringReader;
					import java.util.Date;
					import java.util.Map;
					import javax.xml.xpath.*;
					import org.meveo.admin.exception.BusinessException;
					import org.meveo.model.payments.*;
					import org.meveo.service.script.payment.PaymentScript;
					import org.slf4j.Logger;
					import org.slf4j.LoggerFactory;
					import org.xml.sax.InputSource;
					
					/**
					 * @author anasseh
					 */
					public class CustomGatewayPaymentScript extends PaymentScript {
						private static final Logger log = LoggerFactory.getLogger(CustomGatewayPaymentScript.class);
					
						public void createCardToken(Map<String, Object> methodContext) throws BusinessException {
							log.info("createCardToken  methodContext {} ", methodContext);
							methodContext.put(PaymentScript.RESULT_TOKEN,
									"7ced0000-3ab2-000d-6a50-08d4b8a6" + (int) (Math.random() * 1000 + 1));
						}
					
						public void doPaymentToken(Map<String, Object> methodContext) throws BusinessException {
							doIt(methodContext, "PAL");
						}
					
						public void doPaymentCard(Map<String, Object> methodContext) throws BusinessException {
							doIt(methodContext, "PAL_CARD");
						}
					
						public void doRefundToken(Map<String, Object> methodContext) throws BusinessException {
							doIt(methodContext, "RFD");
						}
					
						public void doRefundCard(Map<String, Object> methodContext) throws BusinessException {
							doIt(methodContext, "RFD_CARD");
						}
					
						@Override
						public void doPaymentSepa(Map<String, Object> methodContext) throws BusinessException {
							log.info("doPaymentSepa  methodContext {} ", methodContext);
							doIt(methodContext, "PAL_SEPA");
						}
					
						@Override
						public void cancelPayment(Map<String, Object> methodContext) throws BusinessException {
							log.info("cancelPayment  methodContext {} ", methodContext);
						}
					
						@Override
						public void doRefundSepa(Map<String, Object> methodContext) throws BusinessException {
							log.info("doRefundSepa  methodContext {} ", methodContext);
							doIt(methodContext, "RFD_SEPA");
						}
					
						@Override
						public void checkPayment(Map<String, Object> methodContext) throws BusinessException {
							try {
								log.info("checkPayment  methodContext {} ", methodContext);
								String paymentResponse = "<root>";
								paymentResponse += "<STATUS>92</STATUS>";
								paymentResponse += "<PAYID>" + ((int) (Math.random() * 100000 + 1)) + "</PAYID>";
								paymentResponse += "<TRANSACTIONID>92</TRANSACTIONID>";
								paymentResponse += "<CRMTOKEN>clientSide</CRMTOKEN>";
								paymentResponse += "<BRAND>VISA</BRAND>";
								paymentResponse += "<ACCEPTENCE>bankRef</ACCEPTENCE>";
								paymentResponse += "</root>";
								methodContext.put(PaymentScript.RESULT_PAYMENT_STATUS, PaymentStatusEnum.PENDING);
								methodContext.put(PaymentScript.RESULT_PAYMENT_ID, getValue(paymentResponse, "/root/PAYID"));
								methodContext.put(PaymentScript.RESULT_TRANSACTION_ID, getValue(paymentResponse, "/root/TRANSACTIONID"));
								methodContext.put(PaymentScript.RESULT_CODE_CLIENT_SIDE, getValue(paymentResponse, "/root/CRMTOKEN"));
								methodContext.put(PaymentScript.RESULT_PAYMENT_BRAND, getValue(paymentResponse, "/root/BRAND"));
								methodContext.put(PaymentScript.RESULT_BANK_REFERENCE, getValue(paymentResponse, "/root/ACCEPTENCE"));
							} catch (Exception e) {
								throw new BusinessException(e.getMessage());
							}
						}
					
						@Override
						public void checkMandat(Map<String, Object> methodContext) throws BusinessException {
							log.info("checkMandat  methodContext {} ", methodContext);
							methodContext.put(PaymentScript.RESULT_MANDAT_ID, methodContext.get(PaymentScript.CONTEXT_MANDAT_ID));
							methodContext.put(PaymentScript.RESULT_MANDAT_REF, methodContext.get(PaymentScript.CONTEXT_MANDAT_REF));
							methodContext.put(PaymentScript.RESULT_STATE, MandatStateEnum.active);
							methodContext.put(PaymentScript.RESULT_STANDARD, PaymentScript.RESULT_STANDARD);
							methodContext.put(PaymentScript.RESULT_INT_SCORE, "12");
							methodContext.put(PaymentScript.RESULT_DATE_CREATED, new Date());
							methodContext.put(PaymentScript.RESULT_DATE_SIGNED, new Date());
							methodContext.put(PaymentScript.RESULT_SCHEME, PaymentScript.RESULT_SCHEME);
							methodContext.put(PaymentScript.RESULT_BIC, PaymentScript.RESULT_BIC);
							methodContext.put(PaymentScript.RESULT_IBAN, PaymentScript.RESULT_IBAN);
							methodContext.put(PaymentScript.RESULT_BANK_NAME, PaymentScript.RESULT_BANK_NAME);
						}
					
						@Override
						public void getHostedCheckoutUrl(Map<String, Object> methodContext) throws BusinessException {
							log.info("getHostedCheckoutUrl  methodContext {} ", methodContext);
					
							methodContext.put(PaymentScript.RESULT_HOSTED_CO_URL, "https://dump.url.com/checkoutPageUrl");
							methodContext.put(PaymentScript.RESULT_HOSTED_CO_ID, "123456789");
					
						}
					
						@Override
						public void createInvoice(Map<String, Object> methodContext) throws BusinessException {
							log.info("createInvoice  methodContext {} ", methodContext);
							methodContext.put(PaymentScript.RESULT_HOSTED_CO_URL, "https://dump.url.com/invoicePageUrl");
						}
					
						@Override
						public void createSepaDirectDebitToken(Map<String, Object> methodContext) throws BusinessException {
							log.info("createSepaDirectDebitToken  methodContext {} ", methodContext);
							methodContext.put(PaymentScript.RESULT_TOKEN,
									"7ced0000-3ab2-000d-6a50-08d4b8a6" + (int) (Math.random() * 1000 + 1));
					
						}
					
						@Override
						public void createMandate(Map<String, Object> methodContext) throws BusinessException {
							log.info("createMandate  methodContext {} ", methodContext);
					
						}
					
						@Override
						public void approveSepaDDMandate(Map<String, Object> methodContext) throws BusinessException {
							log.info("approveSepaDDMandate  methodContext {} ", methodContext);
					
						}
					
						@Override
						public void getHostedCheckoutStatus(Map<String, Object> methodContext) throws BusinessException {
							log.info("getHostedCheckoutStatus  methodContext {} ", methodContext);
							methodContext.put(PaymentScript.RESULT_HOSTED_CO_STATUS, PaymentScript.RESULT_HOSTED_CO_STATUS);
							methodContext.put(PaymentScript.RESULT_PAYMENT_ID, "123456");
							methodContext.put(PaymentScript.RESULT_PAYMENT_STATUS, PaymentStatusEnum.ACCEPTED);
					
						}
					
						private void doIt(Map<String, Object> methodContext, String operationType) throws BusinessException {
							try {
								log.debug("EXECUTE  methodContext {} ", methodContext);
								Long amountCts = (Long) methodContext.get(PaymentScript.CONTEXT_AMOUNT_CTS);
								if (amountCts == null) {
									throw new BusinessException("amountCts is null");
								}
					
								// DEMO : get tokenId or card infos from context
								String body = "{";
								body += " \"PSPID\" : \"PSPID\" ,";
								body += " \"USERID\" : \"USERID\" ,";
								body += " \"PSWD\" : \"PSWD\" ,";
								body += " \"REFKIND\" :  \"PSPID\" ,";
								body += " \"REFID\" : \"PSPID\" ,";
								body += " \"OPERATION\" : \"" + operationType + "\" ,";
								body += " \"AMOUNT\" : \"" + amountCts.longValue() + "\" ,";
								body += " \"SHASIGN\" : \"SHASIGN\" ,";
								body += " }";
					
								String paymentResponse = "<root>";
								paymentResponse += "<STATUS>92</STATUS>";
								paymentResponse += "<PAYID>" + ((int) (Math.random() * 100000 + 1)) + "</PAYID>";
								paymentResponse += "<TRANSACTIONID>92</TRANSACTIONID>";
								paymentResponse += "<CRMTOKEN>clientSide</CRMTOKEN>";
								paymentResponse += "<BRAND>VISA</BRAND>";
								paymentResponse += "<ACCEPTENCE>bankRef</ACCEPTENCE>";
								paymentResponse += "</root>";
								methodContext.put(PaymentScript.RESULT_PAYMENT_STATUS, PaymentStatusEnum.PENDING);
								methodContext.put(PaymentScript.RESULT_PAYMENT_ID, getValue(paymentResponse, "/root/PAYID"));
								methodContext.put(PaymentScript.RESULT_TRANSACTION_ID, getValue(paymentResponse, "/root/TRANSACTIONID"));
								methodContext.put(PaymentScript.RESULT_CODE_CLIENT_SIDE, getValue(paymentResponse, "/root/CRMTOKEN"));
								methodContext.put(PaymentScript.RESULT_PAYMENT_BRAND, getValue(paymentResponse, "/root/BRAND"));
								methodContext.put(PaymentScript.RESULT_BANK_REFERENCE, getValue(paymentResponse, "/root/ACCEPTENCE"));
							} catch (Exception e) {
								throw new BusinessException(e.getMessage());
							}
						}
					
						private String getValue(String sourceXML, String expression) throws XPathExpressionException {
							InputSource iSource = new InputSource(new StringReader(sourceXML));
							XPathFactory xpathFactory = XPathFactory.newInstance();
							XPath xpath = xpathFactory.newXPath();
							return xpath.evaluate(expression, iSource);
						}
					}');

INSERT INTO public.meveo_script_instance (id, version, disabled, created, code, description, src_type, script) VALUES (-11  , 0, 0,  now(), 'org.meveo.service.script.demo.PaymentCallBackScript', 'PaymentCallBackScript', 'JAVA_CLASS', null);

INSERT INTO public.ar_payment_gateway (id, version, disabled, created, updated, code, description, type, payment_method, card_type,
        implementation_class_name, script_instance_id, trading_currency_id, application_el, uuid, creator) VALUES (-1, 0, 0,  now(), NULL, 'GatewayDemo_CARD', 'GatewayDemo CARD for Demo', 'CUSTOM', 'CARD', NULL, NULL, -10, NULL, NULL,
          '3bb099a3-e72d-49ea-9d96-908e74569e02', 'opencell.admin');

INSERT INTO public.ar_payment_gateway (id, version, disabled, created, updated, code, description, type, payment_method, card_type,
        implementation_class_name, script_instance_id, trading_currency_id, application_el, uuid, creator) VALUES (-2, 0, 0,  now(), NULL, 'GatewayDemo_DD', 'GatewayDemo DirectDebit for Demo', 'CUSTOM', 'DIRECTDEBIT', NULL, NULL, -10, NULL, NULL,
          '45b099a3-e72d-49ee-9d56-908e74569e56', 'opencell.admin');

INSERT INTO public.adm_notification (id, version, disabled, created, updated, code, description, class_name_filter, event_expression_filter, event_type_filter, creator, updater, counter_instance_id, counter_template_id, script_instance_id, priority) VALUES (-10, 0, 0,  now(), NULL, 'PaymentCallBack', NULL, 'org.meveo.model.notification.InboundRequest',
          '#{event.pathInfo.startsWith("/DEMO/custom_payment-callback?")}', 'INBOUND_REQ', 'opencell.admin', NULL, NULL, NULL, -11, 0);

INSERT INTO public.adm_notification_params VALUES (-10, '#{event.getParameters()}', 'params');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-payment-gateway', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-scripts.xml', NOW(), 4955, '8:5c6b86f666959a97abc3599c19042610', 'insert tableName=meveo_script_instance; sql; sql; sql; sql; sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-scripts.xml::#6048_20210326::ZBARIKI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#6048_20210326', 'ZBARIKI', 'src/main/db_resources/changelog/rebuild/data-scripts.xml', NOW(), 4957, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-scripts.xml::#INTRD-13383_20230123::bourras
INSERT INTO meveo_script_instance (id, version, code, src_type, description, created) VALUES (nextval('meveo_script_instance_seq'), 0, 'org.meveo.service.script.product.OneShotOtherTypeMigrationScript', 'JAVA_CLASS', 'Migrate OneShot Charge of Type OTHER to INVOICING_PLAN', NOW());

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#INTRD-13383_20230123', 'bourras', 'src/main/db_resources/changelog/rebuild/data-scripts.xml', NOW(), 4959, '8:1e5dd1ed2f455c813e038b7d77fc9989', 'insert tableName=meveo_script_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-scripts.xml::#6048_20210611::AmineBENAICHA
INSERT INTO meveo_script_instance (id, version, disabled, created, code, description, src_type) VALUES (-30, 0, 0, NOW(), 'org.meveo.service.script.ServiceTemplateToProductScript', 'Migration ServiceTemplate To Product', 'JAVA_CLASS');

INSERT INTO meveo_job_instance (id, version, disabled, created, updated, uuid, code, description, job_category, job_template, parametres, creator, updater, timerentity_id, cf_values) VALUES (-40, 0, 0, NOW(), NULL, 'ServiceTemplateToProductJob', 'ServiceTemplateToProductJob', 'ServiceTemplateToProductJob', 'MEDIATION', 'ScriptingJob', NULL, 'opencell.admin', NULL, NULL, '{"ScriptingJob_script":[{"entity":{"classname":"org.meveo.model.scripts.ScriptInstance","code":"org.meveo.service.script.ServiceTemplateToProductScript","id":-30}}],"ScriptingJob_TransactionType":[{"string":"REQUIRES_NEW"}]}');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#6048_20210611', 'AmineBENAICHA', 'src/main/db_resources/changelog/rebuild/data-scripts.xml', NOW(), 4961, '8:a975af6bfad389485af42d63c3fe6a5d', 'insert tableName=meveo_script_instance; insert tableName=meveo_job_instance', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-scripts.xml::#liquibase_hack_data-scripts::AbdelmounaimAkadid
update databasechangelog set filename='src/main/db_resources/changelog/current/data.xml' where filename='src/main/db_resources/changelog/rebuild/data-scripts.xml';

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#liquibase_hack_data-scripts', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/data-scripts.xml', NOW(), 4963, '8:05538fd7844fea105268843803c6dbd7', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-reports.xml::rebuild-data-report-extracts::AndriusKarpavicius
INSERT INTO meveo_script_instance (id, version, disabled, created, code, description, src_type) VALUES (-1, 0, 0, NOW(), 'org.meveo.service.script.export.ExportAccountOperationScript', 'Export account operations', 'JAVA_CLASS');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-1, 0, NOW(), 'SALES_JOURNAL', 'Sales Journal', 'sales', 'SQL', 'sales-[yyyy_MM_dd].html', 'HTML', 'SALES_JOURNAL_UUID', 'SELECT
				    TO_CHAR(ao.invoice_date,''MM'') AS "Mois",
				    TO_CHAR(ao.invoice_date,''DD/MM/YYYY'') AS "Date facture",
				    text(''HG'') AS "Code comptable",
				    ae.code AS "Client facturé",
				    text(''MAI'') AS "Type article",
				    split_part(bac.code, '','', 6) AS "Famille statistique",
				    split_part(bac.code, '','', 2) AS "Article",
				    trim(TO_CHAR(ia.amount_without_tax,''9999990D00'')) AS "Montant HT",
				    trim(TO_CHAR(ia.quantity,''9999990'')) AS "Qté facturée",
				    ao.reference AS "No facture",
				    ao.description AS "Catégorie facture",
				    ao.code AS "Type de pièce",
				    text(''VEN'') AS "Journal"
				FROM
				    ar_customer_account ae
				INNER JOIN ar_account_operation ao ON ao.customer_account_id = ae.id
				INNER JOIN billing_invoice i ON i.invoice_number = ao.reference
				INNER JOIN billing_invoice_agregate ia ON (ia.invoice_id = i.id AND type = ''F'')
				LEFT JOIN billing_accounting_code bac ON bac.id = ia.accounting_code_id
				WHERE :START_DATE<>:END_DATE
				AND ao.invoice_date >= to_date(''01/'' || TO_CHAR(CURRENT_DATE,''MM/YYYY''),''DD/MM/YYYY'') + interval ''-12 month''
				AND ao.invoice_date <= to_date(''01/'' || TO_CHAR(CURRENT_DATE,''MM/YYYY''),''DD/MM/YYYY'') + interval ''0 month''
				ORDER BY
				    ae.code,
				    ao.code,
				    split_part(bac.code, '','', 6),
				    split_part(bac.code, '','', 2)');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-1', 'START_DATE', '31/01/2017');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-1', 'END_DATE', '31/12/2018');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, script_instance_id, uuid, result_type) VALUES (-2, 0, NOW(), 'ACCOUNT_OPS', 'Export account operations', 'sales', 'JAVA', 'accounts-ops-[yyyy_MM_dd].csv', '-1', 'ACOUNT_OPS_UUID', 'CSV');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-2', 'START_DATE', '31/01/2017');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-2', 'END_DATE', '31/12/2018');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-3, 0, NOW(), 'FULL_HIERARCHY', 'Full hierarchy export', 'customer', 'SQL', 'hierarchy-[yyyyMMdd].csv', 'CSV', 'FULL_HIERARCHY_UUID', 'select s.code AS "Seller code"
	, s.description AS "Seller description"
	, coalesce(c.code, '''') AS "Customer code"
	, coalesce(replace(c.description, '','', '' ''), '''') AS "Customer description"
	, coalesce(ca.code, '''') AS "Customer Account code"
	, coalesce(replace(ca.description, '','', '' ''), '''') AS "Customer Account description"
	, coalesce(ba.code, '''') AS "Billing Account code"
	, coalesce(replace(ba.description, '','', '' ''), '''') AS "Billing Account description"
	, coalesce(ua.code, '''') AS "User Account code"
	, coalesce(replace(ua.description, '','', '' ''), '''') AS "User Account description"
	, coalesce(su.code, '''') AS "Subscription code"
	, coalesce(replace(su.description, '','', '' ''), '''') AS "Subscription description"
	, coalesce(ap.acces_user_id, '''') AS "Access Point id"  
from  crm_seller s left
	OUTER JOIN crm_customer c  on c.seller_id = s.id left
	OUTER JOIN ar_customer_account ca  on ca.customer_id = c.id left
	OUTER JOIN billing_billing_account ba  on ba.customer_account_id = ca.id left
	OUTER JOIN billing_user_account ua  on ua.billing_account_id = ba.id left
	OUTER JOIN billing_subscription su  on su.user_account_id = ua.id left
	OUTER JOIN medina_access ap  on ap.subscription_id = su.id 
where s.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or s.description ilike ''%'' 
	|| :SEARCH_CRITERION || ''%''  or c.code ilike ''%'' || :SEARCH_CRITERION 
	|| ''%''  or c.description ilike ''%'' || :SEARCH_CRITERION || ''%''  or ca.code ilike ''%'' 
	|| :SEARCH_CRITERION || ''%''  or ca.description ilike ''%'' || :SEARCH_CRITERION 
	|| ''%''  or ba.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or ba.description ilike ''%'' 
	|| :SEARCH_CRITERION || ''%''  or ua.code ilike ''%'' || :SEARCH_CRITERION 
	|| ''%''  or ua.description ilike ''%'' || :SEARCH_CRITERION || ''%''  or su.code ilike ''%'' 
	|| :SEARCH_CRITERION || ''%''  or su.description ilike ''%'' || :SEARCH_CRITERION 
	|| ''%''  or ap.acces_user_id ilike ''%'' || :SEARCH_CRITERION || ''%''  
order by s.code
	,c.code
	,ca.code
	,ba.code
	,ua.code
	,su.code
	,ap.acces_user_id');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-3', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-4, 0, NOW(), 'CUSTOMERS_PER_SELLER', 'Customers per seller', 'customer', 'SQL', 'customers_per_seller-[yyyyMMdd].csv', 'CSV', 'CUSTOMERS_PER_SELLER_UUID', 'select s.code AS "Seller code"
					        , s.description AS "Seller description"
					        , coalesce(c.code, '''') AS "Customer code"
					        , coalesce(replace(c.description, '','', '' ''), '''') AS "Customer description"  
					from  crm_seller s left
					        OUTER JOIN crm_customer c  on c.seller_id = s.id
					where(  s.code ilike ''%'' || :SEARCH_CRITERION 
					        || ''%''  or s.description ilike ''%'' || :SEARCH_CRITERION || ''%''  or c.code ilike ''%'' 
					        || :SEARCH_CRITERION || ''%''  or c.description ilike ''%'' || :SEARCH_CRITERION || ''%''  )  
					and (  s.code ilike ''%'' || :SELLER || ''%''  or s.description ilike ''%'' || :SELLER || ''%''  )  
					order by s.code
					        ,c.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-4', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-4', 'SELLER', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-5, 0, NOW(), 'INVOICED_GLOBAL', 'Total invoiced amount per month for interval (ex: last 12 months = -12 month)', 'invoiced', 'SQL', 'invoiced_global-[yyyyMMdd].csv', 'CSV', 'INVOICED_GLOBAL_UUID', 'select trim(to_char(date_trunc(''month'', i.invoice_date), ''Month'')) || to_char(date_trunc(''month'', i.invoice_date), '' YYYY'') AS "Month"
    , it.code AS "Invoice type code"
    , it.description AS "Invoice type description"
    , trim(to_char(sum(i.amount_without_tax), ''9999999990.00'')) AS "Amount without tax"
    , trim(to_char(sum(i.amount_with_tax), ''9999999990.00'')) AS "Amount with tax"  
from billing_invoice i 
    INNER JOIN billing_invoice_type it  on it.id = i.invoice_type_id 
where i.invoice_date > (date_trunc(''month'', CURRENT_DATE) - CAST(:MONTH_INTERVAL || '' month'' AS INTERVAL))  
group by date_trunc(''month'', i.invoice_date)
    , it.code
    , it.description order by date_trunc(''month'', i.invoice_date) DESC
    , it.code DESC');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-5', 'MONTH_INTERVAL', '12');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-6, 0, NOW(), 'INVOICED_BA_HIERARCHY', 'Invoiced per Billing Account with hierarchy per month for interval, global filter', 'invoiced', 'SQL', 'invoiced_per_billing_account_hierarchy-[yyyyMMdd].csv', 'CSV', 'INVOICED_BA_HIERARCHY_UUID', 'select trim(to_char(date_trunc(''month'', i.invoice_date), ''Month'')) || to_char(date_trunc(''month'', i.invoice_date), '' YYYY'') AS "Month"
	, s.code AS "Seller code"
	, s.description AS "Seller description"
	, c.code AS "Customer code"
	, c.description AS "Customer description"
	, ca.code AS "Customer Account code"
	, ca.description AS "Customer Account description"
	, ba.code AS "Billing Account code"
	, ba.description AS "Billing Account description"
	, it.code AS "Invoice type code"
	, it.description AS "Invoice type description"
	, to_char(sum(i.amount_without_tax), ''9999999990.00'') AS "Amount without tax"
	, to_char(sum(i.amount_with_tax), ''9999999990.00'') AS "Amount with tax"  
from crm_seller s 
	INNER JOIN crm_customer c  on c.seller_id = s.id
	INNER JOIN ar_customer_account ca  on ca.customer_id = c.id
	INNER JOIN billing_billing_account ba  on ba.customer_account_id = ca.id
	INNER JOIN billing_invoice i  on i.billing_account_id = ba.id
	INNER JOIN billing_invoice_type it  on it.id = i.invoice_type_id 
where i.invoice_date > (date_trunc(''month'', CURRENT_DATE) - CAST(:MONTH_INTERVAL || '' month'' AS INTERVAL))  
and(  s.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or s.description ilike ''%'' || :SEARCH_CRITERION 
	|| ''%''  or c.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or c.description ilike ''%'' || :SEARCH_CRITERION 
	|| ''%''  or ca.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or ca.description ilike ''%'' || :SEARCH_CRITERION 
	|| ''%''  or ba.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or ba.description ilike ''%'' || :SEARCH_CRITERION 
	|| ''%''  )  group by date_trunc(''month'', i.invoice_date)
	, it.code
	, it.description
	, s.code
	, s.description
	, c.code
	, c.description
	, ca.code
	, ca.description
	, ba.code
	, ba.description order by date_trunc(''month'', i.invoice_date) DESC
	, it.code DESC
	, s.code
	, c.code
	, ca.code
	, ba.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-6', 'MONTH_INTERVAL', '12');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-6', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-7, 0, NOW(), 'INVOICED_BA', 'Invoiced per Billing Account per month for interval, global filter', 'invoiced', 'SQL', 'invoiced_per_billing_account-[yyyyMMdd].csv', 'CSV', 'INVOICED_BA_UUID', 'select trim(to_char(date_trunc(''month'', i.invoice_date), ''Month'')) || to_char(date_trunc(''month'', i.invoice_date), '' YYYY'') AS "Month"
	, ba.code AS "Billing Account code"
	, ba.description AS "Billing Account description"
	, it.code AS "Invoice type code"
	, it.description AS "Invoice type description"
	, to_char(sum(i.amount_without_tax), ''9999999990.00'') AS "Amount without tax"
	, to_char(sum(i.amount_with_tax), ''9999999990.00'') AS "Amount with tax"  
from crm_seller s
	INNER JOIN crm_customer c  on c.seller_id = s.id
	INNER JOIN ar_customer_account ca  on ca.customer_id = c.id
	INNER JOIN billing_billing_account ba  on ba.customer_account_id = ca.id
	INNER JOIN billing_invoice i  on i.billing_account_id = ba.id
	INNER JOIN billing_invoice_type it  on it.id = i.invoice_type_id 
where i.invoice_date > (date_trunc(''month'', CURRENT_DATE) - CAST(:MONTH_INTERVAL || '' month'' AS INTERVAL))  
and(  ba.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or ba.description ilike ''%'' || :SEARCH_CRITERION || ''%''  )  
group by date_trunc(''month'', i.invoice_date)
	, it.code
	, it.description
	, ba.code
	, ba.description order by date_trunc(''month'', i.invoice_date) DESC
	, it.code DESC
	, ba.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-7', 'MONTH_INTERVAL', '12');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-7', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-8, 0, NOW(), 'INVOICED_CA', 'Invoiced per Customer Account per month for interval, global filter', 'invoiced', 'SQL', 'invoiced_per_customer_account-[yyyyMMdd].csv', 'CSV', 'INVOICED_CA_UUID', 'select trim(to_char(date_trunc(''month'', i.invoice_date), ''Month'')) || to_char(date_trunc(''month'', i.invoice_date), '' YYYY'') AS "Month"
    , ca.code AS "Customer Account code"
    , ca.description AS "Customer Account description"
    , it.code AS "Invoice type code"
    , it.description AS "Invoice type description"
    , to_char(sum(i.amount_without_tax), ''9999999990.00'') AS "Amount without tax"
    , to_char(sum(i.amount_with_tax), ''9999999990.00'') AS "Amount with tax"  
from crm_seller s
    INNER JOIN crm_customer c  on c.seller_id = s.id
    INNER JOIN ar_customer_account ca  on ca.customer_id = c.id
    INNER JOIN billing_billing_account ba  on ba.customer_account_id = ca.id
    INNER JOIN billing_invoice i  on i.billing_account_id = ba.id
    INNER JOIN billing_invoice_type it  on it.id = i.invoice_type_id 
where i.invoice_date > (date_trunc(''month'', CURRENT_DATE) - CAST(:MONTH_INTERVAL || '' month'' AS INTERVAL))  
and(  ca.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or ca.description ilike ''%'' || :SEARCH_CRITERION || ''%''  )  
group by date_trunc(''month'', i.invoice_date)
    , it.code
    , it.description
    , ca.code
    , ca.description order by date_trunc(''month'', i.invoice_date) DESC
    , it.code DESC
    , ca.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-8', 'MONTH_INTERVAL', '12');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-8', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-9, 0, NOW(), 'INVOICED_C', 'Invoiced per Customer per month for interval, global filter', 'invoiced', 'SQL', 'invoiced_per_customer-[yyyyMMdd].csv', 'CSV', 'INVOICED_C_UUID', 'select trim(to_char(date_trunc(''month'', i.invoice_date), ''Month'')) || to_char(date_trunc(''month'', i.invoice_date), '' YYYY'') AS "Month"
	, c.code AS "Customer code"
	, c.description AS "Customer description"
	, it.code AS "Invoice type code"
	, it.description AS "Invoice type description"
	, to_char(sum(i.amount_without_tax), ''9999999990.00'') AS "Amount without tax"
	, to_char(sum(i.amount_with_tax), ''9999999990.00'') AS "Amount with tax"  
from crm_seller s
	INNER JOIN crm_customer c  on c.seller_id = s.id
	INNER JOIN ar_customer_account ca  on ca.customer_id = c.id
	INNER JOIN billing_billing_account ba  on ba.customer_account_id = ca.id
	INNER JOIN billing_invoice i  on i.billing_account_id = ba.id
	INNER JOIN billing_invoice_type it  on it.id = i.invoice_type_id 
where i.invoice_date > (date_trunc(''month'', CURRENT_DATE) - CAST(:MONTH_INTERVAL || '' month'' AS INTERVAL))  
and(  c.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or c.description ilike ''%'' || :SEARCH_CRITERION || ''%''  )  
group by date_trunc(''month'', i.invoice_date)
	, it.code
	, it.description
	, c.code
	, c.description order by date_trunc(''month'', i.invoice_date) DESC
	, it.code DESC
	, c.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-9', 'MONTH_INTERVAL', '12');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-9', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-10, 0, NOW(), 'INVOICED_S', 'Invoiced per Seller per month for interval, global filter', 'invoiced', 'SQL', 'invoiced_per_seller-[yyyyMMdd].csv', 'CSV', 'INVOICED_S_UUID', 'select trim(to_char(date_trunc(''month'', i.invoice_date), ''Month'')) || to_char(date_trunc(''month'', i.invoice_date), '' YYYY'') AS  Month 
    , s.code AS  "Seller code"
    , s.description AS  "Seller description"
    , it.code AS  "Invoice type code"
    , it.description AS  "Invoice type description"
    , to_char(sum(i.amount_without_tax), ''9999999990.00'') AS  "Amount without tax"
    , to_char(sum(i.amount_with_tax), ''9999999990.00'') AS  "Amount with tax"   
from crm_seller s
    INNER JOIN crm_customer c  on c.seller_id = s.id
    INNER JOIN ar_customer_account ca  on ca.customer_id = c.id
    INNER JOIN billing_billing_account ba  on ba.customer_account_id = ca.id
    INNER JOIN billing_invoice i  on i.billing_account_id = ba.id
    INNER JOIN billing_invoice_type it  on it.id = i.invoice_type_id 
where i.invoice_date > (date_trunc(''month'', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ''month'' AS INTERVAL))  
and(  s.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or s.description ilike ''%'' || :SEARCH_CRITERION || ''%''  )  
group by date_trunc(''month'', i.invoice_date)
    , it.code
    , it.description
    , s.code
    , s.description order by date_trunc(''month'', i.invoice_date) DESC
    , it.code DESC
    , s.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-10', 'MONTH_INTERVAL', '12');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-10', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-11, 0, NOW(), 'INVOICED_OF', 'Invoiced per Offer per month for interval, global filter', 'invoiced', 'SQL', 'invoiced_per_offer-[yyyyMMdd].csv', 'CSV', 'INVOICED_OF_UUID', 'select trim(to_char(date_trunc(''month'', i.invoice_date), ''Month'')) || to_char(date_trunc(''month'', i.invoice_date), '' YYYY'') AS "Month"
                    , of.code AS "Offer code"
                    , of.description AS "Offer description"
                    , it.code AS "Invoice type code"
                    , it.description AS "Invoice type description"
                    , to_char(sum(rt.amount_without_tax), ''9999999990.00'') AS "Amount without tax"
                    , to_char(sum(rt.amount_with_tax), ''9999999990.00'') AS "Amount with tax"  
                from cat_offer_template of
                    INNER JOIN billing_wallet_operation wo on wo.offer_code = OF.code
                    INNER JOIN billing_rated_transaction rt on wo.rated_transaction_id = rt.id
                    INNER JOIN billing_invoice i  on i.id = rt.invoice_id
                    INNER JOIN billing_invoice_type it  on it.id = i.invoice_type_id 
                where i.invoice_date > (date_trunc(''month'', CURRENT_DATE) - CAST(:MONTH_INTERVAL || '' month'' AS INTERVAL))  
                and(  of.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or OF.description ilike ''%'' || :SEARCH_CRITERION || ''%''  )  
                group by date_trunc(''month'', i.invoice_date)
                    , it.code
                    , it.description
                    , of.code
                    , of.description order by date_trunc(''month'', i.invoice_date) DESC
                    , it.code DESC
                    , of.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-11', 'MONTH_INTERVAL', '12');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-11', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-12, 0, NOW(), 'RECORDED_GLOBAL', 'Recorded invoices per month for interval, global filter', 'recorded', 'SQL', 'recorded_global-[yyyyMMdd].csv', 'CSV', 'RECORDED_GLOBAL_UUID', 'SELECT trim(to_char(date_trunc(''month'', ao.invoice_date), ''Month'')) || to_char(date_trunc(''month'', ao.invoice_date), '' YYYY'') AS "Month"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''DEBIT''
                    THEN ao.amount
                ELSE 0
                END), ''99999999990.00'') AS "Amount DEBIT"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''CREDIT''
                    THEN ao.amount
                ELSE 0
                END), ''99999999990.00'') AS "Amount CREDIT"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''DEBIT''
                    THEN ao.amount
                ELSE - ao.amount
                END), ''99999999990.00'') AS "Balance"
FROM ar_account_operation ao
WHERE ao.invoice_date IS NOT NULL
AND ao.invoice_date > (date_trunc(''month'', CURRENT_DATE) - CAST(:MONTH_INTERVAL || '' month'' AS INTERVAL))
GROUP BY date_trunc(''month'', ao.invoice_date)
ORDER BY date_trunc(''month'', ao.invoice_date) DESC');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-12', 'MONTH_INTERVAL', '12');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-13, 0, NOW(), 'RECORDED_BA_HIERARCHY', 'Recorded per Billing Account with Hierarchy per month for interval, global filter', 'recorded', 'SQL', 'recorded_per_billing_account_hierarchy-[yyyyMMdd].csv', 'CSV', 'RECORDED_BA_HIERARCHY_UUID', 'SELECT trim(to_char(date_trunc(''month'', ao.invoice_date), ''Month'')) || to_char(date_trunc(''month'', ao.invoice_date), '' YYYY'') AS "Month"
    ,s.code AS "Seller code"
    ,s.description AS "Seller description"
    ,c.code AS "Customer code"
    ,c.description AS "Customer description"
    ,ca.code AS "Customer Account code"
    ,ca.description AS "Customer Account description"
    ,ba.code AS "Billing Account code"
    ,ba.description AS "Billing Account description"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''DEBIT''
                    THEN ao.amount
                ELSE 0
                END), ''99999999990.00'') AS "Amount DEBIT"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''CREDIT''
                    THEN ao.amount
                ELSE 0
                END), ''99999999990.00'') AS "Amount CREDIT"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''DEBIT''
                    THEN ao.amount
                ELSE - ao.amount
                END), ''99999999990.00'') AS "Balance"
FROM crm_seller s
    INNER JOIN crm_customer c ON c.seller_id = s.id
    INNER JOIN ar_customer_account ca ON ca.customer_id = c.id
    INNER JOIN billing_billing_account ba ON ba.customer_account_id = ca.id
    INNER JOIN billing_invoice i ON i.billing_account_id = ba.id
    INNER JOIN ar_account_operation ao ON ao.customer_account_id = ca.id
        AND ao.reference = i.invoice_number
        AND ao.invoice_date = i.invoice_date
        AND ao.amount = abs(i.amount_with_tax)
WHERE ao.invoice_date IS NOT NULL
    AND ao.invoice_date > (date_trunc(''month'', CURRENT_DATE) - CAST(:MONTH_INTERVAL || '' month'' AS INTERVAL))
    AND (
        s.code ilike ''%'' || :SEARCH_CRITERION || ''%''
        OR s.description ilike ''%'' || :SEARCH_CRITERION || ''%''
        OR c.code ilike ''%'' || :SEARCH_CRITERION || ''%''
        OR c.description ilike ''%'' || :SEARCH_CRITERION || ''%''
        OR ca.code ilike ''%'' || :SEARCH_CRITERION || ''%''
        OR ca.description ilike ''%'' || :SEARCH_CRITERION || ''%''
        OR ba.code ilike ''%'' || :SEARCH_CRITERION || ''%''
        OR ba.description ilike ''%'' || :SEARCH_CRITERION || ''%''
        )
GROUP BY date_trunc(''month'', ao.invoice_date)
    ,s.code
    ,s.description
    ,c.code
    ,c.description
    ,ca.code
    ,ca.description
    ,ba.code
    ,ba.description
ORDER BY date_trunc(''month'', ao.invoice_date) DESC
    ,s.code
    ,c.code
    ,ca.code
    ,ba.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-13', 'MONTH_INTERVAL', '12');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-13', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-14, 0, NOW(), 'RECORDED_BA', 'Recorded per Billing Account per month for interval, global filter', 'recorded', 'SQL', 'recorded_per_billing_account-[yyyyMMdd].csv', 'CSV', 'RECORDED_BA_UUID', 'SELECT trim(to_char(date_trunc(''month'', ao.invoice_date), ''Month'')) || to_char(date_trunc(''month'', ao.invoice_date), '' YYYY'') AS "Month"
    ,ba.code AS "Billing Account code"
    ,ba.description AS "Billing Account description"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''DEBIT''
                    THEN ao.amount
                ELSE 0
                END), ''99999999990.00'') AS "Amount DEBIT"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''CREDIT''
                    THEN ao.amount
                ELSE 0
                END), ''99999999990.00'') AS "Amount CREDIT"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''DEBIT''
                    THEN ao.amount
                ELSE - ao.amount
                END), ''99999999990.00'') AS "Balance"
FROM crm_seller s
    INNER JOIN crm_customer c ON c.seller_id = s.id
    INNER JOIN ar_customer_account ca ON ca.customer_id = c.id
    INNER JOIN billing_billing_account ba ON ba.customer_account_id = ca.id
    INNER JOIN billing_invoice i ON i.billing_account_id = ba.id
    INNER JOIN ar_account_operation ao ON ao.customer_account_id = ca.id
        AND ao.reference = i.invoice_number
        AND ao.invoice_date = i.invoice_date
        AND ao.amount = abs(i.amount_with_tax)
WHERE ao.invoice_date IS NOT NULL
    AND ao.invoice_date > (date_trunc(''month'', CURRENT_DATE) - CAST(:MONTH_INTERVAL || '' month'' AS INTERVAL))
    AND (
        ba.code ilike ''%'' || :SEARCH_CRITERION || ''%''
        OR ba.description ilike ''%'' || :SEARCH_CRITERION || ''%''
        )
GROUP BY date_trunc(''month'', ao.invoice_date)
    ,ba.code
    ,ba.description
ORDER BY date_trunc(''month'', ao.invoice_date) DESC
    ,ba.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-14', 'MONTH_INTERVAL', '12');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-14', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-15, 0, NOW(), 'RECORDED_CA', 'Recorded per Customer Account per month for interval, global filter', 'recorded', 'SQL', 'recorded_per_customer_account-[yyyyMMdd].csv', 'CSV', 'RECORDED_CA_UUID', 'SELECT trim(to_char(date_trunc(''month'', ao.invoice_date), ''Month'')) || to_char(date_trunc(''month'', ao.invoice_date), '' YYYY'') AS "Month"
    ,ca.code AS "Customer Account code"
    ,ca.description AS "Customer Account description"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''DEBIT''
                    THEN ao.amount
                ELSE 0
                END), ''99999999990.00'') AS "Amount DEBIT"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''CREDIT''
                    THEN ao.amount
                ELSE 0
                END), ''99999999990.00'') AS "Amount CREDIT"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''DEBIT''
                    THEN ao.amount
                ELSE - ao.amount
                END), ''99999999990.00'') AS "Balance"
FROM crm_seller s
    INNER JOIN crm_customer c ON c.seller_id = s.id
    INNER JOIN ar_customer_account ca ON ca.customer_id = c.id
    INNER JOIN ar_account_operation ao ON ao.customer_account_id = ca.id
WHERE ao.invoice_date IS NOT NULL
    AND ao.invoice_date > (date_trunc(''month'', CURRENT_DATE) - CAST(:MONTH_INTERVAL || '' month'' AS INTERVAL))
    AND (
        ca.code ilike ''%'' || :SEARCH_CRITERION || ''%''
        OR ca.description ilike ''%'' || :SEARCH_CRITERION || ''%''
        )
GROUP BY date_trunc(''month'', ao.invoice_date)
    ,ca.code
    ,ca.description
ORDER BY date_trunc(''month'', ao.invoice_date) DESC
    ,ca.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-15', 'MONTH_INTERVAL', '12');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-15', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-16, 0, NOW(), 'RECORDED_C', 'Recorded per Customer per month for interval, global filter', 'recorded', 'SQL', 'recorded_per_customer-[yyyyMMdd].csv', 'CSV', 'RECORDED_C_UUID', 'SELECT trim(to_char(date_trunc(''month'', ao.invoice_date), ''Month'')) || to_char(date_trunc(''month'', ao.invoice_date), '' YYYY'') AS "Month"
    ,c.code AS "Customer code"
    ,c.description AS "Customer description"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''DEBIT''
                    THEN ao.amount
                ELSE 0
                END), ''99999999990.00'') AS "Amount DEBIT"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''CREDIT''
                    THEN ao.amount
                ELSE 0
                END), ''99999999990.00'') AS "Amount CREDIT"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''DEBIT''
                    THEN ao.amount
                ELSE - ao.amount
                END), ''99999999990.00'') AS "Balance"
FROM crm_seller s
    INNER JOIN crm_customer c ON c.seller_id = s.id
    INNER JOIN ar_customer_account ca ON ca.customer_id = c.id
    INNER JOIN ar_account_operation ao ON ao.customer_account_id = ca.id
WHERE ao.invoice_date IS NOT NULL
    AND ao.invoice_date > (date_trunc(''month'', CURRENT_DATE) - CAST(:MONTH_INTERVAL || '' month'' AS INTERVAL))
    AND (
        c.code ilike ''%'' || :SEARCH_CRITERION || ''%''
        OR c.description ilike ''%'' || :SEARCH_CRITERION || ''%''
        )
GROUP BY date_trunc(''month'', ao.invoice_date)
    ,c.code
    ,c.description
ORDER BY date_trunc(''month'', ao.invoice_date) DESC
    ,c.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-16', 'MONTH_INTERVAL', '12');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-16', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-17, 0, NOW(), 'RECORDED_S', 'Recorded per Seller per month for interval, global filter', 'recorded', 'SQL', 'recorded_per_seller-[yyyyMMdd].csv', 'CSV', 'RECORDED_S_UUID', 'SELECT trim(to_char(date_trunc(''month'', ao.invoice_date), ''Month'')) || to_char(date_trunc(''month'', ao.invoice_date), '' YYYY'') AS "Month"
    ,s.code AS "Seller code"
    ,s.description AS "Seller description"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''DEBIT''
                    THEN ao.amount
                ELSE 0
                END), ''99999999990.00'') AS "Amount DEBIT"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''CREDIT''
                    THEN ao.amount
                ELSE 0
                END), ''99999999990.00'') AS "Amount CREDIT"
    ,to_char(sum(CASE 
                WHEN ao.transaction_category = ''DEBIT''
                    THEN ao.amount
                ELSE - ao.amount
                END), ''99999999990.00'') AS "Balance"
FROM crm_seller s
    INNER JOIN crm_customer c ON c.seller_id = s.id
    INNER JOIN ar_customer_account ca ON ca.customer_id = c.id
    INNER JOIN ar_account_operation ao ON ao.customer_account_id = ca.id
WHERE ao.invoice_date IS NOT NULL
    AND ao.invoice_date > (date_trunc(''month'', CURRENT_DATE) - CAST(:MONTH_INTERVAL || '' month'' AS INTERVAL))
    AND (
        s.code ilike ''%'' || :SEARCH_CRITERION || ''%''
        OR s.description ilike ''%'' || :SEARCH_CRITERION || ''%''
        )
GROUP BY date_trunc(''month'', ao.invoice_date)
    ,s.code
    ,s.description
ORDER BY date_trunc(''month'', ao.invoice_date) DESC
    ,s.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-17', 'MONTH_INTERVAL', '12');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-17', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-18, 0, NOW(), 'UNBILLED_UA_HIERARCHY', 'Unbilled per User Account with Hierarchy, global filter', 'unbilled', 'SQL', 'unbilled_per_user_account_hierarchy-[yyyyMMdd].csv', 'CSV', 'UNBILLED_UA_HIERARCHY_UUID', 'select s.code AS "Seller code"
                    , s.description AS "Seller description"
                    , c.code AS "Customer code"
                    , c.description AS "Customer description"
                    , ca.code AS "Customer Account code"
                    , ca.description AS "Customer Account description"
                    , ba.code AS "Billing Account code"
                    , ba.description AS "Billing Account description"
                    , ua.code AS "User Account code"
                    , ua.description AS "User Account description"
                    , count(DISTINCT wo.id) AS "Transaction count"
                    , to_char(sum(wo.amount_without_tax), ''99999999990.00'') AS "Amount without tax"
                    , to_char(sum(wo.amount_with_tax), ''99999999990.00'') AS "Amount with tax"  
                from  billing_wallet_operation wo 
                    INNER JOIN billing_wallet wa  on wa.id = wo.wallet_id 
                    INNER JOIN billing_user_account ua  on ua.id = wa.user_account_id 
                    INNER JOIN billing_billing_account ba  on ba.id = ua.billing_account_id 
                    INNER JOIN ar_customer_account ca  on ca.id = ba.customer_account_id 
                    INNER JOIN crm_customer c  on c.id = ca.customer_id 
                    INNER JOIN crm_seller s  on s.id = c.seller_id 
                where  (  wo.STATUS = ''OPEN''  or (  wo.STATUS = ''TREATED'' 
                    and EXISTS (  select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = ''OPEN'' )  )  )  
                and(  s.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or s.description ilike ''%'' || :SEARCH_CRITERION || ''%''  or c.code ilike ''%'' 
                    || :SEARCH_CRITERION || ''%''  or c.description ilike ''%'' || :SEARCH_CRITERION || ''%''  or ca.code ilike ''%'' 
                    || :SEARCH_CRITERION || ''%''  or ca.description ilike ''%'' || :SEARCH_CRITERION || ''%''  or ba.code ilike ''%'' 
                    || :SEARCH_CRITERION || ''%''  or ba.description ilike ''%'' || :SEARCH_CRITERION || ''%''  or ua.code ilike ''%'' 
                    || :SEARCH_CRITERION || ''%''  or ua.description ilike ''%'' || :SEARCH_CRITERION || ''%''  )  
                group by s.code
                    , s.description
                    , c.code
                    , c.description
                    , ca.code
                    , ca.description
                    , ba.code
                    , ba.description
                    , ua.code
                    , ua.description order by s.code
                    , c.code
                    , ca.code
                    , ba.code
                    , ua.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-18', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-19, 0, NOW(), 'UNBILLED_UA', 'Unbilled per User Account, global filter', 'unbilled', 'SQL', 'unbilled_per_user_account-[yyyyMMdd].csv', 'CSV', 'UNBILLED_UA_UUID', 'select ua.code AS "User Account code"
                    , ua.description AS "User Account description"
                    , count(DISTINCT wo.id) AS "Transaction count"
                    , to_char(sum(wo.amount_without_tax), ''99999999990.00'') AS "Amount without tax"
                    , to_char(sum(wo.amount_with_tax), ''99999999990.00'') AS "Amount with tax"  
                from  billing_wallet_operation wo 
                    INNER JOIN billing_wallet wa  on wa.id = wo.wallet_id 
                    INNER JOIN billing_user_account ua  on ua.id = wa.user_account_id 
                    INNER JOIN billing_billing_account ba  on ba.id = ua.billing_account_id 
                    INNER JOIN ar_customer_account ca  on ca.id = ba.customer_account_id 
                    INNER JOIN crm_customer c  on c.id = ca.customer_id 
                    INNER JOIN crm_seller s  on s.id = c.seller_id 
                where  (  wo.STATUS = ''OPEN''  or (   wo.STATUS = ''TREATED''   
                    and EXISTS (   select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id   
                and rt.STATUS = ''OPEN''   )  )  )  and(  ua.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or ua.description ilike ''%'' 
                    || :SEARCH_CRITERION || ''%''  )  
                group by ua.code
                    , ua.description 
                order by ua.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-19', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-20, 0, NOW(), 'UNBILLED_BA', 'Unbilled per Billing Account, global filter', 'unbilled', 'SQL', 'unbilled_per_billing_account-[yyyyMMdd].csv', 'CSV', 'UNBILLED_BA_UUID', 'select ba.code AS "Billing Account code"
                    , ba.description AS "Billing Account description"
                    , count(DISTINCT wo.id) AS "Transaction count"
                    , to_char(sum(wo.amount_without_tax), ''99999999990.00'') AS "Amount without tax"
                    , to_char(sum(wo.amount_with_tax), ''99999999990.00'') AS "Amount with tax"  
                from  billing_wallet_operation wo
                    INNER JOIN billing_wallet wa  on wa.id = wo.wallet_id
                    INNER JOIN billing_user_account ua  on ua.id = wa.user_account_id
                    INNER JOIN billing_billing_account ba  on ba.id = ua.billing_account_id
                    INNER JOIN ar_customer_account ca  on ca.id = ba.customer_account_id
                    INNER JOIN crm_customer c  on c.id = ca.customer_id
                    INNER JOIN crm_seller s  on s.id = c.seller_id 
                where  (  wo.STATUS = ''OPEN''  or (  wo.STATUS = ''TREATED'' 
                    and EXISTS (  select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = ''OPEN'' )  )  )  
                    and(  ba.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or ba.description ilike ''%'' || :SEARCH_CRITERION || ''%''  )  
                group by ba.code, ba.description 
                order by ba.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-20', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-21, 0, NOW(), 'UNBILLED_CA', 'Unbilled per Customer Account, global filter', 'unbilled', 'SQL', 'unbilled_per_customer_account-[yyyyMMdd].csv', 'CSV', 'UNBILLED_CA_UUID', 'select ca.code AS "Customer Account code"
					, ca.description AS "Customer Account description"
					, count(DISTINCT wo.id) AS "Transaction count"
					, to_char(sum(wo.amount_without_tax), ''99999999990.00'') AS "Amount without tax"
					, to_char(sum(wo.amount_with_tax), ''99999999990.00'') AS "Amount with tax"  
				from  billing_wallet_operation wo
					INNER JOIN billing_wallet wa  on wa.id = wo.wallet_id
					INNER JOIN billing_user_account ua  on ua.id = wa.user_account_id
					INNER JOIN billing_billing_account ba  on ba.id = ua.billing_account_id
					INNER JOIN ar_customer_account ca  on ca.id = ba.customer_account_id
					INNER JOIN crm_customer c  on c.id = ca.customer_id
					INNER JOIN crm_seller s  on s.id = c.seller_id 
				where  (  wo.STATUS = ''OPEN''  or (  wo.STATUS = ''TREATED'' 
					and EXISTS (  select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = ''OPEN'' )  )  )  
				and(  ca.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or ca.description ilike ''%'' || :SEARCH_CRITERION || ''%''  )  
				group by ca.code, ca.description 
				order by ca.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-21', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-22, 0, NOW(), 'UNBILLED_C', 'Unbilled per Customer, global filter', 'unbilled', 'SQL', 'unbilled_per_customer-[yyyyMMdd].csv', 'CSV', 'UNBILLED_C_UUID', 'select c.code AS "Customer code"
                    , c.description AS "Customer description"
                    , count(DISTINCT wo.id) AS "Transaction count"
                    , to_char(sum(wo.amount_without_tax), ''99999999990.00'') AS "Amount without tax"
                    , to_char(sum(wo.amount_with_tax), ''99999999990.00'') AS "Amount with tax"  
                from  billing_wallet_operation wo
                    INNER JOIN billing_wallet wa  on wa.id = wo.wallet_id
                    INNER JOIN billing_user_account ua  on ua.id = wa.user_account_id
                    INNER JOIN billing_billing_account ba  on ba.id = ua.billing_account_id 
                    INNER JOIN ar_customer_account ca  on ca.id = ba.customer_account_id 
                    INNER JOIN crm_customer c  on c.id = ca.customer_id 
                    INNER JOIN crm_seller s  on s.id = c.seller_id 
                where  (  wo.STATUS = ''OPEN''  or (   wo.STATUS = ''TREATED''   
                    and EXISTS (   select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = ''OPEN''   )  )  )  
                and(  c.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or c.description ilike ''%'' || :SEARCH_CRITERION || ''%''  )  
                group by c.code, c.description 
                order by c.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-22', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-23, 0, NOW(), 'UNBILLED_S', 'Unbilled per Seller, global filter', 'unbilled', 'SQL', 'unbilled_per_seller-[yyyyMMdd].csv', 'CSV', 'UNBILLED_S_UUID', 'select s.code AS "Seller code"
                    , s.description AS "Seller description"
                    , count(DISTINCT wo.id) AS "Transaction count"
                    , to_char(sum(wo.amount_without_tax), ''99999999990.00'') AS "Amount without tax"
                    , to_char(sum(wo.amount_with_tax), ''99999999990.00'') AS "Amount with tax"  
                from  billing_wallet_operation wo 
                    INNER JOIN billing_wallet wa  on wa.id = wo.wallet_id 
                    INNER JOIN billing_user_account ua  on ua.id = wa.user_account_id 
                    INNER JOIN billing_billing_account ba  on ba.id = ua.billing_account_id 
                    INNER JOIN ar_customer_account ca  on ca.id = ba.customer_account_id 
                    INNER JOIN crm_customer c  on c.id = ca.customer_id 
                    INNER JOIN crm_seller s  on s.id = c.seller_id 
                where  (  wo.STATUS = ''OPEN''  or (  wo.STATUS = ''TREATED'' 
                    and EXISTS (  select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = ''OPEN'' )  )  )  
                and(  s.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or s.description ilike ''%'' || :SEARCH_CRITERION || ''%''  )  
                group by s.code, s.description 
                order by s.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-23', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-24, 0, NOW(), 'UNBILLED_OF', 'Unbilled per Offer, global filter', 'unbilled', 'SQL', 'unbilled_per_offer-[yyyyMMdd].csv', 'CSV', 'UNBILLED_OF_UUID', 'select of.code AS "Offer code"
                    , of.description AS "Offer description"
                    , count(DISTINCT wo.id) AS "Transaction count"
                    , to_char(sum(wo.amount_without_tax), ''99999999990.00'') AS "Amount without tax"
                    , to_char(sum(wo.amount_with_tax), ''99999999990.00'') AS "Amount with tax"  
                from  cat_offer_template of 
                    INNER JOIN billing_wallet_operation wo  on wo.offer_code = OF.code 
                where  (  wo.STATUS = ''OPEN''  or ( wo.STATUS = ''TREATED'' 
                    and EXISTS ( select 1  from billing_rated_transaction rt  where wo.rated_transaction_id = rt.id and rt.STATUS = ''OPEN'' )  )  )  
                and(  of.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or OF.description ilike ''%'' || :SEARCH_CRITERION || ''%''  )  
                group by of.code, of.description 
                order by of.code');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-24', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-25, 0, NOW(), 'INVOICES', 'Invoices per month', 'invoiced', 'SQL', 'invoices-[yyyyMMdd].csv', 'CSV', 'INVOICES_UUID', 'select trim(to_char(date_trunc(''month'', i.invoice_date), ''Month'')) || to_char(date_trunc(''month'', i.invoice_date), '' YYYY'') AS "Month"
    , to_char(i.invoice_date, ''YYYY-MM-DD'') AS "Invoice date"
    , i.invoice_number AS "Invoice number"
    , to_char(i.amount_without_tax, ''9999999990.00'') AS "Amount without tax"
    , to_char(i.amount_with_tax, ''9999999990.00'') AS "Amount with tax"
    , it.code AS "Invoice type code"
    , it.description AS "Invoice type description"
    , s.code AS "Seller code"
    , s.description AS "Seller description"
    , c.code AS "Customer code"
    , c.description AS "Customer description"
    , ca.code AS "Customer Account code"
    , ca.description AS "Customer Account description"
    , ba.code AS "Billing Account code"
    , ba.description AS "Billing Account description"  
from crm_seller s
    INNER JOIN crm_customer c  on c.seller_id = s.id
    INNER JOIN ar_customer_account ca  on ca.customer_id = c.id
    INNER JOIN billing_billing_account ba  on ba.customer_account_id = ca.id
    INNER JOIN billing_invoice i  on i.billing_account_id = ba.id
    INNER JOIN billing_invoice_type it  on it.id = i.invoice_type_id 
where i.invoice_date > (date_trunc(''month'', CURRENT_DATE) - CAST(:MONTH_INTERVAL || '' month'' AS INTERVAL))  
and(  s.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or s.description ilike ''%'' || :SEARCH_CRITERION 
    || ''%''  or c.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or c.description ilike ''%'' || :SEARCH_CRITERION 
    || ''%''  or ca.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or ca.description ilike ''%'' || :SEARCH_CRITERION 
    || ''%''  or ba.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or ba.description ilike ''%'' || :SEARCH_CRITERION 
    || ''%''  )  
order by date_trunc(''month'', i.invoice_date) DESC
    , i.invoice_date DESC
    , it.code
    , i.invoice_number');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-25', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-25', 'MONTH_INTERVAL', '12');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, sql_query) VALUES (-26, 0, NOW(), 'EDR', 'EDR by status, global filter', 'edr', 'SQL', 'edr_by_status-[yyyyMMdd].csv', 'CSV', 'EDR_UUID', 'SELECT  edr.id AS "Id"
    , edr.STATUS AS "Status"
    , edr.reject_reason AS "Rejection reason"
    , edr.access_code AS "Access code"
    , su.code AS "Subscription code"
    , of.code AS "Offer code"
    , edr.event_date AS "Event date"
    , edr.origin_batch AS "Origin batch"
    , edr.origin_record AS "Origin record"
    , edr.quantity AS "Quantity"
    , edr.parameter_1 AS "Param S1"
    , edr.parameter_2 AS "Param S2"
    , edr.parameter_3 AS "Param S3"
    , edr.parameter_4 AS "Param S4"
    , edr.parameter_5 AS "Param S5"
    , edr.parameter_6 AS "Param S6"
    , edr.parameter_7 AS "Param S7"
    , edr.parameter_8 AS "Param S8"
    , edr.parameter_9 AS "Param S9"
    , edr.date_parameter_1 AS "Param D1"
    , edr.date_parameter_2 AS "Param D2"
    , edr.date_parameter_3 AS "Param D3"
    , edr.date_parameter_4 AS "Param D4"
    , edr.date_parameter_5 AS "Param D5"
    , edr.decimal_parameter_1 AS "Param N1"
    , edr.decimal_parameter_2 AS "Param N2"
    , edr.decimal_parameter_3 AS "Param N3"
    , edr.decimal_parameter_4 AS "Param N4"
    , edr.decimal_parameter_5 AS "Param N5"  
from rating_edr edr
    INNER JOIN billing_subscription su  on su.id = edr.subscription_id
    INNER JOIN cat_offer_template of  on OF.id = su.offer_id where edr.event_date > (date_trunc(''month'', CURRENT_DATE) - CAST(:MONTH_INTERVAL || '' month'' AS INTERVAL))  
and edr.STATUS ilike ''%'' || :EDR_STATUS || ''%''  and(  su.code ilike ''%'' || :SEARCH_CRITERION || ''%''  or OF.code ilike ''%'' 
    || :SEARCH_CRITERION || ''%''  or edr.access_code ilike ''%'' || :SEARCH_CRITERION || ''%''  or edr.reject_reason ilike ''%'' 
    || :SEARCH_CRITERION || ''%''  or edr.origin_batch ilike ''%'' || :SEARCH_CRITERION || ''%''  or edr.origin_record ilike ''%'' 
    || :SEARCH_CRITERION || ''%''  or edr.parameter_1 ilike ''%'' || :SEARCH_CRITERION || ''%''  or edr.parameter_2 ilike ''%'' 
    || :SEARCH_CRITERION || ''%''  or edr.parameter_3 ilike ''%'' || :SEARCH_CRITERION || ''%''  or edr.parameter_4 ilike ''%'' 
    || :SEARCH_CRITERION || ''%''  or edr.parameter_5 ilike ''%'' || :SEARCH_CRITERION || ''%''  or edr.parameter_6 ilike ''%'' 
    || :SEARCH_CRITERION || ''%''  or edr.parameter_7 ilike ''%'' || :SEARCH_CRITERION || ''%''  or edr.parameter_8 ilike ''%'' 
    || :SEARCH_CRITERION || ''%''  or edr.parameter_9 ilike ''%'' || :SEARCH_CRITERION || ''%'')  
order by edr.STATUS, edr.id DESC');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-26', 'SEARCH_CRITERION', '%');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-26', 'MONTH_INTERVAL', '12');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-26', 'EDR_STATUS', '%');

INSERT INTO meveo_script_instance (id, version, disabled, created, code, description, src_type) VALUES (-12, 0, 0, NOW(), 'org.meveo.service.script.presale.AgedBalanceReporting', 'Aged Balance Reporting Script', 'JAVA_CLASS');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, script_instance_id) VALUES (-27, 0, NOW(), 'AgedBalanceReport', 'Aged Balance Report', 'AgedBalance', 'JAVA', 'AgedBalanceReporting-[yyyy_MM_dd].csv', 'CSV', 'AgedBalanceReport_UUID', '-12');

INSERT INTO meveo_script_instance (id, version, disabled, created, code, description, src_type) VALUES (-13, 0, 0, NOW(), 'org.meveo.service.script.presale.CustomerRevenuReporting', 'Customer Revenu Reporting Script', 'JAVA_CLASS');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, script_instance_id) VALUES (-28, 0, NOW(), 'CustomerRevenuReport', 'Customers revenu Report', 'revenu', 'JAVA', 'CustomerRevenuReporting-[yyyy_MM_dd].csv', 'CSV', 'CustomerRevenuReport_UUID', '-13');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-28', 'START_DATE', '31/01/2015');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-28', 'END_DATE', '31/01/2019');

INSERT INTO meveo_script_instance (id, version, disabled, created, code, description, src_type) VALUES (-15, 0, 0, NOW(), 'org.meveo.service.script.presale.CustomerPerOfferReporting', 'Customer Per Offer Reporting Script', 'JAVA_CLASS');

INSERT INTO dwh_report_extract (id, version, created, code, description, category, script_type, filename_format, result_type, uuid, script_instance_id) VALUES (-30, 0, NOW(), 'CustomersPerOfferReport', 'List of customer with revenue sorted by decreasing revenue (in a period)', 'accounts', 'JAVA', 'CustomersPerOffer-[yyyy_MM_dd].csv', 'CSV', 'CustomersPerOfferReport_UUID', '-15');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-30', 'START_DATE', '31/01/2015');

INSERT INTO dwh_report_extract_params (reportextract_id, params_key, params) VALUES ('-30', 'OFFER_CODE', '');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-report-extracts', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-reports.xml', NOW(), 4965, '8:73b925cc37a58c68fe47252c350352dd', 'insert tableName=meveo_script_instance; insert tableName=dwh_report_extract; insert tableName=dwh_report_extract_params; insert tableName=dwh_report_extract_params; insert tableName=dwh_report_extract; insert tableName=dwh_report_extract_params; i...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-reports.xml::rebuild-data-ddRequest::AndriusKarpavicius
INSERT INTO ar_ddrequest_builder (id, version, created, code, description, type, implementation_class_name, nb_ops_file, max_size_file, uuid, creator, payment_level) VALUES (-1, 0, '2018-08-12 14:04:19.955', 'Sepa_STD', 'Sepa  : urn:iso:std:iso:20022:tech:xsd:pain.008.001.02 and Sepa reject file Pain002', 'NATIF', 'org.meveo.admin.sepa.SepaFile', '-1', '-1', '44bb7507-11cc-4a98-aa50-1777ddae3e6c', 'opencell.admin', 'AO');

INSERT INTO ar_ddrequest_builder (id, version, created, code, description, type, implementation_class_name, nb_ops_file, max_size_file, uuid, creator, payment_level) VALUES (-2, 0, '2018-08-12 14:05:32.622', 'Sepa_Paynum', 'Sepa Paynum', 'NATIF', 'org.meveo.admin.sepa.PaynumFile', '-1', '-1', 'a6873856-1d25-4df8-8801-09314528aa17', 'opencell.admin', 'AO');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-ddRequest', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-reports.xml', NOW(), 4967, '8:731099252792d9923c7927d4c6504efd', 'insert tableName=ar_ddrequest_builder; insert tableName=ar_ddrequest_builder', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-reports.xml::rebuild-data-adm_custom_generic_entity_code::AndriusKarpavicius
INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type) VALUES (-1, '2018-10-02 12:09:00.913', 'OPENCELL.ADMIN', 1, 'order_quote_sequence', 'Order and Quote', 'UUID');

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (-2, '2018-10-02 12:09:00.913', 'OPENCELL.ADMIN', 1, 'seller_sequence', 'Seller sequence', 'SEQUENCE', 9, 0);

INSERT INTO generic_sequence (id, created, creator, version, code, description, sequence_type, sequence_size, current_number) VALUES (-3, '2018-10-02 12:09:00.913', 'OPENCELL.ADMIN', 1, 'customer_sequence', 'Customer sequence', 'SEQUENCE', 5, 0);

INSERT INTO adm_custom_generic_entity_code (id, created, creator, version, entity_class, sequence_id) VALUES (-1, '2018-10-02 12:09:00.913', 'OPENCELL.ADMIN', 1, 'Customer', -3);

INSERT INTO adm_custom_generic_entity_code (id, created, creator, version, entity_class, sequence_id) VALUES (-2, '2018-10-02 12:12:09.935', 'OPENCELL.ADMIN', 1, 'Quote', -1);

INSERT INTO adm_custom_generic_entity_code (id, created, creator, version, entity_class, sequence_id) VALUES (-3, '2018-10-02 12:12:09.936', 'OPENCELL.ADMIN', 1, 'Order', -1);

INSERT INTO adm_custom_generic_entity_code (id, created, creator, version, entity_class, sequence_id) VALUES (-4, '2018-10-02 12:12:09.937', 'OPENCELL.ADMIN', 1, 'Seller', -2);

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('rebuild-data-adm_custom_generic_entity_code', 'AndriusKarpavicius', 'src/main/db_resources/changelog/rebuild/data-reports.xml', NOW(), 4969, '8:d29f9691899af9301ac109eeac825d85', 'insert tableName=generic_sequence; insert tableName=generic_sequence; insert tableName=generic_sequence; insert tableName=adm_custom_generic_entity_code; insert tableName=adm_custom_generic_entity_code; insert tableName=adm_custom_generic_entity_c...', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-reports.xml::INTRD-263_20210716::ZBariki
INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, description, subject, htmlcontent) VALUES ('EMAIL', nextval('com_msg_tmpl_seq'), '0', NOW(), 'REPORT_QUERY_RESULT_SUCCESS', 'OTHER', '#{', '}', 'Report query result', '[opencell] Query result #{reportQueryName} #{startDate}', 'Dear #{userName},<br>
<br>
The result for your query is ready.<br>
Check the result on <a href="#{portalResultLink}">Opencell Portal</a><br>
Query : #{reportQueryName}<br>
Started : #{startDate}<br>
Duration : #{duration}<br>
Line count : #{lineCount}<br>
<br>
Best regards,<br>
Opencell team.');

INSERT INTO com_message_template (media, id, version, created, code, type, tag_start, tag_end, description, subject, textcontent) VALUES ('EMAIL', nextval('com_msg_tmpl_seq'), '0', NOW(), 'REPORT_QUERY_RESULT_FAILURE', 'OTHER', '#{', '}', 'Report query failure notification', '[opencell] Query failed #{reportQueryName} #{startDate}', 'Dear #{userName},

Query execution failed with error :
#{error}

Contact your administrator or support.

Query : #{reportQueryName}
Started : #{startDate}
Duration : #{duration}

Best regards,

Opencell team.');

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('INTRD-263_20210716', 'ZBariki', 'src/main/db_resources/changelog/rebuild/data-reports.xml', NOW(), 4971, '8:111b451cf6538be7f1c19eec1a205042', 'insert tableName=com_message_template; insert tableName=com_message_template', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-reports.xml::#5417_20200929 - Error while running CUSTOMERS_PER_SELLER report extracts::Mohamed-Ali-HAMMAL
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5417_20200929 - Error while running CUSTOMERS_PER_SELLER report extracts', 'Mohamed-Ali-HAMMAL', 'src/main/db_resources/changelog/rebuild/data-reports.xml', NOW(), 4973, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-reports.xml::#5425_20200930 - Failed to execute some report extract::Mohamed-Ali-HAMMAL
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#5425_20200930 - Failed to execute some report extract', 'Mohamed-Ali-HAMMAL', 'src/main/db_resources/changelog/rebuild/data-reports.xml', NOW(), 4975, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-reports.xml::#12569_20221222::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#12569_20221222', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data-reports.xml', NOW(), 4977, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-reports.xml::#12573_20221223::HichamELHALOUI
INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#12573_20221223', 'HichamELHALOUI', 'src/main/db_resources/changelog/rebuild/data-reports.xml', NOW(), 4979, '8:d41d8cd98f00b204e9800998ecf8427e', 'empty', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

-- Changeset src/main/db_resources/changelog/rebuild/data-reports.xml::#liquibase_hack_data-reports::AbdelmounaimAkadid
update databasechangelog set filename='src/main/db_resources/changelog/current/data.xml' where filename='src/main/db_resources/changelog/rebuild/data-reports.xml';

INSERT INTO databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('#liquibase_hack_data-reports', 'AbdelmounaimAkadid', 'src/main/db_resources/changelog/rebuild/data-reports.xml', NOW(), 4981, '8:af817886d9ca580a5025ebdc0d6509a1', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.0', '2952287937');

