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-devel
Commits
04d0bd6b
Commit
04d0bd6b
authored
Apr 16, 2010
by
Kevin Atkinson
Browse files
Merge branch 'exp-vis'
parents
00a45903
f761efa7
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
04d0bd6b
...
...
@@ -1824,6 +1824,7 @@ CREATE TABLE `login` (
`hashhash`
varchar
(
64
)
NOT
NULL
default
''
,
`timeout`
varchar
(
10
)
NOT
NULL
default
''
,
`adminon`
tinyint
(
1
)
NOT
NULL
default
'0'
,
`opskey`
varchar
(
64
)
NOT
NULL
,
PRIMARY
KEY
(
`uid_idx`
,
`hashkey`
),
UNIQUE
KEY
`hashhash`
(
`uid_idx`
,
`hashhash`
),
UNIQUE
KEY
`uidkey`
(
`uid`
,
`hashkey`
)
...
...
sql/updates/4/205
0 → 100644
View file @
04d0bd6b
#
# exp-vis
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("login", "opskey")) {
DBQueryFatal("ALTER TABLE login ADD COLUMN ".
" `opskey` varchar(64) NOT NULL ".
" after adminon");
}
return 0;
}
1;
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