no message
This commit is contained in:
parent
ae9fd6aa33
commit
724e7c705c
3 changed files with 48 additions and 0 deletions
16
src/migration/1738145829806-Updateevaaddreject2.ts
Normal file
16
src/migration/1738145829806-Updateevaaddreject2.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { MigrationInterface, QueryRunner } from "typeorm";
|
||||
|
||||
export class Updateevaaddreject21738145829806 implements MigrationInterface {
|
||||
name = 'Updateevaaddreject21738145829806'
|
||||
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`ALTER TABLE \`kpiUserEvaluation\` ADD \`actorReject\` varchar(255) NULL COMMENT 'ตำแหน่งไม่อนุมัติ'`);
|
||||
await queryRunner.query(`ALTER TABLE \`kpiUserEvaluation\` ADD \`actorNameReject\` varchar(255) NULL COMMENT 'ชื่อไม่อนุมัติ'`);
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`ALTER TABLE \`kpiUserEvaluation\` DROP COLUMN \`actorNameReject\``);
|
||||
await queryRunner.query(`ALTER TABLE \`kpiUserEvaluation\` DROP COLUMN \`actorReject\``);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue