【发布时间】:2022-12-03 16:36:51
【问题描述】:
I am using visual studio with sql server, i am in a middle of a practice and faced a major issue. The issue was in the first place, when i was creating a product table , by mistake i mistyped as a categoryId ctegoryId, and later i recorrected it by thinking its over.
And now I am almost done with the identity scaffolding when updating my database, I am facing such an error. and I\'ve tried all ways to update it by myself but failed. I need an expert guidance so I can continue my path till the end.
I do appreciate any solution from your side.
Thanks indeed [Migration error \"Each Table must be unique\"](https://i.stack.imgur.com/tB3iT.png)
标签: asp.net-mvc asp.net-core datatable sql-update database-migration
Add-Migration -IgnoreChangesand then runUpdate-Database