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{
"mid": messageid,
"suid": userid,
"ouid": user.UserId,
"ouid": userid,
"cnam": channelInternalName,
"cid": channelID,
"tsr": oldmessage.TimestampReal.UnixMilli(),