我尝试使用ASP.NET MVC 5的身份提供程序登录用户,但我不能这样做。
我收到此错误:
"Invalid column name 'Email'.\r\nInvalid column name 'EmailConfirmed'.\r\nInvalid column name 'PhoneNumber'.\r\nInvalid column name 'PhoneNumberConfirmed'.\r\nInvalid column name 'TwoFactorEnabled'.\r\nInvalid column name 'LockoutEndDateUtc'.\r\nInvalid column name 'LockoutEnabled'.\r\nInvalid column name 'AccessFailedCount'.\r\nInvalid column name 'Email'.\r\nInvalid column name 'EmailConfirmed'.\r\nInvalid column name 'PhoneNumber'.\r\nInvalid column name 'PhoneNumberConfirmed'.\r\nInvalid column name 'TwoFactorEnabled'.\r\nInvalid column name 'LockoutEndDateUtc'.\r\nInvalid column name 'LockoutEnabled'.\r\nInvalid column name 'AccessFailedCount'.\r\nInvalid column name 'UserId'.\r\nInvalid column name 'UserId'.\r\nInvalid column name 'Email'.\r\nInvalid column name 'EmailConfirmed'.\r\nInvalid column name 'PhoneNumber'.\r\nInvalid column name 'PhoneNumberConfirmed'.\r\nInvalid column name 'TwoFactorEnabled'.\r\nInvalid column name 'LockoutEndDateUtc'.\r\nInvalid column name 'LockoutEnabled'.\r\nInvalid column name 'AccessFailedCount'."
问题是什么,我需要使用迁移吗?