'Enable Migration For Asp.Net Identity

Hi How To Enable Migration In Asp.Net Identity Application DbContext ?

I Have Project With Some Tables . And Install Identity From Nuget On Them .

My Table Related To Identity User Table .

I Want To Enable Migration For All Project.

Please Help Me .

Thanks...



Solution 1:[1]

You have to use Package Manager Console as explain in this article.

Sometimes you may have to force the migrations part as in this answer.

http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/migrations-and-deployment-with-the-entity-framework-in-an-asp-net-mvc-application

Hope this helps.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Community