ALTER TABLE rekognition_images
  ADD UNIQUE KEY uq_images_event_original_name (event_id, original_name);
