migrate เพิ่มฟิลด์บันทึกที่โครงสร้าง orgRoot, orgChild1, ..., orgChild4 #252
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m5s

This commit is contained in:
harid 2026-06-15 17:17:36 +07:00
parent c398354208
commit b722068758
11 changed files with 102 additions and 0 deletions

View file

@ -166,6 +166,14 @@ export class OrgRoot extends EntityBase {
})
JOB_CODE: string;
@Column({
nullable: true,
length: 3,
comment: "ROOT_CODE",
default: null,
})
ROOT_CODE: string;
@ManyToOne(() => OrgRevision, (orgRevision) => orgRevision.orgRoots)
@JoinColumn({ name: "orgRevisionId" })
orgRevision: OrgRevision;
@ -226,6 +234,9 @@ export class CreateOrgRoot {
@Column()
JOB_CODE?: string;
@Column()
ROOT_CODE?: string;
@Column()
orgRootPhoneEx?: string;
@ -281,6 +292,9 @@ export class UpdateOrgRoot {
@Column()
JOB_CODE?: string | null;
@Column()
ROOT_CODE?: string | null;
@Column()
orgRootPhoneEx?: string;