diff --git a/src/tribler/core/components/database/db/layers/health_data_access_layer.py b/src/tribler/core/components/database/db/layers/health_data_access_layer.py index 91f33252903..28df7cbe5ca 100644 --- a/src/tribler/core/components/database/db/layers/health_data_access_layer.py +++ b/src/tribler/core/components/database/db/layers/health_data_access_layer.py @@ -29,7 +29,7 @@ class HealthInfo(db.Entity): seeders = orm.Required(int, default=0) leechers = orm.Required(int, default=0) source = orm.Required(int, default=0) # Source enum - trackers = orm.Set(lambda: Tracker) + tracker = orm.Required(lambda: Tracker) last_check = orm.Required(datetime.datetime, default=datetime.datetime.utcnow) class Tracker(db.Entity):