Time Tracking fixes

This commit is contained in:
Frank Dillon 2006-06-02 15:39:33 +00:00
parent 4e4a3fa51c
commit bddfe5fe13

View file

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