Skip to content

Instantly share code, notes, and snippets.

@davidbreyer
Created March 14, 2014 15:01
Show Gist options
  • Save davidbreyer/9549369 to your computer and use it in GitHub Desktop.
Save davidbreyer/9549369 to your computer and use it in GitHub Desktop.
Script a Code First database from the initial migration
//Must execute in the Package Manager Console
Update-Database -Script -SourceMigration: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment