ComfyUI/alembic_db
Luke Mino-Altherr dde5a60357 Rename prompt_id to job_id on asset_references
Rename the column in the DB model, migration, and service schemas.
The API response emits both job_id and prompt_id (deprecated alias)
for backward compatibility with the cloud API.

Amp-Thread-ID: https://ampcode.com/threads/T-019cef41-60b0-752a-aa3c-ed7f20fda2f7
Co-authored-by: Amp <amp@ampcode.com>
2026-03-14 22:57:01 -04:00
..
versions Rename prompt_id to job_id on asset_references 2026-03-14 22:57:01 -04:00
env.py fix: SQLite migration 0003 FK drop fails on file-backed DBs (MB-2) 2026-03-14 22:57:01 -04:00
README.md Add support for sqlite database (#8444) 2025-06-11 16:43:39 -04:00
script.py.mako Add support for sqlite database (#8444) 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}"