From 9b17694773272fbd60e5362d8ed8af50ab23f181 Mon Sep 17 00:00:00 2001 From: pk5ls20 Date: Wed, 5 Feb 2025 08:50:49 +0800 Subject: [PATCH] [OneBot] Database migration tips (#755) * [OneBot] Database migration tips * fix --- Lagrange.OneBot/Extensions/HostApplicationBuilderExtension.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lagrange.OneBot/Extensions/HostApplicationBuilderExtension.cs b/Lagrange.OneBot/Extensions/HostApplicationBuilderExtension.cs index e5c345ae6..1937b34dc 100644 --- a/Lagrange.OneBot/Extensions/HostApplicationBuilderExtension.cs +++ b/Lagrange.OneBot/Extensions/HostApplicationBuilderExtension.cs @@ -91,7 +91,7 @@ public static HostApplicationBuilder ConfigureOneBot(this HostApplicationBuilder string litedb = dpath ?? $"./lagrange-{configuration["Account:Uin"]}.db"; if (File.Exists(litedb)) { logger.LogCritical("Found LiteDB database, currently Lagrange.OneBot has been migrated to Realm database"); - logger.LogCritical("Please remove {} or refer to https://lagrangedev.github.io/Lagrange.Doc/Lagrange.OneBot/#从-litedb-迁移到-realm to migrate the database to Realm", litedb); + logger.LogCritical("Please delete {} if you no longer need the data in the database; otherwise, please refer to https://lagrangedev.github.io/Lagrange.Doc/Lagrange.OneBot/#从-litedb-迁移到-realm to migrate the database to Realm", litedb); logger.LogCritical("Press any key to terminate the program"); Console.ReadKey(true); host.StopAsync(default);