From c5afb73f1ceca828dba42ce7dfca6ab5e4fa32db Mon Sep 17 00:00:00 2001 From: Paul Clegg Date: Tue, 16 Aug 2016 11:14:04 +0100 Subject: [PATCH] primary key should have been unique on install method --- lib/MicrosoftTranslator/Plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MicrosoftTranslator/Plugin.php b/lib/MicrosoftTranslator/Plugin.php index 0396281..91d9594 100644 --- a/lib/MicrosoftTranslator/Plugin.php +++ b/lib/MicrosoftTranslator/Plugin.php @@ -26,7 +26,7 @@ public static function install() ( `name` varchar(32) DEFAULT NULL, `value` varchar(255) DEFAULT NULL, - PRIMARY KEY (`name`) + UNIQUE (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;"; $result = \Pimcore\Db::get()->query($sql);