Rename model for custdata to CustomerClassic

This commit is contained in:
Lance Edgar 2023-06-12 17:30:44 -05:00
parent a6541a2c32
commit 9c15952386
9 changed files with 27 additions and 27 deletions

View file

@ -46,8 +46,8 @@ def get_core_members(config, api, progress=None):
# first we fetch all customer records from CORE DB
with app.short_session(factory=CoreSession) as s:
db_customers = s.query(corepos.CustData)\
.order_by(corepos.CustData.card_number)\
db_customers = s.query(corepos.CustomerClassic)\
.order_by(corepos.CustomerClassic.card_number)\
.all()
s.expunge_all()