The last modifications of this post were around 2 years ago, some information may be outdated!
Summary
If you need to target a different database in an entity framework migration, use this command to inject a connection string.
Code
Update-Database -ConnectionString "MY_CONNECTION_STRING" -ConnectionProviderName "System.Data.SqlClient"