Browse Source

srdb1/schema: added priority column to presentity table

- version of the table increased to 4
Daniel-Constantin Mierla 10 years ago
parent
commit
bb407ad5af
1 changed files with 9 additions and 1 deletions
  1. 9 1
      lib/srdb1/schema/pr_presentity.xml

+ 9 - 1
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"/>