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
3fe79700
Commit
3fe79700
authored
Jul 30, 2013
by
Leigh B Stoller
Browse files
Tweak previous revision.
parent
4b63217d
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
3fe79700
...
...
@@ -2608,7 +2608,7 @@ CREATE TABLE `node_idlestats` (
DROP
TABLE
IF
EXISTS
`node_licensekeys`
;
CREATE
TABLE
`node_licensekeys`
(
`node_id`
varchar
(
32
)
NOT
NULL
default
''
,
`keytype`
varchar
(
16
)
default
NULL
,
`keytype`
varchar
(
16
)
NOT
NULL
default
''
,
`keydata`
mediumtext
,
PRIMARY
KEY
(
`node_id`
,
`keytype`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
...
...
sql/updates/4/362
View file @
3fe79700
...
...
@@ -15,7 +15,7 @@ sub DoUpdate($$$)
if(!DBTableExists("node_licensekeys")) {
DBQueryFatal("CREATE TABLE `node_licensekeys` ( ".
" `node_id` varchar(32) NOT NULL default '', ".
" `keytype` varchar(16) default
NULL
, ".
" `keytype` varchar(16)
NOT NULL
default
''
, ".
" `keydata` mediumtext, ".
" PRIMARY KEY (`node_id`,`keytype`) ".
") ENGINE=MyISAM DEFAULT CHARSET=latin1");
...
...
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