Hi @Mckiky ,
About this issue, you can try to delete the AddProductToDatabase migration file, and open the ApplicationDbContextModelSnapshot.cs
file to remove the relates code about create the Product Entity.
Then, running the EF core Migration command add-migration AddProductToDatabase
to generate the migration file again, after that use update-database
command to generate the table.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Dillion