diff --git a/lib/models/User.class.php b/lib/models/User.class.php
index 2f768c3d710d07fef7c9b3b70df695085d336a05..b48db772cf606db83d74e18e27b2214a00bc604c 100644
--- a/lib/models/User.class.php
+++ b/lib/models/User.class.php
@@ -1295,10 +1295,13 @@ class User extends AuthUserMd5 implements Range, PrivacyObject
         // Consultations
         $query = "UPDATE IGNORE consultation_blocks SET range_id = ? WHERE range_id = ? AND range_type = 'user'";
         DBManager::get()->execute($query, [$new_id, $old_id]);
-        $query = "UPDATE IGNORE consultation_blocks SET teacher_id = ? WHERE teacher_id = ?";
-        DBManager::get()->execute($query, [$new_id, $old_id]);
         $query = "UPDATE IGNORE consultation_bookings SET user_id = ? WHERE user_id = ?";
         DBManager::get()->execute($query, [$new_id, $old_id]);
+        $query = "UPDATE IGNORE consultation_events SET user_id = ? WHERE user_id = ?";
+        DBManager::get()->execute($query, [$new_id, $old_id]);
+        $query = "UPDATE IGNORE consultation_responsibilities SET range_id = ? WHERE range_id = ?
+                                                               AND range_type = 'user'";
+        DBManager::get()->execute($query, [$new_id, $old_id]);
 
         NotificationCenter::postNotification('UserDidMigrate', $old_id, $new_id);