Files
twenty/packages/twenty-server
Félix Malfait d947fed809 fix(twenty-server): align relationTargetFieldMetadata ON DELETE to CASCADE
The other foreign keys on viewFilter referencing fieldMetadata / view /
viewFilterGroup all use ON DELETE CASCADE. The new column was using
SET NULL, which required a runtime "drop filter when target gone" path
and left a half-broken row in the table. Align to CASCADE so a deleted
field cleans up its filters atomically, matching the pre-existing
convention on this entity.
2026-05-15 07:11:38 +02:00
..