diff --git a/app/stiftung/backup_utils.py b/app/stiftung/backup_utils.py index 7417c0d..40573cb 100644 --- a/app/stiftung/backup_utils.py +++ b/app/stiftung/backup_utils.py @@ -389,7 +389,11 @@ def restore_database(db_backup_file): from django.db import connection with connection.cursor() as cursor: # Check some key tables - test_tables = ['stiftung_person', 'stiftung_land', 'stiftung_destinataer'] + test_tables = [ + 'stiftung_person', 'stiftung_land', 'stiftung_destinataer', + 'stiftung_dokumentdatei', 'stiftung_emaileingang', + 'stiftung_verwaltungskosten', 'stiftung_geschichteseite', + ] for table in test_tables: try: cursor.execute(f"SELECT COUNT(*) FROM {table}")