Try below steps to solve your problem
Delete Model Snapshot. Check if there’s a ModelSnapshot file in the Migrations folder (usually named something like ModelSnapshot.cs). Sometimes this file keeps a record of the current model state. So delete this file manually.
After deleting migrations and snapshots, rebuild your project. And re-add initial migration.
If you had any custom configurations, such as Fluent API configurations or .Entity mappings, ensure they’re also removed.