namespace vassago.Models; using Microsoft.Extensions.Configuration; using Microsoft.EntityFrameworkCore; public class ChattingContext : DbContext { public DbSet Attachments { get; set; } public DbSet Channels { get; set; } //public DbSet Emoji {get;set;} public DbSet Messages { get; set; } public DbSet FeaturePermissions{get;set;} public DbSet Accounts { get; set; } public DbSet Users { get; set; } public ChattingContext(DbContextOptions options) : base(options) { } public ChattingContext() : base() { } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder.UseNpgsql(Shared.DBConnectionString) .EnableSensitiveDataLogging(true); //who the fuck is looking at log output but not allowed to see it? this should be on by default. } }