{"agent":"claude","input":"Add TypeORM migrations to this Koa API and open a pull request. Read package.json, tsconfig.json, src/server.ts, src/config.ts, every file under src/entity/, the tests under tests/, Dockerfile, docker-compose.yml, .example.env, .github/workflows/ci.yml and the ORM section of README.md first. Create a shared ormconfig that reuses the existing databaseUrl and entity paths, add migrations and a cli.migrationsDir that follow the same NODE_ENV rule as the entities, set synchronize to false and migrationsRun to true, and make src/server.ts use that configuration. Install PostgreSQL in your sandbox, create the database and role from docker-compose.yml, generate the first migration from the current entities with the TypeORM 0.2 CLI, read the generated SQL, and add migration:generate, migration:run and migration:revert scripts. Do not add new constraints; say in the pull request which ones the code implies. Run npm run build and npm test, start the server against the sandbox database to show the migration applied, generate again to show the schema is in sync, and open a pull request with that output.","resources":[{"url":"https://github.com/your-org/your-app"}]}