mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-21 19:01:37 +00:00
6 lines
146 B
PHP
6 lines
146 B
PHP
if ! sudo -u postgres psql -c "CREATE DATABASE \"{{ $name }}\""; then
|
|
echo 'VITO_SSH_ERROR' && exit 1
|
|
fi
|
|
|
|
echo "Database {{ $name }} created"
|