Module: sip-router
Branch: master
Commit: 7aa9323534c67f0c46597541c268da9abc6f86c0
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7aa9323…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Mon Apr 23 11:58:40 2012 +0100
lib/srdb1/schema, modules_k/rls, utils/kamctl: Updated rls_watchers table version number
---
lib/srdb1/schema/rls_watchers.xml | 2 +-
modules_k/rls/rls.c | 2 +-
utils/kamctl/db_berkeley/kamailio/version | 2 +-
utils/kamctl/db_sqlite/rls-create.sql | 2 +-
utils/kamctl/dbtext/kamailio/version | 2 +-
utils/kamctl/mysql/rls-create.sql | 2 +-
utils/kamctl/oracle/rls-create.sql | 2 +-
utils/kamctl/postgres/rls-create.sql | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/lib/srdb1/schema/rls_watchers.xml b/lib/srdb1/schema/rls_watchers.xml
index b3f8289..8abead0 100644
--- a/lib/srdb1/schema/rls_watchers.xml
+++ b/lib/srdb1/schema/rls_watchers.xml
@@ -9,7 +9,7 @@
<table id="rls_watchers"
xmlns:db="http://docbook.org/ns/docbook">
<name>rls_watchers</name>
- <version>2</version>
+ <version>3</version>
<type db="mysql">&MYSQL_TABLE_TYPE;</type>
<description>
<db:para>Table for RLS module used for storing resource lists subscribe
diff --git a/modules_k/rls/rls.c b/modules_k/rls/rls.c
index 379ed1d..845297b 100644
--- a/modules_k/rls/rls.c
+++ b/modules_k/rls/rls.c
@@ -62,7 +62,7 @@
MODULE_VERSION
#define P_TABLE_VERSION 1
-#define W_TABLE_VERSION 2
+#define W_TABLE_VERSION 3
#define X_TABLE_VERSION 4
/** database connection */
diff --git a/utils/kamctl/db_berkeley/kamailio/version
b/utils/kamctl/db_berkeley/kamailio/version
index adb7cb0..411ab6b 100644
--- a/utils/kamctl/db_berkeley/kamailio/version
+++ b/utils/kamctl/db_berkeley/kamailio/version
@@ -91,7 +91,7 @@ re_grp|1
rls_presentity|
rls_presentity|1
rls_watchers|
-rls_watchers|2
+rls_watchers|3
silo|
silo|6
sip_trace|
diff --git a/utils/kamctl/db_sqlite/rls-create.sql
b/utils/kamctl/db_sqlite/rls-create.sql
index c23c62b..e832978 100644
--- a/utils/kamctl/db_sqlite/rls-create.sql
+++ b/utils/kamctl/db_sqlite/rls-create.sql
@@ -16,7 +16,7 @@ CREATE INDEX rls_presentity_rlsubs_idx ON rls_presentity (rlsubs_did);
CREATE INDEX rls_presentity_updated_idx ON rls_presentity (updated);
CREATE INDEX rls_presentity_expires_idx ON rls_presentity (expires);
-INSERT INTO version (table_name, table_version) values
('rls_watchers','2');
+INSERT INTO version (table_name, table_version) values
('rls_watchers','3');
CREATE TABLE rls_watchers (
id INTEGER PRIMARY KEY NOT NULL,
presentity_uri VARCHAR(128) NOT NULL,
diff --git a/utils/kamctl/dbtext/kamailio/version b/utils/kamctl/dbtext/kamailio/version
index 166d5b4..a29bdc8 100644
--- a/utils/kamctl/dbtext/kamailio/version
+++ b/utils/kamctl/dbtext/kamailio/version
@@ -40,7 +40,7 @@ pua:7
purplemap:1
re_grp:1
rls_presentity:1
-rls_watchers:2
+rls_watchers:3
silo:6
sip_trace:3
speed_dial:2
diff --git a/utils/kamctl/mysql/rls-create.sql b/utils/kamctl/mysql/rls-create.sql
index 07a75b4..b1e90ae 100644
--- a/utils/kamctl/mysql/rls-create.sql
+++ b/utils/kamctl/mysql/rls-create.sql
@@ -16,7 +16,7 @@ CREATE INDEX rlsubs_idx ON rls_presentity (rlsubs_did);
CREATE INDEX updated_idx ON rls_presentity (updated);
CREATE INDEX expires_idx ON rls_presentity (expires);
-INSERT INTO version (table_name, table_version) values
('rls_watchers','2');
+INSERT INTO version (table_name, table_version) values
('rls_watchers','3');
CREATE TABLE rls_watchers (
id INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
presentity_uri VARCHAR(128) NOT NULL,
diff --git a/utils/kamctl/oracle/rls-create.sql b/utils/kamctl/oracle/rls-create.sql
index e7fa7d9..5f8b84f 100644
--- a/utils/kamctl/oracle/rls-create.sql
+++ b/utils/kamctl/oracle/rls-create.sql
@@ -24,7 +24,7 @@ CREATE INDEX rls_presentity_rlsubs_idx ON rls_presentity (rlsubs_did);
CREATE INDEX rls_presentity_updated_idx ON rls_presentity (updated);
CREATE INDEX rls_presentity_expires_idx ON rls_presentity (expires);
-INSERT INTO version (table_name, table_version) values
('rls_watchers','2');
+INSERT INTO version (table_name, table_version) values
('rls_watchers','3');
CREATE TABLE rls_watchers (
id NUMBER(10) PRIMARY KEY,
presentity_uri VARCHAR2(128),
diff --git a/utils/kamctl/postgres/rls-create.sql b/utils/kamctl/postgres/rls-create.sql
index 0eca1ef..205b98d 100644
--- a/utils/kamctl/postgres/rls-create.sql
+++ b/utils/kamctl/postgres/rls-create.sql
@@ -16,7 +16,7 @@ CREATE INDEX rls_presentity_rlsubs_idx ON rls_presentity (rlsubs_did);
CREATE INDEX rls_presentity_updated_idx ON rls_presentity (updated);
CREATE INDEX rls_presentity_expires_idx ON rls_presentity (expires);
-INSERT INTO version (table_name, table_version) values
('rls_watchers','2');
+INSERT INTO version (table_name, table_version) values
('rls_watchers','3');
CREATE TABLE rls_watchers (
id SERIAL PRIMARY KEY NOT NULL,
presentity_uri VARCHAR(128) NOT NULL,