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:
Paul S. Owen 2003-08-05 17:07:52 +00:00
parent 246614568c
commit f77668cec0

View file

@ -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)
); );