1UP_SQL = """ 2CREATE EVENT afe_add_entry_to_hqe_start_times 3ON SCHEDULE EVERY 10 MINUTE DO 4INSERT INTO afe_host_queue_entry_start_times (insert_time, highest_hqe_id) 5SELECT NOW(), MAX(afe_host_queue_entries.id) 6FROM afe_host_queue_entries; 7""" 8 9DOWN_SQL = """ 10DROP EVENT afe_add_entry_to_hqe_start_times; 11""" 12