adding cascading delete, requires migration to revision 918a61d2fe6, fixes #297