migrate db

This commit is contained in:
kittapath 2025-01-07 10:56:23 +07:00
parent 7891429d77
commit b349dd5944
6 changed files with 52 additions and 17 deletions

View file

@ -109,6 +109,12 @@ export class Command extends EntityBase {
})
isAttachment: boolean;
@Column({
comment: "อัปโหลดบัญชีแนบท้าย",
default: true,
})
isUploadAttachment: boolean;
@Column({
comment: "ออกคำสั่งแบบ Digital Signature",
default: null,

View file

@ -80,6 +80,12 @@ export class CommandType extends EntityBase {
})
isAttachment: boolean;
@Column({
comment: "อัปโหลดบัญชีแนบท้าย",
default: false,
})
isUploadAttachment: boolean;
@Column({
comment: "สถานะแก้ไขเงินเดือน",
default: true,
@ -126,6 +132,9 @@ export class CreateCommandType {
@Column()
isAttachment: boolean;
@Column()
isUploadAttachment: boolean;
@Column()
isSalary?: boolean | null;
}