About 51 results
Open links in new tab
  1. How to use code first migrations to update a database?

    Nov 19, 2016 · How to use code first migrations to update a database? Asked 8 years, 11 months ago Modified 5 years, 11 months ago Viewed 38k times

  2. c# - update the database from package manager console in code …

    Aug 25, 2015 · Code First Environment I'm trying to update the database from package Manager console. If my domain class changes, I have to drop and create the database. Instead of …

  3. How to fix database update PendingModelChangesWarning error

    Dec 27, 2024 · Add a new migration before updating the database. This exception can be suppressed or logged by passing event ID 'RelationalEventId.PendingModelChangesWarning' …

  4. Adding new column using Update-Database in Entity Framework …

    Oct 3, 2017 · Updated database using the command: "Update-Database -Migration CodingSoldierDbContextMigration -Context CodingSoldierDbContext". Tables got created in …

  5. "Update-Database" command does not update to the latest …

    Dec 13, 2022 · update-database -migration "name" command worked, but the problem remains the same: ( It is not applying the base migration instead of the name mentioned.

  6. Entity framework Core Update-database specific migration

    Nov 24, 2016 · I am trying to figure out how to run a specific migration from the package manager in nuget. I have tried to run: update-database -TargetMigration test32 But I do get this …

  7. ef core doesn't use ASPNETCORE_ENVIRONMENT during update …

    Aug 25, 2017 · I use visual studio to update all my environments with a certain migration. It had worked fine using the command below. update-database -Migration initMigrationProduct -c …

  8. EntityFrameworkCore how to run "Update-Database" & "Add …

    Nov 5, 2016 · I am trying EntityFrameworkCore in Visual Studio Code and I want to run "Update-Database" and "Add-Migration' commands, but there is no Package Manager Console in …

  9. Command line connection string for EF core database update

    You could add the connection string in your secrets vault. I wish EF Core's update database command had the -Connection parameter (I use the PowerShell's Update-Database and it …

  10. Wordpress Error: Database Update Required - Stack Overflow

    I'm currently working with a client right now that clicked to update a plugin on WordPress. He's unaware of what plugin it was that he updated because he's clicked update in the past for …