INSERT INTO site (`ID`, `setting`, `value`, `updateddate`) VALUES (NULL, 'userdownloadpurgedays', '0', now());

alter table userdownloads add `releaseID` INT NULL;
CREATE INDEX releaseID ON userdownloads (releaseID);