Wpis z mikrobloga

Czy to oznacza, że model mi się z bazą danych nie zgadza, bo zaraz oszaleje? ( ͡° ʖ̯ ͡°)

Unable to update database to match the current model because there are pending changes and automatic migration is disabled. Either write the pending model changes to a code-based migration or enable automatic migration. Set DbMigrationsConfiguration.AutomaticMigrationsEnabled to true to enable automatic migration.
Jak to naprawić, bo na stackoverflow jakieś dziwne rzeczy wypisują.

#aspnet #csharp #programowanie
  • 5