Skip to content
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

Backwards Compatibility: Number of things missing #39

Closed
Lonzak opened this issue Feb 27, 2017 · 4 comments
Closed

Backwards Compatibility: Number of things missing #39

Lonzak opened this issue Feb 27, 2017 · 4 comments

Comments

@Lonzak
Copy link

Lonzak commented Feb 27, 2017

Really great that the work is now continuing on schemaspy!

I just generated the database report and saw that several things are missing:

  1. There is now a pagination mechanism and there is no way to be view everything on one page like in the 5.X. version. Or did I miss something? Certainly a question of taste however the 'everything on one page' really helped us for some overview matters and it would be nice to still have that option...

  2. Additionally the culmulated number of rows and columns are missing (cp. screenshot) Which is quite important to us. The number of colums I can see in the column tab however rows seems to be completely gone. This was originally my request because in the old version I got an overflow in the datatype since MAX_INTEGER range was probably crossed and I got a neg. value...

  3. Orphaned Tables (previously Utility Tables): Would it be possible to add an option to exclude the views and only show real tables? (like it is possible in some of the other tabs)

  4. Anomalies: I miss the "Columns that are flagged as both 'nullable' and 'must be unique'" option. Was it removed for a specifc reasion?

schemaspy

@rafalkasa
Copy link
Member

@Lonzak created by you issue according to point 3 - Exlude Views from Orphaned Tables will be fixed in issue #48

@rafalkasa rafalkasa modified the milestones: 6.0.0-rc2, 6.0.0-rc1 Apr 1, 2017
rafalkasa added a commit that referenced this issue Apr 1, 2017
Backwards Compatibility: Number of things missing #39
Orphan Tables #48
@Riggs333
Copy link
Collaborator

Riggs333 commented Apr 1, 2017

Regarding point 4 "missing anomaly - column nullable and must be unique":
This anomaly detection was removed from SchemaSpy before it was forked to this GitHub project.
But it was removed after the latest release of version 5.0.0. So it never went to "production".
So if you use version 5.0.0 you will still see the anomaly in the report.

See this commit on sourceforge:
https://sourceforge.net/p/schemaspy/code/662/
(Actually it was the very last commit dating back to the year 2014 :-) )

It turns out that the "anomaly" of nullable primary keys that must be unique is actually in the SQL standard and isn't an anomaly at all.

@rafalkasa
Copy link
Member

Hi @Lonzak

SchemaSpy project was improved and most of the missing backward things are available, including:

Fix 1. If you want to see everything on one page please use parameter -nopages
Fix 2. To the main page I added some useful simple statistic about the database/schema. You can see this simple statistic on Sample Output example
Fix 3. Orphan Tables with excluded views was fixed in issue #48
Fix 4. Please read @Riggs333 explanation above and you can go in the initial details here https://sourceforge.net/p/schemaspy/code/662/

Thank you for your contribution to the project and make SchemaSpy better solution !

@Lonzak
Copy link
Author

Lonzak commented Apr 13, 2017

Great work - thanks for your improvements!

@rafalkasa rafalkasa added enhancement and removed bug labels Sep 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants