Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
f761efa7
Commit
f761efa7
authored
Apr 16, 2010
by
Kevin Atkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Database change in prep for exp-vis changes (needs more testing on
devel tree).
parent
363d629a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
sql/database-create.sql
sql/database-create.sql
+1
-0
sql/updates/4/205
sql/updates/4/205
+18
-0
No files found.
sql/database-create.sql
View file @
f761efa7
...
...
@@ -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 @
f761efa7
#
# 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
Markdown
is supported
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