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

Tools: Warn when pending model changes #22105

Open
Tracked by #22945
bricelam opened this issue Aug 17, 2020 · 3 comments
Open
Tracked by #22945

Tools: Warn when pending model changes #22105

bricelam opened this issue Aug 17, 2020 · 3 comments

Comments

@bricelam
Copy link
Contributor

bricelam commented Aug 17, 2020

We should warn during the following commands when there are pending model changes that can be added to a new migration.

@bricelam
Copy link
Contributor Author

bricelam commented Aug 17, 2020

We should also consider adding sugar to the product (e.g. dbContext.Database.HasPendingModelChanges()) to do this since I've seen a lot of users asking how to over the years. (PR #31164)

@bricelam
Copy link
Contributor Author

Some progress was made toward this in PR #14122

@bricelam
Copy link
Contributor Author

We should also double check that the warning surfaces as part of the GenerateEFSQLScripts task and Publish dialog.

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

No branches or pull requests

2 participants