using Microsoft.EntityFrameworkCore; namespace RemoteServer.Models; public class SqliteDbContext : DbContext { protected readonly IConfiguration Configuration; public SqliteDbContext(IConfiguration configuration) { Configuration = configuration; } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder.UseSqlite(Configuration.GetConnectionString("DbPath")); } public DbSet SyncLogHeads { get; set; } public DbSet SyncLogFiles { get; set; } public DbSet SyncGitCommits { get; set; } }