salix/db/routines/vn/events/vehicle_notify.sql

10 lines
304 B
MySQL
Raw Normal View History

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` EVENT `vn`.`vehicle_notify`
ON SCHEDULE EVERY 1 DAY
STARTS '2022-01-01 00:07:00.000'
ON COMPLETION NOT PRESERVE
ENABLE
COMMENT 'Notifies subscribed users of events in vehicles that are about t'
DO CALL vn.vehicle_notifyEvents$$
DELIMITER ;