SQLA2 migration: use future behavior (#529)
This commit is contained in:
parent
23a366c20b
commit
7aa3dc373e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue