Many laws require to retain some data(e.g. Germany requires to keep financial trxn data for 7 years). So when deleting the data for GDPR, there should be a way to know what can be deleted and what can not. It could be a flag in the db document or a separate collection/store to maintain this info mapping.
Many laws require to retain some data(e.g. Germany requires to keep financial trxn data for 7 years). So when deleting the data for GDPR, there should be a way to know what can be deleted and what can not. It could be a flag in the db document or a separate collection/store to maintain this info mapping.