• Johnny's avatar
    fix: clean up memo_relation and attachments when deleting memo · f5853300
    Johnny authored
    Fixes #5472
    
    Move cleanup logic to store.DeleteMemo to ensure data consistency:
    - Delete memo_relation records where memo is source (MemoID) or target (RelatedMemoID)
    - Delete attachments linked to the memo (including S3/local files)
    
    This prevents stale COMMENT records in memo_relation after deleting
    a memo that has comments.
    f5853300
Name
Last commit
Last update
..
v1 Loading commit data...