We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
You can include comments on tables and columns in Prisma schema files.
Is it possible to add an option to output comments starting with “///” to the ER diagram? Or do you plan to support it?
https://www.prisma.io/docs/orm/prisma-schema/overview#comments
// comment : This comment is for the reader's clarity and is not present in the abstract syntax tree (AST) of the schema. /// comment : These comments will show up in the abstract syntax tree (AST) of the schema as descriptions to AST nodes.
// comment
/// comment
The assumed tables and output ER diagrams are as follows.
schema.prisma
model Article { /// Primary key id String @id /// Page title title String /// Page content body String }
erDiagram "Article" { String id PK "Primary key" String title "Page title" String body "Page content" }
Thank you for the wonderful package.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
You can include comments on tables and columns in Prisma schema files.
Is it possible to add an option to output comments starting with “///” to the ER diagram?
Or do you plan to support it?
https://www.prisma.io/docs/orm/prisma-schema/overview#comments
The assumed tables and output ER diagrams are as follows.
Base
schema.prisma
Output mermaid
Thank you for the wonderful package.
The text was updated successfully, but these errors were encountered: