[sr-dev] git:sr_3.0: core: added id to every field of gw table schema

Juha Heinanen jh at tutpro.com
Fri Nov 6 05:43:57 CET 2009


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

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date:   Fri Nov  6 05:58:59 2009 +0200

core: added id to every field of gw table schema

---

 lib/srdb1/schema/gw.xml |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/lib/srdb1/schema/gw.xml b/lib/srdb1/schema/gw.xml
index bb2c354..a457719 100644
--- a/lib/srdb1/schema/gw.xml
+++ b/lib/srdb1/schema/gw.xml
@@ -47,14 +47,14 @@
         <description>ID of gateway's group</description>
     </column>
 
-    <column>
+    <column id="ip_addr">
         <name>ip_addr</name>
         <type>string</type>
         <size>15</size>
         <description>IP Address of the gateway</description>
     </column>
 
-    <column>
+    <column id="hostname">
         <name>hostname</name>
         <type>string</type>
         <size>64</size>
@@ -62,35 +62,35 @@
         <description>Hostname of the gateway</description>
     </column>
 
-    <column>
+    <column id="port">
         <name>port</name>
         <type>unsigned short</type>
         <null/>
         <description>Port of the gateway</description>
     </column>
 
-    <column>
+    <column id="uri_scheme">
         <name>uri_scheme</name>
         <type>unsigned char</type>
         <null/>
         <description>URI scheme of gateway</description>
     </column>
 
-    <column>
+    <column id="transport">
         <name>transport</name>
         <type>unsigned char</type>
         <null/>
         <description>Transport type to be used for the gateway</description>
     </column>
 
-    <column>
+    <column id="strip">
         <name>strip</name>
         <type>unsigned char</type>
         <null/>
         <description>The number of digits to strip from Request URI user part before inserting tag</description>
     </column>
 
-    <column>
+    <column id="tag">
         <name>tag</name>
         <type>string</type>
         <size>16</size>
@@ -99,21 +99,21 @@
         <description>Request URI user part tag</description>
     </column>
 
-    <column>
+    <column id="weight">
         <name>weight</name>
         <type>unsigned int</type>
         <null/>
         <description>Weight of gateway within gw_grp.  Valid values are 1-254.</description>
     </column>
 
-    <column>
+    <column id="flags">
         <name>flags</name>
         <type>unsigned int</type>
         <default>&DEFAULT_FLAGS;</default>
         <description>Gateway specific flags</description>
     </column>
 
-    <column>
+    <column id="defunct">
         <name>defunct</name>
         <type>unsigned int</type>
         <null/>




More information about the sr-dev mailing list