diff --git a/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php b/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php index 2cca72ac4934d..9e9554000d852 100644 --- a/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php +++ b/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php @@ -67,7 +67,7 @@ public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array // ldap_group_mapping_backup table. No need to recreate, but it // should be empty. // TRUNCATE is not available from Query Builder, but faster than DELETE FROM. - $sql = $this->dbc->getDatabasePlatform()->getTruncateTableSQL('ldap_group_mapping_backup', false); + $sql = $this->dbc->getDatabasePlatform()->getTruncateTableSQL('`*PREFIX*ldap_group_mapping_backup`', false); $this->dbc->executeStatement($sql); } }