Upgraded sqlservice to 2.0.x

This commit is contained in:
Marcus Lindvall 2023-04-13 10:55:42 +02:00
parent 229ea6fb5b
commit 6c1eb903f7
8 changed files with 95 additions and 91 deletions

View file

@ -97,7 +97,7 @@ def update_customer_delivery_from_csv(filename='zip_codes_svhl.csv'):
logger.info('Amount updated %d' % customers_to_update)
# db.raw_db.merge(n1)
db.raw_db.commit()
db.raw_session.commit()
logger.info('Succesfully commited updated customers to database')