From d040ba901ecfc49312df7ac7e59bec6e9bf15f1b Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Tue, 26 Jul 2011 15:36:00 +0000 Subject: [PATCH] 2011-07-26 Sergio Martin * extras/pandoradb_migrate_v3.2_to_v4.0.sql: Changed null languages by "default" in tusuario to new languages system git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql | 1 + 2 files changed, 6 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index b0b3bacfad..0bc50743f2 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-07-26 Sergio Martin + + * extras/pandoradb_migrate_v3.2_to_v4.0.sql: Changed null languages + by "default" in tusuario to new languages system + 2011-07-26 Vanessa Gil * operation/agentes/alerts_status_functions.php: Update the alerts search with "Filter" button. 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 19f1d53efa..f38353a8dd 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 @@ -63,6 +63,7 @@ CREATE TABLE IF NOT EXISTS `treport_content_item` ( ALTER TABLE `tusuario` ADD COLUMN `block_size` int(4) NOT NULL DEFAULT 20; ALTER TABLE `tusuario` ADD COLUMN `flash_chart` int(4) NOT NULL DEFAULT 1; ALTER TABLE `tusuario` ADD COLUMN `id_skin` int(10) unsigned NOT NULL; +UPDATE `tusuario` SET `language` = "default" WHERE `language` IS NULL; -- ----------------------------------------------------- -- Table `talert_actions`