diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index c6e220ac8..2595281f6 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -9,6 +9,7 @@ - fixed: subscription group in CS edit not internationalized - fixed: profile photos don't obey max image size - fixed: Unable to communicate with Spectre under alternate locales + - fixed: Project Manager can't track non-integer durations 7.5.8 - moved Gallery utility methods to WebGUI::Utility::Gallery diff --git a/docs/upgrades/upgrade_7.5.8-7.5.9.pl b/docs/upgrades/upgrade_7.5.8-7.5.9.pl index ec18a1111..168ed2cba 100644 --- a/docs/upgrades/upgrade_7.5.8-7.5.9.pl +++ b/docs/upgrades/upgrade_7.5.8-7.5.9.pl @@ -25,6 +25,7 @@ my $session = start(); # this line required ensureUTF8($session); addRichEditInlinePopup($session); updateRichEditorButtons($session); +setPMFloatingDuration($session); finish($session); # this line required @@ -37,6 +38,14 @@ finish($session); # this line required # print "DONE!\n" unless $quiet; #} +#---------------------------------------------------------------------------- +sub setPMFloatingDuration { + my $session = shift; + print "\tChanging Project manager to use floating numbers for duration... " unless $quiet; + $session->db->write('ALTER TABLE `PM_task` MODIFY `duration` FLOAT'); + print "Done.\n" unless $quiet; +} + #---------------------------------------------------------------------------- sub addRichEditInlinePopup { my $session = shift;