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

feat: Add check to disable migration warning for specific models #104

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

renatocron
Copy link

Introduced a new check to disable migration warnings for specific models based on the presence of the DISABLE_MIGRATION_WARNING environment variable. This check enhances flexibility in managing migration warnings, allowing for more targeted handling of warnings according to specific model requirements.

@franky47
Copy link
Member

Thanks for the PR!

This is making me realise that this warning could just be omitted if the migrations generator isn't used, and turned into an error log if it is. Now how this could be determined is another story.

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