diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-01-31 17:10:36 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-01-31 17:10:36 +0100 |
commit | 6efc78e0e42d651211116739579dc6319ca9c5b1 (patch) | |
tree | 03c7763f680f784a071c1f2d66f375ee5220936e /update.php | |
parent | 49ea05b8ff27c31924ddf94c582ab4260faf56c2 (diff) | |
download | volse-hubzilla-6efc78e0e42d651211116739579dc6319ca9c5b1.tar.gz volse-hubzilla-6efc78e0e42d651211116739579dc6319ca9c5b1.tar.bz2 volse-hubzilla-6efc78e0e42d651211116739579dc6319ca9c5b1.zip |
add cache table
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/update.php b/update.php index 0bd58d6d4..f7bf9da1e 100644 --- a/update.php +++ b/update.php @@ -320,3 +320,11 @@ function update_1031() { function update_1032() { q("ALTER TABLE `profile` ADD `pdesc` CHAR( 255 ) NOT NULL AFTER `name` "); } + +function update_1033() { + q("CREATE TABLE IF NOT EXISTS `cache` ( + `k` CHAR( 255 ) NOT NULL PRIMARY KEY , + `v` TEXT NOT NULL, + `updated` DATETIME NOT NULL + ) ENGINE = MYISAM DEFAULT CHARSET=utf8;"); +} |