馃嵃 Refactor Database for Reporting with specific information
Created by: Tirokk
Authored by Tirokk Merged
馃嵃 Pullrequest
Refactor database structure from (resource)<-[:REPORTED]-(report)<-[:REPORTED]-(submitter:User)
to simpler (resource)<-[:REPORTED]-(submitter:User)
structure.
Issues
- relates #1707 (closed)
- relates #1708 (closed)
- and relative to PR #1797
Todo
-
Cypher commands to convert the data of the database to this new structure. See file deployment/legacy-migration/maintenance-worker/migration/neo4j/dbManipulations/20191011_changeReportNodeToRelationOnly.cql
Additional Informations
- Accidentally included a frontend change for adding the created at to the moderators report list to this PR.
- Removed the limit of the report list length. So we have to add pagination in the future. (talked about that with @datenbrei )