Skip to content
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

Account update issue #250

Merged
merged 3 commits into from
Sep 28, 2021
Merged

Account update issue #250

merged 3 commits into from
Sep 28, 2021

Conversation

tsmethurst
Copy link
Contributor

This PR addresses an issue where updates from remote accounts were not being processed properly.

This was caused by the fact that database updates don't set default database column values, whereas inserts do, so we were running into some 'not null' constraints.

This was fixed by setting some of the fields on the updated account to their values from the account as retrieved from the database before doing the update.

Fixes #246

@tsmethurst tsmethurst merged commit b5a7e1b into main Sep 28, 2021
@tsmethurst tsmethurst deleted the account_update_issue branch September 28, 2021 13:22
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.

Error receiving and processing update of an account from remote
1 participant