diff --git a/db_scripts/diff/8293.down b/db_scripts/diff/8293.down index 55d2b535..b0bf22b4 100644 --- a/db_scripts/diff/8293.down +++ b/db_scripts/diff/8293.down @@ -3,4 +3,4 @@ use kamailio; ALTER TABLE dialog CHANGE COLUMN `caller_cseq` `caller_cseq` varchar(7) NOT NULL; ALTER TABLE dialog CHANGE COLUMN `callee_cseq` `callee_cseq` varchar(7) NOT NULL; ALTER TABLE dialog DROP COLUMN `toroute_name`; -UPDATE version set table_version=5 where table_name='dialog'; \ No newline at end of file +UPDATE version set table_version=4 where table_name='dialog'; diff --git a/db_scripts/diff/8293.up b/db_scripts/diff/8293.up index 1112a27b..27532e03 100644 --- a/db_scripts/diff/8293.up +++ b/db_scripts/diff/8293.up @@ -3,4 +3,4 @@ use kamailio; ALTER TABLE dialog CHANGE COLUMN `caller_cseq` `caller_cseq` varchar(20) NOT NULL; ALTER TABLE dialog CHANGE COLUMN `callee_cseq` `callee_cseq` varchar(20) NOT NULL; ALTER TABLE dialog ADD COLUMN `toroute_name` varchar(32) DEFAULT NULL AFTER `toroute`; -REPLACE INTO version(table_name, table_version) VALUES ('dialog', 5); \ No newline at end of file +UPDATE version set table_version=5 where table_name='dialog';