Skip to content

Commit

Permalink
make dbuser === dbname
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-ivona committed Dec 15, 2023
1 parent d6a0e17 commit 3525881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Containers/Commands/MakeDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function handle(DockerService $docker_service, TerminalService $terminal)

throw_if(empty($dbname), 'DB Name is required');

$dbuser = $this->ask('Database User Name', 'dbuser');
$dbuser = $this->ask('Database User Name', $dbname);
$dbpassword = $this->ask('Database User Password', 'dbpassword');

if (!$this->execute_mysql_command($terminal, "create database $dbname")) {
Expand Down

0 comments on commit 3525881

Please sign in to comment.