mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-06-09 15:07:49 +00:00
adjust migration for seed and depresiasi
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
-- 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[20]::bigint[]
|
||||
AND effective_date = DATE '2026-06-03';
|
||||
|
||||
-- Recompute snapshot depresiasi.
|
||||
DELETE FROM farm_depreciation_snapshots WHERE project_flock_id IN (20);
|
||||
Reference in New Issue
Block a user