π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Wait for locked token rows during migration
Neeraj Gupta7d4458420e20
diff --git a/server/pkg/repo/userauth_migration.go b/server/pkg/repo/userauth_migration.goindex fe29cc9c37..5970d79784 100644--- a/server/pkg/repo/userauth_migration.go+++ b/server/pkg/repo/userauth_migration.go@@ -18,7 +18,7 @@ func (repo *UserAuthRepository) MigratePlaintextTokens(ctx context.Context) (intWHERE token IS NOT NULLORDER BY tokenLIMIT $1- FOR UPDATE SKIP LOCKED+ FOR UPDATE)UPDATE tokens SET token = NULLFROM batch