Find database changes since ...

0
Hi, Is there a way to quickly find changes to a database (in all modules) to see if there are new entities since a given date? We need to know this to add delete of all objects from a company when a delete from that company is done. The problem now is that a developer can forget to add this entity to the removal microflow... Kind regards, Steven
asked
1 answers
1

Hi Steven, a way to handle this would be with your delete behaviour:

 

Company 1 - * Engagement 1 - * File

 

If you have set up your delete behaviour to delete engagements when company is deleted, and delete file when engagement is deleted. Then a delete on the company entity would cascade and delete all the associated objects as well (all engagements and all files)

 

https://docs.mendix.com/refguide/configuring-a-domain-model/#delete-behavior

 

Does this help?

answered