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

Prevent message extractor from crash and log warning on obsolete migration #101

Merged
merged 5 commits into from
Feb 14, 2025

Conversation

arturz
Copy link
Collaborator

@arturz arturz commented Feb 12, 2025

This PR logs warning in the console when it detects that there is a newer migration available.
It also fixes problem with MessageExtractor module crashing application on PostgreSQL migration version lower than 3 and SQLite3 lower than 2.

@arturz arturz self-assigned this Feb 12, 2025
README.md Outdated
@@ -94,6 +94,7 @@ If you're working on an Elixir/Phoenix project and need to manage translations,
- Elixir (tested on 1.14.0)
- Phoenix (tested on 1.7.0)
- Ecto SQL (tested on 3.6)
- PostgreSQL 15 or newer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there also a requirement regarding the SQLite version?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, good catch

@arturz arturz merged commit 870b987 into develop Feb 14, 2025
12 checks passed
@arturz arturz deleted the 95-update-version-of-migrations-in-readme branch February 14, 2025 16:56
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