From 934411d45748937a481a4387887d051256dfdee0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Thu, 19 Mar 2009 16:09:59 +0000 Subject: [PATCH] fixes the problem adding new nodes using the API as boot_states changed we should change the default value for the node --- migrations/v42-to-v43/migrate.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/migrations/v42-to-v43/migrate.sql b/migrations/v42-to-v43/migrate.sql index dc16b69..7ec4409 100644 --- a/migrations/v42-to-v43/migrate.sql +++ b/migrations/v42-to-v43/migrate.sql @@ -133,6 +133,7 @@ INSERT INTO node_types (node_type) VALUES ('dummynet'); -- nodes ---------------------------------------- ALTER TABLE nodes ADD COLUMN node_type TEXT REFERENCES node_types DEFAULT 'regular'; -- node types +ALTER TABLE nodes ALTER COLUMN boot_state SET DEFAULT 'reinstall'; -- boot_states changed in planetlab5.sql ALTER TABLE nodes ADD COLUMN verified boolean NOT NULL DEFAULT false; -- whether or not the node & pcu are verified ALTER TABLE nodes ADD COLUMN run_level TEXT REFERENCES run_levels DEFAULT NULL; -- Node Run Level -- 2.43.0