Skip to content

Commit

Permalink
Update NARU description
Browse files Browse the repository at this point in the history
  • Loading branch information
trslater committed Sep 12, 2024
1 parent 1a4301c commit 7fb6bb7
Showing 1 changed file with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class UpdateNaruSubtypes1726098613152 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
queryRunner.query(`
update alcs.application_type at
set html_description = 'Choose this option if you are proposing to conduct a non-adhering residential use within the Agricultural Land Reserve under
<a target="_blank" href="https://www.bclaws.gov.bc.ca/civix/document/id/complete/statreg/02036_01#section20.1">Section 20.1(2) of the Agricultural Land Commission Act.</a>
<br /><br />
Non-adhering residential uses include:
<ul>
<li>An additional residence(s)</li>
<li>A residential structure larger than 500 m²</li>
<li>Retain an existing residence while building a new residence</li>
<li>Temporary foreign worker housing</li>
</ul>
'
where at.code = 'NARU';
`);
}

public async down(queryRunner: QueryRunner): Promise<void> {
queryRunner.query(`
update alcs.application_type at
set html_description = 'Choose this option if you are proposing to conduct a non-adhering residential use within the Agricultural Land Reserve under
<a target="_blank" href="https://www.bclaws.gov.bc.ca/civix/document/id/complete/statreg/02036_01#section20.1">Section 20.1(2) of the Agricultural Land Commission Act.</a>
<br /><br />
Non-adhering residential uses include:
<ul>
<li>An additional residence for farm use;</li>
<li>A residential structure larger than 500 m²; or,</li>
<li>A non-adhering tourism accommodation.</li>
</ul>
'
where at.code = 'NARU';
`);
}
}

0 comments on commit 7fb6bb7

Please sign in to comment.