Skip to content

Commit

Permalink
Move migration dependent on 2312 after 2312 migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
trslater committed Dec 12, 2024
1 parent b1c4982 commit 3360061
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class AddDateAndAdminFee1733774036308 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
`UPDATE "alcs"."application_decision_condition_type" SET "is_administrative_fee_amount_checked" = true, "date_type" = 'Single', "single_date_label" = 'Due Date' WHERE "code" NOT IN ('SRPT', 'UEND')`,
);
await queryRunner.query(
`UPDATE "alcs"."notice_of_intent_decision_condition_type" SET "is_administrative_fee_amount_checked" = true, "date_type" = 'Single', "single_date_label" = 'Due Date' WHERE "code" NOT IN ('SRPT', 'UEND')`,
);
}

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

0 comments on commit 3360061

Please sign in to comment.