A primary key must be defined in the model in order to perform the operation