[sr-dev] git:master:e6609d40: lib: srdb1 - added x_context column to topos tables

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 31 22:02:47 CEST 2021


Module: kamailio
Branch: master
Commit: e6609d4041f9bc74b68fe83b67ba4499e8fb1924
URL: https://github.com/kamailio/kamailio/commit/e6609d4041f9bc74b68fe83b67ba4499e8fb1924

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-03-31T21:44:12+02:00

lib: srdb1 - added x_context column to topos tables

---

Modified: src/lib/srdb1/schema/topos_d.xml
Modified: src/lib/srdb1/schema/topos_t.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/e6609d4041f9bc74b68fe83b67ba4499e8fb1924.diff
Patch: https://github.com/kamailio/kamailio/commit/e6609d4041f9bc74b68fe83b67ba4499e8fb1924.patch

---

diff --git a/src/lib/srdb1/schema/topos_d.xml b/src/lib/srdb1/schema/topos_d.xml
index f0ee77473f..ea7d3b9895 100644
--- a/src/lib/srdb1/schema/topos_d.xml
+++ b/src/lib/srdb1/schema/topos_d.xml
@@ -9,7 +9,7 @@
 
 <table id="topos_d" xmlns:db="http://docbook.org/ns/docbook">
     <name>topos_d</name>
-    <version>1</version>
+    <version>2</version>
     <type db="mysql">&MYSQL_TABLE_TYPE;</type>
     <description>
 		<db:para>This table is used to store topos structures in database. More
@@ -38,6 +38,14 @@
         <description>Date and time when this record was written.</description>
     </column>
 
+    <column id="x_context">
+        <name>x_context</name>
+        <type>string</type>
+        <size>64</size>
+        <default/>
+        <description>Context value</description>
+    </column>
+
     <column id="s_method">
         <name>s_method</name>
         <type>string</type>
diff --git a/src/lib/srdb1/schema/topos_t.xml b/src/lib/srdb1/schema/topos_t.xml
index 0fdda01590..0d32b14881 100644
--- a/src/lib/srdb1/schema/topos_t.xml
+++ b/src/lib/srdb1/schema/topos_t.xml
@@ -9,7 +9,7 @@
 
 <table id="topos_t" xmlns:db="http://docbook.org/ns/docbook">
     <name>topos_t</name>
-    <version>1</version>
+    <version>2</version>
     <type db="mysql">&MYSQL_TABLE_TYPE;</type>
     <description>
 		<db:para>This table is used to store topos structures in database. More
@@ -38,6 +38,14 @@
         <description>Date and time when this record was written.</description>
     </column>
 
+   <column id="x_context">
+        <name>x_context</name>
+        <type>string</type>
+        <size>64</size>
+        <default/>
+        <description>Context value</description>
+    </column>
+
     <column id="s_method">
         <name>s_method</name>
         <type>string</type>




More information about the sr-dev mailing list