From 5df29969473d2c7cbb4a76a33b10e12f1abc87c3 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sun, 23 Jul 2023 22:52:59 -0700 Subject: [PATCH] Database project now has warnings converted to errors --- Newsbot.Collector.Database/DatabaseContext.cs | 4 ++-- Newsbot.Collector.Database/Newsbot.Collector.Database.csproj | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Newsbot.Collector.Database/DatabaseContext.cs b/Newsbot.Collector.Database/DatabaseContext.cs index a3e0fdc..338da9c 100644 --- a/Newsbot.Collector.Database/DatabaseContext.cs +++ b/Newsbot.Collector.Database/DatabaseContext.cs @@ -17,8 +17,8 @@ public class DatabaseContext : IdentityDbContext public DbSet Sources { get; set; } = null!; public DbSet UserSourceSubscription { get; set; } = null!; - - public DbSet RefreshTokens { get; set; } + + public DbSet RefreshTokens { get; set; } = null!; private string ConnectionString { get; set; } = ""; diff --git a/Newsbot.Collector.Database/Newsbot.Collector.Database.csproj b/Newsbot.Collector.Database/Newsbot.Collector.Database.csproj index 68f1436..47f2b44 100644 --- a/Newsbot.Collector.Database/Newsbot.Collector.Database.csproj +++ b/Newsbot.Collector.Database/Newsbot.Collector.Database.csproj @@ -21,6 +21,9 @@ net7.0 enable enable + + true + 8981