mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Bugfix deleting a PostgreSQL database
Was just a typo
This commit is contained in:
parent
931fb5beeb
commit
99abd5ed05
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ delete_pgsql_database() {
|
||||||
psql_connect $HOST
|
psql_connect $HOST
|
||||||
|
|
||||||
query="REVOKE ALL PRIVILEGES ON DATABASE $database FROM $DBUSER"
|
query="REVOKE ALL PRIVILEGES ON DATABASE $database FROM $DBUSER"
|
||||||
psql_qyery "$query" > /dev/null
|
psql_query "$query" > /dev/null
|
||||||
|
|
||||||
query="DROP DATABASE $database"
|
query="DROP DATABASE $database"
|
||||||
psql_query "$query" > /dev/null
|
psql_query "$query" > /dev/null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue