Files
ComfyUI/alembic_db
Luke Mino-Altherr 0c4f1e349b 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-12 17:39:08 -07:00
..
2025-06-11 16:43:39 -04:00

Generate new revision

  1. Update models in /app/database/models.py
  2. Run alembic revision --autogenerate -m "{your message}"