summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-objectcache.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/archives/patch-objectcache.sql')
-rw-r--r--maintenance/archives/patch-objectcache.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/maintenance/archives/patch-objectcache.sql b/maintenance/archives/patch-objectcache.sql
new file mode 100644
index 00000000..18572aa0
--- /dev/null
+++ b/maintenance/archives/patch-objectcache.sql
@@ -0,0 +1,9 @@
+-- For a few generic cache operations if not using Memcached
+CREATE TABLE /*$wgDBprefix*/objectcache (
+ keyname char(255) binary not null default '',
+ value mediumblob,
+ exptime datetime,
+ unique key (keyname),
+ key (exptime)
+
+) TYPE=InnoDB;