From 8ecc1abbbecb599814fdd89c75ff7d11ba7dba50 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Wed, 15 Dec 2010 13:37:27 +0000 Subject: [PATCH] 2010-12-15 Miguel de Dios * pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: increment the size of field "nombre" in table "tagente" for html entities. Fixes: #3136610 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3659 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql | 5 +++++ pandora_console/pandoradb.sql | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 2cfda6f6c4..9adb5b4d17 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2010-12-15 Miguel de Dios + + * pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: increment the + size of field "nombre" in table "tagente" for html entities. + + Fixes: #3136610 + 2010-12-15 Miguel de Dios * include/functions_html.php, include/ajax/module.php: fixed when the module diff --git a/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql b/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql index 8db166011d..778f6a92f8 100644 --- a/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql +++ b/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql @@ -18,6 +18,11 @@ -- Because Pandora Installer don't understand them -- and fails creating database !!! +-- ----------------------------------------------------- +-- Table `tagente` +-- ----------------------------------------------------- +ALTER TABLE `tagente` MODIFY `nombre` varchar(600) BINARY NOT NULL default ''; + -- ----------------------------------------------------- -- Table `tgrupo` -- ----------------------------------------------------- diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 49dbc1df58..d85025e4b7 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -40,7 +40,7 @@ CREATE TABLE IF NOT EXISTS `taddress_agent` ( CREATE TABLE IF NOT EXISTS `tagente` ( `id_agente` int(10) unsigned NOT NULL auto_increment, - `nombre` varchar(100) BINARY NOT NULL default '', + `nombre` varchar(600) BINARY NOT NULL default '', `direccion` varchar(100) default NULL, `comentarios` varchar(255) default '', `id_grupo` int(10) unsigned NOT NULL default '0',