From f1f773318f4382b57b4fa9cd1f0cc618528b3a25 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 21 Feb 2018 07:04:22 -0500 Subject: [PATCH] Bug 18790: Add new account offsets to atomic update Signed-off-by: Josef Moravec Signed-off-by: Jonathan Druart --- installer/data/mysql/atomicupdate/bug_18790.perl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_18790.perl diff --git a/installer/data/mysql/atomicupdate/bug_18790.perl b/installer/data/mysql/atomicupdate/bug_18790.perl new file mode 100644 index 0000000000..29bda91360 --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_18790.perl @@ -0,0 +1,8 @@ +$DBversion = 'XXX'; # will be replaced by the RM +if( CheckVersion( $DBversion ) ) { + + $dbh->do( q{INSERT IGNORE INTO account_offset_types ( type ) VALUES ('Void Payment')} ); + + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 18790 - Add ability to void payment)\n"; +} -- 2.20.1