summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-01-07 06:16:13 +0100
committerterry%mozilla.org <>2000-01-07 06:16:13 +0100
commit397beebc19dfac0417a64fdbcfb4e6657f6ad9f5 (patch)
treeddd220c777c77fffcce232bffb0ae3b8b80ca014 /checksetup.pl
parent845f202912dadeb9f18837bb19f117f8c092bacc (diff)
downloadbugzilla-397beebc19dfac0417a64fdbcfb4e6657f6ad9f5.tar.gz
bugzilla-397beebc19dfac0417a64fdbcfb4e6657f6ad9f5.tar.xz
Add support for a new "keywords" feature. This lets some central
authority maintain a list of keywords, and users can associate any keyword with any bug. The new functionality won't appear until at least one keyword is defined. Note that you *must* run the "checksetup.pl" script after updating this change, in order to create the new required tables "keywords" and "keyworddefs".
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl13
1 files changed, 13 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 7b02ec0d5..cf7a83978 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -637,7 +637,19 @@ $table{votes} =
index(who),
index(bug_id)';
+$table{keywords} =
+ 'bug_id mediumint not null,
+ keywordid smallint not null,
+ index(bug_id),
+ index(keywordid)';
+
+$table{keyworddefs} =
+ 'id smallint not null primary key,
+ name varchar(64) not null,
+ description mediumtext,
+
+ unique(name)';
@@ -727,6 +739,7 @@ AddGroup 'tweakparams', 'Can tweak operating parameters';
AddGroup 'editgroupmembers', 'Can put people in and out of groups that they are members of.';
AddGroup 'creategroups', 'Can create and destroy groups.';
AddGroup 'editcomponents', 'Can create, destroy, and edit components.';
+AddGroup 'editkeywords', 'Can create, destroy, and edit keywords.';