Module: kamailio Branch: master Commit: bb407ad5afb41697be127b390e25ba959fa1b27b URL: https://github.com/kamailio/kamailio/commit/bb407ad5afb41697be127b390e25ba95...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2015-03-26T21:19:48+01:00
srdb1/schema: added priority column to presentity table
- version of the table increased to 4
---
Modified: lib/srdb1/schema/pr_presentity.xml
---
Diff: https://github.com/kamailio/kamailio/commit/bb407ad5afb41697be127b390e25ba95... Patch: https://github.com/kamailio/kamailio/commit/bb407ad5afb41697be127b390e25ba95...
---
diff --git a/lib/srdb1/schema/pr_presentity.xml b/lib/srdb1/schema/pr_presentity.xml index eb793ca..88c3e9a 100644 --- a/lib/srdb1/schema/pr_presentity.xml +++ b/lib/srdb1/schema/pr_presentity.xml @@ -9,7 +9,7 @@
<table id="presentity" xmlns:db="http://docbook.org/ns/docbook"> <name>presentity</name> - <version>3</version> + <version>4</version> <type db="mysql">&MYSQL_TABLE_TYPE;</type> <description> db:paraTable for the presence module. More information can be found at: &KAMAILIO_MOD_DOC;presence.html @@ -84,6 +84,14 @@ <description>Sender contact</description> </column>
+ <column> + <name>priority</name> + <type>int</type> + <size>11</size> + <default>0</default> + <description>Priority of the record</description> + </column> + <index> <name>presentity_idx</name> <colref linkend="username"/>
Daniel-Constantin Mierla writes:
srdb1/schema: added priority column to presentity table
- version of the table increased to 4
version has not yet been upgraded in module code:
#define S_TABLE_VERSION 3 #define P_TABLE_VERSION 3 #define ACTWATCH_TABLE_VERSION 11
and starting of kamailio thus fails.
-- juha
Thanks, fixed.
Daniel
On 27/03/15 08:50, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
srdb1/schema: added priority column to presentity table
- version of the table increased to 4
version has not yet been upgraded in module code:
#define S_TABLE_VERSION 3 #define P_TABLE_VERSION 3 #define ACTWATCH_TABLE_VERSION 11
and starting of kamailio thus fails.
-- juha
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev