From 2366d95282cff7c04ad3ccd55092cd8e6a976722 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 --- 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 0000000..29bda91 --- /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.1.4