Update database.py

This commit is contained in:
Yağızcan Değirmenci
2020-08-09 02:35:05 +03:00
committed by GitHub
parent b16fb059e9
commit 83b28a1f8a

View File

@@ -4,7 +4,7 @@ import databases
## Postgres Database
DATABASE_URL = "postgresql://yagu:yagu123@localhost:5432/universities"
DATABASE_URL = "postgresql://user:password@localhost:5432/universities"
# DATABASE_URL = os.environ.get("TRAVIS")
database = databases.Database(DATABASE_URL)
metadata = sqlalchemy.MetaData()