From 78ab32ccbb08468f29cbe554da4a50cb0c1f3a65 Mon Sep 17 00:00:00 2001 From: Lefucjusz Date: Thu, 7 Aug 2025 17:32:36 +0200 Subject: [PATCH] [BH-2103][BH-2104] Add What's New entry for custom quotations Added What's New entry for custom quotations. This is also a second part of fix for BH-2104 - this entry is intentionally added as a migration, adding it as a part of revision 0 would not fix the issue. --- harmony_changelog.md | 1 + .../d1af203c_Add_fix_for_update_from_2_9_x/.meta | 6 ++++++ .../d1af203c_Add_fix_for_update_from_2_9_x/down.sql | 10 ++++++++++ .../d1af203c_Add_fix_for_update_from_2_9_x/up.sql | 11 +++++++++++ 4 files changed, 28 insertions(+) create mode 100644 products/BellHybrid/services/db/databases/migration/whats_new/current/d1af203c_Add_fix_for_update_from_2_9_x/.meta create mode 100644 products/BellHybrid/services/db/databases/migration/whats_new/current/d1af203c_Add_fix_for_update_from_2_9_x/down.sql create mode 100644 products/BellHybrid/services/db/databases/migration/whats_new/current/d1af203c_Add_fix_for_update_from_2_9_x/up.sql diff --git a/harmony_changelog.md b/harmony_changelog.md index 6726de5d68d8b9fd641c5bec96b2ecd65c44b7fa..3d53c433505e714307ffa504af0ffa68ab4b1e43 100644 --- a/harmony_changelog.md +++ b/harmony_changelog.md @@ -6,6 +6,7 @@ ### Added * Added custom quotations feature +* Added What's New entry for quotations feature ### Changed / Improved diff --git a/products/BellHybrid/services/db/databases/migration/whats_new/current/d1af203c_Add_fix_for_update_from_2_9_x/.meta b/products/BellHybrid/services/db/databases/migration/whats_new/current/d1af203c_Add_fix_for_update_from_2_9_x/.meta new file mode 100644 index 0000000000000000000000000000000000000000..f454853578587444144a7540e94c6d3777cd18b6 --- /dev/null +++ b/products/BellHybrid/services/db/databases/migration/whats_new/current/d1af203c_Add_fix_for_update_from_2_9_x/.meta @@ -0,0 +1,6 @@ +{ + "id": "d1af203c-2982-4986-b680-fc7465019c4a", + "date": "2025-08-07 17:30:39", + "message": "Add fix for update from 2 9 x", + "parent": 0 +} \ No newline at end of file diff --git a/products/BellHybrid/services/db/databases/migration/whats_new/current/d1af203c_Add_fix_for_update_from_2_9_x/down.sql b/products/BellHybrid/services/db/databases/migration/whats_new/current/d1af203c_Add_fix_for_update_from_2_9_x/down.sql new file mode 100644 index 0000000000000000000000000000000000000000..62fe8fe4fe6b92925c77812c4c71dedbb5218d3a --- /dev/null +++ b/products/BellHybrid/services/db/databases/migration/whats_new/current/d1af203c_Add_fix_for_update_from_2_9_x/down.sql @@ -0,0 +1,10 @@ +-- Copyright (c) 2017-2025, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/blob/master/LICENSE.md + +-- Message: Add fix for update from 2 9 x +-- Revision: d1af203c-2982-4986-b680-fc7465019c4a +-- Create Date: 2025-08-07 17:30:39 + +-- Insert SQL here + +DELETE FROM whats_new WHERE Major = 2 AND Minor = 10 AND Patch = 0 AND English_title = 'Custom quotations'; diff --git a/products/BellHybrid/services/db/databases/migration/whats_new/current/d1af203c_Add_fix_for_update_from_2_9_x/up.sql b/products/BellHybrid/services/db/databases/migration/whats_new/current/d1af203c_Add_fix_for_update_from_2_9_x/up.sql new file mode 100644 index 0000000000000000000000000000000000000000..3c91db2bbc53d730531561536ca2e235cea24304 --- /dev/null +++ b/products/BellHybrid/services/db/databases/migration/whats_new/current/d1af203c_Add_fix_for_update_from_2_9_x/up.sql @@ -0,0 +1,11 @@ +-- Copyright (c) 2017-2025, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/blob/master/LICENSE.md + +-- Message: Add fix for update from 2 9 x +-- Revision: d1af203c-2982-4986-b680-fc7465019c4a +-- Create Date: 2025-08-07 17:30:39 + +-- Insert SQL here + +INSERT OR REPLACE INTO whats_new (Major, Minor, Patch, English_title, Deutsch_title, Español_title, Polski_title, Français_title, Icon, English_desc, Deutsch_desc, Español_desc, Polski_desc, Français_desc) VALUES + (2, 10, 0, 'Custom quotations', 'Eigene Zitate', 'Citas propias', 'Własne cytaty', 'Citations persos', 'whatsnew_quote_W_M', 'You can now add your own quotations using Mudita Center.', 'Füge Zitate mit Mudita Center hinzu.', 'Ahora puedes añadir tus propias citas usando Mudita Center.', 'Możesz teraz dodawać własne cytaty za pomocą Mudita Center.', 'Ajoutez vos citations via Mudita Center.');