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

[release/9.0-staging] Don't throw PendingModelChangesWarning when applying a specific migration #35353

Open
wants to merge 1 commit into
base: release/9.0-staging
Choose a base branch
from

Conversation

AndriySvyryd
Copy link
Member

Fixes #35342
Port of #35343
Improvement of #35221

Description

In 9.0 we added a runtime warning that would throw by default when updating the database if there are any changes detected in the model that aren't reflected in the latest migration.

However, when applying a specific migration this warning is not relevant and could be confusing.

Customer impact

The workaround is to ignore the warning using options.

How found

Customer report on 9, part of a large stream of feedback around this warning.

Regression

Yes, from 8.

Testing

Test added

Risk

Low.

@AndriySvyryd AndriySvyryd requested review from a team and Copilot December 18, 2024 20:41

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant