Added empty lines related to last commit removed
This commit is contained in:
parent
7cb8b28f58
commit
a92619f18c
@ -50,10 +50,8 @@ def init(config: Dict) -> None:
|
|||||||
f'is no valid database URL! (See {_SQL_DOCS_URL})')
|
f'is no valid database URL! (See {_SQL_DOCS_URL})')
|
||||||
|
|
||||||
session = scoped_session(sessionmaker(bind=engine, autoflush=True, autocommit=True))
|
session = scoped_session(sessionmaker(bind=engine, autoflush=True, autocommit=True))
|
||||||
|
|
||||||
Trade.session = session()
|
Trade.session = session()
|
||||||
Trade.query = session.query_property()
|
Trade.query = session.query_property()
|
||||||
|
|
||||||
_DECL_BASE.metadata.create_all(engine)
|
_DECL_BASE.metadata.create_all(engine)
|
||||||
check_migrate(engine)
|
check_migrate(engine)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user