-
Notifications
You must be signed in to change notification settings - Fork 106
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
Store database schema picture in repository #692
Comments
I followed the link and it looks like the picture is already there, can this be closed? |
The issue is that the image is not part of the repository, thus it isn't versioned. I looked at the official documentation and the picture is missing there :-(, because it couldn't find it in the path. I need to fix this. |
I wish there was an "Awesome Database Picture Generators". |
Implementations detailsThis just needs to remove |
Looks what I found - https://github.com/schemacrawler/SchemaCrawler |
Trying another tool - https://github.com/schemaspy/schemaspy
|
Using For Anitya, only connection parameters for
|
Trying newer version with my fix for help output.
|
Could you post the output, so we can see how it looks? |
@Zlopez went deep down the rabbit hole, no specific output for Anitya yet. I found that latest pages on RTD are missing the database diagram. That's because RTD executes |
I am trying to get the output for
TBC |
I don't know how to setup those users at the moment. Database schema picture is unlikely to be affected by access control setup. |
@abitrolly This is how the db is handled in ansible provisioning script https://github.com/release-monitoring/anitya/blob/master/ansible/roles/anitya-dev/tasks/db.yml |
@Zlopez yes, I looked into that. Still not enough time to get into PostgreSQL user configuration. |
Forgot to expose port in
( Can not get files from outside container. Because
|
I got it wrong.
|
SchemeSpy generates |
This looks really nice. Only the information about number of rows is irrelevant. |
Also some inferred relationships are wrong and tables without relationships are missing on this view. ) |
Good catch, I didn't noticed the missing tables. |
Database image was missing in the documentation, because it was not in the repository. This commit is fixing this. Fixes fedora-infra#692 Signed-off-by: Michal Konečný <[email protected]>
Database image was missing in the documentation, because it was not in the repository. This commit is fixing this. Fixes fedora-infra#692 Signed-off-by: Michal Konečný <[email protected]>
Database image was missing in the documentation, because it was not in the repository. This commit is fixing this. Fixes #692 Signed-off-by: Michal Konečný <[email protected]>
It is handy to have the picture https://release-monitoring.org/static/docs/database.html#database-schema versioned in
docs/
for historical purpose.The text was updated successfully, but these errors were encountered: