From 397beebc19dfac0417a64fdbcfb4e6657f6ad9f5 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Fri, 7 Jan 2000 05:16:13 +0000 Subject: 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". --- checksetup.pl | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'checksetup.pl') 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.'; -- cgit v1.2.3-24-g4f1b