feat: separate dashboard database + launcher repair/cleanup options
- Move dashboard tables (bans, player_ips, audit_log, chat_history, settings, player_actions) to a dedicated 'dashboard' database to prevent pg_dump conflicts during game updates - Add DashboardDatabaseService (legacy + backend) with auto-migration from old dashboard schema on first startup - Add launcher option 9: Repair Game Database (fixes schema ownership) - Add launcher option 10: Clean up Old Dashboard Schema (drops old schema) - Update PlayerService to fetch IPs from dashboard DB separately - Update all routes and services to use dash_db for dashboard tables - Add dashboard_database_name config option to settings.yaml.example - Update README with new menu options
This commit is contained in:
1 parent
15af849d2c
commit
0f173dc107
15 files changed
+837
-163
No files matched your search
@@ -38,6 +38,7 @@ database:
|
||||
min_connections: 2
|
||||
max_connections: 10
|
||||
dashboard_schema: "dashboard" # Schema for dashboard's own tables (isolated from game DB for backup compatibility)
|
||||
dashboard_database_name: "dashboard" # Dedicated database for dashboard tables (auto-created on startup)
|
||||
|
||||
# Kubernetes
|
||||
kubernetes:
|
||||
|
||||
Reference in new issue
Block a user