From 28d96a41eb4ad933d39059a6c7f067735cca8449 Mon Sep 17 00:00:00 2001 From: wayanrivan Date: Mon, 9 Mar 2026 10:57:59 +0700 Subject: [PATCH] update --- src/entity/room.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/entity/room.ts b/src/entity/room.ts index 3070d78..548c9b9 100644 --- a/src/entity/room.ts +++ b/src/entity/room.ts @@ -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;