Commit ae619cb2 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add enum to users table to store which interface users should start

with. Currently 'emulab' or 'plab', defaults to emulab. This will
replace the current plab_user bit that Rob added, but I will remove
that later.
parent 88aeb968
......@@ -1442,6 +1442,7 @@ CREATE TABLE users (
weblogin_failcount smallint(5) unsigned NOT NULL default '0',
weblogin_failstamp int(10) unsigned NOT NULL default '0',
plab_user tinyint(1) NOT NULL default '0',
user_interface enum('emulab','plab') NOT NULL default 'emulab',
PRIMARY KEY (uid),
KEY unix_uid (unix_uid),
KEY status (status)
......
......@@ -1109,9 +1109,14 @@ last_net_act,last_cpu_act,last_ext_act);
alter table nodetypeXpid_permissions add key (pid);
1.203: Add enum to projects to table to store which interface users
1.203: Add enum to projects table to store which interface users
should start with.
alter table projects add default_user_interface \
enum('emulab','plab') NOT NULL default 'emulab';
1.204: Add enum to users table to store which interface user is currently
set to use. This will replace plab_user bit.
alter table users add 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