Skip to content
Permalink
Browse files

Remove redundant mdl_dst_preset table from schema.

  • Loading branch information...
defacer
defacer committed Mar 26, 2005
1 parent b41c4f7 commit d4880eaa46fa0f11c8affeeb02cac127dc90da78
Showing with 0 additions and 45 deletions.
  1. +0 −26 lib/db/mysql.sql
  2. +0 −19 lib/db/postgres7.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`
#
@@ -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 '',

0 comments on commit d4880ea

Please sign in to comment.
You can’t perform that action at this time.