fix
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
90818e5b1f
commit
5f74302b17
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue