Fix to cat_id field def, since default => 0 now works; an auto column should not

have a default defined
This commit is contained in:
Miles Lott 2001-07-13 14:36:56 +00:00
parent 4f0070ec5b
commit bcbe93152e

View File

@ -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),