mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
Possible fix for permission drop table
This commit is contained in:
@@ -66,10 +66,8 @@ namespace NadekoBot.Services.Database
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
public static readonly LoggerFactory _debugLoggerFactory =
|
||||
new LoggerFactory(new[] {
|
||||
new Microsoft.Extensions.Logging.Debug.DebugLoggerProvider()
|
||||
});
|
||||
public static readonly ILoggerFactory _debugLoggerFactory =
|
||||
LoggerFactory.Create(x => x.AddConsole());
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
{
|
||||
optionsBuilder.UseLoggerFactory(_debugLoggerFactory);
|
||||
|
Reference in New Issue
Block a user