Skip to content

Commit

Permalink
feat: support merging last active times when linking users
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Mar 12, 2024
1 parent 8016591 commit 2d33885
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,8 @@ public interface ActiveUsersSQLStorage extends ActiveUsersStorage, SQLStorage {
/* Delete a user from active users table */
void deleteUserActive_Transaction(TransactionConnection con, AppIdentifier appIdentifier, String userId)
throws StorageQueryException;
void setUserActive_Transaction(TransactionConnection con, AppIdentifier appIdentifier, String userId, long timestamp)
throws StorageQueryException;
long getLastActiveByUserId_Transaction(TransactionConnection con, AppIdentifier appIdentifier, String userId)
throws StorageQueryException;
}

0 comments on commit 2d33885

Please sign in to comment.