diff --git a/db_scripts/diff/15165.down b/db_scripts/diff/15165.down new file mode 100644 index 00000000..a62e29e7 --- /dev/null +++ b/db_scripts/diff/15165.down @@ -0,0 +1,8 @@ +use billing; +set autocommit=0; + +ALTER TABLE billing_profiles DROP COLUMN fraud_use_reseller_rates; + +DROP INDEX said_stime_idx ON accounting.cdr; + +commit; diff --git a/db_scripts/diff/15165.up b/db_scripts/diff/15165.up new file mode 100644 index 00000000..a65f30be --- /dev/null +++ b/db_scripts/diff/15165.up @@ -0,0 +1,8 @@ +use billing; +set autocommit=0; + +ALTER TABLE billing_profiles ADD COLUMN fraud_use_reseller_rates tinyint(3) unsigned default 0 AFTER fraud_daily_notify; + +CREATE INDEX said_stime_idx ON accounting.cdr (source_account_id, start_time); + +commit;