-
-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add created_at
and updated_at
to wallets and accounts
#2177
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
ps: tests fail
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI failed
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## dev #2177 +/- ##
==========================================
- Coverage 59.29% 52.76% -6.54%
==========================================
Files 59 59
Lines 8871 8906 +35
==========================================
- Hits 5260 4699 -561
- Misses 3611 4207 +596 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this shouldn't be merged yet - there are still unaddressed comments about leaking abstraction from db.py
- changing to draft state
08acbd3
to
21a4b1f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK
Nitpick:
- all existing wallets and accounts will have
created_at
the date of the migration - for a backwards valid data set a script can be created to set
created_at
at the first payment date
also this fixes the issue where time() is called multiple times providing different return values for multiple invocations
the title says it all :)