diff --git a/models.go b/models.go index 4803c9b..97efea8 100644 --- a/models.go +++ b/models.go @@ -46,6 +46,6 @@ func (p *Product) ToMerge(o *Product) bool { // Shop represents a retailer website type Shop struct { - ID uint `gorm:"primaryKey;autoIncrement"` + ID uint `gorm:"primaryKey"` Name string `gorm:"unique" json:"name"` }