Skip to content
GitLab
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-devel
Commits
1c883ca4
Commit
1c883ca4
authored
Jun 07, 2006
by
Russ Fish
Browse files
Add a foreign_admin field to the users table for testbed-admins elsewhere.
parent
28eead4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
1c883ca4
...
...
@@ -2473,6 +2473,7 @@ CREATE TABLE users (
unix_uid
smallint
(
5
)
unsigned
NOT
NULL
default
'0'
,
status
enum
(
'newuser'
,
'unapproved'
,
'unverified'
,
'active'
,
'frozen'
,
'other'
)
NOT
NULL
default
'newuser'
,
admin
tinyint
(
4
)
default
'0'
,
foreign_admin
tinyint
(
4
)
default
'0'
,
dbedit
tinyint
(
4
)
default
'0'
,
stud
tinyint
(
4
)
default
'0'
,
webonly
tinyint
(
4
)
default
'0'
,
...
...
sql/database-migrate.txt
View file @
1c883ca4
...
...
@@ -3396,3 +3396,5 @@ last_net_act,last_cpu_act,last_ext_act);
4.65: Minor fix; skip to next entry;
4.66: More fixes; skip to next entry;
4.67: Add a foreign_admin field to the users table for testbed-admins elsewhere.
alter table users add column foreign_admin tinyint(4) default '0' after admin;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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