update
This commit is contained in:
@ -27,6 +27,18 @@ export class Room {
|
||||
})
|
||||
description: string;
|
||||
|
||||
@Column({
|
||||
type: 'text',
|
||||
nullable: true,
|
||||
})
|
||||
picture: string;
|
||||
|
||||
@Column({
|
||||
type: 'text',
|
||||
nullable: true,
|
||||
})
|
||||
location: string;
|
||||
|
||||
@ManyToOne(() => Department, { onDelete: "NO ACTION", nullable: true })
|
||||
@JoinColumn()
|
||||
department: Department;
|
||||
|
||||
Reference in New Issue
Block a user