Skip to content

Commit

Permalink
[OneBot] Database migration tips (#755)
Browse files Browse the repository at this point in the history
* [OneBot] Database migration tips

* fix
  • Loading branch information
pk5ls20 authored Feb 5, 2025
1 parent c098da4 commit 9b17694
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9b17694

Please sign in to comment.