small updates, for some reason it thinks every file is modified

This commit is contained in:
2026-02-19 04:21:31 -06:00
parent 1b394a57a9
commit e829f6b405
32 changed files with 6142 additions and 6115 deletions
+20 -20
View File
@@ -1,20 +1,20 @@
package models
import (
"time"
"gorm.io/datatypes"
)
type Media struct {
ID string `gorm:"primaryKey"`
Title string `gorm:"not null"`
Description string `gorm:"not null"`
Tags datatypes.JSON `gorm:"type:json"`
AlbumID string `gorm:"not null"`
Path string `gorm:"not null"`
Type string `gorm:"not null"` // MIME type
Metadata datatypes.JSON `gorm:"type:json"` // Metadata about the media.
CreatedAt time.Time
UpdatedAt time.Time
}
package models
import (
"time"
"gorm.io/datatypes"
)
type Media struct {
ID string `gorm:"primaryKey"`
Title string `gorm:"not null"`
Description string `gorm:"not null"`
Tags datatypes.JSON `gorm:"type:json"`
AlbumID string `gorm:"not null"`
Path string `gorm:"not null"`
Type string `gorm:"not null"` // MIME type
Metadata datatypes.JSON `gorm:"type:json"` // Metadata about the media.
CreatedAt time.Time
UpdatedAt time.Time
}