no message

This commit is contained in:
Kittapath 2024-04-17 15:27:37 +07:00
parent d21704baaf
commit e9a6f00431
4 changed files with 230 additions and 386 deletions

View file

@ -0,0 +1,14 @@
import { MigrationInterface, QueryRunner } from "typeorm";
export class UpdateTableDevhisAddType1713341677475 implements MigrationInterface {
name = 'UpdateTableDevhisAddType1713341677475'
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE \`plannedGoal\` ADD \`type\` varchar(255) NULL COMMENT 'ประเภท(กลุ่มอาชีพ คุณสมบัติ)'`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE \`plannedGoal\` DROP COLUMN \`type\``);
}
}