Expect that all tables are available

This commit is contained in:
Thorsten Sommer 2022-07-09 15:03:50 +02:00
parent c90d3fdd3c
commit fb0bb2b178
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -4,13 +4,13 @@ namespace DataModel.Database.Common;
public sealed class DataContext : DbContext
{
public DbSet<Setting>? Settings { get; set; }
public DbSet<Setting> Settings { get; set; }
public DbSet<Section>? Sections { get; set; }
public DbSet<Section> Sections { get; set; }
public DbSet<TextElement>? TextElements { get; set; }
public DbSet<TextElement> TextElements { get; set; }
public DbSet<Translation>? Translations { get; set; }
public DbSet<Translation> Translations { get; set; }
public DataContext(DbContextOptions<DataContext> contextOptions) : base(contextOptions)
{