ALTER TABLE `candidatepost` ADD `deadline` ENUM( 'auto', 'open', 'closed' ) NOT NULL DEFAULT 'auto';

INSERT INTO `setup` (`id`, `category`, `Name`, `Value`, `RegEx`, `Explanation`, `ac_view`, `ac_edit`, `ac_audit`, `ac_jc`, `ac_registration`, `ac_localorg`, `ac_chair`, `default`, `empty`) VALUES (234 , 'jc', 'CloseWhenEnoughCandidates', 'false', '[bool]', 'When set, after the first deadline, candidating will only be possible for positions where there is not enough candidates yet. As soon as there is enough candidates, the list will close. Before the first deadline this setting has no effect, and everybody can candidate.', 'view', 'view', 'view', 'edit', 'view', 'view', 'view', 'false', 'no');

