summaryrefslogtreecommitdiff
path: root/packages/backend/migration/1681870960239-RoleTLSetting.js
blob: 2280f44eaa10bb7d98cb4e624f5cfa28f4d9c196 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
export class RoleTLSetting1681870960239 {
	name = 'RoleTLSetting1681870960239'

	async up(queryRunner) {
		await queryRunner.query(`ALTER TABLE "role" ADD "isExplorable" boolean NOT NULL DEFAULT false`);
	}
	
	async down(queryRunner) {
		await queryRunner.query(`ALTER TABLE "role" DROP COLUMN "isExplorable"`);
	}

}