aboutsummaryrefslogtreecommitdiff
path: root/pkg/database/sql/migration.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/database/sql/migration.go')
-rw-r--r--pkg/database/sql/migration.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/database/sql/migration.go b/pkg/database/sql/migration.go
index 019eb91..076bf69 100644
--- a/pkg/database/sql/migration.go
+++ b/pkg/database/sql/migration.go
@@ -8,6 +8,7 @@ func Migrate(db *gorm.DB) error {
&Settings{},
&Media{},
&MediaEXIF{},
+ &MediaThumbnail{},
} {
if err := db.AutoMigrate(m); err != nil {
return err