Browse Source

- preparations for db_oracle driver merging
- rename column names that uses reserved words from oracle
- update siptrace code and carrierroute documentation
- siptrace table version increased, but this is not checked in code anyway
- carrierroute code changed as comment is displayed from setup tools
- the other modules don't use the colum in question, its only a comment
so no version update is necessary
- SQL scheme files and documentation also updated
- Patch provided from Iouri Kharon, yjh at styx dot cabel dot net


git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3972 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt 17 years ago
parent
commit
c5e925db34

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

@@ -93,7 +93,7 @@
 		  </column>
 		  </column>
 		  
 		  
 		  <column>
 		  <column>
-			  <name>comment</name>
+			  <name>description</name>
 			  <type>string</type>
 			  <type>string</type>
 			  <size>&hf_len;</size>
 			  <size>&hf_len;</size>
 			  <null/>
 			  <null/>

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

@@ -108,7 +108,7 @@
 		  </column>
 		  </column>
 		  
 		  
 		  <column>
 		  <column>
-			  <name>comment</name>
+			  <name>description</name>
 			  <type>string</type>
 			  <type>string</type>
 			  <size>&hf_len;</size>
 			  <size>&hf_len;</size>
 			  <null/>
 			  <null/>

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

@@ -60,7 +60,7 @@
     </column>
     </column>
 
 
     <column>
     <column>
-        <name>comment</name>
+        <name>description</name>
         <type>string</type>
         <type>string</type>
         <size>&rule_len;</size>
         <size>&rule_len;</size>
         <description>Comment about the rule</description>
         <description>Comment about the rule</description>

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

@@ -44,7 +44,7 @@
     </column>
     </column>
 
 
      <column>
      <column>
-        <name>comment</name>
+        <name>description</name>
         <type>string</type>
         <type>string</type>
         <size>&user_len;</size>
         <size>&user_len;</size>
         <default/>
         <default/>

+ 4 - 4
lib/srdb1/schema/sip_trace.xml

@@ -9,7 +9,7 @@
 
 
 <table id="sip_trace" xmlns:db="http://docbook.org/ns/docbook">
 <table id="sip_trace" xmlns:db="http://docbook.org/ns/docbook">
     <name>sip_trace</name>
     <name>sip_trace</name>
-    <version>1</version>
+    <version>2</version>
     <type db="mysql">&MYSQL_TABLE_TYPE;</type>
     <type db="mysql">&MYSQL_TABLE_TYPE;</type>
     <description>
     <description>
         <db:para>This table is used to store incoming/outgoing SIP messages in database. More informations can be found in the siptrace module documentation at: &OPENSER_MOD_DOC;siptrace.html.
         <db:para>This table is used to store incoming/outgoing SIP messages in database. More informations can be found in the siptrace module documentation at: &OPENSER_MOD_DOC;siptrace.html.
@@ -27,8 +27,8 @@
         <description>unique ID</description>
         <description>unique ID</description>
     </column>
     </column>
 
 
-    <column id="date">
-        <name>date</name>
+    <column id="time_stamp">
+        <name>time_stamp</name>
         <type>datetime</type>
         <type>datetime</type>
         <default>&DEFAULT_DATETIME;</default>
         <default>&DEFAULT_DATETIME;</default>
         <description>Recording date</description>
         <description>Recording date</description>
@@ -112,7 +112,7 @@
 
 
     <index>
     <index>
         <name>date_idx</name>
         <name>date_idx</name>
-        <colref linkend="date"/>
+        <colref linkend="time_stamp"/>
     </index>
     </index>
 
 
     <index>
     <index>

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

@@ -60,7 +60,7 @@
     </column>
     </column>
 
 
      <column>
      <column>
-        <name>comment</name>
+        <name>description</name>
         <type>string</type>
         <type>string</type>
         <size>&user_len;</size>
         <size>&user_len;</size>
         <default/>
         <default/>