remove extrainfo field from db. should use 'tags' instead.
authorStephen Soltesz <soltesz@cs.princeton.edu>
Wed, 18 Mar 2009 15:59:26 +0000 (15:59 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Wed, 18 Mar 2009 15:59:26 +0000 (15:59 +0000)
migrations/v42-to-v43/migrate.sql
planetlab5.sql

index 7eeb01e..a95b215 100644 (file)
@@ -124,7 +124,6 @@ INSERT INTO run_levels  (run_level) VALUES ('reinstall');
 ----------------------------------------
 ALTER TABLE nodes ADD COLUMN node_type TEXT NOT NULL DEFAULT 'regular';
 ALTER TABLE nodes ADD COLUMN verified boolean NOT NULL DEFAULT false;  -- whether or not the node & pcu are verified
-ALTER TABLE nodes ADD COLUMN extrainfo TEXT;
 ALTER TABLE nodes ADD COLUMN run_level TEXT REFERENCES run_levels DEFAULT NULL; -- Node Run Level
 
 ----------------------------------------
index 1463282..786e11c 100644 (file)
@@ -300,7 +300,6 @@ CREATE TABLE nodes (
     ssh_rsa_key text,                                  -- SSH host key updated by Boot Manager
     key text,                                          -- Node key generated when boot file is downloaded
        verified boolean NOT NULL DEFAULT false,                -- whether or not the node & pcu are verified
-       extrainfo text,
 
     -- Timestamps
     date_created timestamp without time zone NOT NULL DEFAULT CURRENT_TIMESTAMP,
@@ -1080,7 +1079,6 @@ nodes.model,
 nodes.boot_nonce,
 nodes.version,
 nodes.verified,
-nodes.extrainfo,
 nodes.ssh_rsa_key,
 nodes.key,
 CAST(date_part('epoch', nodes.date_created) AS bigint) AS date_created,