fix
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Andrew Wang 2021-08-25 01:46:08 -04:00
parent 90818e5b1f
commit 5f74302b17
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class PostgreSQLService:
search_for_user = f"SELECT FROM pg_roles WHERE rolname='{username}'"
search_for_db = f"SELECT FROM pg_database WHERE datname='{username}'"
create_user = f"CREATE USER {username} WITH PASSWORD %(password)s"
reset_password = f"ALTER USER {username} WITH PASSWORD %(password)s)"
reset_password = f"ALTER USER {username} WITH PASSWORD %(password)s"
create_database = f"""
CREATE DATABASE {username} OWNER {username};
REVOKE ALL ON DATABASE {username} FROM PUBLIC;