From 8ee900a90e2f3f3fc2d70671facb02e2ab8fe53c Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Thu, 25 Mar 2021 15:13:18 +0300 Subject: [PATCH] Remove backref to owner since it seems to be unused, but it crashed attempts to remove items which have been removed from static data --- eos/db/saveddata/fit.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/eos/db/saveddata/fit.py b/eos/db/saveddata/fit.py index a304ea006..b78774bb0 100644 --- a/eos/db/saveddata/fit.py +++ b/eos/db/saveddata/fit.py @@ -191,7 +191,6 @@ mapper(es_Fit, fits_table, Booster, collection_class=HandledBoosterList, cascade='all, delete, delete-orphan', - backref='owner', single_parent=True), "_Fit__drones": relation( Drone, @@ -227,7 +226,6 @@ mapper(es_Fit, fits_table, Implant, collection_class=HandledImplantList, cascade='all, delete, delete-orphan', - backref='owner', single_parent=True, primaryjoin=fitImplants_table.c.fitID == fits_table.c.ID, secondaryjoin=fitImplants_table.c.implantID == Implant.ID,