diff --git a/core-bundle/contao/library/Contao/Database/Installer.php b/core-bundle/contao/library/Contao/Database/Installer.php
index <HASH>..<HASH> 100644
--- a/core-bundle/contao/library/Contao/Database/Installer.php
+++ b/core-bundle/contao/library/Contao/Database/Installer.php
@@ -254,6 +254,13 @@ class Installer extends \Controller
 			}
 		}
 
+		// Remove the DROP statements if the safe mode is active (see #7085)
+		if (\Config::get('coreOnlyMode'))
+		{
+			unset($return['DROP']);
+			unset($return['ALTER_DROP']);
+		}
+
 		return $return;
 	}
[Core] Do not offer to drop tables or fields if the safe mode is active (see #<I>)