mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
removed todo since this is tested now
This commit is contained in:
parent
63dc1b6183
commit
60d7ce451f
@ -32,7 +32,6 @@ export async function upgrade(queryFn: (query: string, values?: any[]) => Promis
|
||||
'ALTER TABLE `events` RENAME COLUMN `message_id` TO `involved_contribution_message_id`;',
|
||||
)
|
||||
|
||||
// TODO this is untested
|
||||
// Moderator id was saved in former user_id
|
||||
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";',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user