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

Eventum MySQL Database Table Relation diagrams #338

Open
tugrulcan opened this issue Jan 8, 2018 · 3 comments
Open

Eventum MySQL Database Table Relation diagrams #338

tugrulcan opened this issue Jan 8, 2018 · 3 comments
Labels

Comments

@tugrulcan
Copy link

tugrulcan commented Jan 8, 2018

Hi,
Is there any wiki pages about table relations of default database scheme?

@glensc
Copy link
Member

glensc commented Jan 8, 2018

not that i know, but should be possible to create with mysql workbench. altho there are currently no external keys defined, so it would be just standalone tables...

@glensc glensc added the question label Jan 8, 2018
@glensc
Copy link
Member

glensc commented Jan 9, 2018

but eventum table schema has following convention:

  • each field in table is prefixed with three letter abbreviation of the table
  • each external reference prefixes the external table abbreviation

so therefore:

  • issue.iss_id - primary key
  • issue_history.his_id - primary key
  • issue_history.his_iss_id - relates to issue.iss_id

@tugrulcan
Copy link
Author

tugrulcan commented Jan 10, 2018

Thanks for answer!

How can I retrieve the value for a customized field of an issue?
e.g. Lets say "Severity" is a customized field and can be set between 2 different values. Which tables and keys should I use for inner join to get Severity value of issue (ID=1)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants