9

I'm using Entity Framework 7 beta 5. I started with the mvc template with user management. I have added several migrations, during my trials.

Now I want to delete my database, create a new initial migration and produce a new clean db with it.

However the dnx ef commands do not have a command that I know of that will facilitate this. How do I proceed?

k.c.
  • 1,755
  • 1
  • 29
  • 53

1 Answers1

12

What exactly do you need support from EF for? Here's what I'd do:

  • Delete your database
  • Delete all your migrations
  • Configure the context to point to your new, clean database
  • Run dotnet ef migrations add <initial-migration-name>
Rytmis
  • 31,467
  • 8
  • 60
  • 69