straggling create command
This commit is contained in:
@@ -128,10 +128,9 @@
|
|||||||
echo ""$db"_dev already exists, skipping creation."
|
echo ""$db"_dev already exists, skipping creation."
|
||||||
else
|
else
|
||||||
echo "Creating database "$db"_dev"
|
echo "Creating database "$db"_dev"
|
||||||
$psql_bin -c "CREATE DATABASE "$db";"
|
$psql_bin -c "CREATE DATABASE "$db"_dev;"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$psql_bin -c "CREATE DATABASE "$db"_dev;"
|
|
||||||
|
|
||||||
# Create users if not exists
|
# Create users if not exists
|
||||||
if $psql_bin -c "\du" | grep -c "$user_val"; then
|
if $psql_bin -c "\du" | grep -c "$user_val"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user