deferredBinding.newMasterInstance

Triggered in October\Rain\Database\Models\DeferredBinding.

Called after the model is initialized when deleting the slave record

Example usage:

$model->bindEvent('deferredBinding.newMasterInstance', function ((\Model) $model) {
    if ($model instanceof MyModel) {
        $model->some_attribute = true;
    }
});