Skip to content

Commit

Permalink
parent delete
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Oct 30, 2024
1 parent 4921c5e commit 9417b7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cacholote/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class CacheFile(Base):
cache_entries: sa.orm.Mapped[set[CacheEntry]] = sa.orm.relationship(
secondary=association_table,
back_populates="cache_files",
passive_deletes=True,
)

@property
Expand Down

0 comments on commit 9417b7b

Please sign in to comment.