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: I884adc442e48202fd0061fece400f5fcb6f892b5changes/05/25105/3
parent
0add785a00
commit
d5c306d372
@ -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