diff options
author | Joe7 <jozsef.rnagy@site.hu> | 2010-12-27 22:16:29 +0100 |
---|---|---|
committer | Joe7 <jozsef.rnagy@site.hu> | 2010-12-27 22:16:29 +0100 |
commit | 15792c4ddfec9741324c6968cc3e70fb23cef8ad (patch) | |
tree | 093cf542013798ac0e6a971151a1ccadcef179b5 /installer/install.sql | |
parent | f4ecb939f5f61f16715df2ed5a88f01d85926eb6 (diff) |
Added changes to installer and upgrader scripts to support INSERT ON DUPLICATE KEY UPDATE SYNTAX in cache lib
Diffstat (limited to 'installer/install.sql')
-rw-r--r-- | installer/install.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/install.sql b/installer/install.sql index 427a3283..baee2b9d 100644 --- a/installer/install.sql +++ b/installer/install.sql @@ -43,7 +43,7 @@ CREATE TABLE {caches} ( `expiration` int(9) NOT NULL, `cache` longblob, PRIMARY KEY (`id`), - KEY `key` (`key`), + UNIQUE KEY `key` (`key`), KEY `tags` (`tags`) ) DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; |