From 4a57f5c2e5d860fa1ddf293993f7ace3ab4a09fa Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 30 Nov 2018 19:45:19 +0000 Subject: [PATCH] Bug 21728: Add 'Reserve Fee' to the account_offset_types Signed-off-by: Josef Moravec Signed-off-by: Tomas Cohen Arazi --- .../bug_21728_add_accountoffset_reserve.perl | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_21728_add_accountoffset_reserve.perl diff --git a/installer/data/mysql/atomicupdate/bug_21728_add_accountoffset_reserve.perl b/installer/data/mysql/atomicupdate/bug_21728_add_accountoffset_reserve.perl new file mode 100644 index 0000000000..c8014dc9c9 --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_21728_add_accountoffset_reserve.perl @@ -0,0 +1,9 @@ +$DBversion = 'XXX'; # will be replaced by the RM +if( CheckVersion( $DBversion ) ) { + $dbh->do(q{ + INSERT IGNORE INTO account_offset_types ( type ) VALUES ( 'Reserve Fee' ); + }); + + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 21728 - Add 'Reserve Fee' to the account_offset_types table if missing)\n"; +} -- 2.20.1