mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-15 18:27:05 +00:00
Remove onDelete and onUpdate properties from entity relationships
This commit is contained in:
@ -25,8 +25,6 @@ export class DeviceEntity extends AbstractEntity<DeviceDto> {
|
||||
(permission) => permission.device,
|
||||
{
|
||||
nullable: true,
|
||||
onDelete: 'CASCADE',
|
||||
onUpdate: 'CASCADE',
|
||||
},
|
||||
)
|
||||
permission: DeviceUserPermissionEntity[];
|
||||
|
Reference in New Issue
Block a user