Skip to content

Commit

Permalink
Fix create db command
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurpar06 committed Jul 10, 2024
1 parent c3d7f72 commit cb3bcff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/CreateDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected function create_mysql($dbkey)
}
}

$sql = "CREATE DATABASE IF NOT EXISTS `$name` CHARACTER SET UTF8 COLLATE utf8_unicode_ci";
$sql = "CREATE DATABASE IF NOT EXISTS `$name` CHARACTER SET UTF8MB4 COLLATE utf8mb4_unicode_ci";

try {
Log::info('Creating database: '.$sql);
Expand Down

0 comments on commit cb3bcff

Please sign in to comment.