Created
May 24, 2017 14:39
-
-
Save Dillie-O/63d9472e4e59932f62cb020745346611 to your computer and use it in GitHub Desktop.
[Run Migration Against Different Database] Allows you to run EF migration and target a different database. Handy when automatic migrations cause issue on remove server #tags:ef,migration,sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update-Database -ConnectionString "MY_CONNECTION_STRING" -ConnectionProviderName "System.Data.SqlClient" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment