Skip to content

Commit

Permalink
Merge pull request #1870 from bcgov/feature/ALCS-2174
Browse files Browse the repository at this point in the history
Feature/alcs 2174
  • Loading branch information
fbarreta authored Oct 1, 2024
2 parents 23bb643 + 4456b89 commit adedf3a
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class ChangeAppTypeHtml1727461542081 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
`UPDATE "alcs"."application_type" SET
"html_description"=CONCAT(html_description, '<br /><p>If you need help selecting an application type, please <a target="_blank" href="https://www.alc.gov.bc.ca/contact/#lup">Contact Us</a>.</p>')
WHERE "html_description" is not null`,
);
}

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

0 comments on commit adedf3a

Please sign in to comment.