ลบ summary
This commit is contained in:
parent
6e07eaacba
commit
c94f9c4b06
2 changed files with 21 additions and 4 deletions
|
|
@ -27,6 +27,13 @@ export class KpiUserDevelopment extends EntityBase {
|
|||
})
|
||||
summary: number;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ระดับคะแนน",
|
||||
default: null,
|
||||
})
|
||||
point: number;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "เกณฑ์การประเมิน 10",
|
||||
|
|
@ -91,8 +98,6 @@ export class CreateKpiUserDevelopment {
|
|||
@Column()
|
||||
target: string | null;
|
||||
@Column()
|
||||
summary?: number | null;
|
||||
@Column()
|
||||
achievement10?: string | null;
|
||||
@Column()
|
||||
achievement5?: string | null;
|
||||
|
|
@ -114,8 +119,6 @@ export class UpdateKpiUserDevelopment {
|
|||
@Column()
|
||||
target: string | null;
|
||||
@Column()
|
||||
summary?: number | null;
|
||||
@Column()
|
||||
achievement10?: string | null;
|
||||
@Column()
|
||||
achievement5?: string | null;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
import { MigrationInterface, QueryRunner } from "typeorm";
|
||||
|
||||
export class UpdateTableKpiSpecialUnitToString11715245130866 implements MigrationInterface {
|
||||
name = 'UpdateTableKpiSpecialUnitToString11715245130866'
|
||||
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`ALTER TABLE \`kpiUserDevelopment\` ADD \`point\` int NULL COMMENT 'ระดับคะแนน'`);
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`ALTER TABLE \`kpiUserDevelopment\` DROP COLUMN \`point\``);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue