mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-15 18:27:05 +00:00
fix: set name column to non-nullable in DeviceEntity
This commit is contained in:
@ -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(
|
||||||
|
Reference in New Issue
Block a user