From 6299b1e767f005d1fecb4ff39836d56eae4c5c40 Mon Sep 17 00:00:00 2001 From: Isaac Hatilima Date: Tue, 2 Dec 2025 12:00:54 +0100 Subject: [PATCH 1/2] Added clear change required in prisma.config.ts --- .idea/.gitignore | 8 ++ .idea/codeStyles/Project.xml | 86 +++++++++++++++++++ .idea/codeStyles/codeStyleConfig.xml | 5 ++ .idea/copilot.data.migration.agent.xml | 6 ++ .idea/inspectionProfiles/Project_Default.xml | 5 ++ .idea/material_theme_project_new.xml | 12 +++ .idea/modules.xml | 8 ++ .idea/php.xml | 19 ++++ .idea/prettier.xml | 6 ++ .idea/prisma-docs.iml | 8 ++ .idea/vcs.xml | 6 ++ .idea/watcherTasks.xml | 8 ++ .../10-overview/04-location.mdx | 11 +-- 13 files changed, 183 insertions(+), 5 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/codeStyles/Project.xml create mode 100644 .idea/codeStyles/codeStyleConfig.xml create mode 100644 .idea/copilot.data.migration.agent.xml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/material_theme_project_new.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/php.xml create mode 100644 .idea/prettier.xml create mode 100644 .idea/prisma-docs.iml create mode 100644 .idea/vcs.xml create mode 100644 .idea/watcherTasks.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000000..13566b81b0 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000000..b0b3083e24 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000000..79ee123c2b --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/copilot.data.migration.agent.xml b/.idea/copilot.data.migration.agent.xml new file mode 100644 index 0000000000..4ea72a911a --- /dev/null +++ b/.idea/copilot.data.migration.agent.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000000..8d66637cb9 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/material_theme_project_new.xml b/.idea/material_theme_project_new.xml new file mode 100644 index 0000000000..4b4090556d --- /dev/null +++ b/.idea/material_theme_project_new.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000000..a3e9d01ecc --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml new file mode 100644 index 0000000000..f324872a8b --- /dev/null +++ b/.idea/php.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/prettier.xml b/.idea/prettier.xml new file mode 100644 index 0000000000..b0c1c68fbb --- /dev/null +++ b/.idea/prettier.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/prisma-docs.iml b/.idea/prisma-docs.iml new file mode 100644 index 0000000000..c956989b29 --- /dev/null +++ b/.idea/prisma-docs.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000000..35eb1ddfbb --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/watcherTasks.xml b/.idea/watcherTasks.xml new file mode 100644 index 0000000000..68af512451 --- /dev/null +++ b/.idea/watcherTasks.xml @@ -0,0 +1,8 @@ + + + + + + + \ No newline at end of file diff --git a/content/200-orm/100-prisma-schema/10-overview/04-location.mdx b/content/200-orm/100-prisma-schema/10-overview/04-location.mdx index 297af71b8b..d688b83426 100644 --- a/content/200-orm/100-prisma-schema/10-overview/04-location.mdx +++ b/content/200-orm/100-prisma-schema/10-overview/04-location.mdx @@ -80,18 +80,19 @@ You can do this in either of three ways: } ``` - set the `schema` property in [`prisma.config.ts`](/orm/reference/prisma-config-reference#schema) ( for Prisma ORM v7): - ```ts +```ts import { defineConfig, env } from 'prisma/config' import 'dotenv/config' export default defineConfig({ - schema: 'prisma/schema.prisma', + - schema: 'prisma/schema.prisma', + + schema: 'prisma', migrations: { - path: 'prisma/migrations', + 'prisma/migrations', seed: 'tsx prisma/seed.ts', }, - datasource: { - url: env('DATABASE_URL'), + { + env('DATABASE_URL'), }, }) ``` From bf86a5f82bfbb517acd82e789f4191354bec3fe2 Mon Sep 17 00:00:00 2001 From: Isaac Hatilima Date: Tue, 2 Dec 2025 12:02:07 +0100 Subject: [PATCH 2/2] Removed .idea from repo --- .gitignore | 2 +- .idea/.gitignore | 8 -- .idea/codeStyles/Project.xml | 86 -------------------- .idea/codeStyles/codeStyleConfig.xml | 5 -- .idea/copilot.data.migration.agent.xml | 6 -- .idea/inspectionProfiles/Project_Default.xml | 5 -- .idea/material_theme_project_new.xml | 12 --- .idea/modules.xml | 8 -- .idea/php.xml | 19 ----- .idea/prettier.xml | 6 -- .idea/prisma-docs.iml | 8 -- .idea/vcs.xml | 6 -- .idea/watcherTasks.xml | 8 -- 13 files changed, 1 insertion(+), 178 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/codeStyles/Project.xml delete mode 100644 .idea/codeStyles/codeStyleConfig.xml delete mode 100644 .idea/copilot.data.migration.agent.xml delete mode 100644 .idea/inspectionProfiles/Project_Default.xml delete mode 100644 .idea/material_theme_project_new.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/php.xml delete mode 100644 .idea/prettier.xml delete mode 100644 .idea/prisma-docs.iml delete mode 100644 .idea/vcs.xml delete mode 100644 .idea/watcherTasks.xml diff --git a/.gitignore b/.gitignore index d8573ff96a..25078d214f 100644 --- a/.gitignore +++ b/.gitignore @@ -24,7 +24,7 @@ yarn-error.log* # wrangler project .dev.vars .wrangler/ - +.idea # Others .env .cursor diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b81b0..0000000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml deleted file mode 100644 index b0b3083e24..0000000000 --- a/.idea/codeStyles/Project.xml +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml deleted file mode 100644 index 79ee123c2b..0000000000 --- a/.idea/codeStyles/codeStyleConfig.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/copilot.data.migration.agent.xml b/.idea/copilot.data.migration.agent.xml deleted file mode 100644 index 4ea72a911a..0000000000 --- a/.idea/copilot.data.migration.agent.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index 8d66637cb9..0000000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/material_theme_project_new.xml b/.idea/material_theme_project_new.xml deleted file mode 100644 index 4b4090556d..0000000000 --- a/.idea/material_theme_project_new.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index a3e9d01ecc..0000000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml deleted file mode 100644 index f324872a8b..0000000000 --- a/.idea/php.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/prettier.xml b/.idea/prettier.xml deleted file mode 100644 index b0c1c68fbb..0000000000 --- a/.idea/prettier.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/prisma-docs.iml b/.idea/prisma-docs.iml deleted file mode 100644 index c956989b29..0000000000 --- a/.idea/prisma-docs.iml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1ddfbb..0000000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/watcherTasks.xml b/.idea/watcherTasks.xml deleted file mode 100644 index 68af512451..0000000000 --- a/.idea/watcherTasks.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - \ No newline at end of file