From 9f18a6bf623930dd7a00a79347f56afbbae8da8e Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Fri, 27 Nov 2009 21:06:17 +0000 Subject: [PATCH] - added comment with MYSQL create table command --- libs/plugins/cacheresource.mysql.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libs/plugins/cacheresource.mysql.php b/libs/plugins/cacheresource.mysql.php index c3133ed3..87156c3f 100644 --- a/libs/plugins/cacheresource.mysql.php +++ b/libs/plugins/cacheresource.mysql.php @@ -4,6 +4,15 @@ * Smarty Plugin CacheResource Mysql * * Implements MYSQL as resource for the HTML cache +* +*CREATE TABLE `smarty_cache` ( +* `CacheContents` mediumtext NOT NULL, +* `Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, +* `CacheId` varchar(100) NOT NULL, +* `CompileId` varchar(100) NOT NULL, +* `ResourceName` varchar(100) NOT NULL, +* UNIQUE KEY `NewIndex_1` (`Id`) +*) ENGINE=MyISAM DEFAULT CHARSET=latin1 * * @package Smarty * @subpackage Plugins