Entity framework Core Update-database specific migration

According to EF Core Docs, correct parameter name is -Target (for EF Core 1.1) or -Migration (for EF Core 2.0)

so in your case:

update-database -target test32

or

update-database -migration test32

“Modern” way is to use “regular” command prompt and .NET Core CLI, and command like dotnet ef database update <target>

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)