ai-code-battle/cmd/acb-api
jedarden b13f98416b fix(api): add missing replay_feedback FK migration
The replay_feedback table was missing its foreign key constraint to
matches(match_id). This happened because CREATE TABLE IF NOT EXISTS
doesn't add FKs to existing tables.

Added an idempotent migration that checks for the constraint's existence
before adding it, ensuring it's safe to run on both fresh installs and
existing databases.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-28 23:36:02 -04:00
..
alerts.go Add Discord/Slack alerting webhooks to Go API server 2026-03-26 01:32:47 -04:00
alerts_test.go Add Discord/Slack alerting webhooks to Go API server 2026-03-26 01:32:47 -04:00
config.go Add Go API server (cmd/acb-api) with PostgreSQL, Valkey, and Glicko-2 2026-03-26 01:21:48 -04:00
config_test.go Add Go API server (cmd/acb-api) with PostgreSQL, Valkey, and Glicko-2 2026-03-26 01:21:48 -04:00
crypto.go Add Go API server (cmd/acb-api) with PostgreSQL, Valkey, and Glicko-2 2026-03-26 01:21:48 -04:00
crypto_test.go Add Go API server (cmd/acb-api) with PostgreSQL, Valkey, and Glicko-2 2026-03-26 01:21:48 -04:00
db.go fix(api): add missing replay_feedback FK migration 2026-04-28 23:36:02 -04:00
Dockerfile fix(docker): add COPY ratelimit/ to acb-api Dockerfile 2026-04-23 18:09:53 -04:00
health.go Add Go API server (cmd/acb-api) with PostgreSQL, Valkey, and Glicko-2 2026-03-26 01:21:48 -04:00
main.go feat(api): wire voteLtr rate limiter for upvote endpoint (§13.6) 2026-04-22 17:37:34 -04:00
mapvote_test.go fix(types): add missing ReplayPlayer import and type annotation for transcript feature 2026-04-22 18:20:56 -04:00
rotatekey_test.go fix(api): remove unused time import from rotatekey_test.go 2026-04-22 17:40:06 -04:00
server.go fix(evolver): wire Nash mixture and meta weaknesses into LLM prompts, fix 4-D diversity 2026-04-23 01:22:19 -04:00
server_test.go feat(api): wire voteLtr rate limiter for upvote endpoint (§13.6) 2026-04-22 17:37:34 -04:00