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

Add enum to projects to table to store which interface users

should start with. Currently 'emulab' or 'plab', defaults to emulab.
parent ecec9f67
......@@ -1110,6 +1110,7 @@ CREATE TABLE projects (
expt_count mediumint(8) unsigned default '0',
expt_last date default NULL,
pcremote_ok set('pcplabphys','pcron','pcwa') default NULL,
default_user_interface enum('emulab','plab') NOT NULL default 'emulab',
PRIMARY KEY (pid),
KEY unix_gid (unix_gid),
KEY approved (approved),
......
......@@ -1108,3 +1108,10 @@ last_net_act,last_cpu_act,last_ext_act);
to get a list of what types a project is allowed to use.
alter table nodetypeXpid_permissions add key (pid);
1.203: Add enum to projects to table to store which interface users
should start with.
alter table projects add default_user_interface \
enum('emulab','plab') NOT NULL default 'emulab';
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