Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs for multi-file Prisma schema and clean up #6059

Merged
merged 18 commits into from
Jun 4, 2024

Conversation

jharrell
Copy link
Member

@jharrell jharrell commented Jun 3, 2024

No description provided.

@jharrell jharrell requested review from janpio and mhessdev June 3, 2024 16:58
@jharrell jharrell self-assigned this Jun 3, 2024
Copy link
Contributor

github-actions bot commented Jun 3, 2024

Absolute URL check

No absolute URLs to prisma.io/docs found.

Copy link
Contributor

github-actions bot commented Jun 3, 2024

Redirect check

This PR probably requires the following redirects to be added to static/_redirects:

/orm/prisma-schema/prisma-schema/relations-intro.png /docs/##( TODO: Path of page that replaces deleted page )##
/orm/prisma-schema/prisma-schema/sample-database.png /docsstatic/img/orm/sample-database.png

Copy link
Contributor

github-actions bot commented Jun 3, 2024

original preview
content/200-orm/100-prisma-schema/10-overview/04-location.mdx content/200-orm/100-prisma-schema/10-overview/04-location.mdx
content/100-getting-started/01-quickstart.mdx content/100-getting-started/01-quickstart.mdx
content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-node-mysql.mdx content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-node-mysql.mdx
content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-node-planetscale.mdx content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-node-planetscale.mdx
content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-node-postgresql.mdx content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-node-postgresql.mdx
content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-node-sqlserver.mdx content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-node-sqlserver.mdx
content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-typescript-cockroachdb.mdx content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-typescript-cockroachdb.mdx
content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-typescript-mysql.mdx content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-typescript-mysql.mdx
content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-typescript-planetscale.mdx content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-typescript-planetscale.mdx
content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-typescript-postgresql.mdx content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-typescript-postgresql.mdx
content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-typescript-sqlserver.mdx content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-typescript-sqlserver.mdx
content/100-getting-started/02-setup-prisma/100-start-from-scratch/120-mongodb-node-mongodb.mdx content/100-getting-started/02-setup-prisma/100-start-from-scratch/120-mongodb-node-mongodb.mdx
content/100-getting-started/02-setup-prisma/100-start-from-scratch/120-mongodb-typescript-mongodb.mdx content/100-getting-started/02-setup-prisma/100-start-from-scratch/120-mongodb-typescript-mongodb.mdx
content/100-getting-started/02-setup-prisma/100-start-from-scratch/120-mongodb/200-install-prisma-client-node-mongodb.mdx content/100-getting-started/02-setup-prisma/100-start-from-scratch/120-mongodb/200-install-prisma-client-node-mongodb.mdx
content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-node-cockroachdb.mdx content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-node-cockroachdb.mdx
content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-node-mysql.mdx content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-node-mysql.mdx
content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-node-planetscale.mdx content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-node-planetscale.mdx
content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-node-postgresql.mdx content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-node-postgresql.mdx
content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-node-sqlserver.mdx content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-node-sqlserver.mdx
content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-typescript-cockroachdb.mdx content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-typescript-cockroachdb.mdx
content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-typescript-mysql.mdx content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-typescript-mysql.mdx
content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-typescript-planetscale.mdx content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-typescript-planetscale.mdx
content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-typescript-postgresql.mdx content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-typescript-postgresql.mdx
content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-typescript-sqlserver.mdx content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/150-introspection-typescript-sqlserver.mdx
content/200-orm/050-overview/100-introduction/100-what-is-prisma.mdx content/200-orm/050-overview/100-introduction/100-what-is-prisma.mdx
content/200-orm/050-overview/300-prisma-in-your-stack/04-is-prisma-an-orm.mdx content/200-orm/050-overview/300-prisma-in-your-stack/04-is-prisma-an-orm.mdx
content/200-orm/050-overview/500-databases/300-postgresql.mdx content/200-orm/050-overview/500-databases/300-postgresql.mdx
content/200-orm/050-overview/500-databases/400-mysql.mdx content/200-orm/050-overview/500-databases/400-mysql.mdx
content/200-orm/050-overview/500-databases/500-sqlite.mdx content/200-orm/050-overview/500-databases/500-sqlite.mdx
content/200-orm/050-overview/500-databases/600-mongodb.mdx content/200-orm/050-overview/500-databases/600-mongodb.mdx
content/200-orm/050-overview/500-databases/800-sql-server/index.mdx content/200-orm/050-overview/500-databases/800-sql-server/index.mdx
content/200-orm/050-overview/500-databases/840-cockroachdb.mdx content/200-orm/050-overview/500-databases/840-cockroachdb.mdx
content/200-orm/100-prisma-schema/10-overview/03-generators.mdx content/200-orm/100-prisma-schema/10-overview/03-generators.mdx
content/200-orm/100-prisma-schema/10-overview/index.mdx content/200-orm/100-prisma-schema/10-overview/index.mdx
content/200-orm/100-prisma-schema/20-data-model/10-models.mdx content/200-orm/100-prisma-schema/20-data-model/10-models.mdx
content/200-orm/100-prisma-schema/20-data-model/20-relations/400-self-relations.mdx content/200-orm/100-prisma-schema/20-data-model/20-relations/400-self-relations.mdx
content/200-orm/100-prisma-schema/20-data-model/20-relations/index.mdx content/200-orm/100-prisma-schema/20-data-model/20-relations/index.mdx
content/200-orm/100-prisma-schema/20-data-model/40-views.mdx content/200-orm/100-prisma-schema/20-data-model/40-views.mdx
content/200-orm/100-prisma-schema/20-data-model/60-multi-schema.mdx content/200-orm/100-prisma-schema/20-data-model/60-multi-schema.mdx
content/200-orm/100-prisma-schema/50-introspection.mdx content/200-orm/100-prisma-schema/50-introspection.mdx
content/200-orm/100-prisma-schema/80-postgresql-extensions.mdx content/200-orm/100-prisma-schema/80-postgresql-extensions.mdx
content/200-orm/200-prisma-client/100-queries/055-pagination.mdx content/200-orm/200-prisma-client/100-queries/055-pagination.mdx
content/200-orm/200-prisma-client/200-special-fields-and-types/080-null-and-undefined.mdx content/200-orm/200-prisma-client/200-special-fields-and-types/080-null-and-undefined.mdx
content/200-orm/200-prisma-client/500-deployment/201-serverless/400-deploy-to-aws-lambda.mdx content/200-orm/200-prisma-client/500-deployment/201-serverless/400-deploy-to-aws-lambda.mdx
content/200-orm/300-prisma-migrate/200-understanding-prisma-migrate/070-migration-histories.mdx content/200-orm/300-prisma-migrate/200-understanding-prisma-migrate/070-migration-histories.mdx
content/200-orm/300-prisma-migrate/300-workflows/100-team-development.mdx content/200-orm/300-prisma-migrate/300-workflows/100-team-development.mdx
content/200-orm/300-prisma-migrate/300-workflows/120-native-database-functions.mdx content/200-orm/300-prisma-migrate/300-workflows/120-native-database-functions.mdx
content/200-orm/500-reference/050-prisma-client-reference.mdx content/200-orm/500-reference/050-prisma-client-reference.mdx
content/200-orm/500-reference/200-prisma-cli-reference.mdx content/200-orm/500-reference/200-prisma-cli-reference.mdx
content/200-orm/500-reference/500-preview-features/050-client-preview-features.mdx content/200-orm/500-reference/500-preview-features/050-client-preview-features.mdx
content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/600-upgrading-to-prisma-5/index.mdx content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/600-upgrading-to-prisma-5/index.mdx
content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/700-upgrading-to-prisma-4.mdx content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/700-upgrading-to-prisma-4.mdx
content/200-orm/800-more/300-upgrade-guides/800-upgrade-from-prisma-1/03-upgrading-the-prisma-layer-mysql.mdx content/200-orm/800-more/300-upgrade-guides/800-upgrade-from-prisma-1/03-upgrading-the-prisma-layer-mysql.mdx
content/200-orm/800-more/300-upgrade-guides/800-upgrade-from-prisma-1/03-upgrading-the-prisma-layer-postgresql.mdx content/200-orm/800-more/300-upgrade-guides/800-upgrade-from-prisma-1/03-upgrading-the-prisma-layer-postgresql.mdx
content/200-orm/800-more/300-upgrade-guides/800-upgrade-from-prisma-1/05-upgrading-prisma-binding-to-nexus.mdx content/200-orm/800-more/300-upgrade-guides/800-upgrade-from-prisma-1/05-upgrading-prisma-binding-to-nexus.mdx
content/200-orm/800-more/450-migrating-to-prisma/01-migrate-from-typeorm.mdx content/200-orm/800-more/450-migrating-to-prisma/01-migrate-from-typeorm.mdx
content/200-orm/800-more/450-migrating-to-prisma/02-migrate-from-sequelize.mdx content/200-orm/800-more/450-migrating-to-prisma/02-migrate-from-sequelize.mdx
content/200-orm/800-more/450-migrating-to-prisma/03-migrate-from-mongoose.mdx content/200-orm/800-more/450-migrating-to-prisma/03-migrate-from-mongoose.mdx
content/200-orm/800-more/450-migrating-to-prisma/04-migrate-from-drizzle.mdx content/200-orm/800-more/450-migrating-to-prisma/04-migrate-from-drizzle.mdx
content/200-orm/800-more/500-development-environment/050-environment-variables/040-env-files.mdx content/200-orm/800-more/500-development-environment/050-environment-variables/040-env-files.mdx

Copy link

cloudflare-workers-and-pages bot commented Jun 3, 2024

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: e19297d
Status: ✅  Deploy successful!
Preview URL: https://3bd52198.docs-51g.pages.dev
Branch Preview URL: https://feat-prismaschemafolder-docs.docs-51g.pages.dev

View logs

Copy link
Contributor

@janpio janpio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch with generally removing "file" from Prisma schema file 👍

@jharrell jharrell marked this pull request as ready for review June 4, 2024 02:49
@jharrell jharrell requested review from janpio and mhessdev June 4, 2024 12:22
@jharrell jharrell merged commit 4dd0313 into main Jun 4, 2024
8 of 11 checks passed
@jharrell jharrell deleted the feat/prismaschemafolder-docs branch June 4, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants