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

Add new taxonomy system #1279

Merged
merged 55 commits into from
Jan 28, 2016
Merged

Add new taxonomy system #1279

merged 55 commits into from
Jan 28, 2016

Conversation

stopfstedt
Copy link
Member

refs #1257.

this adds the new vocabulary and term tables, as well as join tables to school, session, course and program_year.

this does not remove the legacy topic table and associated code from the system just yet, new and old taxonomy systems will exist in parallel.

data migration from topics to vocab/terms are out of scope as well and need to be addressed in a separate issue.

@stopfstedt
Copy link
Member Author

@saschaben please review ERD:

selection_086

@saschaben
Copy link
Member

looks good. please validate independently as well against https://ucsf.box.com/s/9yp0j1xait48n5gqlylvomxtbqextri7

@stopfstedt
Copy link
Member Author

per our conversation:

  • i expanded the uniqueness constraint on the terms table to include the parent term id.
  • i removed the hierarchical field from the vocabulary table.

* @JMS\ExclusionPolicy("all")
* @JMS\AccessType("public_method")
*/
class Vocabulary implements VocabularyInterface
Copy link
Member

Choose a reason for hiding this comment

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

Can't this be a CatagorizableEntity?

Copy link
Member Author

Choose a reason for hiding this comment

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

it totally can! good catch.

@jrjohnson
Copy link
Member

@stopfstedt couple of questions - none of them are breaking.

@jrjohnson jrjohnson assigned stopfstedt and unassigned jrjohnson Jan 28, 2016
@stopfstedt
Copy link
Member Author

@jrjohnson fixed all outstanding issues, please review/merge. thanks!

@stopfstedt stopfstedt assigned jrjohnson and unassigned stopfstedt Jan 28, 2016
jrjohnson added a commit that referenced this pull request Jan 28, 2016
@jrjohnson jrjohnson merged commit 53fb0d4 into ilios:master Jan 28, 2016
@stopfstedt stopfstedt deleted the 1257_vocabulary branch January 29, 2016 18:57
homu added a commit that referenced this pull request Mar 4, 2016
migrate topics to terms and vocabs, rm topics

refs #1257
follows #1279
fixes #1280
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants