Lines 1-10
Link Here
|
1 |
$DBversion = 'XXX'; # will be replaced by the RM |
1 |
$DBversion = 'XXX'; # will be replaced by the RM |
2 |
if( CheckVersion( $DBversion ) ) { |
2 |
if( CheckVersion( $DBversion ) ) { |
3 |
$dbh->do( q| |
3 |
$dbh->do( q| |
4 |
UPDATE borowers SET relationship = NULL |
4 |
UPDATE borrowers SET relationship = NULL |
5 |
WHERE relationship = "" |
5 |
WHERE relationship = "" |
6 |
|); |
6 |
|); |
7 |
|
7 |
|
8 |
SetVersion( $DBversion ); |
8 |
SetVersion( $DBversion ); |
9 |
print "Upgrade to $DBversion done (Bug 24215 - Replace relationship with NULL when "")\n"; |
9 |
print "Upgrade to $DBversion done (Bug 24215 - Replace relationship with NULL when empty string)\n"; |
10 |
} |
10 |
} |
11 |
- |
|
|