mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-02-20 14:21:35 +01:00
Updated Database management (markdown)
parent
b0523ffc22
commit
47285c218f
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user