Commit Graph
8 Commits
Author SHA1 Message Date
yiling 89916a2950 refactor(metadata): rename field_id to field_key in AssetMetadataValue
Rename the database column from field_id to field_key and the Prisma
property from fieldId to fieldKey to better reflect that the column
stores human-readable metadata field keys, not internal database IDs.

This fixes a bug where AI autofill wrote internal DB IDs instead of
field keys, causing metadata values to not display in the UI.

- Add SQL migration to rename the column
- Update metadata, search, and asset services
- Fix agent-autofill workflow to map fields by key
- Update all related test suites
2026-05-28 12:38:07 +08:00
yiling 5dc3bdb38e feat(asset): decouple logical assets from physical storage with StorageKey and implement O(1) copy 2026-05-25 00:52:45 +08:00
yiling 062ece146f feat(asset): add detailed logging to asset purge job 2026-05-24 09:24:44 +08:00
yiling b6c2c59801 fix(asset): delete entire S3 directory for composite assets to clean up transcodes 2026-05-24 09:18:58 +08:00
yiling effec44870 feat(trash): implement two-stage trashcan and project cleanup 2026-05-23 23:26:43 +08:00
yiling 8bc275e446 feat(project): implement async project deletion and storage cleanup 2026-05-23 18:09:30 +08:00
yiling 2c106bbb77 feat(agent): add teamId foreign key to agent table and refactor service queries 2026-05-21 20:41:37 +08:00
yiling 9cad96210c initial commit 2026-05-19 16:05:09 +08:00