remove username argument of pgsqltasks.tasks.delete_pgsql_database
This commit is contained in:
parent
706a4ef177
commit
1af553c1fa
1 changed files with 2 additions and 4 deletions
|
@ -59,13 +59,11 @@ def create_pgsql_database(dbname, username):
|
|||
|
||||
|
||||
@shared_task
|
||||
def delete_pgsql_database(dbname, username):
|
||||
def delete_pgsql_database(dbname):
|
||||
"""
|
||||
This task deletes an existing PostgreSQL database and revokes privileges of
|
||||
the given user on that database.
|
||||
This task deletes an existing PostgreSQL database.
|
||||
|
||||
:param str dbname: database name
|
||||
:param str username: the user name of an existing PostgreSQL user
|
||||
:return: True if the database has been deleted, False otherwise
|
||||
:rtype: boolean
|
||||
|
||||
|
|
Loading…
Reference in a new issue