Fixed an unreported bug with postgresql reminder loop, ref #370

This commit is contained in:
Kwoth
2022-07-28 09:21:19 +02:00
parent 8e464e9f09
commit 31e1cbb19f

View File

@@ -20,6 +20,8 @@ public sealed class PostgreSqlContext : NadekoContext
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);
base.OnConfiguring(optionsBuilder);
optionsBuilder
.UseLowerCaseNamingConvention()