ComfyUI/app/assets/database
Luke Mino-Altherr d6e6c3990a Disallow all-null meta rows: add CHECK constraint, skip null values on write
- convert_metadata_to_rows returns [] for None values instead of an all-null row
- Remove dead None branch from _scalar_to_row
- Simplify null filter in common.py to just check for row absence
- Add CHECK constraint ck_asset_reference_meta_has_value to model and migration 0003

Amp-Thread-ID: https://ampcode.com/threads/T-019cef4e-5240-7749-bb25-1f17fcf9c09c
Co-authored-by: Amp <amp@ampcode.com>
2026-03-14 22:57:01 -04:00
..
queries Disallow all-null meta rows: add CHECK constraint, skip null values on write 2026-03-14 22:57:01 -04:00
models.py Disallow all-null meta rows: add CHECK constraint, skip null values on write 2026-03-14 22:57:01 -04:00