-- Hapus baris kurva custom dari house_depreciation_standards.
-- Exact match pada array (IDs di-sort, sama persis dengan yang di-insert).
DELETE FROM house_depreciation_standards
WHERE project_flock_ids = ARRAY[5]::bigint[]
  AND effective_date = DATE '2026-06-03';

-- Recompute snapshot depresiasi.
DELETE FROM farm_depreciation_snapshots WHERE project_flock_id IN (5);
