mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Database changes for search flood control
AcydBurn - Can you please replicate this into the MS Access primer for me git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5532 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -165,6 +165,7 @@ GO
|
||||
CREATE TABLE [phpbb_search_results] (
|
||||
[search_id] [int] NOT NULL ,
|
||||
[session_id] [char] (32) NOT NULL ,
|
||||
[search_time] [int] NOT NULL ,
|
||||
[search_array] [text] NOT NULL
|
||||
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
|
||||
GO
|
||||
@@ -593,6 +594,10 @@ ALTER TABLE [phpbb_posts] WITH NOCHECK ADD
|
||||
CONSTRAINT [DF_phpbb_posts_post_edit_count] DEFAULT (0) FOR [post_edit_count]
|
||||
GO
|
||||
|
||||
ALTER TABLE [phpbb_search_results] WITH NOCHECK ADD
|
||||
CONSTRAINT [DF_phpbb_search_results_search_time] DEFAULT (0) FOR [search_time]
|
||||
GO
|
||||
|
||||
ALTER TABLE [phpbb_search_wordlist] WITH NOCHECK ADD
|
||||
CONSTRAINT [DF_phpbb_search_wordlist_word_common] DEFAULT (0) FOR [word_common]
|
||||
GO
|
||||
|
Reference in New Issue
Block a user