-- +goose Up -- account_stats gains two lifetime counters for the player's statistics screen: moves โ€” the -- player's plays (tile placements; passes and exchanges do not count) โ€” and hints_used โ€” every -- hint the player took (the free per-game allowance plus the wallet-charged ones). Both are -- summed at game finish over the same games that feed the rest of account_stats (durable -- non-guest accounts; honest-AI games are skipped), so the screen can show the "hint share" -- = hints_used / moves. See docs/ARCHITECTURE.md ยง9. SET search_path = backend, pg_catalog; ALTER TABLE account_stats ADD COLUMN moves integer NOT NULL DEFAULT 0; ALTER TABLE account_stats ADD COLUMN hints_used integer NOT NULL DEFAULT 0; -- +goose Down SET search_path = backend, pg_catalog; ALTER TABLE account_stats DROP COLUMN hints_used; ALTER TABLE account_stats DROP COLUMN moves;