Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

276 B
Raw Blame
DELETE FROM file_object_keys
WHERE file_id NOT IN (
    SELECT DISTINCT file_id FROM collection_files 
    WHERE is_deleted=false
    );

DELETE FROM thumbnail_object_keys
WHERE file_id NOT IN (
    SELECT DISTINCT file_id FROM collection_files 
    WHERE is_deleted=false
);