Procházet zdrojové kódy

lib: srdb1 - added x_context column to topos tables

Daniel-Constantin Mierla před 4 roky
rodič
revize
e6609d4041

+ 9 - 1
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>

+ 9 - 1
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>