diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 7f44872201..278fca24e5 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2013-05-22 Hirofumi Kosaka + + * pandoradb.sql: (workaround to avoid mysql's warning + 'Specified key was too long; max key length is 767 bytes' + (warning code=1071). + 2013-05-21 Miguel de Dios * include/styles/datepicker.css, diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 61a2c490a1..090972c7eb 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -81,7 +81,7 @@ CREATE TABLE IF NOT EXISTS `tagente` ( `update_module_count` tinyint(1) NOT NULL default '0', `update_alert_count` tinyint(1) NOT NULL default '0', PRIMARY KEY (`id_agente`), - KEY `nombre` (`nombre`), + KEY `nombre` (`nombre`(255)), KEY `direccion` (`direccion`), KEY `disabled` (`disabled`), KEY `id_grupo` (`id_grupo`)