diff --git a/.idea/data_source_mapping.xml b/.idea/data_source_mapping.xml index b1447d9..89ec326 100644 --- a/.idea/data_source_mapping.xml +++ b/.idea/data_source_mapping.xml @@ -5,6 +5,9 @@ + + + diff --git a/db/routines/R__066_fn_site_notifications_context.sql b/db/routines/R__066_fn_site_notifications_context.sql index dd1c245..0b98d0d 100644 --- a/db/routines/R__066_fn_site_notifications_context.sql +++ b/db/routines/R__066_fn_site_notifications_context.sql @@ -63,7 +63,8 @@ as $fn$ from ems.vw_site_effective_price v where v.site_id = p_site_id and v.interval_start >= now() - and v.interval_start < now() + interval '48 hours' + -- Python notifikace používají jen ceny v horizontu 6 h (24×15 min slotů). + and v.interval_start < now() + interval '6 hours' ), '[]'::jsonb ),