Skip to content

Commit

Permalink
Updated db_generate.sql to reflect the newest db structure.
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2723 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
vboctor committed Jul 18, 2004
1 parent 7fd148c commit 1d733fc
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions sql/db_generate.sql
Expand Up @@ -3,11 +3,11 @@
# http://www.phpmyadmin.net
#
# Host: localhost
# Generation Time: Jul 11, 2004 at 04:45 PM
# Generation Time: Jul 19, 2004 at 01:34 AM
# Server version: 4.0.20
# PHP Version: 4.3.7
#
# Database : `mantisblank`
# Database : `mantis`
#

# --------------------------------------------------------
Expand Down Expand Up @@ -90,7 +90,9 @@ CREATE TABLE mantis_bug_relationship_table (
source_bug_id int(7) unsigned NOT NULL default '0',
destination_bug_id int(7) unsigned NOT NULL default '0',
relationship_type int(2) NOT NULL default '0',
PRIMARY KEY (id)
PRIMARY KEY (id),
KEY source_bug_id (source_bug_id),
KEY destination_bug_id (destination_bug_id)
) TYPE=MyISAM;

#
Expand Down Expand Up @@ -733,6 +735,9 @@ INSERT INTO mantis_upgrade_table VALUES ('version_add_version_', 'Add id to vers
INSERT INTO mantis_upgrade_table VALUES ('version_add_project_', 'Add a unique index for project_id + version combination.');
INSERT INTO mantis_upgrade_table VALUES ('version_add_descript', 'Add description field to versions.');
INSERT INTO mantis_upgrade_table VALUES ('version_add_released', 'Add released flag to determine whether the version was released or still a future release.');
INSERT INTO mantis_upgrade_table VALUES ('relationship-1', 'Add index on source_bug_id field in mantis_bug_relationship_table');
INSERT INTO mantis_upgrade_table VALUES ('relationship-2', 'Add index on destination_bug_id field in mantis_bug_relationship_table');
INSERT INTO mantis_upgrade_table VALUES ('relationship-3', 'Translate duplicate id information in a new duplicate relationship');

# --------------------------------------------------------

Expand Down

0 comments on commit 1d733fc

Please sign in to comment.