straggling create command

This commit is contained in:
2025-11-19 01:30:22 -06:00
parent d0df095c84
commit 62e96a63eb
+1 -2
View File
@@ -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