|
@@ -54,10 +54,10 @@ async function syncSessionWithIdToken(token){
|
|
|
ON conflict("objectId") DO UPDATE
|
|
|
SET
|
|
|
"username" = excluded."username",
|
|
|
- "updatedAt"=excluded."updatedAt";
|
|
|
- "lastIP"=excluded."lastIP";
|
|
|
- "lastLogin"=excluded."lastLogin";
|
|
|
- "userSourceType"=excluded."userSourceType";
|
|
|
+ "updatedAt"=excluded."updatedAt",
|
|
|
+ "lastIP"=excluded."lastIP",
|
|
|
+ "lastLogin"=excluded."lastLogin",
|
|
|
+ "userSourceType"=excluded."userSourceType",
|
|
|
"loginsCount"=excluded."loginsCount";
|
|
|
|
|
|
|