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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Merge requests
!98
Praktické úlohy a propojení s CMS
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Praktické úlohy a propojení s CMS
mj/prakticke-ulohy
into
devel
Overview
4
Commits
5
Changes
11
Merged
Martin Mareš
requested to merge
mj/prakticke-ulohy
into
devel
3 years ago
Overview
4
Commits
5
Changes
11
Expand
0
0
Merge request reports
Compare
devel
version 8
0d7c2373
3 years ago
version 7
0d7c2373
3 years ago
version 6
082cf331
3 years ago
version 5
bdb6f427
3 years ago
version 4
5b78f02a
3 years ago
version 3
e8a5c95f
3 years ago
version 2
962b347e
3 years ago
version 1
324e2b6a
3 years ago
devel (base)
and
latest version
latest version
0d7c2373
5 commits,
3 years ago
version 8
0d7c2373
5 commits,
3 years ago
version 7
0d7c2373
5 commits,
3 years ago
version 6
082cf331
6 commits,
3 years ago
version 5
bdb6f427
6 commits,
3 years ago
version 4
5b78f02a
5 commits,
3 years ago
version 3
e8a5c95f
4 commits,
3 years ago
version 2
962b347e
3 commits,
3 years ago
version 1
324e2b6a
2 commits,
3 years ago
11 files
+
152
−
48
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
db/db.ddl
+
8
−
1
Options
@@ -179,13 +179,20 @@ CREATE TABLE participations (
CREATE INDEX participations_contest_id_index ON participations (contest_id, place_id);
-- Úloha
-- Úlohy
CREATE TYPE task_type AS ENUM (
'regular', -- obyčejná úloha
'cms' -- praktická úloha kategorie P odevzdávaná přes CMS
);
CREATE TABLE tasks (
task_id serial PRIMARY KEY,
round_id int NOT NULL REFERENCES rounds(round_id),
code varchar(255) NOT NULL, -- např. "P-I-1"
name varchar(255) NOT NULL,
max_points numeric(5,1) DEFAULT NULL, -- maximální počet bodů, pokud je nastaven, nelze zadat více bodů
type task_type NOT NULL DEFAULT 'regular',
UNIQUE (round_id, code)
);
Loading