import { MigrationInterface , QueryRunner } from "typeorm" ; export class ProjectAdvancedEditFlag1598899242836 implements MigrationInterface { name = "ProjectAdvancedEditFlag1598899242836" ; public async up ( queryRunner ) { await queryRunner . query ( `ALTER TABLE "project" ADD "advancedEditingEnabled" boolean NOT NULL DEFAULT false` , undefined ) ; } public async down ( queryRunner ) { await queryRunner . query ( `ALTER TABLE "project" DROP COLUMN "advancedEditingEnabled"` , undefined ) ; } }