mirror of https://github.com/sipwise/db-schema.git
* type field is now varchar(255) to allow custom
dictionary data to be entered
* add new dictionary values:
(header related dvalues are prefixed with 'header='
to avoid possible collisions as such fields will be
dynamic)
- furnished_charging_info
- header=Divesion
- header=P-Asserted-Identity
Change-Id: I907ad7d074e8ecbdcbfb57ba06dcab3645d60cf6
changes/53/22253/2
parent
fdca15c981
commit
43e2607a70
@ -0,0 +1,8 @@
|
||||
USE accounting;
|
||||
set autocommit = 0;
|
||||
|
||||
DELETE FROM cdr_tag WHERE type != 'calling_party_category';
|
||||
|
||||
ALTER TABLE cdr_tag MODIFY type enum('calling_party_category') NOT NULL;
|
||||
|
||||
COMMIT;
|
||||
@ -0,0 +1,10 @@
|
||||
USE accounting;
|
||||
SET autocommit=0;
|
||||
|
||||
ALTER TABLE cdr_tag MODIFY type VARCHAR(255) NOT NULL;
|
||||
|
||||
INSERT INTO cdr_tag (type) VALUES ('furnished_charging_info'),
|
||||
('header=P-Asserted-Identity'),
|
||||
('header=Diversion');
|
||||
|
||||
COMMIT;
|
||||
Loading…
Reference in new issue