Commit 2b86b5b2 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Change min/max nodes column in experiments table from tinyint to int.

parent bd942080
......@@ -330,8 +330,8 @@ CREATE TABLE experiments (
batchmode tinyint(4) NOT NULL default '0',
shared tinyint(4) NOT NULL default '0',
state varchar(16) NOT NULL default 'new',
maximum_nodes tinyint(4) default NULL,
minimum_nodes tinyint(4) default NULL,
maximum_nodes int(6) unsigned default NULL,
minimum_nodes int(6) unsigned default NULL,
testdb tinytext,
path tinytext,
logfile tinytext,
......@@ -2353,3 +2353,12 @@ last_net_act,last_cpu_act,last_ext_act);
orientation float NOT NULL default '0',
PRIMARY KEY (pid,eid,vname)
1.305: Fix up minimum_nodes and maximum_nodes columns; they were
tinyints which is too small.
alter table experiments change minimum_nodes minimum_nodes \
int(6) unsigned default NULL;
alter table experiments change maximum_nodes maximum_nodes \
int(6) unsigned default NULL;
Supports Markdown
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