Commit 56ae6c50 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix a couple of archive_tags to be the correct size (64).

parent 3a043935
......@@ -445,12 +445,11 @@ CREATE TABLE experiment_resources (
maxlinks tinyint(3) unsigned default '0',
delay_capacity tinyint(3) unsigned default NULL,
batchmode tinyint(1) unsigned default '0',
archive_tag varchar(32) NOT NULL default '',
archive_tag varchar(64) NOT NULL default '',
opsdbname varchar(64) default NULL,
thumbnail mediumblob,
PRIMARY KEY (idx),
KEY exptidx (exptidx),
KEY exptidx (exptidx),
KEY lastidx (lastidx)
) TYPE=MyISAM;
......@@ -475,7 +474,7 @@ CREATE TABLE experiment_runs (
idx int(10) unsigned NOT NULL auto_increment,
runid varchar(32) NOT NULL default '',
description tinytext,
archive_tag varchar(32) default NULL,
archive_tag varchar(64) default NULL,
start_time datetime default NULL,
stop_time datetime default NULL,
PRIMARY KEY (exptidx,idx)
......
......@@ -3385,4 +3385,11 @@ last_net_act,last_cpu_act,last_ext_act);
alter table experiments add dpdbname varchar(64) default NULL;
alter table experiment_stats add dpdbname varchar(64) default NULL;
4.64:
\ No newline at end of file
4.64: Fix archive tags to be proper size.
alter table experiment_resources change archive_tag \
archive_tag varchar(64) NOT NULL default '';
alter table experiment_runs change archive_tag \
archive_tag varchar(64) NOT NULL default '';
......@@ -334,7 +334,7 @@ CREATE TABLE experiment_runs (
-- A short description; not sure I really want this.
description tinytext,
-- The tag for the commit at the end of the run.
archive_tag varchar(32) default NULL,
archive_tag varchar(64) default NULL,
-- Timestamps
start_time datetime default NULL,
stop_time datetime 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