Skip to content

Commit

Permalink
refactor: account balance index denom amount (#906)
Browse files Browse the repository at this point in the history
  • Loading branch information
phamphong9981 authored Sep 18, 2024
1 parent bed0734 commit 4e9c36e
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 4e9c36e

Please sign in to comment.