From d4880eaa46fa0f11c8affeeb02cac127dc90da78 Mon Sep 17 00:00:00 2001 From: defacer Date: Sat, 26 Mar 2005 19:00:23 +0000 Subject: [PATCH] Remove redundant mdl_dst_preset table from schema. --- lib/db/mysql.sql | 26 -------------------------- lib/db/postgres7.sql | 19 ------------------- 2 files changed, 45 deletions(-) diff --git a/lib/db/mysql.sql b/lib/db/mysql.sql index de7431dfb25..fda0471bc04 100644 --- a/lib/db/mysql.sql +++ b/lib/db/mysql.sql @@ -160,32 +160,6 @@ CREATE TABLE `prefix_course_sections` ( ) TYPE=MyISAM; # -------------------------------------------------------- -# -# Table structure for table `dst_preset` -# - -CREATE TABLE `prefix_dst_preset` ( - `id` int(10) NOT NULL auto_increment, - `name` char(48) NOT NULL default '', - `family` varchar(100) NOT NULL default '', - `year` int(10) NOT NULL default '0', - `apply_offset` tinyint(3) NOT NULL default '0', - `activate_index` tinyint(2) NOT NULL default '1', - `activate_day` tinyint(2) NOT NULL default '1', - `activate_month` tinyint(2) NOT NULL default '1', - `activate_time` char(5) NOT NULL default '03:00', - `deactivate_index` tinyint(2) NOT NULL default '1', - `deactivate_day` tinyint(2) NOT NULL default '1', - `deactivate_month` tinyint(2) NOT NULL default '2', - `deactivate_time` char(5) NOT NULL default '03:00', - `last_change` int(10) NOT NULL default '0', - `next_change` int(10) NOT NULL default '0', - `current_offset` tinyint(3) NOT NULL default '0', - PRIMARY KEY (`id`) -) TYPE=MyISAM; - -# -------------------------------------------------------- - # # Table structure for table `event` # diff --git a/lib/db/postgres7.sql b/lib/db/postgres7.sql index 3fb7055d51b..11e92bac30b 100644 --- a/lib/db/postgres7.sql +++ b/lib/db/postgres7.sql @@ -105,25 +105,6 @@ CREATE TABLE prefix_course_sections ( CREATE INDEX prefix_course_sections_coursesection_idx ON prefix_course_sections (course,section); -CREATE TABLE prefix_dst_preset ( - id SERIAL PRIMARY KEY, - name varchar(48) NOT NULL default '', - family varchar(100) NOT NULL default '', - year integer NOT NULL default '0', - apply_offset integer NOT NULL default '0', - activate_index integer NOT NULL default '1', - activate_day integer NOT NULL default '1', - activate_month integer NOT NULL default '1', - activate_time char(5) NOT NULL default '03:00', - deactivate_index integer NOT NULL default '1', - deactivate_day integer NOT NULL default '1', - deactivate_month integer NOT NULL default '2', - deactivate_time char(5) NOT NULL default '03:00', - last_change integer NOT NULL default '0', - next_change integer NOT NULL default '0', - current_offset integer NOT NULL default '0' -); - CREATE TABLE prefix_event ( id SERIAL PRIMARY KEY, name varchar(255) NOT NULL default '',