Commit f0f612a6 authored by Mike Hibler's avatar Mike Hibler

Add cd_version column to nodes table

parent e9140de1
......@@ -408,13 +408,13 @@ CREATE TABLE firewalls (
CREATE TABLE floorimages (
building varchar(32) NOT NULL default '',
floor varchar(32) NOT NULL default '',
scale tinyint(4) NOT NULL default '1',
image_path tinytext,
thumb_path tinytext,
x1 int(6) NOT NULL default '0',
y1 int(6) NOT NULL default '0',
x2 int(6) NOT NULL default '0',
y2 int(6) NOT NULL default '0',
scale tinyint(4) NOT NULL default '1',
PRIMARY KEY (building,floor,scale)
) TYPE=MyISAM;
......@@ -1050,6 +1050,7 @@ CREATE TABLE nodes (
sfshostid varchar(128) default NULL,
stated_tag varchar(32) default NULL,
rtabid smallint(5) unsigned NOT NULL default '0',
cd_version varchar(32) default NULL,
PRIMARY KEY (node_id),
KEY phys_nodeid (phys_nodeid),
KEY node_id (node_id,phys_nodeid),
......@@ -1697,7 +1698,6 @@ CREATE TABLE userslastlogin (
PRIMARY KEY (uid)
) TYPE=MyISAM;
--
-- Table structure for table `usrp_orders`
--
......
......@@ -2049,3 +2049,8 @@ last_net_act,last_cpu_act,last_ext_act);
inner_elab_role enum('boss', 'ops', 'node') \
default NULL after fixed;
1.277: Add cd_version to nodes table, only meaningful to CD booted nodes.
Returned from nodes via tmcd.
alter table nodes add cd_version varchar(32) 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