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
8c41b683
Commit
8c41b683
authored
Aug 21, 2015
by
Leigh B Stoller
Browse files
Cleanup.
parent
857ca3d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/updates/4/467
View file @
8c41b683
...
...
@@ -12,12 +12,11 @@ sub DoUpdate($$$)
{
my
(
$dbhandle
,
$dbname
,
$version
)
=
@_
;
DBQueryFatal
(
<<'SQL'
ALTER TABLE outlets_remoteauth
ADD COLUMN key_privlvl
ENUM ('CALLBACK', 'USER', 'OPERATOR', 'ADMINISTRATOR', 'OTHER') DEFAULT NULL
SQL
);
if
(
!
DBSlotExists
("
outlets_remoteauth
",
"
key_privlvl
"))
{
DBQueryFatal
("
ALTER TABLE outlets_remoteauth add
"
.
"
`key_privlvl` ENUM ('CALLBACK', 'USER', 'OPERATOR',
"
.
"
'ADMINISTRATOR', 'OTHER') DEFAULT NULL
");
}
return
0
;
}
1
;
...
...
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