huy  
                
                  
                    April 27, 2020,  3:26am
                   
                  1 
               
             
            
              
Actually when we define a field as required we can’t seen directly in rendered diagrams theses fields.
details varchar(255) [not null]  by example will display a small * after field name or another hightlight information will be more clear and useful.
 
Requested from DBML github repo: Better identification of required(not null) fields · Issue #84 · holistics/dbml · GitHub 
             
            
              
            
                
                
           
          
            
            
              Hello everyone,dbdiagram.io  user, I would appreciate the diagram to tag a NOT NULL field like primary keys which display in a bold font. Idea: write “(NN)” alongside the field name or type?
             
            
              
            
                
           
          
            
            
              Update July 2023:  This feature has been developed and released. Please see below for the official announcement. Thank you.
  
  
    We’re thrilled to announce an important update that will change your diagramming game. Confused between primary keys and foreign keys? Worried about those sneaky table/field notes and non-null fields? Worry not, we’ve got your back with Iconic Empowerment and Enlightened Text Styling.