aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-08-05 17:07:52 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-08-05 17:07:52 +0000
commitf77668cec0e1c8310c1aa52ccbd4a220c75f3374 (patch)
tree7a5a5890ef19a437f317e0969bbf3d560ba5c64d
parent246614568c9c995773f556f1f59a0c8c58542723 (diff)
downloadforums-f77668cec0e1c8310c1aa52ccbd4a220c75f3374.tar
forums-f77668cec0e1c8310c1aa52ccbd4a220c75f3374.tar.gz
forums-f77668cec0e1c8310c1aa52ccbd4a220c75f3374.tar.bz2
forums-f77668cec0e1c8310c1aa52ccbd4a220c75f3374.tar.xz
forums-f77668cec0e1c8310c1aa52ccbd4a220c75f3374.zip
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
-rw-r--r--phpBB/install/schemas/mysql_schema.sql18
1 files 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)
);