mirror of https://github.com/sipwise/db-schema.git
to prevent a pontential foreign key error in susequent
alter table billing_fees_raw
..,
add unique key bfr_srcdestdir_idx (billing_profile_id, type,
match_mode, direction, source, destination),
..;
the key is turned into not-unique afterwards with 15449.up
Change-Id: I884adc442e48202fd0061fece400f5fcb6f892b5
(cherry picked from commit d5c306d372
)
changes/45/25145/1
parent
bdf221d8d7
commit
f5482ccbce
@ -0,0 +1,4 @@
|
||||
use billing;
|
||||
|
||||
alter table billing_fees_raw drop index bfr_srcdestdir_idx;
|
||||
alter table billing_fees_raw add key bfr_srcdestdir_idx (billing_profile_id, type, match_mode, direction, source, destination);
|
Loading…
Reference in new issue