Added test cases that check that the users are merged and get the latest activity time
Documentation changes
N/A
Checklist for important updates
[ ] Changelog has been updated
[ ] If there are any db schema changes, mention those changes clearly
[ ] coreDriverInterfaceSupported.json file has been updated (if needed)
[ ] pluginInterfaceSupported.json file has been updated (if needed)
[ ] Changes to the version if needed
In build.gradle
[ ] If added a new paid feature, edit the getPaidFeatureStats function in FeatureFlag.java file
[ ] Had installed and ran the pre-commit hook
[ ] If there are new dependencies that have been added in build.gradle, please make sure to add them
in implementationDependencies.json.
[ ] Update function getValidFields in io/supertokens/config/CoreConfig.java if new aliases were added for any core config (similar to the access_token_signing_key_update_interval config alias).
[ ] Issue this PR against the latest non released version branch.
To know which one it is, run find the latest released tag (git tag) in the format vX.Y.Z, and then find the
latest branch (git branch --all) whose X.Y is greater than the latest released tag.
If no such branch exists, then create one from the latest released branch.
[ ] If added a foreign key constraint on app_id_to_user_id table, make sure to delete from this table when deleting the user as well if deleteUserIdMappingToo is false.
Summary of change
merge last active times when linking users
Related issues
Test Plan
Added test cases that check that the users are merged and get the latest activity time
Documentation changes
N/A
Checklist for important updates
[ ] Changelog has been updated
[ ]
coreDriverInterfaceSupported.json
file has been updated (if needed)[ ]
pluginInterfaceSupported.json
file has been updated (if needed)[ ] Changes to the version if needed
build.gradle
[ ] If added a new paid feature, edit the
getPaidFeatureStats
function in FeatureFlag.java file[ ] Had installed and ran the pre-commit hook
[ ] If there are new dependencies that have been added in
build.gradle
, please make sure to add them inimplementationDependencies.json
.[ ] Update function
getValidFields
inio/supertokens/config/CoreConfig.java
if new aliases were added for any core config (similar to theaccess_token_signing_key_update_interval
config alias).[ ] Issue this PR against the latest non released version branch.
git tag
) in the formatvX.Y.Z
, and then find the latest branch (git branch --all
) whoseX.Y
is greater than the latest released tag.[ ] If added a foreign key constraint on
app_id_to_user_id
table, make sure to delete from this table when deleting the user as well ifdeleteUserIdMappingToo
is false.Remaining TODOs for this PR
[ ] Item1
[ ] Item2