Skip to content

Commit

Permalink
fix: set statement_timeout to run migration
Browse files Browse the repository at this point in the history
  • Loading branch information
fibonacci998 committed Oct 3, 2024
1 parent 8b73863 commit 9c92566
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Knex } from 'knex';

export async function up(knex: Knex): Promise<void> {
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();
Expand Down

0 comments on commit 9c92566

Please sign in to comment.