mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 05:50:35 +00:00
`file_object_thumbnail` was replaced by `file_tagged_object_thumbnail` and nothing refers to it anymore: no query in the backend touches it, no table has a foreign key pointing at it, no view depends on it, and it is empty in production. It also lacked `deleted_at`, which is why restoring files had to leave it out. Only legacy naming survives in two helpers (`get-file-object-thumbnails` and `delete-file-object-thumbnails!`, which operate on `file_tagged_object_thumbnail`). The storage bucket named "file-object-thumbnail", the one that `file_tagged_object_thumbnail` uses, is a different thing and stays. AI-assisted-by: deepseek-v4.1-flash