/*UPDATEREVISION*/
INSERT INTO site (`setting`, `value`, `updateddate` ) VALUES ('dbversion', '$Rev: 2663 $', now()) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`), updateddate=now();

/*PATCHHERE*/
ALTER TABLE `releases` ADD `releasenfoID` INT NOT NULL DEFAULT '0' AFTER `reqID` ;
UPDATE releases,releasenfo SET releases.releasenfoID = releasenfo.ID WHERE releases.ID = releasenfo.releaseID ;
ALTER TABLE `releasenfo` DROP `attempts`
