Commit 84cb3199 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add a child template pointer to experiment_templates to store the guid

of the most recent child (modification). Better then passing this info
back in a print statement to be parsed.
parent 6147c3be
......@@ -694,6 +694,8 @@ CREATE TABLE experiment_templates (
vers smallint(5) unsigned NOT NULL default '0',
parent_guid varchar(16) default NULL,
parent_vers smallint(5) unsigned default NULL,
child_guid varchar(16) default NULL,
child_vers smallint(5) unsigned default NULL,
pid varchar(12) NOT NULL default '',
gid varchar(16) NOT NULL default '',
tid varchar(32) NOT NULL default '',
......
......@@ -3559,3 +3559,15 @@ last_net_act,last_cpu_act,last_ext_act);
active tinyint(1) NOT NULL default '0.000';
4.76: Change to previous revision; skip to next entry.
4.77: Add a child template pointer to experiment_templates to store
the guid of the most recent child (modification). Better then
passing this info back in a print statement to be parsed.
**** Skip this if you just did 4.41 above.
alter table experiment_templates add \
child_guid varchar(16) default NULL after parent_vers;
alter table experiment_templates add \
child_vers smallint(5) unsigned default NULL after child_guid;
......@@ -22,6 +22,9 @@ CREATE TABLE experiment_templates (
-- Pointer to parent, for modification.
parent_guid varchar(16) default NULL,
parent_vers smallint(5) unsigned default NULL,
-- Pointer to most recent child, for modification.
child_guid varchar(16) default NULL,
child_vers smallint(5) unsigned default NULL,
-- Project ID
pid varchar(12) NOT NULL default '',
-- Group ID
......
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