Revert "add node_fail state to database schema"

This reverts commit 65d2698af4a104fbd5ff1faf0f462e6a50b6a466.
This commit is contained in:
Michael Panzlaff 2025-03-04 18:15:53 +01:00
parent aa3fe2b872
commit bd93b8be8e

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', 'node_fail')),
'stopped', 'timeout', 'preempted', 'out_of_memory')),
meta_data TEXT, -- JSON
resources TEXT NOT NULL, -- JSON