Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE DEFINER = `root`@`localhost` EVENT `ut_clear_cart`
- ON SCHEDULE EVERY
- 1 MINUTE STARTS '2018-11-20 00:00:00'
- ON COMPLETION NOT PRESERVE ENABLE
- DO
- DELETE
- FROM
- ut_cart_storage
- WHERE
- updated_at >= NOW() - INTERVAL 10 MINUTE
Add Comment
Please, Sign In to add comment