This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
otter-space-sdk/pkg/models/pgModels/postReference.go

16 lines
343 B
Go
Raw Normal View History

package pgModels
type PostReference struct {
PostID string `gorm:"primaryKey"`
SourceID string `gorm:"primaryKey"`
URL string `gorm:"not null;unique"`
SourcePostID string
FullFileURL string
PreviewFileURL string
SampleFileURL string
}
func (PostReference) TableName() string {
return "PostReference"
}