mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 21:09:05 +00:00
Proof of concept for variable album covers - GQL playground working.
This commit is contained in:
@@ -17,7 +17,7 @@ type Album struct {
|
||||
Owners []User `gorm:"many2many:user_albums;constraint:OnDelete:CASCADE;"`
|
||||
Path string `gorm:"not null"`
|
||||
PathHash string `gorm:"unique"`
|
||||
CoverID int `gorm:"index;default:-1;"`
|
||||
CoverID int `gorm:"index;default:-1;"`
|
||||
}
|
||||
|
||||
func (a *Album) FilePath() string {
|
||||
|
||||
Reference in New Issue
Block a user