Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
e2c5c4c5
Commit
e2c5c4c5
authored
Dec 09, 2003
by
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
e2c5c4c5
...
...
@@ -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
),
...
...
sql/database-migrate.txt
View file @
e2c5c4c5
...
...
@@ -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';
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment