diff --git a/SurveyBackend/SurveyBackend.Infrastructure/Data/ApplicationDbContext.cs b/SurveyBackend/SurveyBackend.Infrastructure/Data/ApplicationDbContext.cs index af8eed6..66a0468 100644 --- a/SurveyBackend/SurveyBackend.Infrastructure/Data/ApplicationDbContext.cs +++ b/SurveyBackend/SurveyBackend.Infrastructure/Data/ApplicationDbContext.cs @@ -13,7 +13,7 @@ public class ApplicationDbContext : SurveyDbContext public ApplicationDbContext(DbContextOptions options) : base(options) { - Database.EnsureCreated(); + } protected override void OnModelCreating(ModelBuilder modelBuilder)