ALTER TABLE `inspection_tasks` ADD UNIQUE KEY `uk_inspection_tasks_model_name` (`modelId`, `name`);