Backend: Don't backup albums to photo yaml (just yet)

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-05-19 09:44:49 +02:00
parent 035938938d
commit 7777fa95a5

View file

@ -58,7 +58,7 @@ type Photo struct {
Place *Place `json:"-" yaml:"-"`
Links []Link `gorm:"foreignkey:ShareUUID;association_foreignkey:PhotoUUID" yaml:"-"`
Keywords []Keyword `json:"-" yaml:"-"`
Albums []Album `json:"-" yaml:"Albums,omitempty"`
Albums []Album `json:"-" yaml:"-"`
Files []File `yaml:"-"`
Labels []PhotoLabel `yaml:"-"`
CreatedAt time.Time `yaml:"Created"`