[sr-dev] git:master:bb407ad5: srdb1/schema: added priority column to presentity table

Daniel-Constantin Mierla miconda at gmail.com
Thu Mar 26 21:20:07 CET 2015


Module: kamailio
Branch: master
Commit: bb407ad5afb41697be127b390e25ba959fa1b27b
URL: https://github.com/kamailio/kamailio/commit/bb407ad5afb41697be127b390e25ba959fa1b27b

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/bb407ad5afb41697be127b390e25ba959fa1b27b.diff
Patch: https://github.com/kamailio/kamailio/commit/bb407ad5afb41697be127b390e25ba959fa1b27b.patch

---

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:para>Table 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"/>




More information about the sr-dev mailing list