mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-06-08 08:33:49 +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,
|
cluster VARCHAR(255) NOT NULL,
|
||||||
subcluster VARCHAR(255) NOT NULL,
|
subcluster VARCHAR(255) NOT NULL,
|
||||||
node_state VARCHAR(255) NOT NULL
|
node_state VARCHAR(255) NOT NULL
|
||||||
CHECK (job_state IN (
|
CHECK (node_state IN (
|
||||||
'allocated', 'reserved', 'idle', 'mixed',
|
'allocated', 'reserved', 'idle', 'mixed',
|
||||||
'down', 'unknown'
|
'down', 'unknown'
|
||||||
)),
|
)),
|
||||||
health_state VARCHAR(255) NOT NULL
|
health_state VARCHAR(255) NOT NULL
|
||||||
CHECK (job_state IN (
|
CHECK (health_state IN (
|
||||||
'full', 'partial', 'failed'
|
'full', 'partial', 'failed'
|
||||||
)),
|
)),
|
||||||
meta_data TEXT, -- JSON
|
meta_data TEXT, -- JSON
|
||||||
|
Loading…
x
Reference in New Issue
Block a user