This commit is contained in:
fro1991
2025-06-15 03:31:55 +09:00
parent 30bb30ac92
commit 04349b453e

View File

@ -65,7 +65,7 @@ export class BrilinkTransaction {
})
amount: number;
@ManyToOne(() => BrilinkDiscount, { onDelete: 'RESTRICT' })
@ManyToOne(() => BrilinkDiscount, { onDelete: 'NO ACTION', nullable: true })
@JoinTable()
discount: BrilinkDiscount