Skip to content

Commit

Permalink
update naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher-Li committed Feb 8, 2024
1 parent 0112bd3 commit 326f2b4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import * as Knex from 'knex';
export async function up(knex: Knex): Promise<void> {
// eslint-disable-next-line @typescript-eslint/quotes
await knex.raw(`
CREATE INDEX CONCURRENTLY IF NOT EXISTS orders_clobpairid_subaccountid_index ON orders("clobPairId", "subaccountId");
CREATE INDEX CONCURRENTLY IF NOT EXISTS orders_clobPairId_subaccountId_index ON orders("clobPairId", "subaccountId");
`);
}

export async function down(knex: Knex): Promise<void> {
await knex.raw(`
DROP INDEX CONCURRENTLY IF EXISTS "orders_clobpairid_subaccountid_index";
DROP INDEX CONCURRENTLY IF EXISTS "orders_clobPairId_subaccountId_index";
`);
}

Expand Down

0 comments on commit 326f2b4

Please sign in to comment.