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

Nové typy jobů pro protokoly

parent 6044b158
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !81. Comments created here will be created in the context of that merge request.
......@@ -273,7 +273,9 @@ CREATE INDEX log_type_id_index ON log (type, id);
CREATE TYPE job_type AS ENUM (
'download_submits',
'upload_feedback'
'upload_feedback',
'create_protocols',
'process_scans'
);
CREATE TYPE job_state AS ENUM (
......
SET ROLE 'mo_osmo';
ALTER TYPE job_type ADD VALUE 'create_protocols';
ALTER TYPE job_type ADD VALUE 'process_scans';
......@@ -580,6 +580,8 @@ class Solution(Base):
class JobType(MOEnum):
download_submits = auto()
upload_feedback = auto()
create_protocols = auto()
process_scans = auto()
class JobState(MOEnum):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment