summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-01-24 05:31:48 +0100
committerterry%mozilla.org <>2000-01-24 05:31:48 +0100
commit45aea99cbc8a4fb8abd7502af28d1bd9e8b4ef3a (patch)
treeab9fa1117bd65e6597ae89432b5d504729270da5 /checksetup.pl
parent00a814cd674b14f1ab1d903eb4b7b57a72f0b50a (diff)
downloadbugzilla-45aea99cbc8a4fb8abd7502af28d1bd9e8b4ef3a.tar.gz
bugzilla-45aea99cbc8a4fb8abd7502af28d1bd9e8b4ef3a.tar.xz
Named queries (and the default query) are now stored server side, in
the database, rather than in cookies. This means you have to log in to use these features, but I have plans that require them to be server-side. (Besides, some people were beginning to run out of cookie space.)
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 567c88be9..699ed8138 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -673,6 +673,15 @@ $table{profiles} =
unique(login_name)';
+$table{namedqueries} =
+ 'userid mediumint not null,
+ name varchar(64) not null,
+ watchfordiffs tinyint not null,
+ query mediumtext not null,
+
+ unique(userid, name),
+ index(watchfordiffs)';
+
# This isn't quite cooked yet...
#
# $table{diffprefs} =