mirror of
https://github.com/penpot/penpot.git
synced 2026-10-30 14:30:37 +00:00
Rewrite sql:restore-storage-objects so referenced storage ids are collected as UUIDs first and then joined by primary key. The previous form cast storage_object.id to text and OR-ed that with id IN, which forced a scan of deleted storage rows and made restore-deleted-team- files time out in production. Closes #12727