Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MO-P
Odevzdávací Systém MO
Commits
8f10d278
Project 'mj/mo-submit' was moved to 'mo-p/osmo'. Please update any links and bookmarks that may still have the old path.
Commit
8f10d278
authored
Jan 15, 2022
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
DB: Nový typ jobu send_grading_info
parent
99dbda83
Branches
Branches containing commit
No related tags found
1 merge request
!113
Stav "opraveno"
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
db/db.ddl
+2
-1
2 additions, 1 deletion
db/db.ddl
db/upgrade-20220115.sql
+2
-0
2 additions, 0 deletions
db/upgrade-20220115.sql
mo/db.py
+1
-0
1 addition, 0 deletions
mo/db.py
with
5 additions
and
1 deletion
db/db.ddl
+
2
−
1
View file @
8f10d278
...
...
@@ -323,7 +323,8 @@ CREATE TYPE job_type AS ENUM (
'upload_feedback',
'create_protocols',
'process_scans',
'fix_submits'
'fix_submits',
'send_grading_info'
);
CREATE TYPE job_state AS ENUM (
...
...
This diff is collapsed.
Click to expand it.
db/upgrade-20220115.sql
+
2
−
0
View file @
8f10d278
SET
ROLE
'mo_osmo'
;
ALTER
TYPE
round_state
ADD
VALUE
'graded'
;
ALTER
TYPE
job_type
ADD
VALUE
'send_grading_info'
;
This diff is collapsed.
Click to expand it.
mo/db.py
+
1
−
0
View file @
8f10d278
...
...
@@ -716,6 +716,7 @@ class JobType(MOEnum):
process_scans
=
auto
()
sort_scans
=
auto
()
fix_submits
=
auto
()
send_grading_info
=
auto
()
class
JobState
(
MOEnum
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment