Closed f-odc closed 3 months ago
Idea for Transactions: Do not use entities of User and Groups for the transaction model. Just store the names as Strings. This will decouple the Transaction entity with the other entities. As a result we can delete Users and Groups without loosing the transactions.
I have decided for another way: We now only soft delete groups. This will not automatically deleted the related transactions and we can keep them even after a group deletion.
The table transactions should also get the OnDelete:CASCADE constraint.