svn keywords
[plcapi.git] / migrations / v42-to-v43 / migrate.sql
index dc16b69..2b5fb2b 100644 (file)
@@ -1,8 +1,9 @@
 -- Thierry Parmentelat - INRIA
 -- 
 -- $Id$
+-- $URL$
 --
--- this is part of the script to migrate from 4.2 to 5.0
+-- this is part of the script to migrate from 4.2 to 4.3
 -- 
 -- most of the renamings have taken place already when this script is invoked
 --
@@ -133,6 +134,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