changed the category to ManyToOne relation and define join column to categori_id to id in cateogry table
changed the category to ManyToOne relation and define join column to categori_id to id in cateogry table

dprabin/simple-symfony-cms