Skip to content

Commit

Permalink
fix: failing migration for missing column verified_third_party.
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitdevos committed Apr 3, 2023
1 parent 139839c commit 149db9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logion/migration/1679997379864-AddStorageFees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export class AddStorageFees1679997379864 implements MigrationInterface {
name = 'AddStorageFees1679997379864'

public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "loc_request" DROP COLUMN "verified_third_party"`);
await queryRunner.query(`ALTER TABLE "loc_request" DROP COLUMN IF EXISTS "verified_third_party"`);
await queryRunner.query(`ALTER TABLE "transaction" ADD "storage_fee" numeric(50)`);
await queryRunner.query(`ALTER TABLE "transaction" RENAME "fee" TO "inclusion_fee" `);
}
Expand Down

0 comments on commit 149db9b

Please sign in to comment.