implementation of the "bozo filter" on a topic level, including a topic-level

"Manage" screen (to hang "Rename Topic" from later, too).
This commit is contained in:
Eric J. Bowersox
2001-11-09 00:10:36 +00:00
parent bc859178f2
commit 0bb2e795a4
13 changed files with 727 additions and 38 deletions

View File

@@ -306,15 +306,6 @@ CREATE TABLE confhotlist (
INDEX inorder (uid, sequence)
);
# The "bozo filter" list for a conference, for use by users in filtering out
# the rantings of other users who are bozos.
CREATE TABLE confbozo (
confid INT NOT NULL,
uid INT NOT NULL,
bozo_uid INT NOT NULL,
PRIMARY KEY (confid, uid, bozo_uid)
);
# The table describing topics within a conference.
CREATE TABLE topics (
topicid INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
@@ -343,6 +334,15 @@ CREATE TABLE topicsettings (
PRIMARY KEY (topicid, uid)
);
# The "bozo filter" list for a topic, for use by users in filtering out
# the rantings of other users who are bozos.
CREATE TABLE topicbozo (
topicid INT NOT NULL,
uid INT NOT NULL,
bozo_uid INT NOT NULL,
PRIMARY KEY (topicid, uid, bozo_uid)
);
# The "header" for a posted message.
CREATE TABLE posts (
postid BIGINT NOT NULL PRIMARY KEY AUTO_INCREMENT,