Update db-creation.py
continuous-integration/drone/push Build is failing Details

main
Félix MIELCAREK 12 months ago committed by GitHub
parent 2624a179aa
commit f3d5c85add
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -8,7 +8,7 @@ env_password = os.getenv('POSTGRES_PASSWORD')
# Establish connection to the PostgreSQL database # Establish connection to the PostgreSQL database
conn = psycopg2.connect(dbname="postgres", user=env_user, password=env_password, host="felixmielcarek-bigbrotherdb") conn = psycopg2.connect(dbname="postgres", user=env_user, password=env_password, host="felixmielcarek-bigbrotherdb")
con.set_isolation_level(ISOLATION_LEVEL_AUTOCOMMIT) conn.set_isolation_level(ISOLATION_LEVEL_AUTOCOMMIT)
# Create a cursor object to execute SQL queries # Create a cursor object to execute SQL queries
cur = conn.cursor() cur = conn.cursor()

Loading…
Cancel
Save