Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes docdate bad default value format. Was '0', should have been 0.

  • Loading branch information...
commit 12262b41ecdcb959e05a8b7e6bf96477a9523336 1 parent 07c0c46
diml authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 search/db/mysql.sql
View
12 search/db/mysql.sql
@@ -0,0 +1,12 @@
+CREATE TABLE IF NOT EXISTS `prefix_search_documents` (
+ `id` int(11) NOT NULL auto_increment,
+ `docid` int(11) NOT NULL,
+ `doctype` varchar(12) NOT NULL default 'none',
+ `title` varchar(255) NOT NULL default '',
+ `url` varchar(255) NOT NULL default '',
+ `docdate` timestamp NOT NULL default 0,
+ `updated` timestamp NOT NULL default CURRENT_TIMESTAMP,
+ `courseid` int(11) NOT NULL default 0,
+ `groupid` int(11) NOT NULL default 0,
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM AUTO_INCREMENT=1;
Please sign in to comment.
Something went wrong with that request. Please try again.