diff --git a/installer/data/mysql/atomicupdate/bug_24215.perl b/installer/data/mysql/atomicupdate/bug_24215.perl new file mode 100644 index 0000000000..61a1915baf --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_24215.perl @@ -0,0 +1,10 @@ +$DBversion = 'XXX'; # will be replaced by the RM +if( CheckVersion( $DBversion ) ) { + $dbh->do( q| + UPDATE borowers SET relationship = NULL + WHERE relationship = "" + |); + + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 24215 - Replace relationship with NULL when "")\n"; +}