import { MigrationInterface, QueryRunner } from "typeorm"; export class AddTableAddDate1719559101541 implements MigrationInterface { name = 'AddTableAddDate1719559101541' public async up(queryRunner: QueryRunner): Promise { await queryRunner.query(`ALTER TABLE \`kpiUserEvaluation\` ADD \`openDate\` datetime NULL COMMENT 'วันที่การรับทราบผลการประเมิน'`); } public async down(queryRunner: QueryRunner): Promise { await queryRunner.query(`ALTER TABLE \`kpiUserEvaluation\` DROP COLUMN \`openDate\``); } }