mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
Oracle does not have a `onUpdate: 'CASCADE'` option. Thus, the test fixtures had to be adapted. Checking for the correct `onUpdate` actions for Oracle was introduced in #9786.
This commit is contained in:
parent
abb9079f2b
commit
d4607a8672
@ -19,7 +19,7 @@ export class AnimalEntity {
|
||||
|
||||
@ManyToOne(() => PersonEntity, ({ pets }) => pets, {
|
||||
onDelete: "CASCADE",
|
||||
onUpdate: "CASCADE",
|
||||
onUpdate: "NO ACTION", // cascade would not work here as ORACLE does not have that action
|
||||
})
|
||||
person: PersonEntity
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user