Commit 136807bd authored by Robert Ricci's avatar Robert Ricci
Browse files

Added two columns to the nodes table. The first is called 'state', and

will hold the current state (ie 'REBOOTING', 'RELOADING', etc.) The
second is called 'state_timestamp' and will hold the time (in seconds
since the epoch) at which the node entered that state.
parent 4bc24c62
......@@ -438,6 +438,8 @@ CREATE TABLE nodes (
next_pxe_boot_path text,
bios_version varchar(64) default NULL,
eventstatus tinytext,
state varchar(10) default NULL,
state_timestamp int(10) unsigned default NULL,
PRIMARY KEY (node_id)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment