summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-06-27 22:56:04 +0200
committerGitHub <noreply@github.com>2018-06-27 22:56:04 +0200
commit52069375a263292354cdb1074585929b98be303c (patch)
treec78b7619ad2ea18b2c4020bd53f2e431cd85b0ec /Bugzilla
parentbb9a5cddcc03d754d44dbba13194ddd071202238 (diff)
downloadbugzilla-52069375a263292354cdb1074585929b98be303c.tar.gz
bugzilla-52069375a263292354cdb1074585929b98be303c.tar.xz
Bug 1471701 - Remove is_markdown (to be replaced by a new comment type)
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/DB/Schema.pm3
-rw-r--r--Bugzilla/Install/DB.pm7
2 files changed, 3 insertions, 7 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 67ee9071c..d2ac7944b 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -398,8 +398,7 @@ use constant ABSTRACT_SCHEMA => {
DEFAULT => 'FALSE'},
type => {TYPE => 'INT2', NOTNULL => 1,
DEFAULT => '0'},
- extra_data => {TYPE => 'varchar(255)'},
- is_markdown => {TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE'}
+ extra_data => {TYPE => 'varchar(255)'}
],
INDEXES => [
longdescs_bug_id_idx => ['bug_id'],
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm
index d81bcfbdc..fe87342b1 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -710,11 +710,6 @@ sub update_table_definitions {
# 2014-07-27 LpSolit@gmail.com - Bug 1044561
_fix_user_api_keys_indexes();
-
- # 2018-06-14 dylan@mozilla.com - Bug 1468818
- $dbh->bz_add_column('longdescs', 'is_markdown',
- {TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE'});
-
# 2014-10-?? dkl@mozilla.com - Bug 1062940
$dbh->bz_alter_column('bugs', 'alias', { TYPE => 'varchar(40)' });
@@ -774,6 +769,8 @@ sub update_table_definitions {
$dbh->bz_add_index('profiles', 'profiles_realname_ft_idx',
{TYPE => 'FULLTEXT', FIELDS => ['realname']});
+ $dbh->bz_drop_column('longdescs', 'is_markdown');
+
################################################################
# New --TABLE-- changes should go *** A B O V E *** this point #
################################################################