ComfyUI/app/assets/database
Luke Mino-Altherr 2b450b7a92 Change preview_id to reference asset by reference ID, not content ID
Clients receive preview_id in API responses but could not dereference it
through public routes (which use reference IDs). Now preview_id is a
self-referential FK to asset_references.id so the value is directly
usable in the public API.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 22:57:01 -04:00
..
queries Change preview_id to reference asset by reference ID, not content ID 2026-03-14 22:57:01 -04:00
models.py Change preview_id to reference asset by reference ID, not content ID 2026-03-14 22:57:01 -04:00