ComfyUI/alembic_db
Luke Mino-Altherr 23e458e549 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-16 09:39:26 -04:00
..
versions Change preview_id to reference asset by reference ID, not content ID 2026-03-16 09:39:26 -04:00
README.md
env.py
script.py.mako

README.md

Generate new revision

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