migrate เพิ่มฟิลด์บันทึกที่โครงสร้าง orgRoot, orgChild1, ..., orgChild4 #252
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m5s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m5s
This commit is contained in:
parent
c398354208
commit
b722068758
11 changed files with 102 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue