Skip to content

Commit 5049fc2

Browse files
fix: use single quotes for DROP DATABASE command to prevent backtick interpretation
1 parent 716f9fe commit 5049fc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/Manager/Root.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function delete(string $feature): void
3737
debug('Deleting database');
3838
$databaseName = $this->getDatabaseName($feature);
3939
$databaseRemoveCommand = "DROP DATABASE IF EXISTS `$databaseName`;";
40-
$this->run($databaseRemoveCommand);
40+
$this->run($databaseRemoveCommand, false);
4141
}
4242

4343
public function exists(?string $feature = null): bool

0 commit comments

Comments
 (0)