mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Style related changes, new table for template data storage in situations where the HDD stored versions cannot be written to, safe mode upload, etc.
git-svn-id: file:///svn/phpbb/trunk@4341 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
246614568c
commit
f77668cec0
1 changed files with 15 additions and 3 deletions
|
@ -467,18 +467,30 @@ CREATE TABLE phpbb_styles_template (
|
||||||
template_copyright varchar(50) NOT NULL,
|
template_copyright varchar(50) NOT NULL,
|
||||||
template_path varchar(30) NOT NULL,
|
template_path varchar(30) NOT NULL,
|
||||||
bbcode_bitfield int(11) UNSIGNED DEFAULT '0' NOT NULL,
|
bbcode_bitfield int(11) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
tpl_storedb tinyint(1) DEFAULT '0' NOT NULL,
|
template_storedb tinyint(1) DEFAULT '0' NOT NULL,
|
||||||
PRIMARY KEY (template_id)
|
PRIMARY KEY (template_id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
# Table: 'phpbb_styles_template_data'
|
||||||
|
CREATE TABLE phpbb_styles_template_data (
|
||||||
|
template_id tinyint(4) UNSIGNED NOT NULL,
|
||||||
|
template_filename varchar(50) DEFAULT '' NOT NULL,
|
||||||
|
template_included text NOT NULL,
|
||||||
|
template_mtime int(11) DEFAULT '0' NOT NULL,
|
||||||
|
template_data text,
|
||||||
|
KEY (template_id),
|
||||||
|
KEY (template_filename)
|
||||||
|
);
|
||||||
|
|
||||||
# Table: 'phpbb_styles_theme'
|
# Table: 'phpbb_styles_theme'
|
||||||
CREATE TABLE phpbb_styles_theme (
|
CREATE TABLE phpbb_styles_theme (
|
||||||
theme_id tinyint(4) UNSIGNED NOT NULL auto_increment,
|
theme_id tinyint(4) UNSIGNED NOT NULL auto_increment,
|
||||||
theme_name varchar(30) DEFAULT '' NOT NULL,
|
theme_name varchar(30) DEFAULT '' NOT NULL,
|
||||||
theme_copyright varchar(50) DEFAULT '' NOT NULL,
|
theme_copyright varchar(50) DEFAULT '' NOT NULL,
|
||||||
theme_path varchar(30) DEFAULT '' NOT NULL,
|
theme_path varchar(30) DEFAULT '' NOT NULL,
|
||||||
css_storedb tinyint(1) DEFAULT '0' NOT NULL,
|
theme_storedb tinyint(1) DEFAULT '0' NOT NULL,
|
||||||
css_data text DEFAULT '' NOT NULL,
|
theme_mtime int(11) DEFAULT '0' NOT NULL,
|
||||||
|
theme_data text DEFAULT '' NOT NULL,
|
||||||
PRIMARY KEY (theme_id)
|
PRIMARY KEY (theme_id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue