From b62025c217662daed6201798d11c114ce13edcdc Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 7 Dec 2002 10:36:44 +0000 Subject: [PATCH] - Removed two a dead table from both the MySQL and the PostgreSQL database scheme. - Fixed the default settings for both the MySQL and the PostgreSQL database scheme. --- database/database.mysql | 38 +++++++------------------------------- database/database.pgsql | 9 --------- 2 files changed, 7 insertions(+), 40 deletions(-) diff --git a/database/database.mysql b/database/database.mysql index b487177ee58..d962a7f0d8e 100644 --- a/database/database.mysql +++ b/database/database.mysql @@ -252,15 +252,6 @@ CREATE TABLE moderation_votes ( PRIMARY KEY (mid) ) TYPE=MyISAM; --- --- Table structure for table 'modules' --- - -CREATE TABLE modules ( - name varchar(64) NOT NULL default '', - PRIMARY KEY (name) -) TYPE=MyISAM; - -- -- Table structure for table 'node' -- @@ -569,29 +560,14 @@ CREATE TABLE watchdog ( -- Insert some default values -- -INSERT INTO system VALUES ('archive.module','archive','module','',1); -INSERT INTO system VALUES ('block.module','block','module','',1); -INSERT INTO system VALUES ('blog.module','blog','module','',1); -INSERT INTO system VALUES ('book.module','book','module','',1); -INSERT INTO system VALUES ('cloud.module','cloud','module','',1); -INSERT INTO system VALUES ('comment.module','comment','module','',1); -INSERT INTO system VALUES ('forum.module','forum','module','',1); -INSERT INTO system VALUES ('help.module','help','module','',1); -INSERT INTO system VALUES ('import.module','import','module','',1); -INSERT INTO system VALUES ('node.module','node','module','',1); -INSERT INTO system VALUES ('page.module','page','module','',1); -INSERT INTO system VALUES ('poll.module','poll','module','',1); -INSERT INTO system VALUES ('queue.module','queue','module','',1); -INSERT INTO system VALUES ('rating.module','rating','module','',1); -INSERT INTO system VALUES ('search.module','search','module','',1); -INSERT INTO system VALUES ('statistics.module','statistics','module','',1); -INSERT INTO system VALUES ('story.module','story','module','',1); -INSERT INTO system VALUES ('taxonomy.module','taxonomy','module','',1); -INSERT INTO system VALUES ('themes/example/example.theme','example','theme','Internet explorer, Netscape, Opera, Lynx',1); -INSERT INTO system VALUES ('themes/goofy/goofy.theme','goofy','theme','Internetexplorer, Netscape, Opera',1); +INSERT INTO system VALUES ('modules/block.module','block','module','',1); +INSERT INTO system VALUES ('modules/comment.module','comment','module','',1); +INSERT INTO system VALUES ('modules/help.module','help','module','',1); +INSERT INTO system VALUES ('modules/node.module','node','module','',1); +INSERT INTO system VALUES ('modules/page.module','page','module','',1); +INSERT INTO system VALUES ('modules/story.module','story','module','',1); +INSERT INTO system VALUES ('modules/taxonomy.module','taxonomy','module','',1); INSERT INTO system VALUES ('themes/marvin/marvin.theme','marvin','theme','Internet explorer, Netscape, Opera',1); -INSERT INTO system VALUES ('themes/unconed/unconed.theme','unconed','theme','Internet explorer, Netscape, Opera',1); -INSERT INTO system VALUES ('tracker.module','tracker','module','',1); REPLACE variable SET name='update_start', value='s:10:"2002-10-17;"'; REPLACE variable SET name='theme_default', value='s:6:"marvin";'; diff --git a/database/database.pgsql b/database/database.pgsql index d90ab27be1a..5ae053806cf 100644 --- a/database/database.pgsql +++ b/database/database.pgsql @@ -249,15 +249,6 @@ CREATE TABLE moderation_votes ( PRIMARY KEY (mid) ); --- --- Table structure for modules --- - -CREATE TABLE modules ( - name varchar(64) NOT NULL default '', - PRIMARY KEY (name) -); - -- -- Table structure for node --