From 9c92566173f940ac24bc348e97d166e86ffd14fb Mon Sep 17 00:00:00 2001 From: fibonacci998 Date: Thu, 3 Oct 2024 14:04:55 +0700 Subject: [PATCH] fix: set statement_timeout to run migration --- .../evm/20241003034314_create_from_to_account_id_in_evm_tx.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/migrations/evm/20241003034314_create_from_to_account_id_in_evm_tx.ts b/migrations/evm/20241003034314_create_from_to_account_id_in_evm_tx.ts index 312a81253..d983c5e45 100644 --- a/migrations/evm/20241003034314_create_from_to_account_id_in_evm_tx.ts +++ b/migrations/evm/20241003034314_create_from_to_account_id_in_evm_tx.ts @@ -1,6 +1,7 @@ import { Knex } from 'knex'; export async function up(knex: Knex): Promise { + await knex.raw(`set statement_timeout to 0`); await knex.schema.alterTable('evm_transaction', (table) => { table.integer('from_account_id').index(); table.integer('to_account_id').index();