mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-09 19:26:53 +02:00
ratings table
git-svn-id: file:///svn/phpbb/trunk@3345 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -108,6 +108,20 @@ CREATE TABLE phpbb_config (
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
# --------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Table structure for table 'phpbb_confirm'
|
||||||
|
#
|
||||||
|
CREATE TABLE phpbb_confirm (
|
||||||
|
confirm_id char(32) NOT NULL default '',
|
||||||
|
session_id char(32) NOT NULL default '',
|
||||||
|
code char(6) NOT NULL default '',
|
||||||
|
time int(11) NOT NULL,
|
||||||
|
PRIMARY KEY (session_id,confirm_id),
|
||||||
|
KEY time (time)
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Table structure for table 'phpbb_disallow'
|
# Table structure for table 'phpbb_disallow'
|
||||||
@ -392,6 +406,19 @@ CREATE TABLE phpbb_ranks (
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
# --------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Table structure for table 'phpbb_ratings'
|
||||||
|
#
|
||||||
|
CREATE TABLE phpbb_ratings (
|
||||||
|
post_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
user_id tinyint(4) UNSIGNED UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
rating tinyint(4) NOT NULL,
|
||||||
|
KEY post_id (post_id),
|
||||||
|
KEY user_id (user_id)
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Table structure for table `phpbb_search_results`
|
# Table structure for table `phpbb_search_results`
|
||||||
@ -608,19 +635,6 @@ CREATE TABLE phpbb_topics (
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Table structure for table 'phpbb_topics_rating'
|
|
||||||
#
|
|
||||||
CREATE TABLE phpbb_topics_rating (
|
|
||||||
topic_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
|
|
||||||
user_id tinyint(4) UNSIGNED UNSIGNED NOT NULL DEFAULT '0',
|
|
||||||
rating tinyint(4) NOT NULL,
|
|
||||||
KEY topic_id (topic_id),
|
|
||||||
KEY user_id (user_id)
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Table structure for table 'phpbb_topics_watch'
|
# Table structure for table 'phpbb_topics_watch'
|
||||||
@ -656,7 +670,7 @@ CREATE TABLE phpbb_users (
|
|||||||
user_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
user_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||||
user_active tinyint(1) DEFAULT '1',
|
user_active tinyint(1) DEFAULT '1',
|
||||||
user_founder tinyint(1) DEFAULT '0' NOT NULL,
|
user_founder tinyint(1) DEFAULT '0' NOT NULL,
|
||||||
user_permissions text NULL,
|
user_permissions blob NULL,
|
||||||
user_ip varchar(40),
|
user_ip varchar(40),
|
||||||
user_regdate int(11) DEFAULT '0' NOT NULL,
|
user_regdate int(11) DEFAULT '0' NOT NULL,
|
||||||
username varchar(30) NOT NULL,
|
username varchar(30) NOT NULL,
|
||||||
|
Reference in New Issue
Block a user