diff --git a/pkg/models/postReference.go b/pkg/models/postReference.go index df1267c..efaed73 100644 --- a/pkg/models/postReference.go +++ b/pkg/models/postReference.go @@ -3,7 +3,7 @@ package models type PostReference struct { PostID string `gorm:"primaryKey"` SourceID string `gorm:"primaryKey"` - URL string `gorm:"not null;unique"` + URL string `gorm:"primaryKey"` PostReferenceConfig }