فهرست منبع

lib/srdb1/schema/mtrees.xml: schema upgrade

- Added tvalue to unique index, because each prefix can now be
  associated with more than one value.
Juha Heinanen 14 سال پیش
والد
کامیت
20b73cb697
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      lib/srdb1/schema/mtrees.xml

+ 3 - 2
lib/srdb1/schema/mtrees.xml

@@ -9,7 +9,7 @@
 
 <table id="mtrees" xmlns:db="http://docbook.org/ns/docbook">
     <name>mtrees</name>
-    <version>1</version>
+    <version>2</version>
     <type db="mysql">&MYSQL_TABLE_TYPE;</type>
     <description>
         <db:para>This table is used by the mtree module to load values in shared memory trees at start up. More information about the mtree module can be found at: &KAMAILIO_MOD_DOC;mtree.html
@@ -51,9 +51,10 @@
     </column>
 
     <index>
-        <name>tname_tprefix_idx</name>
+        <name>tname_tprefix_tvalue_idx</name>
         <colref linkend="tname"/>
         <colref linkend="tprefix"/>
+        <colref linkend="tvalue"/>
         <unique/>
     </index>