Skip to content

Commit e86b661

Browse files
committed
fix next batch of docs redirect destinations
1 parent 9f17ba1 commit e86b661

6 files changed

Lines changed: 84 additions & 11 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: Dev environment
3+
description: Set up your local Prisma ORM development environment, including editor tooling and environment variables.
4+
url: /orm/more/dev-environment
5+
metaTitle: Prisma ORM development environment
6+
metaDescription: Learn how to set up your Prisma ORM development environment, editor tooling, and environment variables.
7+
---
8+
9+
These guides cover the local development environment around Prisma ORM: editor setup, configuration ergonomics, and environment variable management.
10+
11+
## Start here
12+
13+
- [Environment variables](/orm/more/dev-environment/environment-variables)
14+
- [Editor setup](/orm/more/dev-environment/editor-setup)
15+
16+
## Related pages
17+
18+
- [Prisma schema overview](/orm/prisma-schema/overview)
19+
- [Prisma CLI](/cli)
20+
- [Prisma Config reference](/orm/reference/prisma-config-reference)
21+
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"title": "Dev environment",
3-
"pages": ["environment-variables", "editor-setup"]
3+
"pages": ["index", "environment-variables", "editor-setup"]
44
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: Database
3+
description: Overview of Prisma Postgres database operations, connections, pooling, backups, and query analysis.
4+
url: /postgres/database
5+
metaTitle: Prisma Postgres database guides
6+
metaDescription: Explore Prisma Postgres database guides for connections, pooling, query insights, backups, and local development.
7+
---
8+
9+
This section covers the operational side of Prisma Postgres: how to connect, how pooling works, how to inspect query behavior, and how to manage your database in development and production.
10+
11+
## Start here
12+
13+
- [Connecting to your database](/postgres/database/connecting-to-your-database)
14+
- [Connection pooling](/postgres/database/connection-pooling)
15+
- [Query Insights](/postgres/database/query-insights)
16+
17+
## Operations and maintenance
18+
19+
- [Backups](/postgres/database/backups)
20+
- [PostgreSQL extensions](/postgres/database/postgres-extensions)
21+
- [Serverless driver](/postgres/database/serverless-driver)
22+
- [Local development](/postgres/database/local-development)
23+
24+
## Related pages
25+
26+
- [Prisma Postgres overview](/postgres)
27+
- [Troubleshooting](/postgres/troubleshooting)
28+
- [FAQ](/postgres/faq)
29+

apps/docs/content/docs/postgres/database/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"title": "Database",
33
"pages": [
4+
"index",
45
"connecting-to-your-database",
56
"connection-pooling",
67
"query-insights",
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Import from existing database
3+
description: Choose the right path to import data from PostgreSQL or MySQL into Prisma Postgres.
4+
url: /postgres/import-from-existing-database
5+
metaTitle: Import from existing database into Prisma Postgres
6+
metaDescription: Choose the right import guide for moving an existing PostgreSQL or MySQL database into Prisma Postgres.
7+
---
8+
9+
Use this page to choose the right import path for moving an existing database into Prisma Postgres.
10+
11+
## Choose your source database
12+
13+
- [Import from PostgreSQL](/prisma-postgres/import-from-existing-database-postgresql)
14+
- [Import from MySQL](/prisma-postgres/import-from-existing-database-mysql)
15+
16+
## Before you start
17+
18+
- Create a Prisma Postgres database first.
19+
- Gather the connection details for your existing database.
20+
- Use a [direct connection](/postgres/database/connecting-to-your-database) when importing data into Prisma Postgres.
21+
22+
## Related pages
23+
24+
- [Connecting to your database](/postgres/database/connecting-to-your-database)
25+
- [Prisma Postgres overview](/postgres)
26+
- [Create a database with `create-db`](/postgres/npx-create-db)
27+

apps/docs/vercel.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@
11611161
{ "source": "/docs/orm/tools/prisma-cli", "destination": "/docs/cli", "permanent": true },
11621162
{
11631163
"source": "/docs/platform/platform-cli",
1164-
"destination": "/docs/cli/console/platform",
1164+
"destination": "/docs/cli/console",
11651165
"permanent": true
11661166
},
11671167
{
@@ -1227,7 +1227,7 @@
12271227
},
12281228
{
12291229
"source": "/docs/platform/platform-cli/commands",
1230-
"destination": "/docs/cli/console/platform",
1230+
"destination": "/docs/cli/console",
12311231
"permanent": true
12321232
},
12331233
{
@@ -1261,11 +1261,6 @@
12611261
"destination": "/docs/postgres/error-reference",
12621262
"permanent": true
12631263
},
1264-
{
1265-
"source": "/docs/postgres/database",
1266-
"destination": "/docs/postgres/database/caching",
1267-
"permanent": true
1268-
},
12691264
{ "source": "/docs/showcase", "destination": "/docs", "permanent": true },
12701265
{
12711266
"source": "/docs/getting-started/quickstart-prismaPostgres",
@@ -1662,12 +1657,12 @@
16621657
},
16631658
{
16641659
"source": "/docs/guides/upgrade-from-prisma-1/should-you-upgrade",
1665-
"destination": "/docs/guides/upgrade-from-prisma-1/how-to-upgrade",
1660+
"destination": "/docs/guides/upgrade-prisma-orm/v1",
16661661
"permanent": true
16671662
},
16681663
{
16691664
"source": "/docs/reference/tools-and-interfaces/prisma-schema/models",
1670-
"destination": "/docs/reference/tools-and-interfaces/prisma-schema/data-model",
1665+
"destination": "/docs/orm/prisma-schema/data-model/models",
16711666
"permanent": true
16721667
},
16731668
{
@@ -1732,7 +1727,7 @@
17321727
},
17331728
{
17341729
"source": "/docs/reference/tools-and-interfaces/prisma-schema/prisma-schema-file",
1735-
"destination": "/docs/reference/tools-and-interfaces/prisma-schema",
1730+
"destination": "/docs/orm/prisma-schema/overview",
17361731
"permanent": true
17371732
},
17381733
{

0 commit comments

Comments
 (0)