Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
3fe79700
Commit
3fe79700
authored
Jul 30, 2013
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak previous revision.
parent
4b63217d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sql/database-create.sql
sql/database-create.sql
+1
-1
sql/updates/4/362
sql/updates/4/362
+1
-1
No files found.
sql/database-create.sql
View file @
3fe79700
...
@@ -2608,7 +2608,7 @@ CREATE TABLE `node_idlestats` (
...
@@ -2608,7 +2608,7 @@ CREATE TABLE `node_idlestats` (
DROP
TABLE
IF
EXISTS
`node_licensekeys`
;
DROP
TABLE
IF
EXISTS
`node_licensekeys`
;
CREATE
TABLE
`node_licensekeys`
(
CREATE
TABLE
`node_licensekeys`
(
`node_id`
varchar
(
32
)
NOT
NULL
default
''
,
`node_id`
varchar
(
32
)
NOT
NULL
default
''
,
`keytype`
varchar
(
16
)
default
NULL
,
`keytype`
varchar
(
16
)
NOT
NULL
default
''
,
`keydata`
mediumtext
,
`keydata`
mediumtext
,
PRIMARY
KEY
(
`node_id`
,
`keytype`
)
PRIMARY
KEY
(
`node_id`
,
`keytype`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
...
...
sql/updates/4/362
View file @
3fe79700
...
@@ -15,7 +15,7 @@ sub DoUpdate($$$)
...
@@ -15,7 +15,7 @@ sub DoUpdate($$$)
if(!DBTableExists("node_licensekeys")) {
if(!DBTableExists("node_licensekeys")) {
DBQueryFatal("CREATE TABLE `node_licensekeys` ( ".
DBQueryFatal("CREATE TABLE `node_licensekeys` ( ".
" `node_id` varchar(32) NOT NULL default '', ".
" `node_id` varchar(32) NOT NULL default '', ".
" `keytype` varchar(16)
default NULL
, ".
" `keytype` varchar(16)
NOT NULL default ''
, ".
" `keydata` mediumtext, ".
" `keydata` mediumtext, ".
" PRIMARY KEY (`node_id`,`keytype`) ".
" PRIMARY KEY (`node_id`,`keytype`) ".
") ENGINE=MyISAM DEFAULT CHARSET=latin1");
") ENGINE=MyISAM DEFAULT CHARSET=latin1");
...
...
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