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: introspection warnings #4777

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

docs: introspection warnings #4777

wants to merge 1 commit into from

Conversation

ruheni
Copy link
Contributor

@ruheni ruheni commented May 16, 2023

Document introspection warnings

@vercel
Copy link

vercel bot commented May 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2023 8:12pm

@github-actions
Copy link
Contributor

This PR changes the following pages (Vercel Preview Deploy links):

Changed Vercel links

(Note that links will only be valid after Vercel preview deploy succeeded)

@github-actions
Copy link
Contributor

This PR probably requires the following redirects to be added to vercel.json:

  {
    "source": "/docs/concepts/components/introspection",
    "destination": "/docs/concepts/components/introspection"
  },

Comment on lines +66 to +84
### Unsupported database features Prisma doesn't support

- types in a model
- types in a view
- types in a type
- Inherited tables
- Partitioned tables
- Non-default index null sort order
- Row-level-security tables
- Check constraints
- Non default unique deferring
- Objects with comments
- model fields with an empty type
- type fields with an empty type
- Unknown types in a model field
- Unknown types in a composite type field
- Undecided types in a model
- Undecided types in a type
- A defined JSON schema
Copy link
Member

Choose a reason for hiding this comment

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

There probably get their own page, so I would skip these for now.

### Missing identifier

- Model without a column
- Model missing a unique or id constraint
Copy link
Member

Choose a reason for hiding this comment

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

This is probably the most common one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants