Skip to content

Commit

Permalink
update chainid
Browse files Browse the repository at this point in the history
  • Loading branch information
harisato committed Jun 3, 2024
1 parent 35389e1 commit d5501c6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/migrations/1717382328993-remove-old-chain.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class removeOldChain1717382328993 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`
DELETE FROM Chain WHERE id = 4;
update Chain set chainId = "aura_6322-2" where id = 3;`);
}

public async down(queryRunner: QueryRunner): Promise<void> {}
}

0 comments on commit d5501c6

Please sign in to comment.