Skip to content

Commit

Permalink
Remove obsolute variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBelgium committed Jun 2, 2024
1 parent 339303f commit da3f88b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/WslCreateDatabaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ public function execute(InputInterface $input, OutputInterface $output): int
$settings = $this->parseSettingsFromFile($format, []);

foreach ($settings['databases'] as $db) {
$create_cmd = '';
$query = "CREATE DATABASE IF NOT EXISTS {$db} DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_unicode_ci";
$create_cmd = 'mariadb -u homestead -psecret -e "'.$query.'"';
// run command to create the database
Expand Down

0 comments on commit da3f88b

Please sign in to comment.