Browse Source

* Schema changes due to gw/dm to gw/flags change.

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3402 689a6050-402a-0410-94f2-e92a70836424
Juha Heinanen 18 years ago
parent
commit
71eafcc959
2 changed files with 6 additions and 6 deletions
  1. 1 1
      lib/srdb1/schema/entities.xml
  2. 5 5
      lib/srdb1/schema/gw.xml

+ 1 - 1
lib/srdb1/schema/entities.xml

@@ -23,5 +23,5 @@
 <!ENTITY DEFAULT_CALLID "Default-Call-ID">
 <!ENTITY DEFAULT_CSEQ "13">
 <!ENTITY DEFAULT_DATETIME "1900-01-01 00:00:01"> <!-- postgresql doesn't like 0000-00-00 00:00:00 -->
-<!ENTITY DEFAULT_DM "1">
+<!ENTITY DEFAULT_FLAGS "0">
 <!ENTITY OPENSER_MOD_DOC "http://www.openser.org/docs/modules/devel/">

+ 5 - 5
lib/srdb1/schema/gw.xml

@@ -10,7 +10,7 @@
 
 <table id="gw" xmlns:db="http://docbook.org/ns/docbook">
     <name>gw</name>
-    <version>5</version>
+    <version>6</version>
     <type db="mysql">&MYSQL_TABLE_TYPE;</type>
     <description>
         <db:para>This table contains Least Cost Routing Gateway definitions for the LCR module.
@@ -87,10 +87,10 @@
     </column>
 
     <column>
-        <name>dm</name>
-        <type>unsigned char</type>
-        <default>&DEFAULT_DM;</default>
-        <description>Does gateway support directed media (0 = no, 1 = yes)</description>
+        <name>flags</name>
+        <type>unsigned int</type>
+        <default>&DEFAULT_FLAGS;</default>
+        <description>Gateway specific flags</description>
     </column>
 
     <index>