为了账号安全,请及时绑定邮箱和手机立即绑定

update-database出现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.

正在回答

1 回答

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

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

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

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信