fix: model to be primaryKey
Signed-off-by: SoXX <soxx@fenpa.ws>
This commit is contained in:
parent
ad9124ef41
commit
53e1412772
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user