Uodate person account model: no password and created as time
This commit is contained in:
parent
2e332b8f3e
commit
4318a7b66d
2 changed files with 10 additions and 12 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue