- 浏览: 379688 次
- 性别:
- 来自: 南京
文章分类
- 全部博客 (209)
- db2 (4)
- oracle (1)
- sqlserver (16)
- java (54)
- jdbc (3)
- html、js (21)
- MQ、MB (6)
- uml (3)
- 格言 (7)
- 笑话 (3)
- 管理 (5)
- note (10)
- hibernate (1)
- 设计模式 (4)
- win8 (5)
- postgre (2)
- cxf (3)
- MyBatis (4)
- tomcat (9)
- servlet (2)
- ant (2)
- spring (5)
- windows (3)
- linux (7)
- struts2 (2)
- android (2)
- eclipse (1)
- drools (1)
- jmx (2)
- c++ (3)
- html、js、JSP (1)
- mysql (1)
- redis (1)
- 架构 (1)
最新评论
-
onlyor:
灰太狼1991 写道很受用,请教一下博主,mybatis模糊查 ...
MyBatis模糊查询 -
灰太狼1991:
很受用,请教一下博主,mybatis模糊查询是不是和版本也有关 ...
MyBatis模糊查询 -
zzgvictory:
你写的么,很美啊
js 画 玫瑰花 -
onlyor:
里面的算法值得研究啊
js 画 玫瑰花 -
bjqincy:
用 org.joda System.out.println(& ...
Java 获取 一个月有多少周
Database Creation Suppressed, SQL Queries follow
CREATE TABLE mantis_config_table ( config_id VARCHAR(64) NOT NULL, project_id INTEGER NOT NULL DEFAULT 0, user_id INTEGER NOT NULL DEFAULT 0, access_reqd INTEGER DEFAULT 0, type INTEGER DEFAULT 90, value LONGTEXT NOT NULL, PRIMARY KEY (config_id, project_id, user_id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_config_table ADD INDEX idx_config (config_id); CREATE TABLE mantis_bug_file_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, bug_id INTEGER UNSIGNED NOT NULL DEFAULT 0, title VARCHAR(250) NOT NULL DEFAULT '', description VARCHAR(250) NOT NULL DEFAULT '', diskfile VARCHAR(250) NOT NULL DEFAULT '', filename VARCHAR(250) NOT NULL DEFAULT '', folder VARCHAR(250) NOT NULL DEFAULT '', filesize INTEGER NOT NULL DEFAULT 0, file_type VARCHAR(250) NOT NULL DEFAULT '', date_added DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', content LONGBLOB NOT NULL, PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_bug_file_table ADD INDEX idx_bug_file_bug_id (bug_id); CREATE TABLE mantis_bug_history_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, user_id INTEGER UNSIGNED NOT NULL DEFAULT 0, bug_id INTEGER UNSIGNED NOT NULL DEFAULT 0, date_modified DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', field_name VARCHAR(32) NOT NULL DEFAULT '', old_value VARCHAR(128) NOT NULL DEFAULT '', new_value VARCHAR(128) NOT NULL DEFAULT '', type SMALLINT NOT NULL DEFAULT 0, PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_bug_history_table ADD INDEX idx_bug_history_bug_id (bug_id); ALTER TABLE mantis_bug_history_table ADD INDEX idx_history_user_id (user_id); CREATE TABLE mantis_bug_monitor_table ( user_id INTEGER UNSIGNED NOT NULL DEFAULT 0, bug_id INTEGER UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (user_id, bug_id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE mantis_bug_relationship_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, source_bug_id INTEGER UNSIGNED NOT NULL DEFAULT 0, destination_bug_id INTEGER UNSIGNED NOT NULL DEFAULT 0, relationship_type SMALLINT NOT NULL DEFAULT 0, PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_bug_relationship_table ADD INDEX idx_relationship_source (source_bug_id); ALTER TABLE mantis_bug_relationship_table ADD INDEX idx_relationship_destination (destination_bug_id); CREATE TABLE mantis_bug_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, project_id INTEGER UNSIGNED NOT NULL DEFAULT 0, reporter_id INTEGER UNSIGNED NOT NULL DEFAULT 0, handler_id INTEGER UNSIGNED NOT NULL DEFAULT 0, duplicate_id INTEGER UNSIGNED NOT NULL DEFAULT 0, priority SMALLINT NOT NULL DEFAULT 30, severity SMALLINT NOT NULL DEFAULT 50, reproducibility SMALLINT NOT NULL DEFAULT 10, status SMALLINT NOT NULL DEFAULT 10, resolution SMALLINT NOT NULL DEFAULT 10, projection SMALLINT NOT NULL DEFAULT 10, category VARCHAR(64) NOT NULL DEFAULT '', date_submitted DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', last_updated DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', eta SMALLINT NOT NULL DEFAULT 10, bug_text_id INTEGER UNSIGNED NOT NULL DEFAULT 0, os VARCHAR(32) NOT NULL DEFAULT '', os_build VARCHAR(32) NOT NULL DEFAULT '', platform VARCHAR(32) NOT NULL DEFAULT '', version VARCHAR(64) NOT NULL DEFAULT '', fixed_in_version VARCHAR(64) NOT NULL DEFAULT '', build VARCHAR(32) NOT NULL DEFAULT '', profile_id INTEGER UNSIGNED NOT NULL DEFAULT 0, view_state SMALLINT NOT NULL DEFAULT 10, summary VARCHAR(128) NOT NULL DEFAULT '', sponsorship_total INTEGER NOT NULL DEFAULT 0, sticky TINYINT NOT NULL DEFAULT '0', PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_bug_table ADD INDEX idx_bug_sponsorship_total (sponsorship_total); ALTER TABLE mantis_bug_table ADD INDEX idx_bug_fixed_in_version (fixed_in_version); ALTER TABLE mantis_bug_table ADD INDEX idx_bug_status (status); ALTER TABLE mantis_bug_table ADD INDEX idx_project (project_id); CREATE TABLE mantis_bug_text_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, description LONGTEXT NOT NULL, steps_to_reproduce LONGTEXT NOT NULL, additional_information LONGTEXT NOT NULL, PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE mantis_bugnote_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, bug_id INTEGER UNSIGNED NOT NULL DEFAULT 0, reporter_id INTEGER UNSIGNED NOT NULL DEFAULT 0, bugnote_text_id INTEGER UNSIGNED NOT NULL DEFAULT 0, view_state SMALLINT NOT NULL DEFAULT 10, date_submitted DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', last_modified DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', note_type INTEGER DEFAULT 0, note_attr VARCHAR(250) DEFAULT '', PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_bugnote_table ADD INDEX idx_bug (bug_id); ALTER TABLE mantis_bugnote_table ADD INDEX idx_last_mod (last_modified); CREATE TABLE mantis_bugnote_text_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, note LONGTEXT NOT NULL, PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE mantis_custom_field_project_table ( field_id INTEGER NOT NULL DEFAULT 0, project_id INTEGER UNSIGNED NOT NULL DEFAULT 0, sequence SMALLINT NOT NULL DEFAULT 0, PRIMARY KEY (field_id, project_id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE mantis_custom_field_string_table ( field_id INTEGER NOT NULL DEFAULT 0, bug_id INTEGER NOT NULL DEFAULT 0, value VARCHAR(255) NOT NULL DEFAULT '', PRIMARY KEY (field_id, bug_id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_custom_field_string_table ADD INDEX idx_custom_field_bug (bug_id); CREATE TABLE mantis_custom_field_table ( id INTEGER NOT NULL AUTO_INCREMENT, name VARCHAR(64) NOT NULL DEFAULT '', type SMALLINT NOT NULL DEFAULT 0, possible_values VARCHAR(255) NOT NULL DEFAULT '', default_value VARCHAR(255) NOT NULL DEFAULT '', valid_regexp VARCHAR(255) NOT NULL DEFAULT '', access_level_r SMALLINT NOT NULL DEFAULT 0, access_level_rw SMALLINT NOT NULL DEFAULT 0, length_min INTEGER NOT NULL DEFAULT 0, length_max INTEGER NOT NULL DEFAULT 0, advanced TINYINT NOT NULL DEFAULT '0', require_report TINYINT NOT NULL DEFAULT '0', require_update TINYINT NOT NULL DEFAULT '0', display_report TINYINT NOT NULL DEFAULT '0', display_update TINYINT NOT NULL DEFAULT '1', require_resolved TINYINT NOT NULL DEFAULT '0', display_resolved TINYINT NOT NULL DEFAULT '0', display_closed TINYINT NOT NULL DEFAULT '0', require_closed TINYINT NOT NULL DEFAULT '0', PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_custom_field_table ADD INDEX idx_custom_field_name (name); CREATE TABLE mantis_filters_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, user_id INTEGER NOT NULL DEFAULT 0, project_id INTEGER NOT NULL DEFAULT 0, is_public TINYINT DEFAULT NULL, name VARCHAR(64) NOT NULL DEFAULT '', filter_string LONGTEXT NOT NULL, PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE mantis_news_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, project_id INTEGER UNSIGNED NOT NULL DEFAULT 0, poster_id INTEGER UNSIGNED NOT NULL DEFAULT 0, date_posted DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', last_modified DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', view_state SMALLINT NOT NULL DEFAULT 10, announcement TINYINT NOT NULL DEFAULT '0', headline VARCHAR(64) NOT NULL DEFAULT '', body LONGTEXT NOT NULL, PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE mantis_project_category_table ( project_id INTEGER UNSIGNED NOT NULL DEFAULT 0, category VARCHAR(64) NOT NULL DEFAULT '', user_id INTEGER UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (project_id, category) )ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE mantis_project_file_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, project_id INTEGER UNSIGNED NOT NULL DEFAULT 0, title VARCHAR(250) NOT NULL DEFAULT '', description VARCHAR(250) NOT NULL DEFAULT '', diskfile VARCHAR(250) NOT NULL DEFAULT '', filename VARCHAR(250) NOT NULL DEFAULT '', folder VARCHAR(250) NOT NULL DEFAULT '', filesize INTEGER NOT NULL DEFAULT 0, file_type VARCHAR(250) NOT NULL DEFAULT '', date_added DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', content LONGBLOB NOT NULL, PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE mantis_project_hierarchy_table ( child_id INTEGER UNSIGNED NOT NULL, parent_id INTEGER UNSIGNED NOT NULL )ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE mantis_project_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, name VARCHAR(128) NOT NULL DEFAULT '', status SMALLINT NOT NULL DEFAULT 10, enabled TINYINT NOT NULL DEFAULT '1', view_state SMALLINT NOT NULL DEFAULT 10, access_min SMALLINT NOT NULL DEFAULT 10, file_path VARCHAR(250) NOT NULL DEFAULT '', description LONGTEXT NOT NULL, PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_project_table ADD INDEX idx_project_id (id); ALTER TABLE mantis_project_table ADD UNIQUE INDEX idx_project_name (name); ALTER TABLE mantis_project_table ADD INDEX idx_project_view (view_state); CREATE TABLE mantis_project_user_list_table ( project_id INTEGER UNSIGNED NOT NULL DEFAULT 0, user_id INTEGER UNSIGNED NOT NULL DEFAULT 0, access_level SMALLINT NOT NULL DEFAULT 10, PRIMARY KEY (project_id, user_id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_project_user_list_table ADD INDEX idx_project_user (user_id); CREATE TABLE mantis_project_version_table ( id INTEGER NOT NULL AUTO_INCREMENT, project_id INTEGER UNSIGNED NOT NULL DEFAULT 0, version VARCHAR(64) NOT NULL DEFAULT '', date_order DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', description LONGTEXT NOT NULL, released TINYINT NOT NULL DEFAULT '1', PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_project_version_table ADD UNIQUE INDEX idx_project_version (project_id, version); CREATE TABLE mantis_sponsorship_table ( id INTEGER NOT NULL AUTO_INCREMENT, bug_id INTEGER NOT NULL DEFAULT 0, user_id INTEGER NOT NULL DEFAULT 0, amount INTEGER NOT NULL DEFAULT 0, logo VARCHAR(128) NOT NULL DEFAULT '', url VARCHAR(128) NOT NULL DEFAULT '', paid TINYINT NOT NULL DEFAULT '0', date_submitted DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', last_updated DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_sponsorship_table ADD INDEX idx_sponsorship_bug_id (bug_id); ALTER TABLE mantis_sponsorship_table ADD INDEX idx_sponsorship_user_id (user_id); CREATE TABLE mantis_tokens_table ( id INTEGER NOT NULL AUTO_INCREMENT, owner INTEGER NOT NULL, type INTEGER NOT NULL, timestamp DATETIME NOT NULL, expiry DATETIME, value LONGTEXT NOT NULL, PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE mantis_user_pref_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, user_id INTEGER UNSIGNED NOT NULL DEFAULT 0, project_id INTEGER UNSIGNED NOT NULL DEFAULT 0, default_profile INTEGER UNSIGNED NOT NULL DEFAULT 0, default_project INTEGER UNSIGNED NOT NULL DEFAULT 0, advanced_report TINYINT NOT NULL DEFAULT '0', advanced_view TINYINT NOT NULL DEFAULT '0', advanced_update TINYINT NOT NULL DEFAULT '0', refresh_delay INTEGER NOT NULL DEFAULT 0, redirect_delay TINYINT NOT NULL DEFAULT '0', bugnote_order VARCHAR(4) NOT NULL DEFAULT 'ASC', email_on_new TINYINT NOT NULL DEFAULT '0', email_on_assigned TINYINT NOT NULL DEFAULT '0', email_on_feedback TINYINT NOT NULL DEFAULT '0', email_on_resolved TINYINT NOT NULL DEFAULT '0', email_on_closed TINYINT NOT NULL DEFAULT '0', email_on_reopened TINYINT NOT NULL DEFAULT '0', email_on_bugnote TINYINT NOT NULL DEFAULT '0', email_on_status TINYINT NOT NULL DEFAULT '0', email_on_priority TINYINT NOT NULL DEFAULT '0', email_on_priority_min_severity SMALLINT NOT NULL DEFAULT 10, email_on_status_min_severity SMALLINT NOT NULL DEFAULT 10, email_on_bugnote_min_severity SMALLINT NOT NULL DEFAULT 10, email_on_reopened_min_severity SMALLINT NOT NULL DEFAULT 10, email_on_closed_min_severity SMALLINT NOT NULL DEFAULT 10, email_on_resolved_min_severity SMALLINT NOT NULL DEFAULT 10, email_on_feedback_min_severity SMALLINT NOT NULL DEFAULT 10, email_on_assigned_min_severity SMALLINT NOT NULL DEFAULT 10, email_on_new_min_severity SMALLINT NOT NULL DEFAULT 10, email_bugnote_limit SMALLINT NOT NULL DEFAULT 0, language VARCHAR(32) NOT NULL DEFAULT 'english', PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE mantis_user_print_pref_table ( user_id INTEGER UNSIGNED NOT NULL DEFAULT 0, print_pref VARCHAR(27) NOT NULL DEFAULT '', PRIMARY KEY (user_id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE mantis_user_profile_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, user_id INTEGER UNSIGNED NOT NULL DEFAULT 0, platform VARCHAR(32) NOT NULL DEFAULT '', os VARCHAR(32) NOT NULL DEFAULT '', os_build VARCHAR(32) NOT NULL DEFAULT '', description LONGTEXT NOT NULL, PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE mantis_user_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, username VARCHAR(32) NOT NULL DEFAULT '', realname VARCHAR(64) NOT NULL DEFAULT '', email VARCHAR(64) NOT NULL DEFAULT '', password VARCHAR(32) NOT NULL DEFAULT '', date_created DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', last_visit DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', enabled TINYINT NOT NULL DEFAULT '1', protected TINYINT NOT NULL DEFAULT '0', access_level SMALLINT NOT NULL DEFAULT 10, login_count INTEGER NOT NULL DEFAULT 0, lost_password_request_count SMALLINT NOT NULL DEFAULT 0, failed_login_count SMALLINT NOT NULL DEFAULT 0, cookie_string VARCHAR(64) NOT NULL DEFAULT '', PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_user_table ADD UNIQUE INDEX idx_user_cookie_string (cookie_string); ALTER TABLE mantis_user_table ADD UNIQUE INDEX idx_user_username (username); ALTER TABLE mantis_user_table ADD INDEX idx_enable (enabled); ALTER TABLE mantis_user_table ADD INDEX idx_access (access_level); INSERT INTO mantis_user_table(username, realname, email, password, date_created, last_visit, enabled, protected, access_level, login_count, lost_password_request_count, failed_login_count, cookie_string) VALUES ('administrator', '', 'root@localhost', '63a9f0ea7bb98050796b649e85481845', '2012-10-26 07:38:40', '2012-10-26 07:38:40', '1', '0', 90, 3, 0, 0, 'd1e026046f0eed4988d589a2f5a685bdef8df60ef1777461d88079ab90e32136'); ALTER TABLE mantis_bug_history_table MODIFY COLUMN old_value VARCHAR(255) NOT NULL; ALTER TABLE mantis_bug_history_table MODIFY COLUMN new_value VARCHAR(255) NOT NULL; CREATE TABLE mantis_email_table ( email_id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, email VARCHAR(64) NOT NULL DEFAULT '', subject VARCHAR(250) NOT NULL DEFAULT '', submitted DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', metadata LONGTEXT NOT NULL, body LONGTEXT NOT NULL, PRIMARY KEY (email_id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_email_table ADD INDEX idx_email_id (email_id); ALTER TABLE mantis_bug_table ADD target_version VARCHAR(64) NOT NULL DEFAULT ''; ALTER TABLE mantis_bugnote_table ADD time_tracking INTEGER UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE mantis_bug_file_table ADD INDEX idx_diskfile (diskfile); ALTER TABLE mantis_user_print_pref_table MODIFY COLUMN print_pref VARCHAR(64) NOT NULL; ALTER TABLE mantis_bug_history_table MODIFY COLUMN field_name VARCHAR(64) NOT NULL; CREATE TABLE mantis_tag_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, user_id INTEGER UNSIGNED NOT NULL DEFAULT 0, name VARCHAR(100) NOT NULL DEFAULT '', description LONGTEXT NOT NULL, date_created DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', date_updated DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', PRIMARY KEY (id, name) )ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE mantis_bug_tag_table ( bug_id INTEGER UNSIGNED NOT NULL DEFAULT 0, tag_id INTEGER UNSIGNED NOT NULL DEFAULT 0, user_id INTEGER UNSIGNED NOT NULL DEFAULT 0, date_attached DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', PRIMARY KEY (bug_id, tag_id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_tokens_table ADD INDEX idx_typeowner (type, owner); CREATE TABLE mantis_plugin_table ( basename VARCHAR(40) NOT NULL, enabled TINYINT NOT NULL DEFAULT '0', PRIMARY KEY (basename) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_user_pref_table MODIFY COLUMN redirect_delay INTEGER NOT NULL DEFAULT 0; ALTER TABLE mantis_custom_field_table MODIFY COLUMN possible_values TEXT NOT NULL; CREATE TABLE mantis_category_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, project_id INTEGER UNSIGNED NOT NULL DEFAULT 0, user_id INTEGER UNSIGNED NOT NULL DEFAULT 0, name VARCHAR(128) NOT NULL DEFAULT '', status INTEGER UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_category_table ADD UNIQUE INDEX idx_category_project_name (project_id, name); INSERT INTO mantis_category_table ( project_id, user_id, name, status ) VALUES ( '0', '0', 'General', '0' ) ; ALTER TABLE mantis_bug_table ADD category_id INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bug_table DROP COLUMN category; DROP TABLE IF EXISTS mantis_project_category_table; ALTER TABLE mantis_project_table ADD category_id INTEGER UNSIGNED NOT NULL DEFAULT 1; INSERT INTO mantis_plugin_table ( basename, enabled ) VALUES ( 'MantisCoreFormatting', '1' ); ALTER TABLE mantis_project_table ADD inherit_global INTEGER UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE mantis_project_hierarchy_table ADD inherit_parent INTEGER UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE mantis_plugin_table ADD protected TINYINT NOT NULL DEFAULT '0'; ALTER TABLE mantis_plugin_table ADD priority INTEGER UNSIGNED NOT NULL DEFAULT 3; ALTER TABLE mantis_project_version_table ADD obsolete TINYINT NOT NULL DEFAULT '0'; ALTER TABLE mantis_bug_table ADD due_date DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01'; ALTER TABLE mantis_custom_field_table ADD filter_by TINYINT NOT NULL DEFAULT '1'; CREATE TABLE mantis_bug_revision_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, bug_id INTEGER UNSIGNED NOT NULL, bugnote_id INTEGER UNSIGNED NOT NULL DEFAULT 0, user_id INTEGER UNSIGNED NOT NULL, timestamp DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', type INTEGER UNSIGNED NOT NULL, value LONGTEXT NOT NULL, PRIMARY KEY (id) )ENGINE=MyISAM DEFAULT CHARSET=utf8; ALTER TABLE mantis_bug_revision_table ADD INDEX idx_bug_rev_id_time (bug_id, timestamp); ALTER TABLE mantis_bug_revision_table ADD INDEX idx_bug_rev_type (type); ALTER TABLE mantis_bug_table ADD date_submitted_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bug_table ADD due_date_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bug_table ADD last_updated_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bug_table DROP COLUMN date_submitted; ALTER TABLE mantis_bug_table CHANGE COLUMN date_submitted_int date_submitted INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bug_table DROP COLUMN due_date; ALTER TABLE mantis_bug_table CHANGE COLUMN due_date_int due_date INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bug_table DROP COLUMN last_updated; ALTER TABLE mantis_bug_table CHANGE COLUMN last_updated_int last_updated INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bugnote_table ADD last_modified_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bugnote_table ADD date_submitted_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bugnote_table DROP COLUMN last_modified; ALTER TABLE mantis_bugnote_table CHANGE COLUMN last_modified_int last_modified INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bugnote_table ADD INDEX idx_last_mod (last_modified); ALTER TABLE mantis_bugnote_table DROP COLUMN date_submitted; ALTER TABLE mantis_bugnote_table CHANGE COLUMN date_submitted_int date_submitted INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bug_file_table ADD date_added_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bug_file_table DROP COLUMN date_added; ALTER TABLE mantis_bug_file_table CHANGE COLUMN date_added_int date_added INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_project_file_table ADD date_added_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_project_file_table DROP COLUMN date_added; ALTER TABLE mantis_project_file_table CHANGE COLUMN date_added_int date_added INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bug_history_table ADD date_modified_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bug_history_table DROP COLUMN date_modified; ALTER TABLE mantis_bug_history_table CHANGE COLUMN date_modified_int date_modified INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_user_table ADD last_visit_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_user_table ADD date_created_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_user_table DROP COLUMN date_created; ALTER TABLE mantis_user_table CHANGE COLUMN date_created_int date_created INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_user_table DROP COLUMN last_visit; ALTER TABLE mantis_user_table CHANGE COLUMN last_visit_int last_visit INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_email_table ADD submitted_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_email_table DROP COLUMN submitted; ALTER TABLE mantis_email_table CHANGE COLUMN submitted_int submitted INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_tag_table ADD date_created_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_tag_table ADD date_updated_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_tag_table DROP COLUMN date_created; ALTER TABLE mantis_tag_table CHANGE COLUMN date_created_int date_created INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_tag_table DROP COLUMN date_updated; ALTER TABLE mantis_tag_table CHANGE COLUMN date_updated_int date_updated INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bug_tag_table ADD date_attached_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bug_tag_table DROP COLUMN date_attached; ALTER TABLE mantis_bug_tag_table CHANGE COLUMN date_attached_int date_attached INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_tokens_table ADD timestamp_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_tokens_table ADD expiry_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_tokens_table DROP COLUMN timestamp; ALTER TABLE mantis_tokens_table CHANGE COLUMN timestamp_int timestamp INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_tokens_table DROP COLUMN expiry; ALTER TABLE mantis_tokens_table CHANGE COLUMN expiry_int expiry INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_news_table ADD last_modified_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_news_table ADD date_posted_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_news_table DROP COLUMN last_modified; ALTER TABLE mantis_news_table CHANGE COLUMN last_modified_int last_modified INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_news_table DROP COLUMN date_posted; ALTER TABLE mantis_news_table CHANGE COLUMN date_posted_int date_posted INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bug_revision_table ADD timestamp_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bug_revision_table DROP COLUMN timestamp; ALTER TABLE mantis_bug_revision_table CHANGE COLUMN timestamp_int timestamp INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_bug_revision_table ADD INDEX idx_bug_rev_id_time (bug_id, timestamp); ALTER TABLE mantis_user_pref_table ADD timezone VARCHAR(32) NOT NULL DEFAULT ''; ALTER TABLE mantis_project_version_table ADD date_order_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_project_version_table DROP COLUMN date_order; ALTER TABLE mantis_project_version_table CHANGE COLUMN date_order_int date_order INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_sponsorship_table ADD date_submitted_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_sponsorship_table ADD last_updated_int INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_sponsorship_table DROP COLUMN last_updated; ALTER TABLE mantis_sponsorship_table CHANGE COLUMN last_updated_int last_updated INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_sponsorship_table DROP COLUMN date_submitted; ALTER TABLE mantis_sponsorship_table CHANGE COLUMN date_submitted_int date_submitted INTEGER UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE mantis_project_file_table ADD user_id INTEGER UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE mantis_bug_file_table ADD user_id INTEGER UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE mantis_custom_field_table DROP COLUMN advanced; ALTER TABLE mantis_user_pref_table DROP COLUMN advanced_report; ALTER TABLE mantis_user_pref_table DROP COLUMN advanced_view; ALTER TABLE mantis_user_pref_table DROP COLUMN advanced_update; ALTER TABLE mantis_project_hierarchy_table ADD INDEX idx_project_hierarchy_child_id (child_id); ALTER TABLE mantis_project_hierarchy_table ADD INDEX idx_project_hierarchy_parent_id (parent_id); ALTER TABLE mantis_tag_table ADD INDEX idx_tag_name (name); ALTER TABLE mantis_bug_tag_table ADD INDEX idx_bug_tag_tag_id (tag_id); INSERT INTO mantis_config_table ( value, type, access_reqd, config_id, project_id, user_id ) VALUES ('183', 1, 90, 'database_version', 0, 0 );
相关推荐
1. 解压下载的`mantisbt-2.24.1.zip`到服务器的Web目录。 2. 设置文件权限,确保web服务器用户可以读写数据目录。 3. 使用浏览器访问安装页面,按照向导配置数据库连接、管理员账户等信息。 4. 完成安装后,登录管理...
"mantisbt-1.2.19.tar.gz" 是MantisBT的一个特定版本,打包为适用于Linux系统的源码压缩包。以下是关于这个系统及其安装过程的详细知识点: 1. **MantisBT简介**: MantisBT是一个轻量级、可定制的项目管理工具,...
内容: 1、centos 6 安装 mantisbt-1.2.8 ; 2、 centos 7 安装 mantisbt-2.12.0.zip 3、mantisbt-2.12.0.tar.gz包; 4、MySQL-5.5.59-1.el7.x86_64.rpm-bundle.tar包
在"mantisbt-2.24.0.tar.gz"这个压缩包中,包含了MantisBT的源代码和所有必要的文件,用于搭建和运行2.24.0版本的系统。这个版本可能包括了性能优化、新功能的添加以及已知问题的修复。"tar.gz"是一种常见的Linux/...
MantisBT-2.25.4是该软件的一个特定版本,它可能包含了对先前版本的改进和修复。在这个版本中,用户可以期待更加稳定和高效的问题追踪体验。 首先,让我们深入了解一下MantisBT的核心功能: 1. **问题追踪**:...
官方离线安装包,亲测可用
标题中的“mantisbt-1.2.19.zip”指的是Mantis Bug Tracker的一个特定版本,1.2.19。Mantis BT是一款开源的、基于Web的缺陷追踪系统,广泛应用于软件开发团队中,帮助他们管理和跟踪项目中的错误或缺陷。这个版本...
"mantisbt-2.24.4.zip" 是MantisBT的一个特定版本,即2.24.4版的压缩包文件。这个版本可能包含了对之前版本的改进、修复和新功能的添加。 在MantisBT 2.24.4中,我们可以期待以下几个关键知识点: 1. **安装与配置...
"mantisbt-1.2.0rc2" 是MantisBT的一个版本,代表着“Release Candidate 2”,这是在正式版本发布前的最后一个测试阶段,通常会在这个版本中修复之前版本的已知问题,并对系统进行最后的优化。 MantisBT的核心功能...
7. **数据库脚本**:用于创建和更新MantisBT所需的数据库结构,如`database.sql`。 8. **图片和静态资源**:包括logo、图标和其他图形资源。 9. **测试文件**:如果包含,这些可能是用于确保代码质量的自动化测试...
mantisbt 使用手册
这个压缩包文件 "mantisbt-1.2.0rc2.tar.gz" 提供的是MantisBT的1.2.0 release candidate 2版本。 在详细讲解这个版本之前,我们先了解一下MantisBT的基本概念。MantisBT的核心功能包括: 1. **错误报告**:用户...
1.2.1是其版本号,这个zip文件“mantisbt-1.2.1.zip”包含了该版本的完整源代码和相关资源,使得用户能够下载、安装以及在自己的服务器上运行MantisBT系统。 MantisBT的核心功能包括: 1. **缺陷跟踪**:系统允许...
"mantisbt-1.2.15.tar.gz"是一个压缩包文件,其中包含了MantisBT 1.2.15版本的所有源代码和相关资源。这个版本是2011年发布的一个稳定版,为用户提供了强大的问题跟踪功能。 1. **MantisBT简介** MantisBT是由PHP...
MantisBT-1.2.0是该系统的早期稳定版本,提供了基本的问题报告、分类、优先级设定、进度跟踪等功能。 在MantisBT-1.2.0版本中,用户可以体验以下主要功能和知识点: 1. **安装与部署**:MantisBT-1.2.0是一个可...
"mantisbt-2.3.0" 是MantisBT的一个特定版本,该版本可能包含了一系列的改进、修复和新功能。以下是关于MantisBT 2.3.0在Windows 7和Linux CentOS 6.5环境下安装、配置和使用的详细知识点。 1. **安装环境**: - *...
离线安装包,亲测可用
在"MantisBT-1.2.11.zip"这个压缩包中,用户可以找到MantisBT的源代码、安装文件和必要的配置文件,用于搭建和运行自己的MantisBT服务器。以下是这个压缩包可能包含的一些关键组成部分: 1. **源代码**:MantisBT是...
软件实施BUG需求收集管理开源软件PHP+MySQL方便配置 1、安装,创建数据库必须输入数据库管理密码。 2、上传图片失败处理方式。见文件: https://blog.csdn.net/yujiang0/article/details/103734731
Mantisbt-客户端该软件包是与 API 接口交互的客户端,允许您检索、更新和创建问题、管理帐户和获取进度信息。工程质量我们希望确保您获得最佳质量,因此该客户端带有单元测试(由提供的自动测试)和由提供的代码质量...