MSP-1756 remove last session in crud
This commit is contained in:
1 parent
4cad9cbbb4
commit
ef0028c091
5 files changed
+40
-35
No files matched your search
+2
-2
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user