Commit 21cf1a82 authored by Leigh B Stoller's avatar Leigh B Stoller

Fix to previous revision.

parent 483a0fa5
......@@ -5214,7 +5214,7 @@ CREATE TABLE `vlans` (
DROP TABLE IF EXISTS `web_sessions`;
CREATE TABLE `web_sessions` (
`session_id` varchar(128) binary NOT NULL default '',
`session_id` varchar(128) NOT NULL default '',
`session_expires` datetime NOT NULL default '0000-00-00 00:00:00',
`session_data` text,
PRIMARY KEY (`session_id`)
......@@ -5226,7 +5226,7 @@ CREATE TABLE `web_sessions` (
DROP TABLE IF EXISTS `web_tasks`;
CREATE TABLE `web_tasks` (
`task_id` varchar(128) binary NOT NULL default '',
`task_id` varchar(128) NOT NULL default '',
`created` datetime NOT NULL default '0000-00-00 00:00:00',
`modified` datetime NOT NULL default '0000-00-00 00:00:00',
`exited` datetime default NULL,
......
......@@ -21,7 +21,7 @@ sub DoUpdate($$$)
}
if (!DBTableExists("web_sessions")) {
DBQueryFatal("CREATE TABLE `web_sessions` ( ".
" `session_id` varchar(128) binary NOT NULL default '', ".
" `session_id` varchar(128) NOT NULL default '', ".
" `session_expires` datetime NOT NULL ".
" default '0000-00-00 00:00:00', ".
" `session_data` text, ".
......@@ -30,7 +30,7 @@ sub DoUpdate($$$)
}
if (!DBTableExists("web_tasks")) {
DBQueryFatal("CREATE TABLE `web_tasks` ( ".
" `task_id` varchar(128) binary NOT NULL default '', ".
" `task_id` varchar(128) NOT NULL default '', ".
" `created` datetime NOT NULL ".
" default '0000-00-00 00:00:00', ".
" `modified` datetime NOT NULL ".
......
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