Widget user profile for all (#3384)
Some checks failed
E2E Tests / e2e (push) Has been cancelled
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled

This commit is contained in:
Kalle
2026-09-05 18:49:36 +03:00
committed by GitHub
parent 51cbad4ed6
commit fa92e288e1
135 changed files with 1297 additions and 1716 deletions

View File

@@ -22,10 +22,6 @@ export function migrate(args: { newUserId: number; oldUserId: number }) {
// small data on the new account is dropped so it doesn't block the migration;
// bigger things (e.g. played tournaments) still fail validation
await trx
.deleteFrom("UserWeapon")
.where("userId", "=", args.newUserId)
.execute();
await trx
.deleteFrom("Build")
.where("ownerId", "=", args.newUserId)