From 1b3eb08fcb7c6e86dfd1d0af1940ccfb2009c2e8 Mon Sep 17 00:00:00 2001 From: faris Aljohari <83524184+farisaljohari@users.noreply.github.com> Date: Tue, 22 Apr 2025 01:58:31 +0300 Subject: [PATCH] fix: set name column to non-nullable in DeviceEntity --- libs/common/src/modules/device/entities/device.entity.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/common/src/modules/device/entities/device.entity.ts b/libs/common/src/modules/device/entities/device.entity.ts index 68b3777..fb30bf8 100644 --- a/libs/common/src/modules/device/entities/device.entity.ts +++ b/libs/common/src/modules/device/entities/device.entity.ts @@ -33,7 +33,7 @@ export class DeviceEntity extends AbstractEntity { }) isActive: boolean; @Column({ - nullable: true, + nullable: false, }) name: string; @OneToMany(