DELETE FROM PROJECTS;
DELETE FROM PROJECTSUBFOLDERS;
DELETE FROM PROJECTMESSAGES;

alter table CATEGORIES add CATEGORYTYPE INTEGER;
update CATEGORIES set CATEGORYTYPE = 0;

update SYSPARAMETERS set VALUESTRING = '53' where CONTEXT = 'SYSTEMINFO' and name = 'DBVersionLow';
update SYSPARAMETERS set VALUESTRING = '2004-03-02' where CONTEXT = 'SYSTEMINFO' and name = 'DBCreationDate';
commit;