Commit 91b86f5a authored by Leigh Stoller's avatar Leigh Stoller

Add location_info table.

parent b6da3a51
......@@ -546,6 +546,22 @@ CREATE TABLE linkdelays (
PRIMARY KEY (node_id,vlan,vnode)
) TYPE=MyISAM;
--
-- Table structure for table `location_info`
--
CREATE TABLE location_info (
node_id varchar(32) NOT NULL default '',
floor varchar(32) default NULL,
building varchar(32) default NULL,
loc_x int(10) unsigned NOT NULL default '0',
loc_y int(10) unsigned NOT NULL default '0',
contact tinytext,
phone tinytext,
room varchar(32) default NULL,
PRIMARY KEY (node_id)
) TYPE=MyISAM;
--
-- Table structure for table `login`
--
......
......@@ -1394,3 +1394,17 @@ last_net_act,last_cpu_act,last_ext_act);
alter table plab_slices add column admin tinyint(1) default 0;
1.233: Add location_info table for generating wireless location maps.
CREATE TABLE location_info (
node_id varchar(32) NOT NULL default '',
floor varchar(32) default NULL,
building varchar(32) default NULL,
loc_x int(10) unsigned NOT NULL default '0',
loc_y int(10) unsigned NOT NULL default '0',
contact tinytext,
phone tinytext,
room varchar(32) default NULL,
PRIMARY KEY (node_id)
) 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