Skip to content

Commit

Permalink
refactor: account balance index denom amount
Browse files Browse the repository at this point in the history
  • Loading branch information
phamphong9981 committed Sep 18, 2024
1 parent bed0734 commit dbd965b
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Knex } from 'knex';

export async function up(knex: Knex): Promise<void> {
await knex.raw(`set statement_timeout to 0`);
await knex.raw(
'CREATE INDEX account_balance_denom_amount_index ON account_balance(denom, amount);'
);
}

export async function down(knex: Knex): Promise<void> {}

0 comments on commit dbd965b

Please sign in to comment.