From 07d1a74be843f923e7830b81c6b420c015af251d Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Tue, 25 May 2021 11:39:22 +0200 Subject: [PATCH] People: Add PhotoPeople property to Photo struct #22 --- internal/entity/photo.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/entity/photo.go b/internal/entity/photo.go index ed449270b..bf93e3514 100644 --- a/internal/entity/photo.go +++ b/internal/entity/photo.go @@ -74,6 +74,7 @@ type Photo struct { PhotoYear int `gorm:"index:idx_photos_country_year_month;" json:"Year" yaml:"Year"` PhotoMonth int `gorm:"index:idx_photos_country_year_month;" json:"Month" yaml:"Month"` PhotoDay int `json:"Day" yaml:"Day"` + PhotoPeople int `json:"People,omitempty" yaml:"People,omitempty"` PhotoIso int `json:"Iso" yaml:"ISO,omitempty"` PhotoExposure string `gorm:"type:VARBINARY(64);" json:"Exposure" yaml:"Exposure,omitempty"` PhotoFNumber float32 `gorm:"type:FLOAT;" json:"FNumber" yaml:"FNumber,omitempty"`