DemocracyOS / core

1 stars 1 forks source link

Add Tags for documents #49

Closed guillecro closed 6 years ago

guillecro commented 6 years ago

The documents should have a tags field, which should be an array of ObjectIds of the model "Tags". This means that there will be a new Model, called Tags, with that, a new collection, and somehow there has to be a defined list of available Tags. This will be a job for the territorial team.

  1. Update the document model to have an array of tags, referenced to many "Tag"(s)
  2. Create the "Tag" model