migrate add field all tables #252
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m12s

This commit is contained in:
harid 2026-06-16 09:53:23 +07:00
parent 6319f7206a
commit 7c77745d46
11 changed files with 371 additions and 0 deletions

View file

@ -146,6 +146,22 @@ export class OrgChild2 extends EntityBase {
})
JOB_CODE: string;
@Column({
nullable: true,
length: 3,
comment: "ROOT_CODE",
default: null,
})
ROOT_CODE: string;
@Column({
nullable: true,
length: 3,
comment: "CHILD1_CODE",
default: null,
})
CHILD1_CODE: string;
@Column({
nullable: true,
length: 3,
@ -154,6 +170,22 @@ export class OrgChild2 extends EntityBase {
})
CHILD2_CODE: string;
@Column({
nullable: true,
length: 3,
comment: "CHILD3_CODE",
default: null,
})
CHILD3_CODE: string;
@Column({
nullable: true,
length: 3,
comment: "CHILD4_CODE",
default: null,
})
CHILD4_CODE: string;
@Column({
nullable: true,
length: 40,
@ -230,9 +262,21 @@ export class CreateOrgChild2 {
@Column()
JOB_CODE?: string;
@Column()
ROOT_CODE?: string;
@Column()
CHILD1_CODE?: string;
@Column()
CHILD2_CODE?: string;
@Column()
CHILD3_CODE?: string;
@Column()
CHILD4_CODE?: string;
@Column()
orgChild2PhoneEx?: string;
@ -280,9 +324,21 @@ export class UpdateOrgChild2 {
@Column()
JOB_CODE?: string | null;
@Column()
ROOT_CODE?: string | null;
@Column()
CHILD1_CODE?: string | null;
@Column()
CHILD2_CODE?: string | null;
@Column()
CHILD3_CODE?: string | null;
@Column()
CHILD4_CODE?: string | null;
@Column()
orgChild2PhoneEx?: string;