ComfyUI/app/assets/database/queries
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
..
__init__.py Fix missing tag count for is_missing references and update test for total_tags field 2026-03-14 22:57:01 -04:00
asset_reference.py Disallow all-null meta rows: add CHECK constraint, skip null values on write 2026-03-14 22:57:01 -04:00
asset.py Make asset mime_type immutable after first ingest 2026-03-14 22:57:01 -04:00
common.py Disallow all-null meta rows: add CHECK constraint, skip null values on write 2026-03-14 22:57:01 -04:00
tags.py Fix missing tag count for is_missing references and update test for total_tags field 2026-03-14 22:57:01 -04:00