Her kese iyi çalışmalar. MVC ile bir alım satım site projesi çalışıyorum. Entity Framework ile veri tabanında değişiklik yaptıktan sonra update-database komutu ile veri tabanını güncellemek istediğimde aşağıdaki hata mesajını alıyorum. Bunu nasıl düzelte bilirim? Hata mesajını hem yazı olarak hem de resim olarak ekliyorum.
Hata mesajı:
Automatic migration was not applied because it would result in data loss. Set AutomaticMigrationDataLossAllowed to 'true' on your DbMigrationsConfiguration to allow application of automatic migrations even if they might cause data loss. Alternately, use Update-Database with the '-Force' option, or scaffold an explicit migration.
Hata mesajı:
Automatic migration was not applied because it would result in data loss. Set AutomaticMigrationDataLossAllowed to 'true' on your DbMigrationsConfiguration to allow application of automatic migrations even if they might cause data loss. Alternately, use Update-Database with the '-Force' option, or scaffold an explicit migration.