Browse code

lib/srdb1: updated schema for trusted table of permissions module

Emmanuel Schmidbauer authored on 17/06/2015 14:24:08
Showing 1 changed files
... ...
@@ -9,7 +9,7 @@
9 9
 
10 10
 <table id="trusted" xmlns:db="http://docbook.org/ns/docbook">
11 11
     <name>trusted</name>
12
-    <version>5</version>
12
+    <version>6</version>
13 13
     <type db="mysql">&MYSQL_TABLE_TYPE;</type>
14 14
     <description>
15 15
         <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
... ...
@@ -51,6 +51,15 @@
51 51
     </column>
52 52
 
53 53
     <column>
54
+        <name>ruri_pattern</name>
55
+        <type>string</type>
56
+        <size>&id_len;</size>
57
+        <default><null/></default>
58
+        <null/>
59
+        <description>Regular expression matches Request URI of request.</description>
60
+    </column>
61
+
62
+    <column>
54 63
         <name>tag</name>
55 64
         <type>string</type>
56 65
         <size>64</size>
... ...
@@ -58,6 +67,13 @@
58 58
         <description>Tag</description>
59 59
     </column>
60 60
 
61
+    <column>
62
+        <name>priority</name>
63
+        <type>int</type>
64
+        <default>0</default>
65
+        <description>Priority of rule.</description>
66
+    </column>
67
+
61 68
     <index>
62 69
         <name>peer_idx</name>
63 70
         <colref linkend="src_ip"/>