-
Notifications
You must be signed in to change notification settings - Fork 10
Reset Judging Status of a Contest (Phase)
phiesel edited this page Aug 8, 2014
·
2 revisions
To reset every judging and screening action of a contest, or a contest phase in specific, the following database updates have to be done:
-
Delete the ratings in ProposalRating:
DELETE FROM xcolab_manuel.xcolab_ProposalRating WHERE contestPhaseId = $id;
-
Reset all the ProposalContestPhaseAttributes:
SELECT * FROM xcolab_ProposalContestPhaseAttribute WHERE contestPhaseId = $id;
Then set all rows with FELLOW_ACTION, FELLOW_ACTION_COMMENT, FELLOW_ADVANCEMENT_FROZEN, JUDGE_DECISION, SELECTED_JUDGES to 0 and empty string values
-
If a proposal was advanced already, delete the PROMOTE_DONE attribute and delete the row in Proposal2Phase