Closed maticzav closed 6 years ago
@hoodsy should we delete classrooms if teachers decide to leave Homeroom?
What about messages
? I would say it depends on functionality that we want to have. Not sure how GDPR covers this though...
I'm always hesitant with deletes
– I'd rather archive everything. No clue about GDPR
That way if they come back, they don't skip a beat
Agree! Maybe we should add archieved
field to every node or something similar and filter things out internally; I think we could still CASCADE
deletes on Prisma in case we decide to delete some objects manually not to trash our database.
We will instead enforce internal deletes as a field property. We should still cascade deletes on Prisma, though, as to keep the database clean in an occurrence of manual data deletion.