From bf06007505460f59b724101568662927fdf3d6cf Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Thu, 1 Sep 2011 09:09:05 +0000 Subject: [PATCH] 2011-09-01 Sergio Martin * extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added delete_pending cleaning in the modules table to avoid possible past modules with wrong name git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 07d5794d8d..fb1be131bf 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2011-09-01 Sergio Martin + + * extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added delete_pending + cleaning in the modules table to avoid possible past modules with + wrong name + 2011-08-31 Miguel de Dios * godmode/massive/massive_edit_modules.php: fixed when is selected "any" diff --git a/pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql b/pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql index f6358c0951..e4f108f9a9 100644 --- a/pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql +++ b/pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql @@ -227,6 +227,12 @@ UPDATE tagente_modulo SET prediction_module = 2 WHERE custom_integer_1 <> 0 AND UPDATE tagente_modulo SET custom_integer_1 = prediction_module AND prediction_module = 1 WHERE custom_integer_1 = 0 AND prediction_module <> 0; +-- ----------------------------------------------------- +-- Table `tagente_modulo` to set delete_pending name to the delete pending modules to clean possible database errors +-- ----------------------------------------------------- + +UPDATE tagente_modulo SET nombre = 'delete_pending' WHERE delete_pending = 1; + -- ----------------------------------------------------- -- Table `talert_template_modules` -- -----------------------------------------------------