From 45b240a6124c67436cea18f90e4a3330ba819441 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Wed, 6 Jun 2001 10:16:47 +0000 Subject: Fix for bug 75482: adding the capability to deactivate a group without deleting it (prevent new bugs from being placed into that group, but don't remove the group restriction from bugs already in it). Patch by Myk Melez r= justdave@syndicomm.com --- checksetup.pl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index 310250e71..0da9af763 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -790,6 +790,13 @@ $table{dependencies} = # User regexp is which email addresses are initially put into this group. # This is only used when an email account is created; otherwise, profiles # may be individually tweaked to add them in and out of groups. +# +# 2001-04-10 myk@mozilla.org: +# isactive determines whether or not a group is active. An inactive group +# cannot have bugs added to it. Deactivation is a much milder form of +# deleting a group that allows users to continue to work on bugs in the group +# without enabling them to extend the life of the group by adding bugs to it. +# http://bugzilla.mozilla.org/show_bug.cgi?id=75482 $table{groups} = 'bit bigint not null, @@ -797,6 +804,7 @@ $table{groups} = description text not null, isbuggroup tinyint not null, userregexp tinytext not null, + isactive tinyint not null default 1, unique(bit), unique(name)'; @@ -2157,6 +2165,16 @@ unless (-d 'data/duplicates') { } } +# +# 2001-04-10 myk@mozilla.org: +# isactive determines whether or not a group is active. An inactive group +# cannot have bugs added to it. Deactivation is a much milder form of +# deleting a group that allows users to continue to work on bugs in the group +# without enabling them to extend the life of the group by adding bugs to it. +# http://bugzilla.mozilla.org/show_bug.cgi?id=75482 +# +AddField('groups', 'isactive', 'tinyint not null default 1'); + # 2001-04-29 jake@acutex.net - Remove oldemailtech # http://bugzilla.mozilla.org/show_bugs.cgi?id=71552 if (-d 'shadow') { -- cgit v1.2.3-24-g4f1b