diff --git a/memberPlumbing/sqlExport.py b/memberPlumbing/sqlExport.py index 6dde25c..46d6ee2 100755 --- a/memberPlumbing/sqlExport.py +++ b/memberPlumbing/sqlExport.py @@ -44,6 +44,8 @@ def do_import(config): ml.delete_instance() print("Getting/Updating transactions...") + # Deduping these is hard, so just recreate the data every time + Transaction.truncate_table(); now = datetime.now() start_date = datetime(2010, 1, 1) transactions_csv = membershipworks.get_transactions(start_date, now)