migrate add field all tables #252
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m12s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m12s
This commit is contained in:
parent
6319f7206a
commit
7c77745d46
11 changed files with 371 additions and 0 deletions
|
|
@ -174,6 +174,14 @@ export class OrgChild1 extends EntityBase {
|
|||
})
|
||||
JOB_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 3,
|
||||
comment: "ROOT_CODE",
|
||||
default: null,
|
||||
})
|
||||
ROOT_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 3,
|
||||
|
|
@ -182,6 +190,30 @@ export class OrgChild1 extends EntityBase {
|
|||
})
|
||||
CHILD1_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 3,
|
||||
comment: "CHILD2_CODE",
|
||||
default: null,
|
||||
})
|
||||
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;
|
||||
|
||||
@ManyToOne(() => OrgRoot, (orgRoot) => orgRoot.orgChild1s)
|
||||
@JoinColumn({ name: "orgRootId" })
|
||||
orgRoot: OrgRoot;
|
||||
|
|
@ -236,9 +268,21 @@ export class CreateOrgChild1 {
|
|||
@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()
|
||||
orgChild1PhoneEx?: string;
|
||||
|
||||
|
|
@ -294,9 +338,21 @@ export class UpdateOrgChild1 {
|
|||
@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()
|
||||
orgChild1PhoneEx?: string;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -153,6 +153,30 @@ export class OrgChild3 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,
|
||||
comment: "CHILD2_CODE",
|
||||
default: null,
|
||||
})
|
||||
CHILD2_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 3,
|
||||
|
|
@ -161,6 +185,14 @@ export class OrgChild3 extends EntityBase {
|
|||
})
|
||||
CHILD3_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 3,
|
||||
comment: "CHILD4_CODE",
|
||||
default: null,
|
||||
})
|
||||
CHILD4_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 40,
|
||||
|
|
@ -238,9 +270,21 @@ export class CreateOrgChild3 {
|
|||
@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()
|
||||
orgChild3PhoneEx?: string;
|
||||
|
||||
|
|
@ -290,9 +334,21 @@ export class UpdateOrgChild3 {
|
|||
@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()
|
||||
orgChild3PhoneEx?: string;
|
||||
|
||||
|
|
|
|||
|
|
@ -158,6 +158,38 @@ export class OrgChild4 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,
|
||||
comment: "CHILD2_CODE",
|
||||
default: null,
|
||||
})
|
||||
CHILD2_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 3,
|
||||
comment: "CHILD3_CODE",
|
||||
default: null,
|
||||
})
|
||||
CHILD3_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 3,
|
||||
|
|
@ -244,6 +276,18 @@ export class CreateOrgChild4 {
|
|||
@Column()
|
||||
JOB_CODE?: string;
|
||||
|
||||
@Column()
|
||||
ROOT_CODE?: string;
|
||||
|
||||
@Column()
|
||||
CHILD1_CODE?: string;
|
||||
|
||||
@Column()
|
||||
CHILD2_CODE?: string;
|
||||
|
||||
@Column()
|
||||
CHILD3_CODE?: string;
|
||||
|
||||
@Column()
|
||||
CHILD4_CODE?: string;
|
||||
|
||||
|
|
@ -294,6 +338,18 @@ export class UpdateOrgChild4 {
|
|||
@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;
|
||||
|
||||
|
|
|
|||
|
|
@ -174,6 +174,38 @@ export class OrgRoot extends EntityBase {
|
|||
})
|
||||
ROOT_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 3,
|
||||
comment: "CHILD1_CODE",
|
||||
default: null,
|
||||
})
|
||||
CHILD1_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 3,
|
||||
comment: "CHILD2_CODE",
|
||||
default: null,
|
||||
})
|
||||
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;
|
||||
|
||||
@ManyToOne(() => OrgRevision, (orgRevision) => orgRevision.orgRoots)
|
||||
@JoinColumn({ name: "orgRevisionId" })
|
||||
orgRevision: OrgRevision;
|
||||
|
|
@ -237,6 +269,18 @@ export class CreateOrgRoot {
|
|||
@Column()
|
||||
ROOT_CODE?: string;
|
||||
|
||||
@Column()
|
||||
CHILD1_CODE?: string;
|
||||
|
||||
@Column()
|
||||
CHILD2_CODE?: string;
|
||||
|
||||
@Column()
|
||||
CHILD3_CODE?: string;
|
||||
|
||||
@Column()
|
||||
CHILD4_CODE?: string;
|
||||
|
||||
@Column()
|
||||
orgRootPhoneEx?: string;
|
||||
|
||||
|
|
@ -295,6 +339,18 @@ export class UpdateOrgRoot {
|
|||
@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()
|
||||
orgRootPhoneEx?: string;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue