Database project now has warnings converted to errors
This commit is contained in:
parent
7b24ba16f7
commit
5df2996947
@ -18,7 +18,7 @@ public class DatabaseContext : IdentityDbContext
|
||||
|
||||
public DbSet<UserSourceSubscriptionEntity> UserSourceSubscription { get; set; } = null!;
|
||||
|
||||
public DbSet<RefreshTokenEntity> RefreshTokens { get; set; }
|
||||
public DbSet<RefreshTokenEntity> RefreshTokens { get; set; } = null!;
|
||||
|
||||
private string ConnectionString { get; set; } = "";
|
||||
|
||||
|
@ -21,6 +21,9 @@
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<NoWarn>8981</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user