From bddfe5fe132270de1ee7ed975cbdc7ef0823b3cd Mon Sep 17 00:00:00 2001 From: Frank Dillon Date: Fri, 2 Jun 2006 15:39:33 +0000 Subject: [PATCH] Time Tracking fixes --- docs/upgrades/upgrade_6.99.2-6.99.3.pl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/upgrades/upgrade_6.99.2-6.99.3.pl b/docs/upgrades/upgrade_6.99.2-6.99.3.pl index 586401ac7..4b03e3d8f 100644 --- a/docs/upgrades/upgrade_6.99.2-6.99.3.pl +++ b/docs/upgrades/upgrade_6.99.2-6.99.3.pl @@ -24,6 +24,7 @@ addAssetIndex(); fixCs(); fixCss(); fixSpectre(); +fixTT(); finish($session); # this line required @@ -212,7 +213,18 @@ sub fixCs { $session->db->write("update Thread set karmaRank=karma/karmaScale"); } +#------------------------------------------------- +sub fixTT { + print "\tUpdating the Time Tracking System.\n" unless ($quiet); + my $tableList = [ + "alter table TT_wobject add pmIntegration integer not null default 0" + ]; + foreach (@{$tableList}) { + $session->db->write($_); + } + +} # ---- DO NOT EDIT BELOW THIS LINE ----