Skip to content

Commit

Permalink
Merge pull request #122 from aura-nw/hotfix/allow-null-toAddress-auratx
Browse files Browse the repository at this point in the history
allow null field toAddress in auratx tbl
  • Loading branch information
harisato authored Aug 24, 2023
2 parents f0b220f + bee4380 commit d08751a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/migrations/1692841309003-allow-null-toaddress-auratx.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class allowNullToaddressAuratx1692841309003
implements MigrationInterface
{
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
`ALTER TABLE AuraTx MODIFY ToAddress varchar(255) null;`,
);
}

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

0 comments on commit d08751a

Please sign in to comment.