Commit 3fe79700 authored by Leigh B Stoller's avatar Leigh B Stoller

Tweak previous revision.

parent 4b63217d
......@@ -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;
......
......@@ -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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment