|
@@ -55,6 +55,10 @@ async function syncSessionWithIdToken(token){
|
|
|
SET
|
|
|
"username" = excluded."username",
|
|
|
"updatedAt"=excluded."updatedAt";
|
|
|
+ "lastIP"=excluded."lastIP";
|
|
|
+ "lastLogin"=excluded."lastLogin";
|
|
|
+ "userSourceType"=excluded."userSourceType";
|
|
|
+ "loginsCount"=excluded."loginsCount";
|
|
|
|
|
|
|
|
|
INSERT INTO "_Session" ("objectId", "user", "sessionToken","expiresAt", "createdAt")
|