Add Text model and supporting changes
- Add the
Textmodel which belongs to aPassageand to anEdition. This also changes what thePassagemodel is: thePassagemodel no longer belongs to a particularEdition. - Create and use the
Contributiontable as the many-to-many connection betweenEditionandEditor. This new table includesrankandcontribution_typewhich allows us to get the first editor, have a separate editor and translator, etc. - Create a
Validationtable and make eachTextbelong to a single validation, allowing each project to define their own validation system.
These changes are not final. I'd like to gather some feedback about these changes (I've left GitLab comments on the code) before merging.
Addresses https://framagit.org/anthologie-palatine/anthologyontology/-/issues/12 as well as some issues in https://framagit.org/anthologie-palatine/anthologyontology/-/issues/1
Edited by Sarah Rubio