GORM ERROR: column is in a primary key (SQLSTATE 42P16)

Viewed 40

enter image description here

enter image description here

enter image description here

I want to show a list of dishes in the restaurant struct, but unable to do so. Sorry if this question has been asked before, but after searching a lot I was unable to find the solution

0 Answers
Related