moriire commited on
Commit
33b9d02
1 Parent(s): dd3e939

Update database.py

Browse files
Files changed (1) hide show
  1. database.py +1 -1
database.py CHANGED
@@ -20,7 +20,7 @@ SQLALCHEMY_DATABASE_URL = db_url # "ibmabdulsalam.mysql.pythonanywhere-services.
20
  #SQLALCHEMY_DATABASE_URL = db_url #"postgresql://user:password@postgresserver/db"
21
 
22
  engine = create_engine(
23
- SQLALCHEMY_DATABASE_URL, echo=True, connect_args={"check_same_thread": False}
24
  )
25
  SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
26
 
 
20
  #SQLALCHEMY_DATABASE_URL = db_url #"postgresql://user:password@postgresserver/db"
21
 
22
  engine = create_engine(
23
+ SQLALCHEMY_DATABASE_URL, echo=True)#, connect_args={"check_same_thread": False}
24
  )
25
  SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
26