CREATE TABLE IF NOT EXISTS `therapist_categories` (
    `therapist_id` INT UNSIGNED NOT NULL,
    `category_id`  INT UNSIGNED NOT NULL,
    PRIMARY KEY (`therapist_id`, `category_id`),
    CONSTRAINT `fk_tc_therapist` FOREIGN KEY (`therapist_id`) REFERENCES `therapist_profiles` (`id`) ON DELETE CASCADE,
    CONSTRAINT `fk_tc_category`  FOREIGN KEY (`category_id`)  REFERENCES `categories` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
