Commit 94d4f211 authored by David Johnson's avatar David Johnson
Browse files

Add planetlab node history table.

parent 84a71aaf
......@@ -2179,6 +2179,23 @@ CREATE TABLE `plab_mapping` (
PRIMARY KEY (`node_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Table structure for table `plab_nodehist`
--
DROP TABLE IF EXISTS `plab_nodehist`;
CREATE TABLE `plab_nodehist` (
`idx` mediumint(10) unsigned NOT NULL auto_increment,
`node_id` varchar(32) NOT NULL,
`phys_node_id` varchar(32) NOT NULL,
`timestamp` datetime NOT NULL,
`component` varchar(64) NOT NULL,
`operation` varchar(64) NOT NULL,
`status` enum('success','failure','unknown') NOT NULL default 'unknown',
`msg` text,
PRIMARY KEY (`idx`,`node_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Table structure for table `plab_site_mapping`
--
......
......@@ -3943,3 +3943,20 @@ last_net_act,last_cpu_act,last_ext_act);
alter table project add
`allow_workbench` tinyint(1) NOT NULL default '0'
after cvsrepo_public;
4.116: Add custom history table for planetlab nodes.
DROP TABLE IF EXISTS `plab_nodehist`;
CREATE TABLE `plab_nodehist` (
`idx` mediumint(10) unsigned NOT NULL auto_increment,
`node_id` varchar(32) NOT NULL,
`phys_node_id` varchar(32) NOT NULL,
`timestamp` datetime NOT NULL,
`component` varchar(64) NOT NULL,
`operation` varchar(64) NOT NULL,
`status` enum('success','failure','unknown') NOT NULL default 'unknown',
`msg` text,
PRIMARY KEY (`idx`,`node_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Markdown is supported
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