Uodate person account model: no password and created as time

This commit is contained in:
William Bouzourène 2026-04-17 16:28:57 +02:00
parent 2e332b8f3e
commit 4318a7b66d
Signed by: bouzoure
GPG key ID: 423440D735B56BE2
2 changed files with 10 additions and 12 deletions

View file

@ -26,14 +26,12 @@ type Person struct {
type PersonAccount struct {
gorm.Model
PersonID uint
Person Person
UUID uuid.UUID `gorm:"unique"`
Enabled bool
Groups string
InitialPassword string
InvitationSent sql.NullTime
AccountReady bool
AccountCreated bool
UpdateNeeded bool
PersonID uint
Person Person
UUID uuid.UUID `gorm:"unique"`
Enabled bool
Groups string
AccountCreated sql.NullTime
InvitationSent sql.NullTime
UpdateNeeded bool
}