
ALTER TABLE SystemConfiguration ADD COLUMN FileField INT DEFAULT -1 AFTER UrlField;
ALTER TABLE SystemConfiguration ADD COLUMN PreferredLinkValue ENUM ("URL", "FILE") DEFAULT "FILE";
ALTER TABLE SystemConfiguration ADD COLUMN TitlesLinkTo ENUM ("URL", "RECORD") DEFAULT "URL";

UPDATE Classifications SET LinkString = "";
UPDATE SystemConfiguration SET TopLinkString = "";

