CREATE TABLE `user_kid_training_type` (
  `uktt_id` INT NOT NULL AUTO_INCREMENT,
  `uktt_user_kid_uk_id` INT NOT NULL,
  `uktt_training_type_tt_id` INT NOT NULL,
  PRIMARY KEY (`uktt_id`),
  INDEX `fk_user_kid_training_type_1_idx` (`uktt_user_kid_uk_id` ASC),
  INDEX `fk_user_kid_training_type_2_idx` (`uktt_training_type_tt_id` ASC),
  CONSTRAINT `fk_user_kid_training_type_1`
    FOREIGN KEY (`uktt_user_kid_uk_id`)
    REFERENCES `user_kid` (`uk_id`)
    ON DELETE CASCADE
    ON UPDATE CASCADE,
  CONSTRAINT `fk_user_kid_training_type_2`
    FOREIGN KEY (`uktt_training_type_tt_id`)
    REFERENCES `training_type` (`trt_id`)
    ON DELETE CASCADE
    ON UPDATE CASCADE);
