From 054ddd39fc4ea51d2f34e1d7ed6802cce8d75dcc Mon Sep 17 00:00:00 2001 From: steinm Date: Thu, 10 Mar 2011 14:53:26 +0000 Subject: [PATCH] - added sql update for version 3.1.0 --- UPDATE-v3.1.0/update.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 UPDATE-v3.1.0/update.sql diff --git a/UPDATE-v3.1.0/update.sql b/UPDATE-v3.1.0/update.sql new file mode 100644 index 000000000..e52c3b0f1 --- /dev/null +++ b/UPDATE-v3.1.0/update.sql @@ -0,0 +1,10 @@ +CREATE TABLE `tblCategory` ( + `id` int(11) NOT NULL auto_increment, + `name` text NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +INSERT INTO tblCategory VALUES (0, ''); +CREATE TABLE `tblDocumentCategory` ( + `categoryID` int(11) NOT NULL default 0, + `documentID` int(11) NOT NULL default 0 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;