当我尝试使用update-database -verbose -force
时,我收到一个错误:
ALTER TABLE DROP COLUMN failed because column 'countReferralsRegistrations' does not exist in table 'UserProfile'.
问题是 - 我在模型和表 UserProfile 中没有(而且我不想有)这个列。
我该如何解决?
当我尝试使用update-database -verbose -force
时,我收到一个错误:
ALTER TABLE DROP COLUMN failed because column 'countReferralsRegistrations' does not exist in table 'UserProfile'.
问题是 - 我在模型和表 UserProfile 中没有(而且我不想有)这个列。
我该如何解决?