Configure engine for CORE "transactions" DB

This commit is contained in:
Lance Edgar 2021-02-17 20:46:46 -06:00
parent 61a16f2400
commit 13376952a9

View file

@ -58,8 +58,9 @@ def main(global_config, **settings):
# CORE-POS DB(s)
if integrate_corepos(rattail_config):
from tailbone_corepos.db import CoreOfficeSession
from tailbone_corepos.db import CoreOfficeSession, CoreTransSession
CoreOfficeSession.configure(bind=rattail_config.corepos_engine)
CoreTransSession.configure(bind=rattail_config.coretrans_engine)
# Catapult DB(s)
if integrate_catapult(rattail_config):