Skip to content

Commit 1884dcb

Browse files
authored
Update ubuntu.sh (#14)
Remove CREATEDB option
1 parent 8a5d8e0 commit 1884dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ if $db_local; then
751751
tput setaf 3;
752752
echo "Process: create user and database on postgres;"
753753
tput setaf 7;
754-
sudo -iu postgres psql -c "CREATE ROLE $db_user LOGIN CREATEDB PASSWORD '$db_pass';" -c "CREATE DATABASE $db_name OWNER $db_user;"
754+
sudo -iu postgres psql -c "CREATE ROLE $db_user LOGIN PASSWORD '$db_pass';" -c "CREATE DATABASE $db_name OWNER $db_user;"
755755
fi
756756

757757
#region docker setting

0 commit comments

Comments
 (0)