mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
todo event data refactoring
This commit is contained in:
parent
d8f2843a55
commit
fde67c2c32
@ -31,6 +31,8 @@ export async function upgrade(queryFn: (query: string, values?: any[]) => Promis
|
|||||||
await queryFn(
|
await queryFn(
|
||||||
'ALTER TABLE `events` RENAME COLUMN `message_id` TO `involved_contribution_message_id`;',
|
'ALTER TABLE `events` RENAME COLUMN `message_id` TO `involved_contribution_message_id`;',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// TODO insert data based on event type
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function downgrade(queryFn: (query: string, values?: any[]) => Promise<Array<any>>) {
|
export async function downgrade(queryFn: (query: string, values?: any[]) => Promise<Array<any>>) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user