1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

Changed $board_config to $config, more posting "stuff", altered polling code in viewtopic and loads of new problems, poor coding, etc. created :)

git-svn-id: file:///svn/phpbb/trunk@2983 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2002-10-30 00:57:27 +00:00
parent 9075298051
commit 691f50ada9
43 changed files with 1072 additions and 1044 deletions

View File

@@ -231,6 +231,7 @@ CREATE TABLE phpbb_poll_results (
poll_option_id tinyint(4) UNSIGNED NOT NULL DEFAULT '0',
topic_id mediumint(8) UNSIGNED NOT NULL,
poll_option_text varchar(255) NOT NULL,
poll_option_total mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
KEY poll_option_id (poll_option_id),
KEY topic_id (topic_id)
);
@@ -241,11 +242,11 @@ CREATE TABLE phpbb_poll_results (
# Table structure for table 'phpbb_vote_voters'
#
CREATE TABLE phpbb_poll_voters (
vote_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
topic_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
poll_option_id tinyint(4) UNSIGNED NOT NULL DEFAULT '0',
vote_user_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
vote_user_ip varchar(40) NOT NULL,
KEY vote_id (vote_id),
KEY topic_id (vote_id),
KEY vote_user_id (vote_user_id),
KEY vote_user_ip (vote_user_ip)
);