second version

This commit is contained in:
Dusan Vojacek
2026-04-03 14:23:16 +02:00
parent 897b95f728
commit 9f4126946d
105 changed files with 9738 additions and 1470 deletions

View File

@@ -0,0 +1,13 @@
-- =============================================================
-- V018__cleanup_legacy_green_bonus.sql
-- Odstranění legacy sloupců zeleného bonusu ze site_market_config (nahrazeno V017 asset_pv_array)
-- =============================================================
ALTER TABLE ems.site_market_config
DROP COLUMN IF EXISTS green_bonus_czk_kwh,
DROP COLUMN IF EXISTS green_bonus_asset_code;
COMMENT ON TABLE ems.site_market_config IS
'Konfigurace tržního prostředí per site.
Zelený bonus je od V017 na ems.asset_pv_array (green_bonus_czk_kwh),
nikoliv zde bonus je vlastností fyzického FVE pole, ne site konfigurace.';