mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-06-08 00:23:48 +02:00
Fix error in node table migration
This commit is contained in:
parent
5186b3f61e
commit
2c102cd1ff
@ -4,12 +4,12 @@ CREATE TABLE "node" (
|
||||
cluster VARCHAR(255) NOT NULL,
|
||||
subcluster VARCHAR(255) NOT NULL,
|
||||
node_state VARCHAR(255) NOT NULL
|
||||
CHECK (job_state IN (
|
||||
CHECK (node_state IN (
|
||||
'allocated', 'reserved', 'idle', 'mixed',
|
||||
'down', 'unknown'
|
||||
)),
|
||||
health_state VARCHAR(255) NOT NULL
|
||||
CHECK (job_state IN (
|
||||
CHECK (health_state IN (
|
||||
'full', 'partial', 'failed'
|
||||
)),
|
||||
meta_data TEXT, -- JSON
|
||||
|
Loading…
x
Reference in New Issue
Block a user