I am working on a Blazor Web App using SQL as my database. My initial database migration works fine.
However, when I make a change to one of the model classes, even a simple change, and try and add a migration using the Package Manager Console, the migration consists of the entire database creation, not just the incremental change made. Ultimately, the database update fails because it's trying to create tables that are already present.
UseSqlServer()specifyingMigrationHistoryTable("table_name", "schema")If someone changed that since the initial migration, the original migration history records need to be moved manually to the new table.