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

Work type handling #4

Open
zazi opened this issue Oct 13, 2011 · 0 comments
Open

Work type handling #4

zazi opened this issue Oct 13, 2011 · 0 comments

Comments

@zazi
Copy link
Member

zazi commented Oct 13, 2011

Add a property to relate work types to mo:MusicalWork instances. Currently, MBZ differentiate between 17 work types which are:

musicbrainz_db=# SELECT * FROM musicbrainz.work_type;
 id |    name    
----+------------
  1 | Aria
  2 | Ballet
  3 | Cantata
  4 | Concerto
  5 | Sonata
  6 | Suite
  7 | Madrigal
  8 | Mass
  9 | Motet
 10 | Opera
 11 | Oratorio
 12 | Overture
 13 | Partita
 14 | Quartet
 15 | Song-cycle
 16 | Symphony
 17 | Song
(17 rows)

This probably requires the creation of a new class for work types, e.g., mo:WorkType.

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

No branches or pull requests

1 participant