pr
免费Commit the current changes on a new branch, push, and open a GitHub PR following this repo's conventions.
中文简介正在准备中。当前显示原文说明。
Create a Prisma migration for a schema change against the local database. Use after editing prisma/schema.prisma.
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Migration name (from arguments, kebab-case; ask if missing): $ARGUMENTS
prisma/schema.prisma has the intended change and nothing else (git diff prisma/schema.prisma)..env.local on its own:
npm run local -- prisma migrate dev --name $ARGUMENTS
prisma/migrations/<timestamp>_<name>/migration.sql and check for destructive statements (DROP COLUMN, DROP TABLE, type changes on populated columns). Call these out explicitly in your reply.prisma/seed.mjs and re-run npm run local -- prisma db seed./verify.Remind the user in your reply: merging this PR to main runs prisma migrate deploy against production automatically. Never run migrations with npm run prod -- ... yourself.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Commit the current changes on a new branch, push, and open a GitHub PR following this repo's conventions.
中文简介正在准备中。当前显示原文说明。
Verify a change is done by running lint, the Prettier check, the test suites, and a production build. Use after finishing any code change and before opening a PR.
中文简介正在准备中。当前显示原文说明。