Motivation
It would be great if it was possible to to visualize NOT NULL constraints.
Solution
Unfortunately, Mermaid does not support special characters (such as asterisks) in the name column.
Instead the comment column could be used (as suggested here).
To toggle this, notNull could be added to the showDescription flag e.g.
Motivation It would be great if it was possible to to visualize
NOT NULL
constraints.Solution Unfortunately, Mermaid does not support special characters (such as asterisks) in the name column. Instead the comment column could be used (as suggested here).
To toggle this,
notNull
could be added to theshowDescription
flag e.g.I am happy to make a PR for this.
All feedback is welcome :)