ALTER TABLE public.notification_send ALTER COLUMN problem_id DROP NOT NULL;
ALTER TABLE public.notification_send ADD datapoint_nodata_id int4 NULL;
ALTER TABLE public.notification_send ADD CONSTRAINT notification_send_datapoint_fk FOREIGN KEY (datapoint_nodata_id) REFERENCES public.datapoint(id) ON DELETE CASCADE ON UPDATE CASCADE;
