mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
Fixed an unreported bug with postgresql reminder loop, ref #370
This commit is contained in:
@@ -20,6 +20,8 @@ public sealed class PostgreSqlContext : NadekoContext
|
|||||||
|
|
||||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||||
{
|
{
|
||||||
|
AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);
|
||||||
|
|
||||||
base.OnConfiguring(optionsBuilder);
|
base.OnConfiguring(optionsBuilder);
|
||||||
optionsBuilder
|
optionsBuilder
|
||||||
.UseLowerCaseNamingConvention()
|
.UseLowerCaseNamingConvention()
|
||||||
|
Reference in New Issue
Block a user