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`