Commit d7802d01 authored by Leigh Stoller's avatar Leigh Stoller

Add paniced bit (and date) to experiments table. Records that panic

button pressed, and when.
parent fe21fc6f
......@@ -366,6 +366,8 @@ CREATE TABLE experiments (
elab_in_elab tinyint(1) NOT NULL default '0',
elabinelab_eid varchar(32) default NULL,
security_level tinyint(1) NOT NULL default '0',
paniced tinyint(1) NOT NULL default '0',
panic_date datetime default NULL,
PRIMARY KEY (eid,pid),
KEY idx (idx),
KEY batchmode (batchmode)
......
......@@ -2202,3 +2202,9 @@ last_net_act,last_cpu_act,last_ext_act);
alter table users add column usr_w_pswd tinytext after usr_pswd;
1.292: Add "paniced" bit to experiments table.
alter table experiments add paniced tinyint(1) NOT NULL \
default '0' after security_level;
alter table experiments add panic_date datetime default NULL \
after paniced;
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