We should implement referential action when related field is updated and deleted. See https://www.prisma.io/docs/concepts/components/prisma-schema/relations/referential-actions.