feat: delete remote images from Lsky when record/attachment is deleted (keys stored at upload, legacy URLs resolved via pathname)

This commit is contained in:
root
2026-10-17 10:10:19 +08:00
parent fdf383a832
commit c39a4c80d5
3 changed files with 79 additions and 9 deletions
+2
View File
@@ -92,6 +92,8 @@ CREATE TABLE IF NOT EXISTS attachment (
thumb_rel_path TEXT,
remote_url TEXT,
remote_thumb TEXT,
remote_key TEXT,
remote_thumb_key TEXT,
taken_at TEXT,
deleted_at TEXT,
origin TEXT,