Skip to content

Commit

Permalink
Remove dates from RFFG for select file numbers
Browse files Browse the repository at this point in the history
- File numbers: 66716 and  11073
  • Loading branch information
trslater committed Jun 17, 2024
1 parent 2c72426 commit 04e8b0e
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class RemoveRffgFromSelectFiles1718645937227
implements MigrationInterface
{
public async up(queryRunner: QueryRunner): Promise<void> {
queryRunner.query(`
UPDATE alcs.application_submission_to_submission_status astss
SET effective_date = NULL, email_sent_date = NULL
FROM alcs.application_submission as2
WHERE astss.submission_uuid = as2."uuid"
AND astss.status_type_code = 'RFFG'
AND as2.file_number IN ('66716', '11073')
`);
}

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

0 comments on commit 04e8b0e

Please sign in to comment.