From d31e849e96cda72c78707d2ab600462188e033a2 Mon Sep 17 00:00:00 2001 From: yiling ji Date: Wed, 11 Feb 2026 16:07:43 +0800 Subject: [PATCH] update agents.md --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index a1aacc8..d5f2ab1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -105,6 +105,7 @@ We use `bun:test` for testing. - Generated Client: `src/generated/prisma` - Config: `prisma.config.ts` (Required for Prisma 7+) - Adapter: We use `@prisma/adapter-libsql` for SQLite compatibility with Bun. +- Migration Requirement: Whenever the Prisma schema is modified, you must also generate a corresponding migration file using Prisma Migrate (e.g., prisma migrate dev) and ensure the migration is committed. ### Commands