mirror of https://github.com/sipwise/db-schema.git
* there can be more than one journal record created per a transaction (e.g. a subscriber and a customer are created at once, therefore the tx_id field cannot be unique) Change-Id: I0046f41ec52412dbad319610d7b1b87988798586mr10.3.1
parent
c150636508
commit
4145e46ef0
@ -0,0 +1,5 @@
|
||||
USE billing;
|
||||
|
||||
ALTER TABLE billing.journals
|
||||
DROP KEY txid_idx,
|
||||
ADD UNIQUE KEY txid_idx (tx_id);
|
||||
@ -0,0 +1,5 @@
|
||||
USE billing;
|
||||
|
||||
ALTER TABLE billing.journals
|
||||
DROP KEY txid_idx,
|
||||
ADD KEY txid_idx (tx_id);
|
||||
Loading…
Reference in new issue