adding on delete cascade when creating nested tables