Bug 24263: DB changes

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2019-12-18 14:08:34 +01:00 committed by Joy Nelson
parent 7a7d92d611
commit d6f660e4f0
1 changed files with 10 additions and 0 deletions

View File

@ -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";
}