EF Migration migrate to 0 call initial creates down

I'm trying to figure out the syntax to bring migrations down to an empty database as in call the down method on the inital create migration. Does anyone know the proper syntax to call the Down method in a migration something akin to this:

Update-Database -StartupProjectName "Infrastructure.Data" -TargetMigration 0


update-database -startupproject someproject -targetmigration 0

That will bring you back to a completely empty database.

I assembled a complete reference to the package manager commands for ef migrations.


  • jQuery slider “slide” event: How do I determine the user's slide direction?
  • Polymer data-binding: how to access data in nested template?
  • How do I enable gzip compression on a coldfusion at the directory level?
  • .NET/MVC JSON response opens up dialog box to save
  • Applying Cost Functions in R
  • Java SOAP client stub generation with service endpoint determined at runtime
  • How can I get information about who called a method?
  • Django implementation of default value in database
  • insert into a MySQL database on a different server
  • IsOrderedBy Extension Method
  • Entity Framework Core 1.0.1 add-migration
  • Change zIndex in HighChart
  • mysql table locked after php crashes
  • Excel passing a range into a function
  • Type safe keys with Entity Framework model
  • ZipList with Scalaz
  • Alamofire and Reachability.swift not working on xCode8-beta5
  • Question about instantiating object
  • Email verification using google app script and google forms
  • recyclerView does not call the onBindViewHolder when scroll in the view
  • How to extract text from Word files using C#?
  • Javascript Callbacks with Object constructor
  • How to check if every primary key value is being referenced as foreign key in another table
  • Sending data from AppleScript to FileMaker records
  • Trying to switch camera back to front but getting exception
  • Comma separated Values
  • retrieve vertices with no linked edge in arangodb
  • using conditional logic : check if record exists; if it does, update it, if not, create it
  • Proper folder structure for lots of source files
  • Error creating VM instance in Google Compute Engine
  • Free memory of cv::Mat loaded using FileStorage API
  • Hits per day in Google Big Query
  • Angular 2 constructor injection vs direct access
  • Understanding cpu registers
  • how does django model after text[] in postgresql [duplicate]
  • Add sale price programmatically to product variations
  • Is there any way to bind data to data.frame by some index?
  • Programmatically clearing map cache
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • How can I use `wmic` in a Windows PE script?