Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added version management and added user defaults
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@56 f5dc347c-c33d-0410-90a0-b07cc1902cb9
- Loading branch information
Kenzaburo Ito
committed
Dec 10, 2000
1 parent
a91266b
commit a9a0fd3
Showing
21 changed files
with
285 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# ------------------------------------------------------------------------------- | ||
# Upgrading | ||
# ------------------------------------------------------------------------------- | ||
|
||
# Here are the basic steps to upgrade the database tables | ||
# Take a look in db_upgrade.sql as well. | ||
|
||
# ================= | ||
# 0.10.2 to 0.11.0 | ||
# ================= | ||
|
||
# I've added a profile table and inserted feedback into the main bug table. | ||
# Also modified version to be an enum (edit using the manage section) | ||
# Run these queries: | ||
|
||
ALTER TABLE mantis_bug_table CHANGE status status ENUM ('new','fdeedback', | ||
'acknowledged','confirmed','assigned','resolved') DEFAULT 'new' not null; | ||
|
||
CREATE TABLE mantis_user_profile_table ( | ||
id int(10) unsigned zerofill DEFAULT '0000000000' NOT NULL auto_increment, | ||
user_id int(10) unsigned zerofill DEFAULT '0000000000' NOT NULL, | ||
platform varchar(32) NOT NULL, | ||
os varchar(32) NOT NULL, | ||
os_build varchar(16) NOT NULL, | ||
description text NOT NULL, | ||
default_profile char(3) NOT NULL, | ||
PRIMARY KEY (id) | ||
); | ||
|
||
ALTER TABLE mantis_bug_table CHANGE version version ENUM ('none') not null; | ||
|
||
CREATE TABLE mantis_user_defaults_table ( | ||
id int(10) unsigned zerofill DEFAULT '0000000000' NOT NULL auto_increment, | ||
user_id int(10) unsigned zerofill DEFAULT '0000000000' NOT NULL, | ||
hide_resolved char(3) NOT NULL, | ||
limit_view int(11) DEFAULT '0' NOT NULL, | ||
show_last char(3) NOT NULL, | ||
advanced_report char(3) NOT NULL, | ||
advanced_view char(3) NOT NULL, | ||
PRIMARY KEY (id) | ||
); | ||
|
||
# ================= | ||
# 0.9.x to 0.10.x | ||
# ================= | ||
|
||
# You will need to add a 'protected' field in the mantis_user_table. | ||
# This command will do the trick: | ||
|
||
ALTER TABLE mantis_user_table ADD protected VARCHAR (3) not null | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.