Alexei Snisarenko
08/09/2021, 7:45 AMVladi Stevanovic
Alexei Snisarenko
08/12/2021, 10:20 AMRyan
08/12/2021, 12:03 PMSomeModel
for that you could perform an update in SomeAggregateModel
.
Another option is to use database triggers for the same. You can write a trigger in the Migration .sql
file. This will be persisted in the database and would automatically run based on the condition that you provide in the trigger 🙂Alexei Snisarenko
08/12/2021, 12:10 PMRyan
08/12/2021, 12:25 PMAlexei Snisarenko
08/12/2021, 12:27 PMRyan
08/12/2021, 12:27 PM