Ver código fonte

#2102 Labels: correct key lenght

Alex Trofimov 7 anos atrás
pai
commit
82b30794d3
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      install/sql/system.sql

+ 1 - 1
install/sql/system.sql

@@ -4463,7 +4463,7 @@ CREATE TABLE `sys_labels` (
   `order` int(11) NOT NULL DEFAULT 0,
   `order` int(11) NOT NULL DEFAULT 0,
   `value` varchar(128) NOT NULL,
   `value` varchar(128) NOT NULL,
   PRIMARY KEY (id),
   PRIMARY KEY (id),
-  UNIQUE KEY `value` (`value`)
+  UNIQUE KEY `value` (`value`(191))
 );
 );
 
 
 -- --------------------------------------------------------
 -- --------------------------------------------------------