~aleteoryx/muditaos

92e75d9aafc614e3ca62bf5d8e6a770a858bfeda — Lefucjusz 1 year, 8 months ago 5e52e03
[BH-1909] Commit settings database migration

Commit changes that have been introduced
to settings database to change alarm
sounds filenames to absolute paths
to those files.
5 files changed, 3 insertions(+), 13 deletions(-)

M products/BellHybrid/services/db/databases/databases.json
R products/BellHybrid/services/db/databases/migration/settings_bell/{current/1b034c28_Change_tone_names_to_tone_paths => 2}/down.sql
R products/BellHybrid/services/db/databases/migration/settings_bell/{current/1b034c28_Change_tone_names_to_tone_paths => 2}/up.sql
D products/BellHybrid/services/db/databases/migration/settings_bell/current/1b034c28_Change_tone_names_to_tone_paths/.meta
D products/BellHybrid/services/db/databases/migration/settings_bell/current/1b034c28_Change_tone_names_to_tone_paths/devel.sql
M products/BellHybrid/services/db/databases/databases.json => products/BellHybrid/services/db/databases/databases.json +1 -1
@@ 15,7 15,7 @@
   },
   {
    "name": "settings_bell",
    "version": "1"
    "version": "2"
   },
   {
    "name": "quotes",

R products/BellHybrid/services/db/databases/migration/settings_bell/current/1b034c28_Change_tone_names_to_tone_paths/down.sql => products/BellHybrid/services/db/databases/migration/settings_bell/2/down.sql +1 -0
@@ 116,3 116,4 @@ DELETE FROM settings_tab WHERE path = 'snooze_tone_path_default';
DELETE FROM settings_tab WHERE path = 'prewake_up_tone_path_default';
DELETE FROM settings_tab WHERE path = 'alarm_tone_path_default';
DELETE FROM settings_tab WHERE path = 'bedtime_tone_path_default';


R products/BellHybrid/services/db/databases/migration/settings_bell/current/1b034c28_Change_tone_names_to_tone_paths/up.sql => products/BellHybrid/services/db/databases/migration/settings_bell/2/up.sql +1 -0
@@ 117,3 117,4 @@ INSERT OR IGNORE INTO settings_tab (path, value) VALUES
   ('prewake_up_tone_path_default', '/system/assets/audio/prewakeup/Joyful_Awakening.mp3'),
   ('alarm_tone_path_default', '/system/assets/audio/alarm/Morning_Dew.mp3'),
   ('bedtime_tone_path_default', '/system/assets/audio/evening_reminder/Evening_Horizon.mp3');


D products/BellHybrid/services/db/databases/migration/settings_bell/current/1b034c28_Change_tone_names_to_tone_paths/.meta => products/BellHybrid/services/db/databases/migration/settings_bell/current/1b034c28_Change_tone_names_to_tone_paths/.meta +0 -6
@@ 1,6 0,0 @@
{
 "id": "1b034c28-f8f4-4792-8f35-9ab376fec0de",
 "date": "2024-03-06 15:07:49",
 "message": "Change tone names to tone paths",
 "parent": 0
}
\ No newline at end of file

D products/BellHybrid/services/db/databases/migration/settings_bell/current/1b034c28_Change_tone_names_to_tone_paths/devel.sql => products/BellHybrid/services/db/databases/migration/settings_bell/current/1b034c28_Change_tone_names_to_tone_paths/devel.sql +0 -6
@@ 1,6 0,0 @@
-- Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

-- Message: Change tone names to tone paths
-- Revision: 1b034c28-f8f4-4792-8f35-9ab376fec0de
-- Create Date: 2024-03-06 15:07:49