import { MigrationInterface, QueryRunner } from "typeorm"; export class PreventAiLearning1683682889948 implements MigrationInterface { name = "PreventAiLearning1683682889948"; async up(queryRunner: QueryRunner): Promise { await queryRunner.query( `ALTER TABLE "user_profile" ADD "preventAiLearning" boolean NOT NULL DEFAULT true`, ); } async down(queryRunner: QueryRunner): Promise { await queryRunner.query( `ALTER TABLE "user_profile" DROP COLUMN "preventAiLearning"`, ); } }