-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
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
[documentation] database schema #624
Comments
Hi @jaimeventura, thanks for making this issue! Sorry for not getting to this for a couple weeks; too many GitHub notifications 😅
I absolutely agree that there should be some more documentation around the table schemas, and the hope is that once we've migrated all of the db access methods to the individual services, it will be self-documenting in a sense (usage of the tables will be very clear, and isolated to services which describe them in the README at a high-level). This, in combination with JSDoc comments, ought to satisfy documentation desires! We've historically used TypeDoc for generating documentation straight from the Typescript codebase (it pulls in JSDoc comments for additional context and all that jazz), however that's in a bit of a messy state (at least last I checked, I'll poke around again tonight) due to TypeDoc undergoing extremely breaking changes a couple versions ago (changes which, unfortunately, completely bork our monorepo-wide documentation generation), and the legacy version of TypeDoc doesn't support newer versions of Typescript so it's unusable for this project. What I imagine you're most interested in, is the schemas which directly relate to the Agency, Policy, and Geography APIs.
While we work on this long lived tech debt cleanup, are there any entities you have specific questions about I could help answer? |
Some more follow-up on this, I'm investigating getting TypeDoc working again in this project! Seems like support for monorepos was recently added, which is fantastic, however there are some performance issues we're running into given the size of this project. See TypeStrong/typedoc#1606 for details :) |
Hey @avatarneil
Knowing about the spec and looking at the database, i can make educated guesses about this. Still, having a formal document would be nice. Thanks, |
@avatarneil, sorry i mistakenly closed the issue. |
Hello.
Im looking at file https://github.com/lacuna-tech/mds-core/blob/develop/packages/mds-db/schema.ts, for analysing the database schema.
But, is there any documentation about it?
I can do some educated guesses about it. Still it would be great to have de detailed explanation of each table and column.
Thanks.
The text was updated successfully, but these errors were encountered: