mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
- fixed some bugs
- changed attachment handling a bit - tried to remove target tags out of the code - do not add session ids to urls for bots as well as not creating a new session on each page view for them I bet i introduced some bugs too. ;) git-svn-id: file:///svn/phpbb/trunk@6364 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -27,6 +27,7 @@ CREATE TABLE phpbb_attachments (
|
||||
topic_id INTEGER DEFAULT 0 NOT NULL,
|
||||
in_message INTEGER DEFAULT 0 NOT NULL,
|
||||
poster_id INTEGER DEFAULT 0 NOT NULL,
|
||||
is_orphan INTEGER DEFAULT 1 NOT NULL,
|
||||
physical_filename VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
real_filename VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
download_count INTEGER DEFAULT 0 NOT NULL,
|
||||
@@ -44,7 +45,7 @@ CREATE INDEX phpbb_attachments_filetime ON phpbb_attachments(filetime);;
|
||||
CREATE INDEX phpbb_attachments_post_msg_id ON phpbb_attachments(post_msg_id);;
|
||||
CREATE INDEX phpbb_attachments_topic_id ON phpbb_attachments(topic_id);;
|
||||
CREATE INDEX phpbb_attachments_poster_id ON phpbb_attachments(poster_id);;
|
||||
CREATE INDEX phpbb_attachments_filesize ON phpbb_attachments(filesize);;
|
||||
CREATE INDEX phpbb_attachments_is_orphan ON phpbb_attachments(is_orphan);;
|
||||
|
||||
CREATE GENERATOR phpbb_attachments_gen;;
|
||||
SET GENERATOR phpbb_attachments_gen TO 0;;
|
||||
|
Reference in New Issue
Block a user