refactor: improved table structure

This commit is contained in:
2025-06-15 10:48:31 +03:00
parent abeaabbae0
commit c6a6aa6b91
2 changed files with 21 additions and 20 deletions

View File

@@ -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 {