MT#19009 kamailio: upgrade to 4.4.0

* This will be executed in every node in order to
  be able to have different versions during the upgrade process

* skip changes to table uacreg, we don't have it

Change-Id: I5b6256f2b2942da5260ef3b32492188a4357e405
changes/22/5622/5
Victor Seva 9 years ago
parent d2a62ff019
commit 4c0616b8fd

@ -0,0 +1,22 @@
set sql_log_bin=0;
set autocommit=0;
START TRANSACTION;
USE kamailio;
-- table: active_watchers
ALTER TABLE active_watchers
DROP COLUMN flags;
ALTER TABLE active_watchers
DROP COLUMN user_agent;
REPLACE INTO version (`table_name`, `table_version`) VALUES ('active_watchers','11');
-- table: trusted
ALTER TABLE trusted
DROP COLUMN priority;
ALTER TABLE trusted
DROP COLUMN ruri_pattern;
REPLACE INTO version (`table_name`, `table_version`) VALUES ('trusted','5');
COMMIT;

@ -0,0 +1,20 @@
set sql_log_bin=0;
set autocommit=0;
START TRANSACTION;
USE kamailio;
-- table: active_watchers
ALTER TABLE active_watchers
ADD COLUMN flags INT(11) NOT NULL DEFAULT '0',
ADD COLUMN user_agent VARCHAR(255) NOT NULL;
REPLACE INTO version (`table_name`, `table_version`) VALUES ('active_watchers','12');
-- table: trusted
ALTER TABLE trusted
ADD COLUMN priority INT(11) NOT NULL DEFAULT '0',
ADD COLUMN ruri_pattern VARCHAR(64) NULL;
REPLACE INTO version (`table_name`, `table_version`) VALUES ('trusted','6');
COMMIT;
Loading…
Cancel
Save