Skip to content

Commit

Permalink
Remove redundant mdl_dst_preset table from schema.
Browse files Browse the repository at this point in the history
  • Loading branch information
defacer committed Mar 26, 2005
1 parent b41c4f7 commit d4880ea
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 45 deletions.
26 changes: 0 additions & 26 deletions lib/db/mysql.sql
Expand Up @@ -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`
#
Expand Down
19 changes: 0 additions & 19 deletions lib/db/postgres7.sql
Expand Up @@ -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 '',
Expand Down

0 comments on commit d4880ea

Please sign in to comment.