From: Stephen Soltesz Date: Wed, 18 Mar 2009 15:59:26 +0000 (+0000) Subject: remove extrainfo field from db. should use 'tags' instead. X-Git-Tag: PLCAPI-4.3-4~5 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=01e2aa6be6a637030067ff6ca9270068ec51ea40;p=plcapi.git remove extrainfo field from db. should use 'tags' instead. --- diff --git a/migrations/v42-to-v43/migrate.sql b/migrations/v42-to-v43/migrate.sql index 7eeb01e9..a95b2158 100644 --- a/migrations/v42-to-v43/migrate.sql +++ b/migrations/v42-to-v43/migrate.sql @@ -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 ---------------------------------------- diff --git a/planetlab5.sql b/planetlab5.sql index 14632827..786e11cb 100644 --- a/planetlab5.sql +++ b/planetlab5.sql @@ -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,