2013-12-09 Sergio Martin <sergio.martin@artica.es>

* extras/pandoradb_migrate_4.1_to_5.0.postgreSQL.sql
	extras/pandoradb_migrate_4.1_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.1_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Add to the 
	migration scripts a query to set default theme when update 
	from 4.x to 5 version. It prevents from ugly layouts due 
	not supported themes. Incident #421



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2013-12-09 11:20:14 +00:00
parent 8ef315f3aa
commit bef7e2f0fa
7 changed files with 42 additions and 0 deletions

View File

@ -1,3 +1,15 @@
2013-12-09 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_4.1_to_5.0.postgreSQL.sql
extras/pandoradb_migrate_4.1_to_5.0.mysql.sql
extras/pandoradb_migrate_4.1_to_5.0.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Add to the
migration scripts a query to set default theme when update
from 4.x to 5 version. It prevents from ugly layouts due
not supported themes. Incident #421
2013-12-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the get events filtered by group.

View File

@ -1154,3 +1154,9 @@ DELETE FROM `tlanguage` WHERE id_language IN ('ast', 'eu', 'bn', 'bg', 'ca', 'da
DELETE FROM `tlanguage` WHERE id_language IN ('zh_TW');
INSERT INTO `tlanguage` (`id_language`, `name`) VALUES ('ca','Catalan');
UPDATE `tlanguage` SET `name` = 'English (UK)' WHERE `id_language` = 'en_GB';
-- ---------------------------------------------------------------------
-- Set the default style
-- ---------------------------------------------------------------------
UPDATE tconfig SET value = 'pandora' WHERE token = 'style';

View File

@ -1161,3 +1161,8 @@ DELETE FROM tlanguage WHERE id_language IN ('ast', 'eu', 'bn', 'bg', 'ca', 'da',
DELETE FROM tlanguage WHERE id_language IN ('zh_TW');
INSERT INTO tlanguage (`id_language`, `name`) VALUES ('ca','Catalan');
UPDATE tlanguage SET name = 'English (UK)' WHERE id_language = 'en_GB';
-- ---------------------------------------------------------------------
-- Set the default style
-- ---------------------------------------------------------------------
UPDATE tconfig SET value = 'pandora' WHERE token = 'style';

View File

@ -1145,3 +1145,8 @@ DELETE FROM "tlanguage" WHERE "id_language" IN ('ast', 'eu', 'bn', 'bg', 'ca', '
DELETE FROM "tlanguage" WHERE "id_language" IN ('zh_TW');
INSERT INTO "tlanguage" ("id_language", "name") VALUES ('ca','Catalan');
UPDATE "tlanguage" SET "name" = 'English (UK)' WHERE "id_language" = 'en_GB';
-- ---------------------------------------------------------------------
-- Set the default style
UPDATE tconfig SET value = "pandora" WHERE token = "style";
-- ---------------------------------------------------------------------

View File

@ -1153,3 +1153,7 @@ DELETE FROM tlanguage WHERE id_language IN ('zh_TW');
INSERT INTO tlanguage (`id_language`, `name`) VALUES ('ca','Catalan');
UPDATE `tlanguage` SET `name` = 'English (UK)' WHERE `id_language` = 'en_GB';
-- ---------------------------------------------------------------------
-- Set the default style
-- ---------------------------------------------------------------------
UPDATE tconfig SET value = 'pandora' WHERE token = 'style';

View File

@ -1159,3 +1159,8 @@ DELETE FROM tlanguage WHERE id_language IN ('ast', 'eu', 'bn', 'bg', 'ca', 'da',
DELETE FROM tlanguage WHERE id_language IN ('zh_TW');
INSERT INTO tlanguage (`id_language`, `name`) VALUES ('ca','Catalan');
UPDATE tlanguage SET name = 'English (UK)' WHERE id_language = 'en_GB';
-- ---------------------------------------------------------------------
-- Set the default style
-- ---------------------------------------------------------------------
UPDATE tconfig SET value = 'pandora' WHERE token = 'style';

View File

@ -1143,3 +1143,8 @@ DELETE FROM "tlanguage" WHERE "id_language" IN ('ast', 'eu', 'bn', 'bg', 'ca', '
DELETE FROM "tlanguage" WHERE "id_language" IN ('zh_TW');
INSERT INTO "tlanguage" ("id_language", "name") VALUES ('ca','Catalan');
UPDATE "tlanguage" SET "name" = 'English (UK)' WHERE "id_language" = 'en_GB';
-- ---------------------------------------------------------------------
-- Set the default style
-- ---------------------------------------------------------------------
UPDATE tconfig SET value = "pandora" WHERE token = "style";