Commit fda07cdb authored by Timothy Stack's avatar Timothy Stack

Add a table for the starting location of the robots.

parent e189be0a
......@@ -376,9 +376,9 @@ CREATE TABLE experiments (
elab_in_elab tinyint(1) NOT NULL default '0',
elabinelab_eid varchar(32) default NULL,
security_level tinyint(1) NOT NULL default '0',
lockdown tinyint(1) NOT NULL default '0',
paniced tinyint(1) NOT NULL default '0',
panic_date datetime default NULL,
lockdown tinyint(1) NOT NULL default '0',
PRIMARY KEY (eid,pid),
KEY idx (idx),
KEY batchmode (batchmode)
......@@ -1948,6 +1948,22 @@ CREATE TABLE virt_node_desires (
PRIMARY KEY (pid,eid,vname,desire)
) TYPE=MyISAM;
--
-- Table structure for table `virt_node_startloc`
--
CREATE TABLE virt_node_startloc (
pid varchar(12) NOT NULL default '',
eid varchar(32) NOT NULL default '',
vname 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 (pid,eid,vname)
) TYPE=MyISAM;
--
-- Table structure for table `virt_nodes`
--
......
......@@ -2338,3 +2338,17 @@ last_net_act,last_cpu_act,last_ext_act);
alter table experiments add lockdown tinyint(1) NOT NULL \
default '0' after security_level;
1.304: Add a table for the starting location of the robots.
CREATE TABLE virt_node_startloc (
pid varchar(12) NOT NULL default '',
eid varchar(32) NOT NULL default '',
vname 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 (pid,eid,vname)
) 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