Sync the Prisma schema with the database:
- •Run
npx prisma generateto regenerate the client - •Run
npx prisma db pushto apply schema changes - •Verify there were no errors
- •If there are schema errors, analyze the problem and suggest a fix
同步 Prisma Schema 与数据库
--- frontmattername: db-push description: Sync Prisma schema with the database disable-model-invocation: true allowed-tools: Bash(npx prisma *)
Sync the Prisma schema with the database:
npx prisma generate to regenerate the clientnpx prisma db push to apply schema changes