Nick Clemens
5 years ago
3 changed files with 18 additions and 17 deletions
@ -1,16 +0,0 @@ |
|||
$DBversion = 'XXX'; # will be replaced by the RM |
|||
if ( CheckVersion($DBversion) ) { |
|||
|
|||
my $rows = $dbh->do( |
|||
qq{ |
|||
UPDATE `accountlines` |
|||
SET |
|||
`accounttype` = 'FU' |
|||
WHERE |
|||
`accounttype` = 'O' |
|||
} |
|||
); |
|||
|
|||
SetVersion($DBversion); |
|||
printf "Upgrade to $DBversion done (Bug 22518 - Fix accounttype 'O' to 'FU' - %d updated)\n", $rows; |
|||
} |
Loading…
Reference in new issue