fix recreate function fn_expire_modes
All checks were successful
test / smoke-test (push) Successful in 5s
deploy / deploy (push) Successful in 18s

This commit is contained in:
Dusan Vojacek
2026-04-06 21:03:17 +02:00
parent c955efb9cb
commit abd6f484c6

View File

@@ -101,6 +101,8 @@ Pokud předchozí režim neexistuje, přepne na AUTO. Používat po skončení d
-- ============================================================ -- ============================================================
drop function if exists ems.fn_expire_modes();
CREATE OR REPLACE FUNCTION ems.fn_expire_modes() CREATE OR REPLACE FUNCTION ems.fn_expire_modes()
RETURNS TABLE(site_id INT, site_code TEXT, old_mode TEXT, new_mode TEXT) RETURNS TABLE(site_id INT, site_code TEXT, old_mode TEXT, new_mode TEXT)
LANGUAGE plpgsql LANGUAGE plpgsql