Composer information originally exists in the tags array for any given video. Despite describing this structure in the requirements document, the client application now wants to promote Composer as a stand-alone entity, to have many videos, while a video belongs to one composer.
A composer has one profile, which needs to become polymorphic to belong to a generic person which will be represented by either a User or Composer.
While making structural changes to the Profile model, new attributes should be added to allow links to the artist's website and wikipedia page, etc. A comprehensive list of additional profile attributes will be provided soon.
Composer information originally exists in the
tagsarray for any given video. Despite describing this structure in the requirements document, the client application now wants to promoteComposeras a stand-alone entity, to have manyvideos, while avideobelongs to onecomposer.A
composerhas oneprofile, which needs to become polymorphic to belong to a genericpersonwhich will be represented by either aUserorComposer.While making structural changes to the
Profilemodel, new attributes should be added to allow links to the artist's website and wikipedia page, etc. A comprehensive list of additional profile attributes will be provided soon.