mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-03-15 18:35:56 +01:00
add node_fail state to database schema
This commit is contained in:
parent
6454576417
commit
65d2698af4
@ -13,7 +13,7 @@ CREATE TABLE IF NOT EXISTS job (
|
|||||||
walltime INT NOT NULL DEFAULT 0,
|
walltime INT NOT NULL DEFAULT 0,
|
||||||
job_state VARCHAR(255) NOT NULL
|
job_state VARCHAR(255) NOT NULL
|
||||||
CHECK(job_state IN ('running', 'completed', 'failed', 'cancelled',
|
CHECK(job_state IN ('running', 'completed', 'failed', 'cancelled',
|
||||||
'stopped', 'timeout', 'preempted', 'out_of_memory')),
|
'stopped', 'timeout', 'preempted', 'out_of_memory', 'node_fail')),
|
||||||
meta_data TEXT, -- JSON
|
meta_data TEXT, -- JSON
|
||||||
resources TEXT NOT NULL, -- JSON
|
resources TEXT NOT NULL, -- JSON
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user