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
I noticed that id columns are displayed as if it's nullable when deployed to dbdocs.
For example, this prisma schema produces such dbml modeling which lucks not null annotation for user_id column.
not null
user_id
Input: schema.prisma
model User { user_id Int @id name String }
Output: schema.dbml
Table User { user_id Int [pk] name String [not null] }
I thought it's bit confusing, but is that somehow a designed behavior?
prisma-dbml-generator/src/generator/table.ts
Lines 114 to 116 in 955d62a
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I noticed that id columns are displayed as if it's nullable when deployed to dbdocs.
For example, this prisma schema produces such dbml modeling which lucks
not null
annotation foruser_id
column.Input: schema.prisma
Output: schema.dbml
I thought it's bit confusing, but is that somehow a designed behavior?
prisma-dbml-generator/src/generator/table.ts
Lines 114 to 116 in 955d62a
The text was updated successfully, but these errors were encountered: