update-database出现Column names in each table must be unique. Column name 'ImageUrl' in table 'Noodles' is specified more than once.

来源:6-3 创建以及初始化数据库

慕仰6134655

2020-07-18 12:21

Column names in each table must be unique. Column name 'ImageUrl' in table 'Noodles' is specified more than once.

写回答 关注

1回答

  • 阿莱克斯刘
    2020-07-22 03:28:57

    估计是数据库迁移过程有冲突,可以试试把整个数据库删了,再执行一次update-database。不行的话请继续留言,并贴出错误信息。

打造你的第一个ASP.NET5 MVC网站应用

熟练掌握ASP.Net 5 MVC的开发原则与使用方式

19613 学习 · 194 问题

查看课程

相似问题