aboutsummaryrefslogtreecommitdiff
path: root/pkg/database
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/database')
-rw-r--r--pkg/database/sql/media.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/database/sql/media.go b/pkg/database/sql/media.go
index 4b48608..b13e267 100644
--- a/pkg/database/sql/media.go
+++ b/pkg/database/sql/media.go
@@ -43,8 +43,8 @@ type (
MediaThumbnail struct {
gorm.Model
- Path string `gorm:"not null;unique"`
- MediaID uint `gorm:"not null"`
+ Path string
+ MediaID uint `gorm:"not null"`
Media Media
}