From dfafedc21f018027dc540b9b7a7ae27102646dd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sun, 17 Dec 2017 12:00:15 +0100 Subject: [PATCH] Remove unused DB fields This field was added but never used This does not remove the columns from the DB, but doesnt add them in new migrations. --- gajim/common/check_paths.py | 1 - gajim/common/optparser.py | 1 - 2 files changed, 2 deletions(-) diff --git a/gajim/common/check_paths.py b/gajim/common/check_paths.py index 4ded5efa7..fc3ad97d0 100644 --- a/gajim/common/check_paths.py +++ b/gajim/common/check_paths.py @@ -75,7 +75,6 @@ def create_log_db(): subject TEXT, additional_data TEXT DEFAULT '{}', stanza_id TEXT, - mam_id TEXT, encryption TEXT, encryption_state TEXT, marker INTEGER diff --git a/gajim/common/optparser.py b/gajim/common/optparser.py index 588cbb558..8518ed041 100644 --- a/gajim/common/optparser.py +++ b/gajim/common/optparser.py @@ -878,7 +878,6 @@ class OptionsParser: def update_config_to_016103(self): self.call_sql(logger.LOG_DB_PATH, '''ALTER TABLE logs ADD COLUMN 'stanza_id' TEXT; - ALTER TABLE logs ADD COLUMN 'mam_id' TEXT; ALTER TABLE logs ADD COLUMN 'encryption' TEXT; ALTER TABLE logs ADD COLUMN 'encryption_state' TEXT; ALTER TABLE logs ADD COLUMN 'marker' INTEGER;