mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
added comment and removed todo
This commit is contained in:
parent
08c379b46f
commit
c0f40f9c73
@ -33,7 +33,7 @@ export async function upgrade(queryFn: (query: string, values?: any[]) => Promis
|
|||||||
)
|
)
|
||||||
|
|
||||||
// TODO this is untested
|
// TODO this is untested
|
||||||
// TODO transform back?
|
// Moderator id was saved in former user_id
|
||||||
await queryFn(
|
await queryFn(
|
||||||
'UPDATE `events` LEFT JOIN `contributions` ON events.involved_contribution_id = contributions.id SET affected_user_id=contributions.user_id WHERE type = "ADMIN_CONTRIBUTION_CREATE";',
|
'UPDATE `events` LEFT JOIN `contributions` ON events.involved_contribution_id = contributions.id SET affected_user_id=contributions.user_id WHERE type = "ADMIN_CONTRIBUTION_CREATE";',
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user