From e0489034fc4aaf2e5b424ee9065651d8c50a73d5 Mon Sep 17 00:00:00 2001 From: Bart van Bragt Date: Fri, 23 Nov 2001 18:52:46 +0000 Subject: Oops, smallint is too small for group_id.. Thanks Paul :D git-svn-id: file:///svn/phpbb/trunk@1427 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/db/schemas/mysql_schema.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/db') diff --git a/phpBB/db/schemas/mysql_schema.sql b/phpBB/db/schemas/mysql_schema.sql index a54adb2811..b0dde05c34 100644 --- a/phpBB/db/schemas/mysql_schema.sql +++ b/phpBB/db/schemas/mysql_schema.sql @@ -9,7 +9,7 @@ # DROP TABLE IF EXISTS phpbb_auth_access; CREATE TABLE phpbb_auth_access ( - group_id smallint(5) DEFAULT '0' NOT NULL, + group_id mediumint(8) DEFAULT '0' NOT NULL, forum_id smallint(5) UNSIGNED DEFAULT '0' NOT NULL, auth_view tinyint(1) DEFAULT '0' NOT NULL, auth_read tinyint(1) DEFAULT '0' NOT NULL, @@ -33,7 +33,7 @@ CREATE TABLE phpbb_auth_access ( # DROP TABLE IF EXISTS phpbb_user_group; CREATE TABLE phpbb_user_group ( - group_id smallint(5) DEFAULT '0' NOT NULL, + group_id mediumint(8) DEFAULT '0' NOT NULL, user_id mediumint(8) DEFAULT '0' NOT NULL, user_pending tinyint(1), KEY group_id (group_id), @@ -45,7 +45,7 @@ CREATE TABLE phpbb_user_group ( # DROP TABLE IF EXISTS phpbb_groups; CREATE TABLE phpbb_groups ( - group_id smallint(5) NOT NULL auto_increment, + group_id mediumint(8) NOT NULL auto_increment, group_type tinyint(4) DEFAULT '1' NOT NULL, group_name varchar(40) NOT NULL, group_description varchar(255) NOT NULL, -- cgit v1.2.1