diff --git a/db/migrations/5.1.52_fix_for_biest3366.php b/db/migrations/5.1.52_fix_for_biest3366.php
index 2ff333b66099fb3910e596144082c81c352f9e90..c889844f17179bfc497e7902292524c507c9c694 100644
--- a/db/migrations/5.1.52_fix_for_biest3366.php
+++ b/db/migrations/5.1.52_fix_for_biest3366.php
@@ -9,12 +9,12 @@ class FixForBiest3366 extends Migration
 
     public function up()
     {
-        DBManager::get()->exec('DROP TABLE `globalsearch_buzzwords`');
+        DBManager::get()->exec('DROP TABLE IF EXISTS `globalsearch_buzzwords`');
     }
 
     public function down()
     {
-        DBManager::get()->exec("CREATE TABLE `globalsearch_buzzwords` (
+        DBManager::get()->exec("CREATE TABLE IF NOT EXISTS `globalsearch_buzzwords` (
             `id` CHAR(32) COLLATE latin1_bin NOT NULL,
             `rights` ENUM('user','autor','tutor','dozent','admin','root') NOT NULL DEFAULT 'user',
             `name` varchar(255) NOT NULL DEFAULT '',