Add delete to not depend on FK

This commit is contained in:
Jack Kingsman
2026-04-01 17:29:12 -07:00
parent dc804d4646
commit 1d4e25d97c
+3
View File
@@ -398,6 +398,9 @@ class ContactRepository:
await db.conn.execute(
"DELETE FROM contact_advert_paths WHERE public_key = ?", (normalized,)
)
await db.conn.execute(
"DELETE FROM repeater_telemetry_history WHERE public_key = ?", (normalized,)
)
await db.conn.execute("DELETE FROM contacts WHERE public_key = ?", (normalized,))
await db.conn.commit()