update model slightly

This commit is contained in:
wisplite
2025-11-20 17:38:11 -06:00
parent 1fea638628
commit a78003b5a3
+1
View File
@@ -14,6 +14,7 @@ type Album struct {
Private bool `gorm:"not null"` Private bool `gorm:"not null"`
// Public albums have a default access level of 0 for all visitors, including guests. // Public albums have a default access level of 0 for all visitors, including guests.
// Private albums require a user with access to be logged in to view, or a magic link to be used. // Private albums require a user with access to be logged in to view, or a magic link to be used.
ParentID string `gorm:"not null"` // The ID of the parent album, if any. This is an empty string for root albums.
CreatedAt time.Time CreatedAt time.Time
UpdatedAt time.Time UpdatedAt time.Time
} }