refine comment

This commit is contained in:
Ulf Gebhardt 2023-03-04 00:32:21 +01:00
parent c0f40f9c73
commit 38f563e294
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -38,7 +38,7 @@ export async function upgrade(queryFn: (query: string, values?: any[]) => Promis
'UPDATE `events` LEFT JOIN `contributions` ON events.involved_contribution_id = contributions.id SET affected_user_id=contributions.user_id WHERE type = "ADMIN_CONTRIBUTION_CREATE";',
)
// inconsistent data on this type
// inconsistent data on this type, since not all data can be reconstructed
await queryFn(
'UPDATE `events` LEFT JOIN `contributions` ON events.involved_contribution_id = contributions.id SET acting_user_id=0 WHERE type = "ADMIN_CONTRIBUTION_UPDATE";',
)