diff --git a/content/200-orm/100-prisma-schema/20-data-model/20-relations/index.mdx b/content/200-orm/100-prisma-schema/20-data-model/20-relations/index.mdx index bfd6486e6d..5d751de1b0 100644 --- a/content/200-orm/100-prisma-schema/20-data-model/20-relations/index.mdx +++ b/content/200-orm/100-prisma-schema/20-data-model/20-relations/index.mdx @@ -385,7 +385,7 @@ Both `posts` and `author` are relation fields because their types are not scalar Also note that the [annotated relation field](#annotated-relation-fields) `author` needs to link the relation scalar field `authorId` on the `Post` model inside the `@relation` attribute. The relation scalar field represents the foreign key in the underlying database. -The other relation field called `posts` is defined purely on a Prisma ORM-level, it doesn't manifest in the database. +Both the relation fields (i.e. `posts` and `author`) are defined purely on a Prisma ORM-level, they don't manifest in the database. ### Annotated relation fields diff --git a/content/250-postgres/900-troubleshooting.mdx b/content/250-postgres/900-troubleshooting.mdx index 525160e469..47d3dff24e 100644 --- a/content/250-postgres/900-troubleshooting.mdx +++ b/content/250-postgres/900-troubleshooting.mdx @@ -53,3 +53,34 @@ To remove this warning and generate Prisam Client without the query engine, you ``` npx prisma generate --no-engine ``` + +## Workspace plan limit reached when running `prisma init --db` + +### Problem + +When running the command: + +```terminal +npx prisma@latest init --db +``` + +You may encounter the following error message in your logs: + +``` +Workspace plan limit reached for feature "Project". +``` + +### Cause + +Your default [workspace](/platform/about#workspace) project limit has been reached. + +### Solution + +To resolve this issue, consider the following options: + +- Configure a different Workspace as your default—one that has available capacity for additional projects. +- Delete unused projects or databases from your current default Workspace to free up space. +- Ensure that you are logged into the correct account in the Prisma CLI. For more details on authentication and account management, please refer to the [Prisma CLI documentation](/platform/platform-cli/commands#authentication). +- [Upgrade to a plan](/platform/about#billing) that supports more projects in your default Workspace. + +Implementing one or more of these solutions should help you overcome the plan limit issue. \ No newline at end of file diff --git a/content/800-guides/120-using-prisma-in-cursor.mdx b/content/800-guides/120-using-prisma-in-cursor.mdx index 72ac2bd66a..50af82b896 100644 --- a/content/800-guides/120-using-prisma-in-cursor.mdx +++ b/content/800-guides/120-using-prisma-in-cursor.mdx @@ -165,6 +165,10 @@ This file ensures consistent and maintainable code generation, reducing manual i Cursor’s [context-aware](https://docs.cursor.com/context/) capabilities let you add specific websites, files, folders or documentation to enhance its understanding of your project. By adding your `schema.prisma` file as context, you enable Cursor to generate more accurate queries, tests, and seed data based on your database schema. +### Add Prisma docs `llm.txt` file as `@Docs` context + +To improve Cursor’s understanding of Prisma-related suggestions in your project, include the [`/llms.txt`](https://llmstxt.org/) markdown file as context. This file offers a concise overview, useful guidance, and links to detailed Prisma documentation—all optimized for LLM processing. Simply navigate to the [url](/llms.txt) and add it as a `@Docs` resource in your Cursor configuration. + ### Adding additional Prisma documentation Cursor already includes built-in context from Prisma documentation, so you don't need to add anything to make us of our docs! You can view the existing resources Cursor uses [here](https://raw.githubusercontent.com/getcursor/crawler/main/docs.jsonl). diff --git a/package-lock.json b/package-lock.json index ef681f45c4..77b1e6bc93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,7 @@ "@docusaurus/types": "^3.5.2", "prettier": "3.4.2", "typescript": "~5.7.3", - "wrangler": "^3.106.0" + "wrangler": "^3.107.3" }, "engines": { "node": ">=18.0" @@ -21794,9 +21794,9 @@ } }, "node_modules/wrangler": { - "version": "3.107.2", - "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-3.107.2.tgz", - "integrity": "sha512-YOSfx0pETj18qcBD4aLvHjlcoV1sCVxYm9En8YphymW5rlTYD0Lc4MR3kzN1AGiWCjJ/ydrvA7eZuF/zPBotiw==", + "version": "3.107.3", + "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-3.107.3.tgz", + "integrity": "sha512-N9ZMDHZ+DI5/B0yclr3bG57U/Zw7wSzGdpO2l7j6+3q8yUf+4Fk0Rvneo2t8rjLewKlvqgt9D9siFuo8MXJ55Q==", "dev": true, "license": "MIT OR Apache-2.0", "dependencies": { diff --git a/package.json b/package.json index 2b5f1f637b..dd03cea835 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@docusaurus/types": "^3.5.2", "prettier": "3.4.2", "typescript": "~5.7.3", - "wrangler": "^3.106.0" + "wrangler": "^3.107.3" }, "browserslist": { "production": [