Skip to content
This repository has been archived by the owner on Jan 15, 2020. It is now read-only.

Commit

Permalink
primary key should have been unique on install method
Browse files Browse the repository at this point in the history
  • Loading branch information
cleggypdc committed Aug 16, 2016
1 parent e567486 commit c5afb73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MicrosoftTranslator/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c5afb73

Please sign in to comment.