mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-06-09 15:07:49 +00:00
9 lines
375 B
SQL
9 lines
375 B
SQL
-- 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[18]::bigint[]
|
|
AND effective_date = DATE '2026-06-03';
|
|
|
|
-- Recompute snapshot depresiasi.
|
|
DELETE FROM farm_depreciation_snapshots WHERE project_flock_id IN (18);
|