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,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