diff --git a/db/migrations/5.1.7_consultation_multiple_responsible_ranges.php b/db/migrations/5.1.7_consultation_multiple_responsible_ranges.php
index 1daf474eb7d0165445a57e66dafd93e80073fc83..4eb5e0c5614fb606375333eb2e227249c95b07fa 100644
--- a/db/migrations/5.1.7_consultation_multiple_responsible_ranges.php
+++ b/db/migrations/5.1.7_consultation_multiple_responsible_ranges.php
@@ -23,6 +23,7 @@ final class ConsultationMultipleResponsibleRanges extends Migration
         $query = "CREATE TABLE IF NOT EXISTS `consultation_events` (
                     `slot_id` INT(11) UNSIGNED NOT NULL,
                     `user_id` CHAR(32) CHARSET latin1 COLLATE latin1_bin NOT NULL,
+                    `event_id` CHAR(32) CHARSET latin1 COLLATE latin1_bin NOT NULL,
                     `mkdate` INT(11) UNSIGNED NOT NULL,
                     PRIMARY KEY (`slot_id`, `user_id`)
                   )";