]> git.mjollnir.org Git - moodle.git/commitdiff
Removed old db stuff MDL-10572
authormoodler <moodler>
Sat, 11 Aug 2007 14:07:02 +0000 (14:07 +0000)
committermoodler <moodler>
Sat, 11 Aug 2007 14:07:02 +0000 (14:07 +0000)
search/db/mysql.sql [deleted file]
search/db/postgres7.sql [deleted file]

diff --git a/search/db/mysql.sql b/search/db/mysql.sql
deleted file mode 100644 (file)
index a8e78e7..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-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(100) NOT NULL default '',
-  `url` varchar(100) 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;
diff --git a/search/db/postgres7.sql b/search/db/postgres7.sql
deleted file mode 100644 (file)
index a4a64fa..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-CREATE TABLE prefix_search_documents (
-   id SERIAL8 PRIMARY KEY,
-   docid int4 NOT NULL,
-   doctype varchar(12) NOT NULL DEFAULT 'none',
-   title varchar(100) NOT NULL default '',
-   url varchar(100) NOT NULL default '',
-   docdate timestamp NOT NULL,
-   updated timestamp NOT NULL DEFAULT NOW(),
-   courseid int4,
-   groupid int4
-);