mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[feature/remove-imagesets] Changing database structure
Removing imagesets. Changing database structure PHPBB3-10336
This commit is contained in:
@@ -727,14 +727,12 @@ CREATE TABLE phpbb_styles (
|
||||
style_copyright varchar(255) NOT NULL DEFAULT '',
|
||||
style_active INTEGER UNSIGNED NOT NULL DEFAULT '1',
|
||||
template_id INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
theme_id INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
imageset_id INTEGER UNSIGNED NOT NULL DEFAULT '0'
|
||||
theme_id INTEGER UNSIGNED NOT NULL DEFAULT '0'
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX phpbb_styles_style_name ON phpbb_styles (style_name);
|
||||
CREATE INDEX phpbb_styles_template_id ON phpbb_styles (template_id);
|
||||
CREATE INDEX phpbb_styles_theme_id ON phpbb_styles (theme_id);
|
||||
CREATE INDEX phpbb_styles_imageset_id ON phpbb_styles (imageset_id);
|
||||
|
||||
# Table: 'phpbb_styles_template'
|
||||
CREATE TABLE phpbb_styles_template (
|
||||
@@ -775,29 +773,6 @@ CREATE TABLE phpbb_styles_theme (
|
||||
|
||||
CREATE UNIQUE INDEX phpbb_styles_theme_theme_name ON phpbb_styles_theme (theme_name);
|
||||
|
||||
# Table: 'phpbb_styles_imageset'
|
||||
CREATE TABLE phpbb_styles_imageset (
|
||||
imageset_id INTEGER PRIMARY KEY NOT NULL ,
|
||||
imageset_name varchar(255) NOT NULL DEFAULT '',
|
||||
imageset_copyright varchar(255) NOT NULL DEFAULT '',
|
||||
imageset_path varchar(100) NOT NULL DEFAULT ''
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX phpbb_styles_imageset_imgset_nm ON phpbb_styles_imageset (imageset_name);
|
||||
|
||||
# Table: 'phpbb_styles_imageset_data'
|
||||
CREATE TABLE phpbb_styles_imageset_data (
|
||||
image_id INTEGER PRIMARY KEY NOT NULL ,
|
||||
image_name varchar(200) NOT NULL DEFAULT '',
|
||||
image_filename varchar(200) NOT NULL DEFAULT '',
|
||||
image_lang varchar(30) NOT NULL DEFAULT '',
|
||||
image_height INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
image_width INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
imageset_id INTEGER UNSIGNED NOT NULL DEFAULT '0'
|
||||
);
|
||||
|
||||
CREATE INDEX phpbb_styles_imageset_data_i_d ON phpbb_styles_imageset_data (imageset_id);
|
||||
|
||||
# Table: 'phpbb_topics'
|
||||
CREATE TABLE phpbb_topics (
|
||||
topic_id INTEGER PRIMARY KEY NOT NULL ,
|
||||
|
Reference in New Issue
Block a user