Skip to content
Snippets Groups Projects

Zjednodušení práce s joby

Merged Jiří Setnička requested to merge jirka/jobs into devel
1 unresolved thread
4 files
+ 8
2
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 1
0
@@ -354,6 +354,7 @@ CREATE TABLE jobs (
job_id serial PRIMARY KEY,
type job_type NOT NULL,
state job_state NOT NULL,
priority int NOT NULL DEFAULT 0, -- vyšší číslo = vyšší priorita
user_id int NOT NULL REFERENCES users(user_id), -- komu patří
created_at timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP, -- kdy byl založen
finished_at timestamp with time zone DEFAULT NULL, -- kdy doběhl
Loading