Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

MembershipDbContext migration in beta8

$
0
0

Hello. I have a problem. I'm trying to add migration of membershipDbContext on beta8. I use command "dnx ef migrations add MigrationName".

http://prnt.sc/8wlfvy

It successfully created but there is a problem. It doesn't show in migration list at all. I use a command "dnx ef migrations list". It's empty.  

http://prntscr.com/8woehr 

For command "dnx ef migrations script" it shows error: http://prntscr.com/8wodoy. Snapshot is changing after migration. Maybe I am doing something wrong?

The table _EfMigrationsHistory created but empty (because I am not updating database).

Could anybody help with it? Thanks. WBR Dekhtiar Oleksandr.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>