fix ranniho neprodeje do site
Some checks failed
CI and deploy / migration-check (push) Failing after 42s
CI and deploy / deploy (push) Has been skipped

This commit is contained in:
Dusan Vojacek
2026-05-21 10:02:19 +02:00
parent 27323fd77a
commit 44a06b6288
9 changed files with 123 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
-- export_mode / export_limit_w z LP — potřeba pro control exporter (reg 142/143)
alter table ems.planning_interval
add column if not exists export_mode text,
add column if not exists export_limit_w int;
comment on column ems.planning_interval.export_mode is
'Záměr exportu z solveru: NONE / PV_SURPLUS / BATTERY_SELL.';
comment on column ems.planning_interval.export_limit_w is
'Tvrdý limit exportu do sítě (W) v slotu; 0 = bez exportu.';