Skip to content

Commit

Permalink
Fix PostgresDB user creation
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Jan 15, 2023
1 parent a14383b commit 3d68ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipe/provision/databases.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@
task('provision:postgresql', function () {
run('apt-get install -y postgresql postgresql-contrib', ['env' => ['DEBIAN_FRONTEND' => 'noninteractive'], 'timeout' => 900]);
run('sudo -u postgres createuser {{db_user}}');
run('sudo -u postgres createdb {{db_name}');
run('sudo -u postgres createdb {{db_name}}');
});

0 comments on commit 3d68ee5

Please sign in to comment.