summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorjouni%heikniemi.net <>2004-07-06 16:08:02 +0200
committerjouni%heikniemi.net <>2004-07-06 16:08:02 +0200
commit6c0b6e11bf1e302320bebe0ce9545eff924ab124 (patch)
treeec6538b7ffb236cd3c092d5942c89343daa0f171 /checksetup.pl
parent73fd49ff3bbff6244802ba548bb22c2be39014e1 (diff)
downloadbugzilla-6c0b6e11bf1e302320bebe0ce9545eff924ab124.tar.gz
bugzilla-6c0b6e11bf1e302320bebe0ce9545eff924ab124.tar.xz
Bug 223878: Flag system dies when changing a deleted flag.
r=joel, justdave a=justdave
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 684a8ca7e..3c4793407 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -1609,6 +1609,8 @@ $table{flags} =
setter_id MEDIUMINT NULL ,
requestee_id MEDIUMINT NULL ,
+
+ is_active TINYINT NOT NULL DEFAULT 1,
INDEX(bug_id, attach_id) ,
INDEX(setter_id) ,
@@ -3935,6 +3937,11 @@ if (GetFieldDef("user_group_map", "isderived")) {
}
}
+# 2004-07-03 - Make it possible to disable flags without deleting them
+# from the database. Bug 223878, jouni@heikniemi.net
+
+AddField('flags', 'is_active', 'tinyint not null default 1');
+
# If you had to change the --TABLE-- definition in any way, then add your