memos/server
Johnny f58533003b fix: clean up memo_relation and attachments when deleting memo
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.
2026-01-12 23:18:04 +08:00
..
auth refactor(auth): remove legacy session cookie authentication 2025-12-19 00:09:08 +08:00
router fix: clean up memo_relation and attachments when deleting memo 2026-01-12 23:18:04 +08:00
runner refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
server.go chore: implement session sliding expiration and JWT authentication 2025-12-15 10:04:11 +08:00