MT#57270 Ignore some accounting.cdr* options

The reason is partitioning mechanism so the tables are created without
partitioning but then partitions are created by ngcp-cleanup-acc tool
as well as history tables like <table_name>_<date>

So ignore create_options for the list of tables and <table_name>_<date>.

The list of tables are from templates.git:ngcp-cleanup-tools/acc-cleanup.conf

Change-Id: I3a720d7b5b34498abe6805278795825cb1c708c7
mr11.4.1
Mykola Malkov 2 years ago
parent 0f65e4dd91
commit fef69f77cb

@ -24,6 +24,26 @@ my @diff_exceptions = qw(
views/ldap/ldap_entries/view_definition
tables/mysql/.+/create_options
.+/prosody/prosodyarchive
tables/accounting/cdr_cash_balance_data/create_options
tables/accounting/cdr_time_balance_data/create_options
tables/accounting/cdr_relation_data/create_options
tables/accounting/cdr_tag_data/create_options
tables/accounting/cdr_mos_data/create_options
tables/accounting/cdr_export_status_data/create_options
tables/accounting/cdr_group/create_options
tables/accounting/cdr_period_costs/create_options
tables/accounting/cdr/create_options
.+/accounting/cdr_cash_balance_data_[0-9]{6}/.+
.+/accounting/cdr_time_balance_data_[0-9]{6}/.+
.+/accounting/cdr_relation_data_[0-9]{6}/.+
.+/accounting/cdr_tag_data_[0-9]{6}/.+
.+/accounting/cdr_mos_data_[0-9]{6}/.+
.+/accounting/cdr_export_status_data_[0-9]{6}/.+
.+/accounting/cdr_group_[0-9]{6}/.+
.+/accounting/cdr_period_costs_[0-9]{6}/.+
.+/accounting/cdr_[0-9]{6}/.+
);
my $credentials_file = '/etc/mysql/sipwise_extra.cnf';

Loading…
Cancel
Save