cat
/
mcpsweeper
/
clone
ssh
copy
https
copy
minesweeper as an mcp server: agents start games, play moves in batches and watch the board
code
commits
branches
reviews
insights
main
all branches
mcpsweeper
/
migrations
/
0003_game_slugs.sql
history
0003_game_slugs.sql
210B
blame
history
wrap lines
copy
1
-- Short share slugs for /r/{slug} replay URLs.
2
ALTER TABLE
games
ADD
COLUMN
slug TEXT;
3
UPDATE
games
SET
slug
=
lower
(hex(randomblob(
5
)))
WHERE
slug
IS
NULL
;
4
CREATE
UNIQUE
INDEX idx_games_slug
ON
games (slug);