[sr-dev] git:master: db schema (k) - address table structure update

Daniel-Constantin Mierla miconda at gmail.com
Sat Mar 27 23:31:34 CET 2010


Module: sip-router
Branch: master
Commit: a549e66e612829bfaf13e581872ea49bddd6c205
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a549e66e612829bfaf13e581872ea49bddd6c205

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Sat Mar 27 23:28:01 2010 +0100

db schema (k) - address table structure update

- added tag column used by allow_address() from permissions module
- version of the table increased

---

 lib/srdb1/schema/address.xml |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/lib/srdb1/schema/address.xml b/lib/srdb1/schema/address.xml
index 8c7fd7b..10d102c 100644
--- a/lib/srdb1/schema/address.xml
+++ b/lib/srdb1/schema/address.xml
@@ -9,7 +9,7 @@
 
 <table id="address" xmlns:db="http://docbook.org/ns/docbook">
     <name>address</name>
-    <version>3</version>
+    <version>4</version>
     <type db="mysql">&MYSQL_TABLE_TYPE;</type>
     <description>
         <db:para>This table is used by the permissions module. More information is available at: &KAMAILIO_MOD_DOC;permissions.html
@@ -46,7 +46,7 @@
         <name>mask</name>
         <type>char</type>
         <default>32</default>
-        <description>Network mask</description>
+		<description>Network mask - integer equal or less than 32</description>
     </column>
 
     <column>
@@ -56,4 +56,14 @@
         <default>0</default>
         <description>Port</description>
     </column>
+
+	<column>
+        <name>tag</name>
+        <type>string</type>
+        <size>64</size>
+        <null/>
+		<description>Tag - string value returned in config variable
+		upon address matching</description>
+    </column>
+
 </table>




More information about the sr-dev mailing list