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

Improve Cassandra visualization #420

Merged
merged 1 commit into from Oct 23, 2019
Merged

Improve Cassandra visualization #420

merged 1 commit into from Oct 23, 2019

Conversation

EpicEric
Copy link
Contributor

  • Add isPartitionKey field for columns, with new icon for partition keys
  • Add Cassandra-specific hierarchy child name
  • Get number of columns per table in Cassandra
  • Fix column size when size field is undefined

Thank you for your contribution!
Before submitting this PR, please make sure:

  • Your code builds clean without any errors or warnings
  • You have made the needed changes to the docs
  • You have wrote a description of what is the purpose of this pull request above

@EpicEric
Copy link
Contributor Author

Here's a comparison of the visual changes (left = before, right = after):

improve-cql-diff

- Add isPartitionKey field for columns, with new icon for partition keys
- Add Cassandra-specific hierarchy child name
- Get number of columns per table in Cassandra
- Fix column size when `size` field is undefined
@@ -140,6 +140,7 @@ export namespace DatabaseInterface {
tableCatalog?: string;
defaultValue?: string;
isNullable: boolean;
isPartitionKey?: boolean;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thankfully you choose a better naming for those keys 🎊

I'll rename isPk and isFk to make it more readable.

@mtxr mtxr merged commit 4d23e31 into mtxr:master Oct 23, 2019
@EpicEric EpicEric deleted the improve-cql branch October 23, 2019 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants