Fix bug in migration script

This commit is contained in:
Mike Schwörer 2023-06-18 14:16:37 +02:00
parent 5b7bc02c61
commit 59511b2345
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF

View File

@ -438,7 +438,7 @@ func migrateUser(ctx context.Context, dbnew sq.DB, dbold sq.DB, user OldUser, ap
pp := sq.PP{ pp := sq.PP{
"mid": messageid, "mid": messageid,
"suid": userid, "suid": userid,
"ouid": user.UserId, "ouid": userid,
"cnam": channelInternalName, "cnam": channelInternalName,
"cid": channelID, "cid": channelID,
"tsr": oldmessage.TimestampReal.UnixMilli(), "tsr": oldmessage.TimestampReal.UnixMilli(),