Revert "add missing node_fail to db constraints"

This reverts commit d4336b0dcb4e054a39033fc681634c285d08d4d8.
This commit is contained in:
Michael Panzlaff 2025-03-04 18:15:46 +01:00
parent a61ff915ac
commit aa3fe2b872

View File

@ -11,7 +11,7 @@ array_job_id BIGINT,
duration INT NOT NULL,
walltime INT NOT NULL,
job_state VARCHAR(255) NOT NULL
CHECK(job_state IN ('running', 'completed', 'failed', 'cancelled', 'stopped', 'timeout', 'preempted', 'out_of_memory', 'node_fail')),
CHECK(job_state IN ('running', 'completed', 'failed', 'cancelled', 'stopped', 'timeout', 'preempted', 'out_of_memory')),
meta_data TEXT, -- JSON
resources TEXT NOT NULL, -- JSON
num_nodes INT NOT NULL,