It would be nice to support a flag in schema for relation properties that would make Serverbone remove the related models' data when the relating model is destroyed. Currently the model's implementation has to do the cleanup explicitly, which is contrary to the idea of schematically defined relations.
Ideas on a mnemonic name for the feature are welcome. This might be done as a general marker for a parent-child relation. In the SQL world the equivalent feature is typically implemented with ON DELETE CASCADE.
It would be nice to support a flag in schema for relation properties that would make Serverbone remove the related models' data when the relating model is destroyed. Currently the model's implementation has to do the cleanup explicitly, which is contrary to the idea of schematically defined relations.
Ideas on a mnemonic name for the feature are welcome. This might be done as a general marker for a parent-child relation. In the SQL world the equivalent feature is typically implemented with
ON DELETE CASCADE
.