Commit 86774822 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add some battery related stuff to the nodes table.

	battery_voltage float default NULL,
	battery_percentage float default NULL,
	battery_timestamp int(10) unsigned default NULL,
parent b642c1d7
......@@ -1075,6 +1075,9 @@ CREATE TABLE nodes (
stated_tag varchar(32) default NULL,
rtabid smallint(5) unsigned NOT NULL default '0',
cd_version varchar(32) default NULL,
battery_voltage float default NULL,
battery_percentage float default NULL,
battery_timestamp int(10) unsigned default NULL,
PRIMARY KEY (node_id),
KEY phys_nodeid (phys_nodeid),
KEY node_id (node_id,phys_nodeid),
......
......@@ -2242,3 +2242,10 @@ last_net_act,last_cpu_act,last_ext_act);
stack_id='<stackid>';
update switch_stack_types set stack_id='Control' where \
stack_id='<stackid>';
1.294: Add some battery stuff for robots to the nodes table.
alter table nodes add battery_voltage float default NULL;
alter table nodes add battery_percentage float default NULL;
alter table nodes add battery_timestamp int(10) unsigned default NULL;
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