1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-29 02:59:52 +02:00

same right for all. ;) Groups table using same column types as the users table for avatars.

git-svn-id: file:///svn/phpbb/trunk@7968 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-07-28 11:47:02 +00:00
parent 5d52b51853
commit 1db9e62e08
7 changed files with 24 additions and 24 deletions

View File

@@ -303,9 +303,9 @@ CREATE TABLE phpbb_groups (
group_desc_uid varbinary(5) DEFAULT '' NOT NULL,
group_display tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
group_avatar varbinary(255) DEFAULT '' NOT NULL,
group_avatar_type tinyint(4) DEFAULT '0' NOT NULL,
group_avatar_width tinyint(4) DEFAULT '0' NOT NULL,
group_avatar_height tinyint(4) DEFAULT '0' NOT NULL,
group_avatar_type tinyint(2) DEFAULT '0' NOT NULL,
group_avatar_width smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
group_avatar_height smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
group_rank mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
group_colour varbinary(6) DEFAULT '' NOT NULL,
group_sig_chars mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,

View File

@@ -303,9 +303,9 @@ CREATE TABLE phpbb_groups (
group_desc_uid varchar(5) DEFAULT '' NOT NULL,
group_display tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
group_avatar varchar(255) DEFAULT '' NOT NULL,
group_avatar_type tinyint(4) DEFAULT '0' NOT NULL,
group_avatar_width tinyint(4) DEFAULT '0' NOT NULL,
group_avatar_height tinyint(4) DEFAULT '0' NOT NULL,
group_avatar_type tinyint(2) DEFAULT '0' NOT NULL,
group_avatar_width smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
group_avatar_height smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
group_rank mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
group_colour varchar(6) DEFAULT '' NOT NULL,
group_sig_chars mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,

View File

@@ -593,7 +593,7 @@ CREATE TABLE phpbb_groups (
group_desc_uid varchar2(5) DEFAULT '' ,
group_display number(1) DEFAULT '0' NOT NULL,
group_avatar varchar2(255) DEFAULT '' ,
group_avatar_type number(4) DEFAULT '0' NOT NULL,
group_avatar_type number(2) DEFAULT '0' NOT NULL,
group_avatar_width number(4) DEFAULT '0' NOT NULL,
group_avatar_height number(4) DEFAULT '0' NOT NULL,
group_rank number(8) DEFAULT '0' NOT NULL,

View File

@@ -447,8 +447,8 @@ CREATE TABLE phpbb_groups (
group_display INT2 DEFAULT '0' NOT NULL CHECK (group_display >= 0),
group_avatar varchar(255) DEFAULT '' NOT NULL,
group_avatar_type INT2 DEFAULT '0' NOT NULL,
group_avatar_width INT2 DEFAULT '0' NOT NULL,
group_avatar_height INT2 DEFAULT '0' NOT NULL,
group_avatar_width INT2 DEFAULT '0' NOT NULL CHECK (group_avatar_width >= 0),
group_avatar_height INT2 DEFAULT '0' NOT NULL CHECK (group_avatar_height >= 0),
group_rank INT4 DEFAULT '0' NOT NULL CHECK (group_rank >= 0),
group_colour varchar(6) DEFAULT '' NOT NULL,
group_sig_chars INT4 DEFAULT '0' NOT NULL CHECK (group_sig_chars >= 0),

View File

@@ -295,9 +295,9 @@ CREATE TABLE phpbb_groups (
group_desc_uid varchar(5) NOT NULL DEFAULT '',
group_display INTEGER UNSIGNED NOT NULL DEFAULT '0',
group_avatar varchar(255) NOT NULL DEFAULT '',
group_avatar_type tinyint(4) NOT NULL DEFAULT '0',
group_avatar_width tinyint(4) NOT NULL DEFAULT '0',
group_avatar_height tinyint(4) NOT NULL DEFAULT '0',
group_avatar_type tinyint(2) NOT NULL DEFAULT '0',
group_avatar_width INTEGER UNSIGNED NOT NULL DEFAULT '0',
group_avatar_height INTEGER UNSIGNED NOT NULL DEFAULT '0',
group_rank INTEGER UNSIGNED NOT NULL DEFAULT '0',
group_colour varchar(6) NOT NULL DEFAULT '',
group_sig_chars INTEGER UNSIGNED NOT NULL DEFAULT '0',