refactor: improved table structure
This commit is contained in:
@@ -19,13 +19,14 @@ type ConfirmationCode struct {
|
||||
}
|
||||
|
||||
type LoginInformation struct {
|
||||
ID int64
|
||||
UserID int64
|
||||
Email pgtype.Text
|
||||
PasswordHash string
|
||||
TotpEncrypted pgtype.Text
|
||||
Email2faEnabled pgtype.Bool
|
||||
PasswordChangeTime pgtype.Timestamp
|
||||
ID int64
|
||||
UserID int64
|
||||
Email pgtype.Text
|
||||
PasswordHash string
|
||||
TotpEncrypted pgtype.Text
|
||||
Email2faEnabled pgtype.Bool
|
||||
PasswordChangeDate pgtype.Timestamp
|
||||
PasswordTimesChanged pgtype.Int4
|
||||
}
|
||||
|
||||
type Profile struct {
|
||||
|
||||
Reference in New Issue
Block a user