mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
Forum level annoucements and sticky topics are done.
Added topic_type field to the topics database in order to handle ordering. Would have used topic_status but that would have messed up the ordering when topics were locked git-svn-id: file:///svn/phpbb/trunk@437 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -18,10 +18,10 @@ CREATE TABLE phpbb_auth_access (
|
||||
auth_reply tinyint(1) DEFAULT '0' NOT NULL,
|
||||
auth_edit tinyint(1) DEFAULT '0' NOT NULL,
|
||||
auth_delete tinyint(1) DEFAULT '0' NOT NULL,
|
||||
auth_announce tinyint(1) DEFAULT '0' NOT NULL,
|
||||
auth_sticky tinyint(1) DEFAULT '0' NOT NULL,
|
||||
auth_votecreate tinyint(1) DEFAULT '0' NOT NULL,
|
||||
auth_attachments tinyint(1) DEFAULT '0' NOT NULL,
|
||||
auth_announce tinyint(1) DEFAULT '0' NOT NULL,
|
||||
auth_sticky tinyint(1) DEFAULT '0' NOT NULL,
|
||||
auth_votecreate tinyint(1) DEFAULT '0' NOT NULL,
|
||||
auth_attachments tinyint(1) DEFAULT '0' NOT NULL,
|
||||
auth_vote tinyint(1) DEFAULT '0' NOT NULL,
|
||||
auth_mod tinyint(1) DEFAULT '0' NOT NULL,
|
||||
auth_admin tinyint(1) DEFAULT '0' NOT NULL
|
||||
@@ -40,10 +40,10 @@ CREATE TABLE phpbb_auth_forums (
|
||||
auth_reply tinyint(4) DEFAULT '0' NOT NULL,
|
||||
auth_edit tinyint(4) DEFAULT '0' NOT NULL,
|
||||
auth_delete tinyint(4) DEFAULT '0' NOT NULL,
|
||||
auth_announce tinyint(4) DEFAULT '0' NOT NULL,
|
||||
auth_sticky tinyint(4) DEFAULT '0' NOT NULL,
|
||||
auth_announce tinyint(4) DEFAULT '0' NOT NULL,
|
||||
auth_sticky tinyint(4) DEFAULT '0' NOT NULL,
|
||||
auth_votecreate tinyint(4) DEFAULT '0' NOT NULL,
|
||||
auth_vote tinyint(4) DEFAULT '0' NOT NULL,
|
||||
auth_vote tinyint(4) DEFAULT '0' NOT NULL,
|
||||
auth_attachments tinyint(4) DEFAULT '0' NOT NULL
|
||||
);
|
||||
|
||||
@@ -125,7 +125,7 @@ CREATE TABLE phpbb_config (
|
||||
email_from varchar(100),
|
||||
flood_interval int(4) NOT NULL,
|
||||
avatar_filesize int(11) DEFAULT '6144' NOT NULL,
|
||||
avatar_path varchar(255) DEFAULT 'images/avatars' NOT NULL,
|
||||
avatar_path varchar(255) DEFAULT 'images/avatars' NOT NULL,
|
||||
default_theme int(11) DEFAULT '1' NOT NULL,
|
||||
default_lang varchar(255),
|
||||
default_dateformat varchar(14) DEFAULT 'd M Y H:i' NOT NULL,
|
||||
@@ -273,8 +273,8 @@ CREATE TABLE phpbb_session (
|
||||
session_id char(32) DEFAULT '' NOT NULL,
|
||||
session_user_id int(11) DEFAULT '0' NOT NULL,
|
||||
session_start int(11) DEFAULT '0' NOT NULL,
|
||||
session_time int(11) DEFAULT '0' NOT NULL,
|
||||
session_last_visit int(11) DEFAULT '0' NOT NULL,
|
||||
session_time int(11) DEFAULT '0' NOT NULL,
|
||||
session_last_visit int(11) DEFAULT '0' NOT NULL,
|
||||
session_ip char(8) DEFAULT '0' NOT NULL,
|
||||
session_page int(11) DEFAULT '0' NOT NULL,
|
||||
session_logged_in tinyint(1) DEFAULT '0' NOT NULL,
|
||||
@@ -407,6 +407,7 @@ CREATE TABLE phpbb_topics (
|
||||
topic_views int(10) DEFAULT '0' NOT NULL,
|
||||
topic_replies int(11) DEFAULT '0' NOT NULL,
|
||||
topic_status tinyint(3) DEFAULT '0' NOT NULL,
|
||||
topic_type tinyint(3) DEFAULT '0' NOT NULL,
|
||||
topic_notify tinyint(3) DEFAULT '0',
|
||||
topic_last_post_id int(11) DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (topic_id),
|
||||
|
Reference in New Issue
Block a user