When I tried to use update-database -verbose -force, I get an error:
ALTER TABLE DROP COLUMN failed because column 'countReferralsRegistrations' does not exist in table 'UserProfile'.
The problem is - I don't have (and I don't want to have) this column in model and also in table UserProfile.
How can I resolve it?
SOLUTION
use first: Add-Migration InitialMigrations -IgnoreChanges and then
update-database verbose. This will work
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With