mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-01 07:37:55 -05:00
Widget user profile for all (#3384)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user