1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Schema updates for search changes

git-svn-id: file:///svn/phpbb/trunk@1300 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2001-11-09 18:28:46 +00:00
parent d265bbc317
commit 911c833b12
2 changed files with 53 additions and 0 deletions

View File

@@ -266,6 +266,34 @@ CREATE TABLE phpbb_search_results (
);
# --------------------------------------------------------
#
# Table structure for table `phpbb_search_wordlist`
#
DROP TABLE IF EXISTS phpbb_search_wordlist;
CREATE TABLE phpbb_search_wordlist (
word_id int(11) NOT NULL auto_increment,
word_text varchar(100) NOT NULL default '',
word_weight tinyint(4) NOT NULL default '0',
PRIMARY KEY (word_id),
KEY word_text (word_text)
)
# --------------------------------------------------------
#
# Table structure for table `phpbb_search_wordmatch`
#
DROP TABLE IF EXISTS phpbb_search_wordmatch;
CREATE TABLE phpbb_search_wordmatch (
post_id int(11) NOT NULL default '0',
word_id int(11) NOT NULL default '0',
word_count smallint(6) NOT NULL default '0',
title_match tinyint(1) NOT NULL default '0',
KEY word_id (word_id)
)
# --------------------------------------------------------
#
# Table structure for table 'phpbb_session'