fix: ลบ column ไม่ได้ใช้ออก
This commit is contained in:
parent
61b166cabc
commit
8b3398e7f7
6 changed files with 14 additions and 84 deletions
|
|
@ -5,12 +5,6 @@ import { ProfileTraining } from "./ProfileTraining";
|
|||
|
||||
@Entity("profileTrainingHistory")
|
||||
export class ProfileTrainingHistory extends EntityBase {
|
||||
@Column({
|
||||
comment: "สถานะการใช้งาน",
|
||||
default: false,
|
||||
})
|
||||
isActive: boolean;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "datetime",
|
||||
|
|
@ -98,13 +92,6 @@ export class ProfileTrainingHistory extends EntityBase {
|
|||
})
|
||||
profileTrainingId: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ประเภทช่วงเวลาการศึกษา",
|
||||
default: null,
|
||||
})
|
||||
isDate: boolean;
|
||||
|
||||
@ManyToOne(() => ProfileTraining, (profileTraining) => profileTraining.profileTrainingHistories)
|
||||
@JoinColumn({ name: "profileTrainingId" })
|
||||
histories: ProfileTraining;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue