You should be able to do the following:
Modify your database manually to reflect changes in the model that will not be processed during the migration. Now everything should work, but the database and the migration system are not synchronized.
Run Add-Migration ManuallyUpdatedDatabase -IgnoreChanges . This creates a migration that is completely empty, so it wonโt make any changes to the database, but it will make sure that the system knows about manual changes. This way, manual changes will not be included in the next migration that you create.
Run Update-Database to apply empty migration.
From here, everything should work as usual. You simply have a โmissing linkโ in your migrations because you manually processed some changes.
source share