From b35e82d75cd41c677bea088108e3338a77213aef Mon Sep 17 00:00:00 2001 From: alexhigh Date: Mon, 23 Jun 2014 15:09:44 +0000 Subject: [PATCH] 2014-06-23 Alejandro Gallardo * extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql: Fixed some queries. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10263 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ .../extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql | 8 +++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f87b78c562..fe15400203 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-06-23 Alejandro Gallardo + + * extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql: Fixed + some queries. + 2014-06-23 Alejandro Gallardo * godmode/gis_maps/configure_gis_map.php: Visual changes diff --git a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql index 8d851fb1ee..563b040adc 100644 --- a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql @@ -48,7 +48,7 @@ INSERT INTO `tconfig_os` (`name`, `description`, `icon_name`) VALUES ('Satellite -- --------------------------------------------------------------------- -- Table `tagente_modulo` -- --------------------------------------------------------------------- -ALTER TABLE `pandora`.`tagente_modulo` MODIFY COLUMN `post_process` DOUBLE DEFAULT NULL; +ALTER TABLE `tagente_modulo` MODIFY COLUMN `post_process` DOUBLE DEFAULT NULL; /* 2014/05/21 */ ALTER TABLE `tagente_modulo` ADD COLUMN `min_ff_event_normal` int(4) unsigned default '0'; ALTER TABLE `tagente_modulo` ADD COLUMN `min_ff_event_warning` int(4) unsigned default '0'; @@ -67,10 +67,8 @@ CREATE TABLE IF NOT EXISTS `tmodule_relationship` ( `module_b` int(10) unsigned NOT NULL, `disable_update` tinyint(1) unsigned NOT NULL default '0', PRIMARY KEY (`id`), - FOREIGN KEY (`module_a`) REFERENCES tagente_modulo(`id_agente_modulo`) - ON DELETE CASCADE, - FOREIGN KEY (`module_b`) REFERENCES tagente_modulo(`id_agente_modulo`) - ON DELETE CASCADE + FOREIGN KEY (`module_a`) REFERENCES tagente_modulo(`id_agente_modulo`) ON DELETE CASCADE, + FOREIGN KEY (`module_b`) REFERENCES tagente_modulo(`id_agente_modulo`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------------------------------------------------