ParentFull threadnine_k·An ON UPDATE trigger for the is_deleted column would do.Some databases also support INSTEAD OF triggers.View on HN