mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 17:56:52 +02:00
Topic notification ... initial stuff
git-svn-id: file:///svn/phpbb/trunk@862 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -423,6 +423,20 @@ CREATE TABLE phpbb_topics (
|
||||
);
|
||||
|
||||
|
||||
# --------------------------------------------------------
|
||||
#
|
||||
# Table structure for table 'phpbb_topics_watch'
|
||||
#
|
||||
DROP TABLE IF EXISTS phpbb_topics_watch;
|
||||
CREATE TABLE phpbb_topics_watch (
|
||||
topic_id int(11),
|
||||
user_id int(11),
|
||||
notify_status tinyint(1) NOT NULL default '0',
|
||||
PRIMARY KEY (topic_id),
|
||||
KEY user_id (user_id)
|
||||
);
|
||||
|
||||
|
||||
# --------------------------------------------------------
|
||||
#
|
||||
# Table structure for table 'phpbb_users'
|
||||
|
@@ -418,6 +418,20 @@ CREATE INDEX _phpbb_topics_index ON phpbb_topics (forum_id, topic_id);
|
||||
CREATE INDEX forum_id_phpbb_topics_index ON phpbb_topics (forum_id);
|
||||
|
||||
|
||||
/* --------------------------------------------------------
|
||||
Table structure for table phpbb_topics_watch
|
||||
-------------------------------------------------------- */
|
||||
CREATE TABLE phpbb_topics_watch (
|
||||
topic_id int4,
|
||||
user_id int4,
|
||||
notify_status int2 NOT NULL default '0',
|
||||
CONSTRAINT phpbb_topics_watch_pkey PRIMARY KEY (topic_id),
|
||||
KEY user_id (user_id)
|
||||
);
|
||||
CREATE INDEX _phpbb_topics_watch_index ON phpbb_topics_watch (topic_id, user_id);
|
||||
CREATE INDEX forum_id_phpbb_topics_index ON phpbb_topics (forum_id);
|
||||
|
||||
|
||||
/* --------------------------------------------------------
|
||||
Table structure for table phpbb_user_group
|
||||
-------------------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user