diff --git a/SurveyLib.Infrastructure.EFCore/Data/DataContext.cs b/SurveyLib.Infrastructure.EFCore/Data/DataContext.cs deleted file mode 100644 index dcc2e68..0000000 --- a/SurveyLib.Infrastructure.EFCore/Data/DataContext.cs +++ /dev/null @@ -1,17 +0,0 @@ -using Microsoft.EntityFrameworkCore; -using SurveyLib.Core.Models; - -namespace SurveyLib.Infrastructure.EFCore.Data; - -public class DataContext : DbContext -{ - public DbSet Surveys { get; set; } - public DbSet Questions { get; set; } - public DbSet Completions { get; set; } - public DbSet Answers { get; set; } - - public DataContext(DbContextOptions options) : base(options) - { - Database.EnsureCreated(); - } -} \ No newline at end of file