fix: Truncation of some tables that were wrongly preserved

This commit is contained in:
gauvainboiche
2026-04-02 22:37:06 +02:00
parent d8f914bcfb
commit bfdc836275
3 changed files with 13 additions and 20 deletions
+1 -1
View File
@@ -511,7 +511,7 @@ PostgreSQL data lives in bind-mount directories on the host:
| `./data/postgres` | Game DB (`star_wars_grid`) |
| `./data/postgres_users` | Users DB (`star_wars_users`) |
A **world wipe** only cleans epoch-scoped tables when the UTC period slot changes; it does not touch the host data directories. User accounts, `user_action_quota`, `team_action_quota`, `victory_points`, and `db_metadata` survive all wipes.
A **world wipe** only cleans epoch-scoped tables when the UTC period slot changes; it does not touch the host data directories. Only user accounts (`users`), `victory_points`, and `db_metadata` survive all wipes. Both `user_action_quota` and `team_action_quota` are truncated and reset to config defaults on wipe.
To fully reset the game state (including all user accounts), stop the stack and delete both data directories, then start again: