diff --git a/phpgwapi/setup/tables_current.inc.php b/phpgwapi/setup/tables_current.inc.php index 117152c2d9..ae73b34c74 100644 --- a/phpgwapi/setup/tables_current.inc.php +++ b/phpgwapi/setup/tables_current.inc.php @@ -328,7 +328,7 @@ 'name' => array('type' => 'text','nullable' => False), 'link_directory' => array('type' => 'text','nullable' => True), 'link_name' => array('type' => 'text','nullable' => True), - 'version' => array('type' => 'varchar', 'precision' => 30,'nullable' => False,'default' => '0.0.0.0') + 'version' => array('type' => 'varchar', 'precision' => 30,'nullable' => False,'default' => '0.0.0.0'), 'content' => array('type' => 'text','nullable' => False) ), 'pk' => array('file_id'), diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index 87245e4155..ccdd23885f 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -32,6 +32,13 @@ return $GLOBALS['setup_info']['phpgwapi']['currentver']; } + $test[] = '0.9.14.000'; + function phpgwapi_upgrade0_9_14_000() + { + $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.001'; + return $GLOBALS['setup_info']['phpgwapi']['currentver']; + } + $test[] = '0.9.15.001'; function phpgwapi_upgrade0_9_15_001() { @@ -68,7 +75,7 @@ $db2->query('INSERT INTO phpgw_newprefs (preference_owner,preference_value) VALUES(' . $accountid . ",'" - . $GLOBALS['phpgw_setup']->oProc->f('preference_value') . "')", + . $GLOBALS['phpgw_setup']->oProc->f('preference_value') . "')", __LINE__,__FILE__); }