It is handy to manually generate the diagram from times to times using the previously created command: npm run db:diagram:generate. Though, getting the diagram to update itself on its own automatically without a developer interaction would ensure that it the diagram is never obsolete. There are several ways of doing this.You could use a pre-commit git hook or even better simply configure your CI/CD pipeline(s) to run the npm script whenever something gets merged into the main branch 🙂
 3 Matching Annotations
        
        - Nov 2022
- 
            
raphael-leger.medium.com raphael-leger.medium.com
- 
  
- Sep 2022
- 
            
github.com github.com- 
  To keep it regular, I'd like to avoid hand-edits to the schema as much as possible 
 
- 
  
- Nov 2020
- 
            
material-components.github.io material-components.github.io