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

DB: Nový typ jobu fix_submits

parent ff70f784
No related branches found
No related tags found
1 merge request!109Automatická oprava rozbitých PDF
This commit is part of merge request !109. Comments created here will be created in the context of that merge request.
......@@ -320,7 +320,8 @@ CREATE TYPE job_type AS ENUM (
'download_submits',
'upload_feedback',
'create_protocols',
'process_scans'
'process_scans',
'fix_submits'
);
CREATE TYPE job_state AS ENUM (
......
......@@ -5,3 +5,5 @@ ALTER TABLE papers ADD COLUMN
INSERT INTO users(user_id, email, first_name, last_name, is_admin, email_notify, last_login_at, note)
VALUES(0, 'system', 'Systém', 'OSMO', true, false, NOW(), 'Systémový uživatel');
ALTER TYPE job_type ADD VALUE 'fix_submits';
......@@ -703,6 +703,7 @@ class JobType(MOEnum):
create_protocols = auto()
process_scans = auto()
sort_scans = auto()
fix_submits = 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