mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 20:10:18 +02:00
[feature/merging-style-components] Updating database and acp modules
Removing theme and template tables, adding new columns to styles table, deleting acp modules, deleting code that updates theme in updater PHPBB3-10632
This commit is contained in:
@@ -994,47 +994,14 @@ CREATE TABLE phpbb_styles (
|
||||
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 INT4 DEFAULT '0' NOT NULL CHECK (template_id >= 0),
|
||||
theme_id INT4 DEFAULT '0' NOT NULL CHECK (theme_id >= 0),
|
||||
style_path varchar(100) DEFAULT '' NOT NULL,
|
||||
bbcode_bitfield varchar(255) DEFAULT 'kNg=' NOT NULL,
|
||||
style_parent_id INT4 DEFAULT '0' NOT NULL CHECK (style_parent_id >= 0),
|
||||
style_parent_tree varchar(8000) DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (style_id)
|
||||
);
|
||||
|
||||
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);
|
||||
|
||||
/*
|
||||
Table: 'phpbb_styles_template'
|
||||
*/
|
||||
CREATE SEQUENCE phpbb_styles_template_seq;
|
||||
|
||||
CREATE TABLE phpbb_styles_template (
|
||||
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,
|
||||
bbcode_bitfield varchar(255) DEFAULT 'kNg=' NOT NULL,
|
||||
template_inherits_id INT4 DEFAULT '0' NOT NULL CHECK (template_inherits_id >= 0),
|
||||
template_inherit_path varchar(255) DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (template_id)
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX phpbb_styles_template_tmplte_nm ON phpbb_styles_template (template_name);
|
||||
|
||||
/*
|
||||
Table: 'phpbb_styles_theme'
|
||||
*/
|
||||
CREATE SEQUENCE phpbb_styles_theme_seq;
|
||||
|
||||
CREATE TABLE phpbb_styles_theme (
|
||||
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,
|
||||
PRIMARY KEY (theme_id)
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX phpbb_styles_theme_theme_name ON phpbb_styles_theme (theme_name);
|
||||
|
||||
/*
|
||||
Table: 'phpbb_topics'
|
||||
|
Reference in New Issue
Block a user