no message

This commit is contained in:
Kittapath 2024-04-03 13:38:58 +07:00
parent 4d4306863d
commit 8a5a7ac360

View file

@ -0,0 +1,14 @@
import { MigrationInterface, QueryRunner } from "typeorm";
export class UpdateTableDevelopmentHistoryAddType11712126314212 implements MigrationInterface {
name = 'UpdateTableDevelopmentHistoryAddType11712126314212'
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE \`developmentHistory\` ADD \`posExecutive\` varchar(255) NULL COMMENT 'ชื่อตำแหน่งทางการบริหาร'`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE \`developmentHistory\` DROP COLUMN \`posExecutive\``);
}
}