-- new columns used for metadata field ordering
ALTER TABLE SystemConfiguration ADD COLUMN FieldDisplayFolder INT;
ALTER TABLE SystemConfiguration ADD COLUMN FieldEditFolder INT;
ALTER TABLE SystemConfiguration ADD COLUMN CollapseMetadataFieldGroups INT DEFAULT 0;

-- new column used for showing the number of resources publicly viewable
ALTER TABLE SystemConfiguration ADD COLUMN ShowNumResourcesEnabled INT DEFAULT 0;

-- new column in ApplicationFramework table to control error logging
ALTER TABLE ApplicationFrameworkSettings ADD COLUMN LoggingLevel INT DEFAULT 4;

-- new column in SystemConfiguration to store mail delivery settings
ALTER TABLE SystemConfiguration ADD COLUMN EmailDeliverySettings TEXT;
