From 47285c218f2ed01cf1c98b9caf8a092dd76b6912 Mon Sep 17 00:00:00 2001 From: Aurora Lahtela <24460436+AuroraLS3@users.noreply.github.com> Date: Sat, 7 Oct 2023 08:27:48 +0300 Subject: [PATCH] Updated Database management (markdown) --- Database-management.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Database-management.md b/Database-management.md index 8d76a75..c8e3d0c 100644 --- a/Database-management.md +++ b/Database-management.md @@ -7,6 +7,7 @@ This article covers how to modify data in the database. #### Table of contents - Moving data from SQLite to MySQL +- Moving to Online only UUIDs from Offline UUIDs - Backup and restore - Removing a player - Removing a server @@ -25,6 +26,13 @@ Perhaps you want to migrate the database to MySQL. Note: Moving data REMOVES ALL Same works in reverse for MySQL to SQLite! +## Moving to Online only UUIDs from Offline UUIDs + +If you're moving to online-mode after long offline-mode run, or if you accidentally misconfigured UUIDs and Plan has gathered duplicate players with 2 different UUIDs, no worries! + +- Run `/plan db migrate_to_online_uuids` to have Plan combine the entries +- If you would also like to remove offline players that don't have an online UUID at all, use `/plan db migrate_to_online_uuids --remove_offline` + ## Backup and restore - To back up the current database run `/plan db backup`