adding option primary_key so that you do not need an id field in the yaml file