forum rules, forum descriptions and group description bbcode uid fixes

git-svn-id: file:///svn/phpbb/trunk@8178 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2007-10-14 12:12:32 +00:00
parent 525b9bd799
commit ea46faa8ff
10 changed files with 40 additions and 26 deletions

View file

@ -1049,7 +1049,7 @@ function get_schema_struct()
'forum_desc' => array('TEXT_UNI', ''), 'forum_desc' => array('TEXT_UNI', ''),
'forum_desc_bitfield' => array('VCHAR:255', ''), 'forum_desc_bitfield' => array('VCHAR:255', ''),
'forum_desc_options' => array('UINT:11', 7), 'forum_desc_options' => array('UINT:11', 7),
'forum_desc_uid' => array('VCHAR:5', ''), 'forum_desc_uid' => array('VCHAR:8', ''),
'forum_link' => array('VCHAR_UNI', ''), 'forum_link' => array('VCHAR_UNI', ''),
'forum_password' => array('VCHAR_UNI:40', ''), 'forum_password' => array('VCHAR_UNI:40', ''),
'forum_style' => array('USINT', 0), 'forum_style' => array('USINT', 0),
@ -1058,7 +1058,7 @@ function get_schema_struct()
'forum_rules_link' => array('VCHAR_UNI', ''), 'forum_rules_link' => array('VCHAR_UNI', ''),
'forum_rules_bitfield' => array('VCHAR:255', ''), 'forum_rules_bitfield' => array('VCHAR:255', ''),
'forum_rules_options' => array('UINT:11', 7), 'forum_rules_options' => array('UINT:11', 7),
'forum_rules_uid' => array('VCHAR:5', ''), 'forum_rules_uid' => array('VCHAR:8', ''),
'forum_topics_per_page' => array('TINT:4', 0), 'forum_topics_per_page' => array('TINT:4', 0),
'forum_type' => array('TINT:4', 0), 'forum_type' => array('TINT:4', 0),
'forum_status' => array('TINT:4', 0), 'forum_status' => array('TINT:4', 0),
@ -1128,7 +1128,7 @@ function get_schema_struct()
'group_desc' => array('TEXT_UNI', ''), 'group_desc' => array('TEXT_UNI', ''),
'group_desc_bitfield' => array('VCHAR:255', ''), 'group_desc_bitfield' => array('VCHAR:255', ''),
'group_desc_options' => array('UINT:11', 7), 'group_desc_options' => array('UINT:11', 7),
'group_desc_uid' => array('VCHAR:5', ''), 'group_desc_uid' => array('VCHAR:8', ''),
'group_display' => array('BOOL', 0), 'group_display' => array('BOOL', 0),
'group_avatar' => array('VCHAR', ''), 'group_avatar' => array('VCHAR', ''),
'group_avatar_type' => array('TINT:2', 0), 'group_avatar_type' => array('TINT:2', 0),

View file

@ -82,6 +82,7 @@
<ul> <ul>
<li>[Fix] Submitting language changes using acp_language (Bug #14736)</li> <li>[Fix] Submitting language changes using acp_language (Bug #14736)</li>
<li>[Fix] Fixed wrong bbcode handling for forum rules, forum descriptions and group descriptions</li>
</ul> </ul>
<a name="v30rc5"></a><h3>1.ii. Changes since 3.0.RC5</h3> <a name="v30rc5"></a><h3>1.ii. Changes since 3.0.RC5</h3>
@ -106,7 +107,7 @@
<li>[Feature] Added /includes/db/db_tools.php file, which includes tools for handling cross-db actions such as altering columns, etc.</li> <li>[Feature] Added /includes/db/db_tools.php file, which includes tools for handling cross-db actions such as altering columns, etc.</li>
<li>[Change] Reset the start parameter when the timeframe is changed in the mcp topic page (Ticket #14438)</li> <li>[Change] Reset the start parameter when the timeframe is changed in the mcp topic page (Ticket #14438)</li>
<li>[Change] Added Code for cleaning the confirm table to the session garbage collection</li> <li>[Change] Added Code for cleaning the confirm table to the session garbage collection</li>
<li>[Fix] Fixed token handling in jabber class for extremely spec-compilant XMPP server (Bug #14445)</li> <li>[Fix] Fixed token handling in jabber class for extremely spec-compliant XMPP server (Bug #14445)</li>
<li>[Fix] Disallowed galleries from using special characters (Bug #14466)</li> <li>[Fix] Disallowed galleries from using special characters (Bug #14466)</li>
<li>[Change] Listing the board url within the email text instead of appending it to the subject (Bug #14378)</li> <li>[Change] Listing the board url within the email text instead of appending it to the subject (Bug #14378)</li>
<li>[Fix] Always display the quote button as the most accessible one - edit is always before quote (Bug #14403)</li> <li>[Fix] Always display the quote button as the most accessible one - edit is always before quote (Bug #14403)</li>

View file

@ -8,7 +8,7 @@
* *
*/ */
$updates_to_version = '3.0.RC6'; $updates_to_version = '3.0.RC7';
// Return if we "just include it" to find out for which version the database update is responsuble for // Return if we "just include it" to find out for which version the database update is responsuble for
if (defined('IN_PHPBB') && defined('IN_INSTALL')) if (defined('IN_PHPBB') && defined('IN_INSTALL'))
@ -447,6 +447,19 @@ $database_update_info = array(
), ),
), ),
), ),
// Changes from 3.0.RC6 to the next version
'3.0.RC6' => array(
// Change the following columns
'change_columns' => array(
FORUMS_TABLE => array(
'forum_desc_uid' => array('VCHAR:8', ''),
'forum_rules_uid' => array('VCHAR:8', ''),
),
GROUPS_TABLE => array(
'group_desc_uid' => array('VCHAR:8', ''),
),
),
),
); );
// Determine mapping database type // Determine mapping database type

View file

@ -339,7 +339,7 @@ CREATE TABLE phpbb_forums (
forum_desc BLOB SUB_TYPE TEXT CHARACTER SET UTF8 DEFAULT '' NOT NULL, forum_desc BLOB SUB_TYPE TEXT CHARACTER SET UTF8 DEFAULT '' NOT NULL,
forum_desc_bitfield VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL, forum_desc_bitfield VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL,
forum_desc_options INTEGER DEFAULT 7 NOT NULL, forum_desc_options INTEGER DEFAULT 7 NOT NULL,
forum_desc_uid VARCHAR(5) CHARACTER SET NONE DEFAULT '' NOT NULL, forum_desc_uid VARCHAR(8) CHARACTER SET NONE DEFAULT '' NOT NULL,
forum_link VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE, forum_link VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
forum_password VARCHAR(40) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE, forum_password VARCHAR(40) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
forum_style INTEGER DEFAULT 0 NOT NULL, forum_style INTEGER DEFAULT 0 NOT NULL,
@ -348,7 +348,7 @@ CREATE TABLE phpbb_forums (
forum_rules_link VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE, forum_rules_link VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
forum_rules_bitfield VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL, forum_rules_bitfield VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL,
forum_rules_options INTEGER DEFAULT 7 NOT NULL, forum_rules_options INTEGER DEFAULT 7 NOT NULL,
forum_rules_uid VARCHAR(5) CHARACTER SET NONE DEFAULT '' NOT NULL, forum_rules_uid VARCHAR(8) CHARACTER SET NONE DEFAULT '' NOT NULL,
forum_topics_per_page INTEGER DEFAULT 0 NOT NULL, forum_topics_per_page INTEGER DEFAULT 0 NOT NULL,
forum_type INTEGER DEFAULT 0 NOT NULL, forum_type INTEGER DEFAULT 0 NOT NULL,
forum_status INTEGER DEFAULT 0 NOT NULL, forum_status INTEGER DEFAULT 0 NOT NULL,
@ -428,7 +428,7 @@ CREATE TABLE phpbb_groups (
group_desc BLOB SUB_TYPE TEXT CHARACTER SET UTF8 DEFAULT '' NOT NULL, group_desc BLOB SUB_TYPE TEXT CHARACTER SET UTF8 DEFAULT '' NOT NULL,
group_desc_bitfield VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL, group_desc_bitfield VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL,
group_desc_options INTEGER DEFAULT 7 NOT NULL, group_desc_options INTEGER DEFAULT 7 NOT NULL,
group_desc_uid VARCHAR(5) CHARACTER SET NONE DEFAULT '' NOT NULL, group_desc_uid VARCHAR(8) CHARACTER SET NONE DEFAULT '' NOT NULL,
group_display INTEGER DEFAULT 0 NOT NULL, group_display INTEGER DEFAULT 0 NOT NULL,
group_avatar VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL, group_avatar VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL,
group_avatar_type INTEGER DEFAULT 0 NOT NULL, group_avatar_type INTEGER DEFAULT 0 NOT NULL,

View file

@ -415,7 +415,7 @@ CREATE TABLE [phpbb_forums] (
[forum_desc] [varchar] (4000) DEFAULT ('') NOT NULL , [forum_desc] [varchar] (4000) DEFAULT ('') NOT NULL ,
[forum_desc_bitfield] [varchar] (255) DEFAULT ('') NOT NULL , [forum_desc_bitfield] [varchar] (255) DEFAULT ('') NOT NULL ,
[forum_desc_options] [int] DEFAULT (7) NOT NULL , [forum_desc_options] [int] DEFAULT (7) NOT NULL ,
[forum_desc_uid] [varchar] (5) DEFAULT ('') NOT NULL , [forum_desc_uid] [varchar] (8) DEFAULT ('') NOT NULL ,
[forum_link] [varchar] (255) DEFAULT ('') NOT NULL , [forum_link] [varchar] (255) DEFAULT ('') NOT NULL ,
[forum_password] [varchar] (40) DEFAULT ('') NOT NULL , [forum_password] [varchar] (40) DEFAULT ('') NOT NULL ,
[forum_style] [int] DEFAULT (0) NOT NULL , [forum_style] [int] DEFAULT (0) NOT NULL ,
@ -424,7 +424,7 @@ CREATE TABLE [phpbb_forums] (
[forum_rules_link] [varchar] (255) DEFAULT ('') NOT NULL , [forum_rules_link] [varchar] (255) DEFAULT ('') NOT NULL ,
[forum_rules_bitfield] [varchar] (255) DEFAULT ('') NOT NULL , [forum_rules_bitfield] [varchar] (255) DEFAULT ('') NOT NULL ,
[forum_rules_options] [int] DEFAULT (7) NOT NULL , [forum_rules_options] [int] DEFAULT (7) NOT NULL ,
[forum_rules_uid] [varchar] (5) DEFAULT ('') NOT NULL , [forum_rules_uid] [varchar] (8) DEFAULT ('') NOT NULL ,
[forum_topics_per_page] [int] DEFAULT (0) NOT NULL , [forum_topics_per_page] [int] DEFAULT (0) NOT NULL ,
[forum_type] [int] DEFAULT (0) NOT NULL , [forum_type] [int] DEFAULT (0) NOT NULL ,
[forum_status] [int] DEFAULT (0) NOT NULL , [forum_status] [int] DEFAULT (0) NOT NULL ,
@ -533,7 +533,7 @@ CREATE TABLE [phpbb_groups] (
[group_desc] [varchar] (4000) DEFAULT ('') NOT NULL , [group_desc] [varchar] (4000) DEFAULT ('') NOT NULL ,
[group_desc_bitfield] [varchar] (255) DEFAULT ('') NOT NULL , [group_desc_bitfield] [varchar] (255) DEFAULT ('') NOT NULL ,
[group_desc_options] [int] DEFAULT (7) NOT NULL , [group_desc_options] [int] DEFAULT (7) NOT NULL ,
[group_desc_uid] [varchar] (5) DEFAULT ('') NOT NULL , [group_desc_uid] [varchar] (8) DEFAULT ('') NOT NULL ,
[group_display] [int] DEFAULT (0) NOT NULL , [group_display] [int] DEFAULT (0) NOT NULL ,
[group_avatar] [varchar] (255) DEFAULT ('') NOT NULL , [group_avatar] [varchar] (255) DEFAULT ('') NOT NULL ,
[group_avatar_type] [int] DEFAULT (0) NOT NULL , [group_avatar_type] [int] DEFAULT (0) NOT NULL ,

View file

@ -225,7 +225,7 @@ CREATE TABLE phpbb_forums (
forum_desc blob NOT NULL, forum_desc blob NOT NULL,
forum_desc_bitfield varbinary(255) DEFAULT '' NOT NULL, forum_desc_bitfield varbinary(255) DEFAULT '' NOT NULL,
forum_desc_options int(11) UNSIGNED DEFAULT '7' NOT NULL, forum_desc_options int(11) UNSIGNED DEFAULT '7' NOT NULL,
forum_desc_uid varbinary(5) DEFAULT '' NOT NULL, forum_desc_uid varbinary(8) DEFAULT '' NOT NULL,
forum_link blob NOT NULL, forum_link blob NOT NULL,
forum_password varbinary(120) DEFAULT '' NOT NULL, forum_password varbinary(120) DEFAULT '' NOT NULL,
forum_style smallint(4) UNSIGNED DEFAULT '0' NOT NULL, forum_style smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
@ -234,7 +234,7 @@ CREATE TABLE phpbb_forums (
forum_rules_link blob NOT NULL, forum_rules_link blob NOT NULL,
forum_rules_bitfield varbinary(255) DEFAULT '' NOT NULL, forum_rules_bitfield varbinary(255) DEFAULT '' NOT NULL,
forum_rules_options int(11) UNSIGNED DEFAULT '7' NOT NULL, forum_rules_options int(11) UNSIGNED DEFAULT '7' NOT NULL,
forum_rules_uid varbinary(5) DEFAULT '' NOT NULL, forum_rules_uid varbinary(8) DEFAULT '' NOT NULL,
forum_topics_per_page tinyint(4) DEFAULT '0' NOT NULL, forum_topics_per_page tinyint(4) DEFAULT '0' NOT NULL,
forum_type tinyint(4) DEFAULT '0' NOT NULL, forum_type tinyint(4) DEFAULT '0' NOT NULL,
forum_status tinyint(4) DEFAULT '0' NOT NULL, forum_status tinyint(4) DEFAULT '0' NOT NULL,
@ -300,7 +300,7 @@ CREATE TABLE phpbb_groups (
group_desc blob NOT NULL, group_desc blob NOT NULL,
group_desc_bitfield varbinary(255) DEFAULT '' NOT NULL, group_desc_bitfield varbinary(255) DEFAULT '' NOT NULL,
group_desc_options int(11) UNSIGNED DEFAULT '7' NOT NULL, group_desc_options int(11) UNSIGNED DEFAULT '7' NOT NULL,
group_desc_uid varbinary(5) DEFAULT '' NOT NULL, group_desc_uid varbinary(8) DEFAULT '' NOT NULL,
group_display tinyint(1) UNSIGNED DEFAULT '0' NOT NULL, group_display tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
group_avatar varbinary(255) DEFAULT '' NOT NULL, group_avatar varbinary(255) DEFAULT '' NOT NULL,
group_avatar_type tinyint(2) DEFAULT '0' NOT NULL, group_avatar_type tinyint(2) DEFAULT '0' NOT NULL,

View file

@ -225,7 +225,7 @@ CREATE TABLE phpbb_forums (
forum_desc text NOT NULL, forum_desc text NOT NULL,
forum_desc_bitfield varchar(255) DEFAULT '' NOT NULL, forum_desc_bitfield varchar(255) DEFAULT '' NOT NULL,
forum_desc_options int(11) UNSIGNED DEFAULT '7' NOT NULL, forum_desc_options int(11) UNSIGNED DEFAULT '7' NOT NULL,
forum_desc_uid varchar(5) DEFAULT '' NOT NULL, forum_desc_uid varchar(8) DEFAULT '' NOT NULL,
forum_link varchar(255) DEFAULT '' NOT NULL, forum_link varchar(255) DEFAULT '' NOT NULL,
forum_password varchar(40) DEFAULT '' NOT NULL, forum_password varchar(40) DEFAULT '' NOT NULL,
forum_style smallint(4) UNSIGNED DEFAULT '0' NOT NULL, forum_style smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
@ -234,7 +234,7 @@ CREATE TABLE phpbb_forums (
forum_rules_link varchar(255) DEFAULT '' NOT NULL, forum_rules_link varchar(255) DEFAULT '' NOT NULL,
forum_rules_bitfield varchar(255) DEFAULT '' NOT NULL, forum_rules_bitfield varchar(255) DEFAULT '' NOT NULL,
forum_rules_options int(11) UNSIGNED DEFAULT '7' NOT NULL, forum_rules_options int(11) UNSIGNED DEFAULT '7' NOT NULL,
forum_rules_uid varchar(5) DEFAULT '' NOT NULL, forum_rules_uid varchar(8) DEFAULT '' NOT NULL,
forum_topics_per_page tinyint(4) DEFAULT '0' NOT NULL, forum_topics_per_page tinyint(4) DEFAULT '0' NOT NULL,
forum_type tinyint(4) DEFAULT '0' NOT NULL, forum_type tinyint(4) DEFAULT '0' NOT NULL,
forum_status tinyint(4) DEFAULT '0' NOT NULL, forum_status tinyint(4) DEFAULT '0' NOT NULL,
@ -300,7 +300,7 @@ CREATE TABLE phpbb_groups (
group_desc text NOT NULL, group_desc text NOT NULL,
group_desc_bitfield varchar(255) DEFAULT '' NOT NULL, group_desc_bitfield varchar(255) DEFAULT '' NOT NULL,
group_desc_options int(11) UNSIGNED DEFAULT '7' NOT NULL, group_desc_options int(11) UNSIGNED DEFAULT '7' NOT NULL,
group_desc_uid varchar(5) DEFAULT '' NOT NULL, group_desc_uid varchar(8) DEFAULT '' NOT NULL,
group_display tinyint(1) UNSIGNED DEFAULT '0' NOT NULL, group_display tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
group_avatar varchar(255) DEFAULT '' NOT NULL, group_avatar varchar(255) DEFAULT '' NOT NULL,
group_avatar_type tinyint(2) DEFAULT '0' NOT NULL, group_avatar_type tinyint(2) DEFAULT '0' NOT NULL,

View file

@ -482,7 +482,7 @@ CREATE TABLE phpbb_forums (
forum_desc clob DEFAULT '' , forum_desc clob DEFAULT '' ,
forum_desc_bitfield varchar2(255) DEFAULT '' , forum_desc_bitfield varchar2(255) DEFAULT '' ,
forum_desc_options number(11) DEFAULT '7' NOT NULL, forum_desc_options number(11) DEFAULT '7' NOT NULL,
forum_desc_uid varchar2(5) DEFAULT '' , forum_desc_uid varchar2(8) DEFAULT '' ,
forum_link varchar2(765) DEFAULT '' , forum_link varchar2(765) DEFAULT '' ,
forum_password varchar2(120) DEFAULT '' , forum_password varchar2(120) DEFAULT '' ,
forum_style number(4) DEFAULT '0' NOT NULL, forum_style number(4) DEFAULT '0' NOT NULL,
@ -491,7 +491,7 @@ CREATE TABLE phpbb_forums (
forum_rules_link varchar2(765) DEFAULT '' , forum_rules_link varchar2(765) DEFAULT '' ,
forum_rules_bitfield varchar2(255) DEFAULT '' , forum_rules_bitfield varchar2(255) DEFAULT '' ,
forum_rules_options number(11) DEFAULT '7' NOT NULL, forum_rules_options number(11) DEFAULT '7' NOT NULL,
forum_rules_uid varchar2(5) DEFAULT '' , forum_rules_uid varchar2(8) DEFAULT '' ,
forum_topics_per_page number(4) DEFAULT '0' NOT NULL, forum_topics_per_page number(4) DEFAULT '0' NOT NULL,
forum_type number(4) DEFAULT '0' NOT NULL, forum_type number(4) DEFAULT '0' NOT NULL,
forum_status number(4) DEFAULT '0' NOT NULL, forum_status number(4) DEFAULT '0' NOT NULL,
@ -590,7 +590,7 @@ CREATE TABLE phpbb_groups (
group_desc clob DEFAULT '' , group_desc clob DEFAULT '' ,
group_desc_bitfield varchar2(255) DEFAULT '' , group_desc_bitfield varchar2(255) DEFAULT '' ,
group_desc_options number(11) DEFAULT '7' NOT NULL, group_desc_options number(11) DEFAULT '7' NOT NULL,
group_desc_uid varchar2(5) DEFAULT '' , group_desc_uid varchar2(8) DEFAULT '' ,
group_display number(1) DEFAULT '0' NOT NULL, group_display number(1) DEFAULT '0' NOT NULL,
group_avatar varchar2(255) DEFAULT '' , group_avatar varchar2(255) DEFAULT '' ,
group_avatar_type number(2) DEFAULT '0' NOT NULL, group_avatar_type number(2) DEFAULT '0' NOT NULL,

View file

@ -358,7 +358,7 @@ CREATE TABLE phpbb_forums (
forum_desc varchar(4000) DEFAULT '' NOT NULL, forum_desc varchar(4000) DEFAULT '' NOT NULL,
forum_desc_bitfield varchar(255) DEFAULT '' NOT NULL, forum_desc_bitfield varchar(255) DEFAULT '' NOT NULL,
forum_desc_options INT4 DEFAULT '7' NOT NULL CHECK (forum_desc_options >= 0), forum_desc_options INT4 DEFAULT '7' NOT NULL CHECK (forum_desc_options >= 0),
forum_desc_uid varchar(5) DEFAULT '' NOT NULL, forum_desc_uid varchar(8) DEFAULT '' NOT NULL,
forum_link varchar(255) DEFAULT '' NOT NULL, forum_link varchar(255) DEFAULT '' NOT NULL,
forum_password varchar(40) DEFAULT '' NOT NULL, forum_password varchar(40) DEFAULT '' NOT NULL,
forum_style INT2 DEFAULT '0' NOT NULL CHECK (forum_style >= 0), forum_style INT2 DEFAULT '0' NOT NULL CHECK (forum_style >= 0),
@ -367,7 +367,7 @@ CREATE TABLE phpbb_forums (
forum_rules_link varchar(255) DEFAULT '' NOT NULL, forum_rules_link varchar(255) DEFAULT '' NOT NULL,
forum_rules_bitfield varchar(255) DEFAULT '' NOT NULL, forum_rules_bitfield varchar(255) DEFAULT '' NOT NULL,
forum_rules_options INT4 DEFAULT '7' NOT NULL CHECK (forum_rules_options >= 0), forum_rules_options INT4 DEFAULT '7' NOT NULL CHECK (forum_rules_options >= 0),
forum_rules_uid varchar(5) DEFAULT '' NOT NULL, forum_rules_uid varchar(8) DEFAULT '' NOT NULL,
forum_topics_per_page INT2 DEFAULT '0' NOT NULL, forum_topics_per_page INT2 DEFAULT '0' NOT NULL,
forum_type INT2 DEFAULT '0' NOT NULL, forum_type INT2 DEFAULT '0' NOT NULL,
forum_status INT2 DEFAULT '0' NOT NULL, forum_status INT2 DEFAULT '0' NOT NULL,
@ -443,7 +443,7 @@ CREATE TABLE phpbb_groups (
group_desc varchar(4000) DEFAULT '' NOT NULL, group_desc varchar(4000) DEFAULT '' NOT NULL,
group_desc_bitfield varchar(255) DEFAULT '' NOT NULL, group_desc_bitfield varchar(255) DEFAULT '' NOT NULL,
group_desc_options INT4 DEFAULT '7' NOT NULL CHECK (group_desc_options >= 0), group_desc_options INT4 DEFAULT '7' NOT NULL CHECK (group_desc_options >= 0),
group_desc_uid varchar(5) DEFAULT '' NOT NULL, group_desc_uid varchar(8) DEFAULT '' NOT NULL,
group_display INT2 DEFAULT '0' NOT NULL CHECK (group_display >= 0), group_display INT2 DEFAULT '0' NOT NULL CHECK (group_display >= 0),
group_avatar varchar(255) DEFAULT '' NOT NULL, group_avatar varchar(255) DEFAULT '' NOT NULL,
group_avatar_type INT2 DEFAULT '0' NOT NULL, group_avatar_type INT2 DEFAULT '0' NOT NULL,

View file

@ -218,7 +218,7 @@ CREATE TABLE phpbb_forums (
forum_desc text(65535) NOT NULL DEFAULT '', forum_desc text(65535) NOT NULL DEFAULT '',
forum_desc_bitfield varchar(255) NOT NULL DEFAULT '', forum_desc_bitfield varchar(255) NOT NULL DEFAULT '',
forum_desc_options INTEGER UNSIGNED NOT NULL DEFAULT '7', forum_desc_options INTEGER UNSIGNED NOT NULL DEFAULT '7',
forum_desc_uid varchar(5) NOT NULL DEFAULT '', forum_desc_uid varchar(8) NOT NULL DEFAULT '',
forum_link varchar(255) NOT NULL DEFAULT '', forum_link varchar(255) NOT NULL DEFAULT '',
forum_password varchar(40) NOT NULL DEFAULT '', forum_password varchar(40) NOT NULL DEFAULT '',
forum_style INTEGER UNSIGNED NOT NULL DEFAULT '0', forum_style INTEGER UNSIGNED NOT NULL DEFAULT '0',
@ -227,7 +227,7 @@ CREATE TABLE phpbb_forums (
forum_rules_link varchar(255) NOT NULL DEFAULT '', forum_rules_link varchar(255) NOT NULL DEFAULT '',
forum_rules_bitfield varchar(255) NOT NULL DEFAULT '', forum_rules_bitfield varchar(255) NOT NULL DEFAULT '',
forum_rules_options INTEGER UNSIGNED NOT NULL DEFAULT '7', forum_rules_options INTEGER UNSIGNED NOT NULL DEFAULT '7',
forum_rules_uid varchar(5) NOT NULL DEFAULT '', forum_rules_uid varchar(8) NOT NULL DEFAULT '',
forum_topics_per_page tinyint(4) NOT NULL DEFAULT '0', forum_topics_per_page tinyint(4) NOT NULL DEFAULT '0',
forum_type tinyint(4) NOT NULL DEFAULT '0', forum_type tinyint(4) NOT NULL DEFAULT '0',
forum_status tinyint(4) NOT NULL DEFAULT '0', forum_status tinyint(4) NOT NULL DEFAULT '0',
@ -292,7 +292,7 @@ CREATE TABLE phpbb_groups (
group_desc text(65535) NOT NULL DEFAULT '', group_desc text(65535) NOT NULL DEFAULT '',
group_desc_bitfield varchar(255) NOT NULL DEFAULT '', group_desc_bitfield varchar(255) NOT NULL DEFAULT '',
group_desc_options INTEGER UNSIGNED NOT NULL DEFAULT '7', group_desc_options INTEGER UNSIGNED NOT NULL DEFAULT '7',
group_desc_uid varchar(5) NOT NULL DEFAULT '', group_desc_uid varchar(8) NOT NULL DEFAULT '',
group_display INTEGER UNSIGNED NOT NULL DEFAULT '0', group_display INTEGER UNSIGNED NOT NULL DEFAULT '0',
group_avatar varchar(255) NOT NULL DEFAULT '', group_avatar varchar(255) NOT NULL DEFAULT '',
group_avatar_type tinyint(2) NOT NULL DEFAULT '0', group_avatar_type tinyint(2) NOT NULL DEFAULT '0',