Added cascade_delete = 0 for category table in the exercise Result class