1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

merged log tables, added new log_type (critical).

changed email class a little bit.
bug fixed the queue a little bit.


git-svn-id: file:///svn/phpbb/trunk@4210 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2003-07-06 18:48:33 +00:00
parent f31b471ee1
commit 1b320bbb00
10 changed files with 357 additions and 202 deletions

View File

@@ -243,9 +243,10 @@ CREATE TABLE phpbb_lang (
PRIMARY KEY (lang_id)
);
# Table: 'phpbb_log_moderator'
CREATE TABLE phpbb_log_moderator (
# Table: 'phpbb_log'
CREATE TABLE phpbb_log (
log_id mediumint(5) UNSIGNED NOT NULL DEFAULT '0' auto_increment,
log_type tinyint(4) UNSIGNED NOT NULL DEFAULT '0',
user_id mediumint(8) NOT NULL DEFAULT '0',
forum_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
topic_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
@@ -254,23 +255,12 @@ CREATE TABLE phpbb_log_moderator (
log_operation text,
log_data text,
PRIMARY KEY (log_id),
KEY log_type (log_type),
KEY forum_id (forum_id),
KEY topic_id (topic_id),
KEY user_id (user_id)
);
# Table: 'phpbb_log_admin'
CREATE TABLE phpbb_log_admin (
log_id mediumint(5) UNSIGNED NOT NULL DEFAULT '0' auto_increment,
user_id mediumint(8) NOT NULL DEFAULT '0',
log_ip varchar(40) NOT NULL,
log_time int(11) NOT NULL,
log_operation text,
log_data text,
PRIMARY KEY (log_id),
KEY user_id (user_id)
);
# Table: 'phpbb_moderator_cache'
CREATE TABLE phpbb_moderator_cache (
forum_id mediumint(8) unsigned NOT NULL,