add node_fail state to database schema

This commit is contained in:
Michael Panzlaff 2025-03-04 17:47:49 +01:00
parent 6454576417
commit 65d2698af4

View File

@ -13,7 +13,7 @@ CREATE TABLE IF NOT EXISTS job (
walltime INT NOT NULL DEFAULT 0,
job_state VARCHAR(255) NOT NULL
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
resources TEXT NOT NULL, -- JSON