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

Hmm, I forgot about the experiment_templates table!

parent 8f459f37
......@@ -231,6 +231,17 @@ if (! TableChanged("experiment_templates", "exptidx")) {
UpdateTablePidEid("experiment_templates", "exptidx", "pid", "eid");
DBQueryFatal("unlock tables");
# experiment_templates
DBQueryFatal("lock tables experiment_templates write");
if (! TableChanged("experiment_templates", "pid_idx")) {
DBQueryFatal("alter table experiment_templates ".
"add pid_idx mediumint(8) unsigned NOT NULL default '0' after uid_idx, ".
"add gid_idx mediumint(8) unsigned NOT NULL default '0' after pid_idx");
"pid_idx", "gid_idx", "pid", "gid");
DBQueryFatal("unlock tables");
# firewall_rules
DBQueryFatal("lock tables firewall_rules write");
if (! TableChanged("firewall_rules", "exptidx")) {
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