diff --git a/migrations/evm/20240918080156_account_balance_index_denom_amount.ts b/migrations/evm/20240918080156_account_balance_index_denom_amount.ts new file mode 100644 index 000000000..275d461dc --- /dev/null +++ b/migrations/evm/20240918080156_account_balance_index_denom_amount.ts @@ -0,0 +1,10 @@ +import { Knex } from 'knex'; + +export async function up(knex: Knex): Promise { + 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 {}