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

Add idx field; a always increasing experiment ID. I expect we will be

dead before it flows 32 bits.
parent 7e923184
......@@ -202,7 +202,9 @@ CREATE TABLE experiments (
swap_requests tinyint(4) NOT NULL default '0',
last_swap_req datetime default NULL,
idle_ignore tinyint(4) NOT NULL default '0',
PRIMARY KEY (eid,pid)
idx int(10) unsigned NOT NULL auto_increment,
PRIMARY KEY (eid,pid),
KEY idx (idx)
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