From 59511b234550b668bea1929320b6c5ba89e0c4fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sun, 18 Jun 2023 14:16:37 +0200 Subject: [PATCH] Fix bug in migration script --- scnserver/cmd/migrate/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scnserver/cmd/migrate/main.go b/scnserver/cmd/migrate/main.go index c443533..4e01cf5 100644 --- a/scnserver/cmd/migrate/main.go +++ b/scnserver/cmd/migrate/main.go @@ -438,7 +438,7 @@ func migrateUser(ctx context.Context, dbnew sq.DB, dbold sq.DB, user OldUser, ap pp := sq.PP{ "mid": messageid, "suid": userid, - "ouid": user.UserId, + "ouid": userid, "cnam": channelInternalName, "cid": channelID, "tsr": oldmessage.TimestampReal.UnixMilli(),