Suppress null warning

This commit is contained in:
Noi 2022-03-19 17:04:16 -07:00
parent 948c6955ec
commit b9abaa2055

View file

@ -1,5 +1,4 @@
using Npgsql;
using System.Threading.Tasks;
namespace BirthdayBot.Data;
@ -7,7 +6,7 @@ namespace BirthdayBot.Data;
internal static class Database {
public const string ObsoleteReason = "Will be removed in favor of EF6 stuff when text commands are removed";
public static string DBConnectionString { get; set; }
public static string DBConnectionString { get; set; } = null!;
/// <summary>
/// Sets up and opens a database connection.