Skip to content

feat(ongoing-balance): Save last_balance_sync_at on wallets also when updating ongoing balance #3800

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

Merged
merged 2 commits into from
Jun 13, 2025

Conversation

ivannovosad
Copy link
Contributor

@ivannovosad ivannovosad commented Jun 9, 2025

Context

Currently last_balance_sync_at is not updated when we're updating ongoing balance of a wallet.
We'll add another column to store this information: last_ongoing)balance_sync_at.

Description

  • Add last_ongoing_balance_sync_at column to wallets table.
  • Add last_ongoing_balance_sync_at to wallet GQL type.
  • Modify Wallets::Balance::UpdateOngoingService so that it updates that column every time.

@ivannovosad ivannovosad marked this pull request as draft June 9, 2025 10:30
@ivannovosad ivannovosad force-pushed the feat-ongoing-balance-last-sync branch from 17eec67 to 82e00b4 Compare June 11, 2025 06:56
@ivannovosad ivannovosad marked this pull request as ready for review June 11, 2025 07:38
@ivannovosad ivannovosad force-pushed the feat-ongoing-balance-last-sync branch from 41ab9a4 to 3ddd569 Compare June 11, 2025 10:17
@ivannovosad ivannovosad force-pushed the feat-ongoing-balance-last-sync branch from 3ddd569 to 7bfd76b Compare June 13, 2025 11:10
@ivannovosad ivannovosad merged commit 039fcff into main Jun 13, 2025
14 checks passed
@ivannovosad ivannovosad deleted the feat-ongoing-balance-last-sync branch June 13, 2025 11:14
diegocharles pushed a commit that referenced this pull request Jul 11, 2025
… updating ongoing balance (#3800)

Currently `last_balance_sync_at` is not updated when we're updating
ongoing balance of a wallet.
We'll add another column to store this information:
`last_ongoing)balance_sync_at`.

- Add `last_ongoing_balance_sync_at` column to `wallets` table.
- Add `last_ongoing_balance_sync_at` to wallet GQL type.
- Modify `Wallets::Balance::UpdateOngoingService` so that it updates
that column every time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants