From 0fee1abd57ba81f1542b6cb9cd2dd9e3128b42cf Mon Sep 17 00:00:00 2001 From: Giovanni Pellerano Date: Sat, 23 Nov 2024 13:18:29 +0100 Subject: [PATCH] Perform database changes review to support integration of #4327 Changes: - Performed code review of the variables name choice to keep codebase uniform --- backend/globaleaks/models/config_desc.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/backend/globaleaks/models/config_desc.py b/backend/globaleaks/models/config_desc.py index b471979b3f..761c876115 100644 --- a/backend/globaleaks/models/config_desc.py +++ b/backend/globaleaks/models/config_desc.py @@ -134,9 +134,9 @@ class Bool(Item): 'max_msg_external_to_whistle_not_aff': Int(default=1), 'external_organization_activation': Bool(default=True), 'global_stat_pub_key': Unicode(default=''), - 'backup_enable': Bool(default=False), - 'backup_time_ISO_8601': Unicode(default=''), - 'backup_destination_path': Unicode(default='') + 'backup_enabled': Bool(default=False), + 'backup_path': Unicode(default=''), + 'backup_time': Unicode(default='') } @@ -214,8 +214,9 @@ class Bool(Item): 'wizard_done', 'uuid', 'backup_destination_path', - 'backup_enable', - 'backup_time_ISO_8601', + 'backup_enabled', + 'backup_path', + 'backup_time', 'url_file_analysis', 'external_organization_activation' ],