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

PendingChanges exception when applying a specific migration #35342

Open
AndriySvyryd opened this issue Dec 17, 2024 · 0 comments · Fixed by #35343
Open

PendingChanges exception when applying a specific migration #35342

AndriySvyryd opened this issue Dec 17, 2024 · 0 comments · Fixed by #35343
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. customer-reported regression type-bug
Milestone

Comments

@AndriySvyryd
Copy link
Member

same problem when removing previous migration (while having pending changes of course)
update-database -project $DalProject -StartupProject $WebProject -context $DbContext -v $PreviousMigration

I used to have this error in previous version in specific cases but I'm not sure which.
So Ignoring PendingChanges in configuration solves the problem but I feel like a safety net has been removed.

Originally posted by @sebestyn168 in #34431

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. customer-reported regression type-bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant