SQLA2 migration: use future behavior (#529)

This commit is contained in:
justcool393 2023-03-28 11:45:23 -07:00 committed by GitHub
parent 23a366c20b
commit 7aa3dc373e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,7 +151,7 @@ limiter = Limiter(
engine = create_engine(app.config['DATABASE_URL'])
db_session = scoped_session(sessionmaker(bind=engine, autoflush=False))
db_session = scoped_session(sessionmaker(bind=engine, autoflush=False, future=True))
cache = Cache(app)
Compress(app)