todo event data refactoring

This commit is contained in:
Ulf Gebhardt 2023-02-18 00:12:36 +01:00
parent d8f2843a55
commit fde67c2c32
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -31,6 +31,8 @@ export async function upgrade(queryFn: (query: string, values?: any[]) => Promis
await queryFn(
'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>>) {