X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=inline;f=maintenance%2Farchives%2Fpatch-objectcache.sql;h=5edf305b9132ec9eec5a13bc3d82af5734c4fe96;hb=7f1df682b62457e267831ec6527ca4728723caef;hp=223a11c9511b1434a9cb2e7212e43a6413fcdeb5;hpb=1842f903c2684354e6dd4e164c601383b0c88859;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/archives/patch-objectcache.sql b/maintenance/archives/patch-objectcache.sql index 223a11c951..5edf305b91 100644 --- a/maintenance/archives/patch-objectcache.sql +++ b/maintenance/archives/patch-objectcache.sql @@ -1,9 +1,9 @@ -- For a few generic cache operations if not using Memcached CREATE TABLE /*$wgDBprefix*/objectcache ( - keyname varbinary(255) binary not null default '', + keyname varbinary(255) NOT NULL default '', value mediumblob, exptime datetime, - unique key (keyname), - key (exptime) + UNIQUE KEY (keyname), + KEY (exptime) ) /*$wgDBTableOptions*/;