From 3fabbb14e7b49dd660c14da4aaf2d2d26bbba1ac Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Mon, 2 Aug 2004 18:54:35 +0000 Subject: [PATCH] - small schema fix git-svn-id: file:///svn/phpbb/trunk@4953 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/schemas/mysql_schema.sql | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/phpBB/install/schemas/mysql_schema.sql b/phpBB/install/schemas/mysql_schema.sql index bf83fab1d9..e86edf8b6b 100644 --- a/phpBB/install/schemas/mysql_schema.sql +++ b/phpBB/install/schemas/mysql_schema.sql @@ -41,7 +41,7 @@ CREATE TABLE phpbb_auth_groups ( # Table: phpbb_auth_options CREATE TABLE phpbb_auth_options ( - auth_option_id tinyint(4) NOT NULL auto_increment, + auth_option_id smallint(5) UNSIGNED NOT NULL auto_increment, auth_option char(20) NOT NULL, is_global tinyint(1) DEFAULT '0' NOT NULL, is_local tinyint(1) DEFAULT '0' NOT NULL, @@ -103,9 +103,8 @@ CREATE TABLE phpbb_bookmarks ( topic_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, order_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, - KEY topic_id (topic_id), - KEY user_id (user_id), - KEY notify_status (order_id) + KEY order_id (order_id), + KEY topic_user_id (topic_id, user_id) ); # Table: 'phpbb_bots'