mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
extend the style columns (style_id, template_id, imageset_id, image_id...)
No, not only because of possible style demos. :o git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9129 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
$updates_to_version = '3.0.3';
|
||||
$updates_to_version = '3.0.4-RC1';
|
||||
|
||||
// Return if we "just include it" to find out for which version the database update is responsible for
|
||||
if (defined('IN_PHPBB') && defined('IN_INSTALL'))
|
||||
@@ -556,6 +556,36 @@ $database_update_info = array(
|
||||
'field_show_profile' => array('BOOL', 0),
|
||||
),
|
||||
),
|
||||
'change_columns' => array(
|
||||
STYLES_TABLE => array(
|
||||
'style_id' => array('UINT', NULL, 'auto_increment'),
|
||||
'template_id' => array('UINT', 0),
|
||||
'theme_id' => array('UINT', 0),
|
||||
'imageset_id' => array('UINT', 0),
|
||||
),
|
||||
STYLES_IMAGESET_TABLE => array(
|
||||
'imageset_id' => array('UINT', NULL, 'auto_increment'),
|
||||
),
|
||||
STYLES_IMAGESET_DATA_TABLE => array(
|
||||
'image_id' => array('UINT', NULL, 'auto_increment'),
|
||||
'imageset_id' => array('UINT', 0),
|
||||
),
|
||||
STYLES_THEME_TABLE => array(
|
||||
'theme_id' => array('UINT', NULL, 'auto_increment'),
|
||||
),
|
||||
STYLES_TEMPLATE_TABLE => array(
|
||||
'template_id' => array('UINT', NULL, 'auto_increment'),
|
||||
),
|
||||
STYLES_TEMPLATE_DATA_TABLE => array(
|
||||
'template_id' => array('UINT', 0),
|
||||
),
|
||||
FORUMS_TABLE => array(
|
||||
'forum_style' => array('USINT', 0),
|
||||
),
|
||||
USERS_TABLE => array(
|
||||
'user_style' => array('UINT', 0),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
|
@@ -228,7 +228,7 @@ CREATE TABLE phpbb_forums (
|
||||
forum_desc_uid varbinary(8) DEFAULT '' NOT NULL,
|
||||
forum_link blob NOT NULL,
|
||||
forum_password varbinary(120) DEFAULT '' NOT NULL,
|
||||
forum_style smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
forum_style mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
forum_image varbinary(255) DEFAULT '' NOT NULL,
|
||||
forum_rules blob NOT NULL,
|
||||
forum_rules_link blob NOT NULL,
|
||||
@@ -718,13 +718,13 @@ CREATE TABLE phpbb_smilies (
|
||||
|
||||
# Table: 'phpbb_styles'
|
||||
CREATE TABLE phpbb_styles (
|
||||
style_id smallint(4) UNSIGNED NOT NULL auto_increment,
|
||||
style_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
style_name blob NOT NULL,
|
||||
style_copyright blob NOT NULL,
|
||||
style_active tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
template_id smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
theme_id smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
imageset_id smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
template_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
theme_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
imageset_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (style_id),
|
||||
UNIQUE style_name (style_name(255)),
|
||||
KEY template_id (template_id),
|
||||
@@ -735,7 +735,7 @@ CREATE TABLE phpbb_styles (
|
||||
|
||||
# Table: 'phpbb_styles_template'
|
||||
CREATE TABLE phpbb_styles_template (
|
||||
template_id smallint(4) UNSIGNED NOT NULL auto_increment,
|
||||
template_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
template_name blob NOT NULL,
|
||||
template_copyright blob NOT NULL,
|
||||
template_path varbinary(100) DEFAULT '' NOT NULL,
|
||||
@@ -750,7 +750,7 @@ CREATE TABLE phpbb_styles_template (
|
||||
|
||||
# Table: 'phpbb_styles_template_data'
|
||||
CREATE TABLE phpbb_styles_template_data (
|
||||
template_id smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
template_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
template_filename varbinary(100) DEFAULT '' NOT NULL,
|
||||
template_included blob NOT NULL,
|
||||
template_mtime int(11) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
@@ -762,7 +762,7 @@ CREATE TABLE phpbb_styles_template_data (
|
||||
|
||||
# Table: 'phpbb_styles_theme'
|
||||
CREATE TABLE phpbb_styles_theme (
|
||||
theme_id smallint(4) UNSIGNED NOT NULL auto_increment,
|
||||
theme_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
theme_name blob NOT NULL,
|
||||
theme_copyright blob NOT NULL,
|
||||
theme_path varbinary(100) DEFAULT '' NOT NULL,
|
||||
@@ -776,7 +776,7 @@ CREATE TABLE phpbb_styles_theme (
|
||||
|
||||
# Table: 'phpbb_styles_imageset'
|
||||
CREATE TABLE phpbb_styles_imageset (
|
||||
imageset_id smallint(4) UNSIGNED NOT NULL auto_increment,
|
||||
imageset_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
imageset_name blob NOT NULL,
|
||||
imageset_copyright blob NOT NULL,
|
||||
imageset_path varbinary(100) DEFAULT '' NOT NULL,
|
||||
@@ -787,13 +787,13 @@ CREATE TABLE phpbb_styles_imageset (
|
||||
|
||||
# Table: 'phpbb_styles_imageset_data'
|
||||
CREATE TABLE phpbb_styles_imageset_data (
|
||||
image_id smallint(4) UNSIGNED NOT NULL auto_increment,
|
||||
image_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
image_name varbinary(200) DEFAULT '' NOT NULL,
|
||||
image_filename varbinary(200) DEFAULT '' NOT NULL,
|
||||
image_lang varbinary(30) DEFAULT '' NOT NULL,
|
||||
image_height smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
image_width smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
imageset_id smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
imageset_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (image_id),
|
||||
KEY i_d (imageset_id)
|
||||
);
|
||||
@@ -921,7 +921,7 @@ CREATE TABLE phpbb_users (
|
||||
user_timezone decimal(5,2) DEFAULT '0' NOT NULL,
|
||||
user_dst tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_dateformat varbinary(90) DEFAULT 'd M Y H:i' NOT NULL,
|
||||
user_style smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_style mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_rank mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_colour varbinary(6) DEFAULT '' NOT NULL,
|
||||
user_new_privmsg int(4) DEFAULT '0' NOT NULL,
|
||||
|
@@ -228,7 +228,7 @@ CREATE TABLE phpbb_forums (
|
||||
forum_desc_uid varchar(8) DEFAULT '' NOT NULL,
|
||||
forum_link varchar(255) DEFAULT '' NOT NULL,
|
||||
forum_password varchar(40) DEFAULT '' NOT NULL,
|
||||
forum_style smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
forum_style mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
forum_image varchar(255) DEFAULT '' NOT NULL,
|
||||
forum_rules text NOT NULL,
|
||||
forum_rules_link varchar(255) DEFAULT '' NOT NULL,
|
||||
@@ -718,13 +718,13 @@ CREATE TABLE phpbb_smilies (
|
||||
|
||||
# Table: 'phpbb_styles'
|
||||
CREATE TABLE phpbb_styles (
|
||||
style_id smallint(4) UNSIGNED NOT NULL auto_increment,
|
||||
style_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
style_name varchar(255) DEFAULT '' NOT NULL,
|
||||
style_copyright varchar(255) DEFAULT '' NOT NULL,
|
||||
style_active tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
template_id smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
theme_id smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
imageset_id smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
template_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
theme_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
imageset_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (style_id),
|
||||
UNIQUE style_name (style_name),
|
||||
KEY template_id (template_id),
|
||||
@@ -735,7 +735,7 @@ CREATE TABLE phpbb_styles (
|
||||
|
||||
# Table: 'phpbb_styles_template'
|
||||
CREATE TABLE phpbb_styles_template (
|
||||
template_id smallint(4) UNSIGNED NOT NULL auto_increment,
|
||||
template_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
template_name varchar(255) DEFAULT '' NOT NULL,
|
||||
template_copyright varchar(255) DEFAULT '' NOT NULL,
|
||||
template_path varchar(100) DEFAULT '' NOT NULL,
|
||||
@@ -750,7 +750,7 @@ CREATE TABLE phpbb_styles_template (
|
||||
|
||||
# Table: 'phpbb_styles_template_data'
|
||||
CREATE TABLE phpbb_styles_template_data (
|
||||
template_id smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
template_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
template_filename varchar(100) DEFAULT '' NOT NULL,
|
||||
template_included text NOT NULL,
|
||||
template_mtime int(11) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
@@ -762,7 +762,7 @@ CREATE TABLE phpbb_styles_template_data (
|
||||
|
||||
# Table: 'phpbb_styles_theme'
|
||||
CREATE TABLE phpbb_styles_theme (
|
||||
theme_id smallint(4) UNSIGNED NOT NULL auto_increment,
|
||||
theme_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
theme_name varchar(255) DEFAULT '' NOT NULL,
|
||||
theme_copyright varchar(255) DEFAULT '' NOT NULL,
|
||||
theme_path varchar(100) DEFAULT '' NOT NULL,
|
||||
@@ -776,7 +776,7 @@ CREATE TABLE phpbb_styles_theme (
|
||||
|
||||
# Table: 'phpbb_styles_imageset'
|
||||
CREATE TABLE phpbb_styles_imageset (
|
||||
imageset_id smallint(4) UNSIGNED NOT NULL auto_increment,
|
||||
imageset_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
imageset_name varchar(255) DEFAULT '' NOT NULL,
|
||||
imageset_copyright varchar(255) DEFAULT '' NOT NULL,
|
||||
imageset_path varchar(100) DEFAULT '' NOT NULL,
|
||||
@@ -787,13 +787,13 @@ CREATE TABLE phpbb_styles_imageset (
|
||||
|
||||
# Table: 'phpbb_styles_imageset_data'
|
||||
CREATE TABLE phpbb_styles_imageset_data (
|
||||
image_id smallint(4) UNSIGNED NOT NULL auto_increment,
|
||||
image_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
image_name varchar(200) DEFAULT '' NOT NULL,
|
||||
image_filename varchar(200) DEFAULT '' NOT NULL,
|
||||
image_lang varchar(30) DEFAULT '' NOT NULL,
|
||||
image_height smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
image_width smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
imageset_id smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
imageset_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (image_id),
|
||||
KEY i_d (imageset_id)
|
||||
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
||||
@@ -921,7 +921,7 @@ CREATE TABLE phpbb_users (
|
||||
user_timezone decimal(5,2) DEFAULT '0' NOT NULL,
|
||||
user_dst tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_dateformat varchar(30) DEFAULT 'd M Y H:i' NOT NULL,
|
||||
user_style smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_style mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_rank mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_colour varchar(6) DEFAULT '' NOT NULL,
|
||||
user_new_privmsg int(4) DEFAULT '0' NOT NULL,
|
||||
|
@@ -485,7 +485,7 @@ CREATE TABLE phpbb_forums (
|
||||
forum_desc_uid varchar2(8) DEFAULT '' ,
|
||||
forum_link varchar2(765) DEFAULT '' ,
|
||||
forum_password varchar2(120) DEFAULT '' ,
|
||||
forum_style number(4) DEFAULT '0' NOT NULL,
|
||||
forum_style number(8) DEFAULT '0' NOT NULL,
|
||||
forum_image varchar2(255) DEFAULT '' ,
|
||||
forum_rules clob DEFAULT '' ,
|
||||
forum_rules_link varchar2(765) DEFAULT '' ,
|
||||
@@ -1388,13 +1388,13 @@ END;
|
||||
Table: 'phpbb_styles'
|
||||
*/
|
||||
CREATE TABLE phpbb_styles (
|
||||
style_id number(4) NOT NULL,
|
||||
style_id number(8) NOT NULL,
|
||||
style_name varchar2(765) DEFAULT '' ,
|
||||
style_copyright varchar2(765) DEFAULT '' ,
|
||||
style_active number(1) DEFAULT '1' NOT NULL,
|
||||
template_id number(4) DEFAULT '0' NOT NULL,
|
||||
theme_id number(4) DEFAULT '0' NOT NULL,
|
||||
imageset_id number(4) DEFAULT '0' NOT NULL,
|
||||
template_id number(8) DEFAULT '0' NOT NULL,
|
||||
theme_id number(8) DEFAULT '0' NOT NULL,
|
||||
imageset_id number(8) DEFAULT '0' NOT NULL,
|
||||
CONSTRAINT pk_phpbb_styles PRIMARY KEY (style_id),
|
||||
CONSTRAINT u_phpbb_style_name UNIQUE (style_name)
|
||||
)
|
||||
@@ -1427,7 +1427,7 @@ END;
|
||||
Table: 'phpbb_styles_template'
|
||||
*/
|
||||
CREATE TABLE phpbb_styles_template (
|
||||
template_id number(4) NOT NULL,
|
||||
template_id number(8) NOT NULL,
|
||||
template_name varchar2(765) DEFAULT '' ,
|
||||
template_copyright varchar2(765) DEFAULT '' ,
|
||||
template_path varchar2(100) DEFAULT '' ,
|
||||
@@ -1461,7 +1461,7 @@ END;
|
||||
Table: 'phpbb_styles_template_data'
|
||||
*/
|
||||
CREATE TABLE phpbb_styles_template_data (
|
||||
template_id number(4) DEFAULT '0' NOT NULL,
|
||||
template_id number(8) DEFAULT '0' NOT NULL,
|
||||
template_filename varchar2(100) DEFAULT '' ,
|
||||
template_included clob DEFAULT '' ,
|
||||
template_mtime number(11) DEFAULT '0' NOT NULL,
|
||||
@@ -1478,7 +1478,7 @@ CREATE INDEX phpbb_styles_template_data_tfn ON phpbb_styles_template_data (templ
|
||||
Table: 'phpbb_styles_theme'
|
||||
*/
|
||||
CREATE TABLE phpbb_styles_theme (
|
||||
theme_id number(4) NOT NULL,
|
||||
theme_id number(8) NOT NULL,
|
||||
theme_name varchar2(765) DEFAULT '' ,
|
||||
theme_copyright varchar2(765) DEFAULT '' ,
|
||||
theme_path varchar2(100) DEFAULT '' ,
|
||||
@@ -1511,7 +1511,7 @@ END;
|
||||
Table: 'phpbb_styles_imageset'
|
||||
*/
|
||||
CREATE TABLE phpbb_styles_imageset (
|
||||
imageset_id number(4) NOT NULL,
|
||||
imageset_id number(8) NOT NULL,
|
||||
imageset_name varchar2(765) DEFAULT '' ,
|
||||
imageset_copyright varchar2(765) DEFAULT '' ,
|
||||
imageset_path varchar2(100) DEFAULT '' ,
|
||||
@@ -1541,13 +1541,13 @@ END;
|
||||
Table: 'phpbb_styles_imageset_data'
|
||||
*/
|
||||
CREATE TABLE phpbb_styles_imageset_data (
|
||||
image_id number(4) NOT NULL,
|
||||
image_id number(8) NOT NULL,
|
||||
image_name varchar2(200) DEFAULT '' ,
|
||||
image_filename varchar2(200) DEFAULT '' ,
|
||||
image_lang varchar2(30) DEFAULT '' ,
|
||||
image_height number(4) DEFAULT '0' NOT NULL,
|
||||
image_width number(4) DEFAULT '0' NOT NULL,
|
||||
imageset_id number(4) DEFAULT '0' NOT NULL,
|
||||
imageset_id number(8) DEFAULT '0' NOT NULL,
|
||||
CONSTRAINT pk_phpbb_styles_imageset_data PRIMARY KEY (image_id)
|
||||
)
|
||||
/
|
||||
@@ -1739,7 +1739,7 @@ CREATE TABLE phpbb_users (
|
||||
user_timezone number(5, 2) DEFAULT '0' NOT NULL,
|
||||
user_dst number(1) DEFAULT '0' NOT NULL,
|
||||
user_dateformat varchar2(90) DEFAULT 'd M Y H:i' NOT NULL,
|
||||
user_style number(4) DEFAULT '0' NOT NULL,
|
||||
user_style number(8) DEFAULT '0' NOT NULL,
|
||||
user_rank number(8) DEFAULT '0' NOT NULL,
|
||||
user_colour varchar2(6) DEFAULT '' ,
|
||||
user_new_privmsg number(4) DEFAULT '0' NOT NULL,
|
||||
|
@@ -361,7 +361,7 @@ CREATE TABLE phpbb_forums (
|
||||
forum_desc_uid varchar(8) DEFAULT '' NOT NULL,
|
||||
forum_link varchar(255) DEFAULT '' NOT NULL,
|
||||
forum_password varchar(40) DEFAULT '' NOT NULL,
|
||||
forum_style INT2 DEFAULT '0' NOT NULL CHECK (forum_style >= 0),
|
||||
forum_style INT4 DEFAULT '0' NOT NULL CHECK (forum_style >= 0),
|
||||
forum_image varchar(255) DEFAULT '' NOT NULL,
|
||||
forum_rules varchar(4000) DEFAULT '' NOT NULL,
|
||||
forum_rules_link varchar(255) DEFAULT '' NOT NULL,
|
||||
@@ -947,13 +947,13 @@ CREATE INDEX phpbb_smilies_display_on_post ON phpbb_smilies (display_on_posting)
|
||||
CREATE SEQUENCE phpbb_styles_seq;
|
||||
|
||||
CREATE TABLE phpbb_styles (
|
||||
style_id INT2 DEFAULT nextval('phpbb_styles_seq'),
|
||||
style_id INT4 DEFAULT nextval('phpbb_styles_seq'),
|
||||
style_name varchar(255) DEFAULT '' NOT NULL,
|
||||
style_copyright varchar(255) DEFAULT '' NOT NULL,
|
||||
style_active INT2 DEFAULT '1' NOT NULL CHECK (style_active >= 0),
|
||||
template_id INT2 DEFAULT '0' NOT NULL CHECK (template_id >= 0),
|
||||
theme_id INT2 DEFAULT '0' NOT NULL CHECK (theme_id >= 0),
|
||||
imageset_id INT2 DEFAULT '0' NOT NULL CHECK (imageset_id >= 0),
|
||||
template_id INT4 DEFAULT '0' NOT NULL CHECK (template_id >= 0),
|
||||
theme_id INT4 DEFAULT '0' NOT NULL CHECK (theme_id >= 0),
|
||||
imageset_id INT4 DEFAULT '0' NOT NULL CHECK (imageset_id >= 0),
|
||||
PRIMARY KEY (style_id)
|
||||
);
|
||||
|
||||
@@ -968,7 +968,7 @@ CREATE INDEX phpbb_styles_imageset_id ON phpbb_styles (imageset_id);
|
||||
CREATE SEQUENCE phpbb_styles_template_seq;
|
||||
|
||||
CREATE TABLE phpbb_styles_template (
|
||||
template_id INT2 DEFAULT nextval('phpbb_styles_template_seq'),
|
||||
template_id INT4 DEFAULT nextval('phpbb_styles_template_seq'),
|
||||
template_name varchar(255) DEFAULT '' NOT NULL,
|
||||
template_copyright varchar(255) DEFAULT '' NOT NULL,
|
||||
template_path varchar(100) DEFAULT '' NOT NULL,
|
||||
@@ -985,7 +985,7 @@ CREATE UNIQUE INDEX phpbb_styles_template_tmplte_nm ON phpbb_styles_template (te
|
||||
Table: 'phpbb_styles_template_data'
|
||||
*/
|
||||
CREATE TABLE phpbb_styles_template_data (
|
||||
template_id INT2 DEFAULT '0' NOT NULL CHECK (template_id >= 0),
|
||||
template_id INT4 DEFAULT '0' NOT NULL CHECK (template_id >= 0),
|
||||
template_filename varchar(100) DEFAULT '' NOT NULL,
|
||||
template_included varchar(8000) DEFAULT '' NOT NULL,
|
||||
template_mtime INT4 DEFAULT '0' NOT NULL CHECK (template_mtime >= 0),
|
||||
@@ -1001,7 +1001,7 @@ CREATE INDEX phpbb_styles_template_data_tfn ON phpbb_styles_template_data (templ
|
||||
CREATE SEQUENCE phpbb_styles_theme_seq;
|
||||
|
||||
CREATE TABLE phpbb_styles_theme (
|
||||
theme_id INT2 DEFAULT nextval('phpbb_styles_theme_seq'),
|
||||
theme_id INT4 DEFAULT nextval('phpbb_styles_theme_seq'),
|
||||
theme_name varchar(255) DEFAULT '' NOT NULL,
|
||||
theme_copyright varchar(255) DEFAULT '' NOT NULL,
|
||||
theme_path varchar(100) DEFAULT '' NOT NULL,
|
||||
@@ -1019,7 +1019,7 @@ CREATE UNIQUE INDEX phpbb_styles_theme_theme_name ON phpbb_styles_theme (theme_n
|
||||
CREATE SEQUENCE phpbb_styles_imageset_seq;
|
||||
|
||||
CREATE TABLE phpbb_styles_imageset (
|
||||
imageset_id INT2 DEFAULT nextval('phpbb_styles_imageset_seq'),
|
||||
imageset_id INT4 DEFAULT nextval('phpbb_styles_imageset_seq'),
|
||||
imageset_name varchar(255) DEFAULT '' NOT NULL,
|
||||
imageset_copyright varchar(255) DEFAULT '' NOT NULL,
|
||||
imageset_path varchar(100) DEFAULT '' NOT NULL,
|
||||
@@ -1034,13 +1034,13 @@ CREATE UNIQUE INDEX phpbb_styles_imageset_imgset_nm ON phpbb_styles_imageset (im
|
||||
CREATE SEQUENCE phpbb_styles_imageset_data_seq;
|
||||
|
||||
CREATE TABLE phpbb_styles_imageset_data (
|
||||
image_id INT2 DEFAULT nextval('phpbb_styles_imageset_data_seq'),
|
||||
image_id INT4 DEFAULT nextval('phpbb_styles_imageset_data_seq'),
|
||||
image_name varchar(200) DEFAULT '' NOT NULL,
|
||||
image_filename varchar(200) DEFAULT '' NOT NULL,
|
||||
image_lang varchar(30) DEFAULT '' NOT NULL,
|
||||
image_height INT2 DEFAULT '0' NOT NULL CHECK (image_height >= 0),
|
||||
image_width INT2 DEFAULT '0' NOT NULL CHECK (image_width >= 0),
|
||||
imageset_id INT2 DEFAULT '0' NOT NULL CHECK (imageset_id >= 0),
|
||||
imageset_id INT4 DEFAULT '0' NOT NULL CHECK (imageset_id >= 0),
|
||||
PRIMARY KEY (image_id)
|
||||
);
|
||||
|
||||
@@ -1184,7 +1184,7 @@ CREATE TABLE phpbb_users (
|
||||
user_timezone decimal(5,2) DEFAULT '0' NOT NULL,
|
||||
user_dst INT2 DEFAULT '0' NOT NULL CHECK (user_dst >= 0),
|
||||
user_dateformat varchar(30) DEFAULT 'd M Y H:i' NOT NULL,
|
||||
user_style INT2 DEFAULT '0' NOT NULL CHECK (user_style >= 0),
|
||||
user_style INT4 DEFAULT '0' NOT NULL CHECK (user_style >= 0),
|
||||
user_rank INT4 DEFAULT '0' NOT NULL CHECK (user_rank >= 0),
|
||||
user_colour varchar(6) DEFAULT '' NOT NULL,
|
||||
user_new_privmsg INT4 DEFAULT '0' NOT NULL,
|
||||
@@ -1275,4 +1275,4 @@ CREATE TABLE phpbb_zebra (
|
||||
|
||||
|
||||
|
||||
COMMIT;
|
||||
COMMIT;
|
@@ -969,4 +969,4 @@ CREATE TABLE phpbb_zebra (
|
||||
|
||||
|
||||
|
||||
COMMIT;
|
||||
COMMIT;
|
Reference in New Issue
Block a user