----------------------------------------
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
----------------------------------------
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,
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,