diff dbdefs.inc.php @ 640:c78e11aa3162

Rename a database field, so that it does not conflict with AJAX request item name.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 03 Nov 2014 01:58:04 +0200
parents 8e11a86204a9
children 1702a5e0b9c3
line wrap: on
line diff
--- a/dbdefs.inc.php	Mon Nov 03 01:40:28 2014 +0200
+++ b/dbdefs.inc.php	Mon Nov 03 01:58:04 2014 +0200
@@ -1,6 +1,6 @@
 <?
 
-$dbVersion = 16;
+$dbVersion = 17;
 
 //
 // Site settings and defaults we put in
@@ -229,8 +229,8 @@
     array("visible"      , "INT", "DEFAULT 0"),
     array("voting"       , "INT", "DEFAULT 0"),
     array("show_authors" , "INT", "DEFAULT 0"),
-    array("type"         , "INT", "DEFAULT 0"),
-    array("path"         , "VARCHAR(".SET_LEN_COMPO_PATH.")"),
+    array("ctype"        , "INT", "DEFAULT 0"),
+    array("cpath"        , "VARCHAR(".SET_LEN_COMPO_PATH.")"),
   ),
   
   "entries" => array(
@@ -414,6 +414,11 @@
   14 => array(
     "settings_groups" => array("table" => FALSE),
   ),
+  
+  17 => array(
+    "ctype" => array("key" => "type"),
+    "cpath" => array("key" => "path"),
+  ),
 );