I can't understand what i can do for migration database for my production server. Local machine work properly
I have ASP.NET Core 2.0 application, and in publishing setting i have settings for migration to remote database and its worked (database created with all tables)...
What i do:
1. Remove local database
2. Add-Migration Initialize
3. Update-Database
4. Publishing web site (and database created on remote server with all i need tables)
After I open my production web site and see "There are migrations for ApplicationDbContext that have not been applied to the database" and button for "Apply Migrations", when i click i have a error: "An error occurred applying migrations, try applying them from the command line" and some options for update manualy.
My manualy command "dotnet ef database update" on production have error "No executable found matching command "dotnet-ef"