Add Db schema
This PR introduces the database schema as a visual diagram and a DBML file.
Changes
- Added
schema.pngtosrc/resources/.data/. - Added
schema.dbmltosrc/resources/.data/. - Updated
README.mdto include the database schema image.
Validation Results
✅ Good to go as long as status checks pass
commit 98151abd37b6e973e1aa7e76fb9ba73d2e59db85
I really like this idea! Though I would much prefer that we programmatically generate it, rather than have to try to keep it consistent.
Is there a library that will convert json schema to dbml, which we can add as a build step to the package.json?
It makes sense to automate the process, but unfortunately, DBML is designed for SQL and doesn't have a JSON parser. I'm not sure if there is a visualizer available that can work with a JSON file
I'm just concerned that anything that's not programmatically generated will get out of date and will be a burden to keep up-to-date.
How about using something like this instead? https://www.npmjs.com/package/@adobe/jsonschema2md