Commit 3a42e5df authored by Timothy Stack's avatar Timothy Stack
Browse files

Add a table for the location of the robot holding pens.

parent d883dbc5
...@@ -1015,6 +1015,20 @@ CREATE TABLE node_rusage ( ...@@ -1015,6 +1015,20 @@ CREATE TABLE node_rusage (
PRIMARY KEY (node_id) PRIMARY KEY (node_id)
) TYPE=MyISAM; ) TYPE=MyISAM;
--
-- Table structure for table `node_startloc`
--
CREATE TABLE node_startloc (
node_id varchar(32) NOT NULL default '',
building varchar(32) NOT NULL default '',
floor varchar(32) NOT NULL default '',
loc_x float NOT NULL default '0',
loc_y float NOT NULL default '0',
orientation float NOT NULL default '0',
PRIMARY KEY (node_id,building,floor)
) TYPE=MyISAM;
-- --
-- Table structure for table `node_status` -- Table structure for table `node_status`
-- --
......
...@@ -2531,3 +2531,15 @@ last_net_act,last_cpu_act,last_ext_act); ...@@ -2531,3 +2531,15 @@ last_net_act,last_cpu_act,last_ext_act);
table to indicate if an interface supports WhOL. table to indicate if an interface supports WhOL.
alter table interfaces add whol tinyint(4) NOT NULL default '0'; alter table interfaces add whol tinyint(4) NOT NULL default '0';
1.323: Add a table for the location of the robot holding pens.
CREATE TABLE node_startloc (
node_id varchar(32) NOT NULL default '',
building varchar(32) NOT NULL default '',
floor varchar(32) NOT NULL default '',
loc_x float NOT NULL default '0',
loc_y float NOT NULL default '0',
orientation float NOT NULL default '0',
PRIMARY KEY (node_id,building,floor)
) TYPE=MyISAM;
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