From 7e383262bb8c323166b33955f0c082c083828e05 Mon Sep 17 00:00:00 2001 From: enriquecd Date: Tue, 20 Jun 2017 13:56:20 +0200 Subject: [PATCH] Change tserver_export_data to varchar 600 - #1015 --- .../extras/pandoradb_migrate_6.0_to_7.0.mysql.sql | 6 ++++++ pandora_console/pandoradb.sql | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql index 588a68da48..2a6896b217 100644 --- a/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql @@ -1370,3 +1370,9 @@ CREATE TABLE IF NOT EXISTS `treset_pass` ( UPDATE tgis_map_connection SET conection_data = '{"type":"OSM","url":"http://tile.openstreetmap.org/${z}/${x}/${y}.png"}' where id_tmap_connection = 1; ALTER TABLE tpolicy_modules MODIFY post_process double(24,15) default 0; + +-- --------------------------------------------------------------------- +-- Table `tserver_export` +-- --------------------------------------------------------------------- + +ALTER TABLE tserver_export MODIFY `name` varchar(600) BINARY NOT NULL default ''; \ No newline at end of file diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 1ef3c1f7e8..3bc2788f2c 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -1381,7 +1381,7 @@ CREATE TABLE IF NOT EXISTS `tmodule` ( -- --------------------------------------------------------------------- CREATE TABLE IF NOT EXISTS `tserver_export` ( `id` int(10) unsigned NOT NULL auto_increment, - `name` varchar(100) NOT NULL default '', + `name` varchar(600) BINARY NOT NULL default '', `preffix` varchar(100) NOT NULL default '', `interval` int(5) unsigned NOT NULL default '300', `ip_server` varchar(100) NOT NULL default '',