From 3fdd87a31419f0a4be34bed87ada2d838a4e02ed Mon Sep 17 00:00:00 2001 From: Ashibaya Date: Fri, 23 Jul 2021 14:58:15 +0900 Subject: [PATCH] Fixed requirements and pgsql --- databases/pgsql/database.py | 2 +- requirements.txt | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/databases/pgsql/database.py b/databases/pgsql/database.py index d93a891..daa0d3f 100644 --- a/databases/pgsql/database.py +++ b/databases/pgsql/database.py @@ -3,7 +3,7 @@ from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker -SQL_ALCHEMY_DATABASE_URL_PGSQL = "postgresql+psycopg2://postgres:@localhost/general" +SQL_ALCHEMY_DATABASE_URL_PGSQL = "postgresql+psycopg2://postgres:159357@localhost/general" engine = create_engine( SQL_ALCHEMY_DATABASE_URL_PGSQL #, connect_args = {"check_same_thread": False} ) diff --git a/requirements.txt b/requirements.txt index 4c74f17..bc374e8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,6 @@ python-multipart pyodbc python-jose psycopg2 -bcrypt \ No newline at end of file +bcrypt +passlib +uvicorn \ No newline at end of file