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

postgres locale: fix accounts.note_raw migration #651

Merged
merged 1 commit into from
Jun 16, 2022

Conversation

LittleFox94
Copy link
Contributor

@LittleFox94 LittleFox94 commented Jun 15, 2022

Database migration 20220506110822_add_account_raw_note.go has some error
handling code
to detect some error messages as "ok", but only done for english error messages.

This adds a check for the specific error code, which should be locale agnostic.

Database migration 20220506110822_add_account_raw_note.go has some error
handling code to detect some error messages as "ok", but only done for
english error messages. This commit adds a check for the specific error
code, which should be locale agnostic.
@tsmethurst
Copy link
Contributor

Nice, thanks! ❤️

@tsmethurst tsmethurst merged commit 0e12ee0 into superseriousbusiness:main Jun 16, 2022
@LittleFox94 LittleFox94 deleted the test-fixes branch June 16, 2022 09:23
@LittleFox94
Copy link
Contributor Author

I'm afraid I'll have to open another one for the other migration for that column x)

No idea why that worked for tests, but not for migrating my old dev instance

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