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

(#75) Don't register trigger on non-Postgres databases #132

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

pmdevita
Copy link
Contributor

Ran into trouble with our tests, which use an in-memory SQLite database. The solution proposed in #75 fixes this and there doesn't seem to be any issues otherwise. Looks like a PR for it just hasn't been made yet but this should do it.

The trigger in migration 0004 is registered regardless of database backend currently. This adds a check to make sure we are connected to a postgres database before running it.

Type: bug
@wesleykendall
Copy link
Member

Thanks for this catch. I will write a small test for it before doing the release. Will report back when this is released

@wesleykendall wesleykendall merged commit fb2b76a into Opus10:main Aug 27, 2024
3 of 5 checks passed
@pmdevita
Copy link
Contributor Author

Thank you so much!

@wesleykendall
Copy link
Member

Released in 3.3.0

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