MSP-1756 remove last session in crud

This commit is contained in:
riabovvo committed 2023-05-23 20:36:29 +03:00
1 parent 4cad9cbbb4
commit ef0028c091
5 files changed
+40 -35

No files matched your search

+2 -2
View File
@@ -11,7 +11,7 @@ type User struct {
Email string
Password string
Blocked bool
LastSessionCreatedAt time.Time
LastSessionCreatedAt *time.Time
UpdatedAt time.Time
CreatedAt time.Time
}
@@ -30,5 +30,5 @@ type UpdateUser struct {
LastName string
Email string
Description string
LastSessionCreatedAt time.Time
LastSessionCreatedAt *time.Time
}