-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Further investigation is needed to determine why some created_at
values are in the past when records are created in the transaction
table. Related code:
sync-engine/inbox/models/transaction.py
Lines 104 to 112 in a4d313c
if revision_type == "delete": | |
created_at = getattr(obj, "deleted_at", None) | |
# Sometimes categories are deleted explicitly which leaves | |
# their deleted_at default value, EPOCH, when the | |
# transaction is created. | |
if created_at == EPOCH: | |
created_at = func.now() | |
else: | |
created_at = getattr(obj, "updated_at", None) |
Metadata
Metadata
Assignees
Labels
No labels