From 263f054beecafa68cd2e3a4d0f15424470742cfb Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 22 Jun 2003 11:23:53 +0000 Subject: [PATCH] updated to reflect changes in .16: phpgw_vfs.content has to be nullable --- phpgwapi/setup/tables_update.inc.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index 687f2917b7..981ede43a3 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -147,6 +147,14 @@ return $GLOBALS['setup_info']['phpgwapi']['currentver']; } + $test[] = '0.9.14.507'; + function phpgwapi_upgrade0_9_14_507() + { + // 0.9.15.001-14 are already included in 0.9.14.507 + $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.014'; + return $GLOBALS['setup_info']['phpgwapi']['currentver']; + } + $test[] = '0.9.15.001'; function phpgwapi_upgrade0_9_15_001() { @@ -405,4 +413,18 @@ $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.013'; return $GLOBALS['setup_info']['phpgwapi']['currentver']; } + + + $test[] = '0.9.15.013'; + function phpgwapi_upgrade0_9_14_506() + { + $GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_vfs','content',array( + 'type' => 'text', + 'nullable' => True + )); + + + $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.014'; + return $GLOBALS['setup_info']['phpgwapi']['currentver']; + } ?>