fix: set name column to non-nullable in DeviceEntity

This commit is contained in:
faris Aljohari
2025-04-22 01:58:31 +03:00
parent 069cdf6f75
commit 1b3eb08fcb

View File

@ -33,7 +33,7 @@ export class DeviceEntity extends AbstractEntity<DeviceDto> {
}) })
isActive: boolean; isActive: boolean;
@Column({ @Column({
nullable: true, nullable: false,
}) })
name: string; name: string;
@OneToMany( @OneToMany(