Lines 7746-7754
if(CheckVersion($DBversion)) {
Link Here
|
7746 |
$DBversion = "3.13.00.XXX"; |
7746 |
$DBversion = "3.13.00.XXX"; |
7747 |
if ( CheckVersion($DBversion) ) { |
7747 |
if ( CheckVersion($DBversion) ) { |
7748 |
$dbh->do("ALTER TABLE items ADD itemlost_on DATETIME NULL AFTER itemlost"); |
7748 |
$dbh->do("ALTER TABLE items ADD itemlost_on DATETIME NULL AFTER itemlost"); |
7749 |
$dbh->do("ALTER TABLE items ADD withdrawn_on DATETIME NULL AFTER wthdrawn"); |
7749 |
$dbh->do("ALTER TABLE items ADD withdrawn_on DATETIME NULL AFTER withdrawn"); |
7750 |
$dbh->do("ALTER TABLE deleteditems ADD itemlost_on DATETIME NULL AFTER itemlost"); |
7750 |
$dbh->do("ALTER TABLE deleteditems ADD itemlost_on DATETIME NULL AFTER itemlost"); |
7751 |
$dbh->do("ALTER TABLE deleteditems ADD withdrawn_on DATETIME NULL AFTER wthdrawn"); |
7751 |
$dbh->do("ALTER TABLE deleteditems ADD withdrawn_on DATETIME NULL AFTER withdrawn"); |
7752 |
print "Upgrade to $DBversion done (Bug 9673 - Track when items are marked as lost or withdrawn)\n"; |
7752 |
print "Upgrade to $DBversion done (Bug 9673 - Track when items are marked as lost or withdrawn)\n"; |
7753 |
SetVersion ($DBversion); |
7753 |
SetVersion ($DBversion); |
7754 |
} |
7754 |
} |