lib/srdb1: updated schema for trusted table of permissions module
authorEmmanuel Schmidbauer <eschmidbauer@voipxswitch.com>
Wed, 17 Jun 2015 14:24:08 +0000 (16:24 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Wed, 17 Jun 2015 14:24:08 +0000 (16:24 +0200)
lib/srdb1/schema/trusted.xml

index 179e3f4..3959851 100644 (file)
@@ -9,7 +9,7 @@
 
 <table id="trusted" xmlns:db="http://docbook.org/ns/docbook">
     <name>trusted</name>
-    <version>5</version>
+    <version>6</version>
     <type db="mysql">&MYSQL_TABLE_TYPE;</type>
     <description>
         <db:para>This table is used by the permissions module to determine if a call has the appropriate permission to be established. More information about the permissions module can be found at: &KAMAILIO_MOD_DOC;permissions.html
         <description>Regular expression matches From URI of request.</description>
     </column>
 
+    <column>
+        <name>ruri_pattern</name>
+        <type>string</type>
+        <size>&id_len;</size>
+        <default><null/></default>
+        <null/>
+        <description>Regular expression matches Request URI of request.</description>
+    </column>
+
     <column>
         <name>tag</name>
         <type>string</type>
         <description>Tag</description>
     </column>
 
+    <column>
+        <name>priority</name>
+        <type>int</type>
+        <default>0</default>
+        <description>Priority of rule.</description>
+    </column>
+
     <index>
         <name>peer_idx</name>
         <colref linkend="src_ip"/>