Cross-server network: shared economy groups for balances and guild banks

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DjMbLQujBHunCCu5GpsHaT
This commit is contained in:
Claude committed 2026-09-30 18:23:47 +00:00
1 parent 485a81e0a4
commit 745c2178ee
9 files changed
+137 -39

No files matched your search

+4
View File
@@ -672,6 +672,10 @@ const MIGRATIONS: &[&str] = &[
r#"
ALTER TABLE groups ADD COLUMN discord_role TEXT NOT NULL DEFAULT '';
"#,
// Servers can share one economy (balances and guild banks) by sharing a group name.
r#"
ALTER TABLE game_servers ADD COLUMN economy_group TEXT NOT NULL DEFAULT '';
"#,
];
pub async fn connect(data_dir: &Path) -> Result<SqlitePool> {