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

Enable-Migrations -EnableAutomaticMigrations Command #24853

Closed
AbrarJahin opened this issue May 6, 2021 · 2 comments
Closed

Enable-Migrations -EnableAutomaticMigrations Command #24853

AbrarJahin opened this issue May 6, 2021 · 2 comments

Comments

@AbrarJahin
Copy link

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.
I am trying to find a solution for automatic migration which can automatically detect any changes in DB Context and will let us know that a change is made in DB context if the change was not applied/created as migration. For this, we had something like this-

Enable-Migrations -EnableAutomaticMigrations

But in ASP.Net Core 3.1 (what I am using) is not supporting the feature.

image

Can we have that feature back?

@pranavkm pranavkm transferred this issue from dotnet/aspnetcore May 6, 2021
@roji
Copy link
Member

roji commented May 7, 2021

Duplicate of #6214

@roji roji marked this as a duplicate of #6214 May 7, 2021
@roji
Copy link
Member

roji commented May 7, 2021

@AbrarJahin EF does not have an automatic migrations feature as EF6 did, see #6214 for context on why. Please vote for (and follow) #3053.

@roji roji added customer-reported closed-no-further-action The issue is closed and no further action is planned. closed-duplicate and removed closed-no-further-action The issue is closed and no further action is planned. labels May 7, 2021
@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
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

3 participants