Bug 6759: Update existing accountlines for 'A'

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Martin Renvoize 2019-04-24 11:15:33 +01:00
parent 839c095b54
commit 129223040f
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -0,0 +1,15 @@
$DBversion = 'XXX'; # will be replaced by the RM
if ( CheckVersion($DBversion) ) {
$dbh->do(qq{
UPDATE
accountlines
SET
accounttype = 'ACCOUNT'
WHERE
accounttype = 'A';
});
SetVersion($DBversion);
print "Upgrade to $DBversion done (Bug 11573 - Fix accounttypes for 'A')\n";
}