refactoring
This commit is contained in:
@@ -21,7 +21,7 @@ export class Cylinder {
|
||||
@Column({ nullable: false, unique: true })
|
||||
name: string;
|
||||
|
||||
@ManyToMany(() => Key, (key) => key.cylinder)
|
||||
@ManyToMany(() => Key, (key) => key.cylinder, { onDelete: 'NO ACTION'})
|
||||
keys: Key[];
|
||||
|
||||
@ManyToOne(() => KeySystem, (sys) => sys.cylinders)
|
||||
|
||||
Reference in New Issue
Block a user