#okNextError No query
insert into exceptions (type, date, date2, schoolday, publicmeetingday, uuid) select 2,'2024-03-24','2024-03-24',  (select value from settings where name = 'school_day'), 0, '9610c527-460d-4140-9145-da831f2637b7' where not EXISTS (select 1 from exceptions where type = 2 and date = '2024-03-24' and active)
insert into exceptions (type, date, date2, schoolday, publicmeetingday, uuid) select 2,'2025-04-12','2025-04-12',  (select value from settings where name = 'school_day'), 0, '52c33de5-5891-49cd-ad93-9051588e1c62' where not EXISTS (select 1 from exceptions where type = 2 and date = '2025-04-12' and active)
