From f77668cec0e1c8310c1aa52ccbd4a220c75f3374 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Tue, 5 Aug 2003 17:07:52 +0000 Subject: [PATCH] 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 --- phpBB/install/schemas/mysql_schema.sql | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/phpBB/install/schemas/mysql_schema.sql b/phpBB/install/schemas/mysql_schema.sql index ccd7520ae3..deb4790f72 100644 --- a/phpBB/install/schemas/mysql_schema.sql +++ b/phpBB/install/schemas/mysql_schema.sql @@ -467,18 +467,30 @@ CREATE TABLE phpbb_styles_template ( template_copyright varchar(50) NOT NULL, template_path varchar(30) 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) ); +# 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' CREATE TABLE phpbb_styles_theme ( theme_id tinyint(4) UNSIGNED NOT NULL auto_increment, theme_name varchar(30) DEFAULT '' NOT NULL, theme_copyright varchar(50) DEFAULT '' NOT NULL, theme_path varchar(30) DEFAULT '' NOT NULL, - css_storedb tinyint(1) DEFAULT '0' NOT NULL, - css_data text DEFAULT '' NOT NULL, + theme_storedb tinyint(1) DEFAULT '0' NOT NULL, + theme_mtime int(11) DEFAULT '0' NOT NULL, + theme_data text DEFAULT '' NOT NULL, PRIMARY KEY (theme_id) );