Skip to content
Snippets Groups Projects
Commit 8f10d278 authored by Martin Mareš's avatar Martin Mareš
Browse files

DB: Nový typ jobu send_grading_info

parent 99dbda83
No related branches found
No related tags found
1 merge request!113Stav "opraveno"
This commit is part of merge request !113. Comments created here will be created in the context of that merge request.
...@@ -323,7 +323,8 @@ CREATE TYPE job_type AS ENUM ( ...@@ -323,7 +323,8 @@ CREATE TYPE job_type AS ENUM (
'upload_feedback', 'upload_feedback',
'create_protocols', 'create_protocols',
'process_scans', 'process_scans',
'fix_submits' 'fix_submits',
'send_grading_info'
); );
CREATE TYPE job_state AS ENUM ( CREATE TYPE job_state AS ENUM (
......
SET ROLE 'mo_osmo'; SET ROLE 'mo_osmo';
ALTER TYPE round_state ADD VALUE 'graded'; ALTER TYPE round_state ADD VALUE 'graded';
ALTER TYPE job_type ADD VALUE 'send_grading_info';
...@@ -716,6 +716,7 @@ class JobType(MOEnum): ...@@ -716,6 +716,7 @@ class JobType(MOEnum):
process_scans = auto() process_scans = auto()
sort_scans = auto() sort_scans = auto()
fix_submits = auto() fix_submits = auto()
send_grading_info = auto()
class JobState(MOEnum): class JobState(MOEnum):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment