Backend: Add Hidden column to PhotoAlbum

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-05-09 21:00:02 +02:00
parent 253fbc632b
commit 4beeebe5cc

View file

@ -9,6 +9,7 @@ type PhotoAlbum struct {
PhotoUUID string `gorm:"type:varbinary(36);primary_key;auto_increment:false"`
AlbumUUID string `gorm:"type:varbinary(36);primary_key;auto_increment:false;index"`
Order int
Hidden bool
CreatedAt time.Time
UpdatedAt time.Time
Photo *Photo