From 85efd5bc7de2e45add10df5167e9fef1bfdc3b61 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 11 Nov 2006 20:38:04 +0000 Subject: [PATCH] r1280: Adding the upgrade file --- install/global.php | 3 +- install/upgrade9.php | 92 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+), 1 deletion(-) create mode 100644 install/upgrade9.php diff --git a/install/global.php b/install/global.php index 55b3a04..b780ab0 100644 --- a/install/global.php +++ b/install/global.php @@ -82,7 +82,8 @@ $bugsys->versions = array( '1.1.0' => 6, '1.1.1' => 7, '1.1.2' => 8, - '1.1.3' => -1 + '1.1.3' => 9, + '1.1.4' => -1 ); // ################################################################### diff --git a/install/upgrade9.php b/install/upgrade9.php new file mode 100644 index 0000000..e53f20f --- /dev/null +++ b/install/upgrade9.php @@ -0,0 +1,92 @@ +in['mark'] == 0) +{ +?> +

Welcome to Bugdar

+ +

This upgrade will take from Bugdar 1.1.3 to Bugdar 1.1.4.

+ +

To begin the process, please click the button below.

+in['mark'] == 1) +{ +?> +

Schema Changes

+ +

Changing the storage type of the time zone field from INT to FLOAT to fix a bug.

+query("ALTER TABLE user CHANGE timezone timezone float(4) NOT NULL DEFAULT 0"); + + echo "... done
\n"; +} + +// ################################################################### + +if ($bugsys->in['mark'] == 2) +{ +?> +

Version Number Change

+ +

This step finishes the upgrade by inreasing your version number.

+ +query("UPDATE " . TABLE_PREFIX . "setting SET value = '1.1.4' WHERE varname = 'trackerversion'"); + + build_settings(); + +?> + +... done. + + \ No newline at end of file -- 2.22.5