From bcbe93152e8902baa871bd7d0826962bc25ecb27 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Fri, 13 Jul 2001 14:36:56 +0000 Subject: [PATCH] Fix to cat_id field def, since default => 0 now works; an auto column should not have a default defined --- phpgwapi/setup/tables_current.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/setup/tables_current.inc.php b/phpgwapi/setup/tables_current.inc.php index 97d3a63c06..25666fae6d 100644 --- a/phpgwapi/setup/tables_current.inc.php +++ b/phpgwapi/setup/tables_current.inc.php @@ -171,7 +171,7 @@ ), 'phpgw_categories' => array( 'fd' => array( - 'cat_id' => array('type' => 'auto', 'precision' => 4, 'default' => 0, 'nullable' => false), + 'cat_id' => array('type' => 'auto', 'precision' => 4, 'nullable' => false), 'cat_main' => array('type' => 'int', 'precision' => 4, 'default' => 0, 'nullable' => false), 'cat_parent' => array('type' => 'int', 'precision' => 4, 'default' => 0, 'nullable' => false), 'cat_level' => array('type' => 'int', 'precision' => 2, 'default' => 0, 'nullable' => false),