/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ /* eslint-disable @typescript-eslint/no-explicit-any */ export async function upgrade(queryFn: (query: string, values?: any[]) => Promise>) { await queryFn( `ALTER TABLE \`contributions\` ADD COLUMN \`updated_at\` datetime DEFAULT NULL AFTER \`transaction_id\`;`, ) } export async function downgrade(queryFn: (query: string, values?: any[]) => Promise>) { await queryFn(`ALTER TABLE \`contributions\` DROP COLUMN \`updated_at\`;`) }