update-database出現(xiàn)Column names in each table must be unique. Column name 'ImageUrl' in table 'Noodles' is specified more than once.
Column names in each table must be unique. Column name 'ImageUrl' in table 'Noodles' is specified more than once.
2020-07-22
估計(jì)是數(shù)據(jù)庫(kù)遷移過(guò)程有沖突,可以試試把整個(gè)數(shù)據(jù)庫(kù)刪了,再執(zhí)行一次update-database。不行的話請(qǐng)繼續(xù)留言,并貼出錯(cuò)誤信息。