Loading...
Loading...
Compare original and translation side by side
Edit your data contract. Prisma handles the rest.
编辑你的数据契约。其余工作交给Prisma处理。
prisma-next-*prisma-next-*prisma-next-upgradeprisma-next-contractprisma-next-queriesprisma-next-upgradeprisma-next-contractprisma-next-queriesDATABASE_URLexamples/prisma-next-demoDATABASE_URLexamples/prisma-next-demoprisma-next-*prisma-next-*fixfixpnpm ls @prisma-next/postgres@prisma-next/mongonode -vpnpmnpmyarnbundenodarwinlinuxwin32prisma-next migration plan --name add-email-vDATABASE_URLsrc/prisma/contract.prismasrc/prisma/contract.tsUserPostTagpnpm ls @prisma-next/postgres@prisma-next/mongonode -vpnpmnpmyarnbundenodarwinlinuxwin32prisma-next migration plan --name add-email-vDATABASE_URLsrc/prisma/contract.prismasrc/prisma/contract.tsUserPostTag.github/ISSUE_TEMPLATE/bug_report.ymlfeature_request.ymlgh issue create --body-file.github/ISSUE_TEMPLATE/bug_report.ymlundefined.github/ISSUE_TEMPLATE/bug_report.ymlfeature_request.ymlgh issue create --body-file.github/ISSUE_TEMPLATE/bug_report.ymlundefined// schema.psl excerpt + the query / command that fails// schema.psl片段 + 出错的查询/命令
Feature-request body shape (fields named to match `.github/ISSUE_TEMPLATE/feature_request.yml`):
~~~markdown
功能请求内容格式(字段名称与`.github/ISSUE_TEMPLATE/feature_request.yml`匹配):
~~~markdown// imagined usage of the API / behaviour you'd want// 你期望的API/行为的使用示例undefinedundefinedbug(<area>): <one-line summary>bug(cli): migration plan exits 0 when there is no difffeat(<area>): <one-line summary>feat(build): first-party Next.js plugin for contract emitclicontractmigrationqueryruntimebuilderrordocsbug(<领域>): <一行摘要>bug(cli): migration plan在无差异时返回0feat(<领域>): <一行摘要>feat(build): 用于契约生成的官方Next.js插件clicontractmigrationqueryruntimebuilderrordocswip/pn-issue-body.md/tmp/pn-issue-body.mdghgh issue create \
--repo prisma/prisma-next \
--title "<title>" \
--body-file <path-from-step-1>--body "$(cat <<EOF …)"--body-file <(cat <<EOF …)cat <<'EOF'EOFghhttps://github.com/prisma/prisma-next/issues/new/choosepbcopyxclipwip/pn-issue-body.md/tmp/pn-issue-body.mdghgh issue create \
--repo prisma/prisma-next \
--title "<title>" \
--body-file <path-from-step-1>--body "$(cat <<EOF …)"--body-file <(cat <<EOF …)cat <<'EOF'EOFghhttps://github.com/prisma/prisma-next/issues/new/choosepbcopyxclip#help#prisma-nextpnpm ls @prisma-next/postgresDATABASE_URL#help#prisma-nextpnpm ls @prisma-next/postgresDATABASE_URLwip/prisma-next-upgradewip/prisma-next-upgradeDATABASE_URLredactpostgresql://USER:PASS@HOST/DBDATABASE_URLpostgresql://USER:PASS@HOST/DBprisma-next feedbackprisma-next feedbackghbug(area): …feat(area): …gh issue createprisma-next-upgradebug(领域): …feat(领域): …gh issue createprisma-next-upgrade