Thanks for the quick answer. I use stuff like this in my models, but i want to set the column/flag "deleted" to 1 if I delete a dataset. With onDelete="CASCADE" the whole dataset is gone, but I want to keep it.