[jOOQ/jOOQ#19122] MetaImpl tables have mixed up ON DELETE and ON UPDATE ForeignKeyRule values
This commit is contained in:
parent
68f6b7e333
commit
8a357b0970
@ -1460,8 +1460,8 @@ final class MetaImpl extends AbstractMeta {
|
||||
new MetaUniqueKey(pkTable, pkName, pkFields, true), // TODO: Can we know whether it is a PK or UK?
|
||||
pkFields,
|
||||
true,
|
||||
foreignKeyRule(k.get(3, int.class)),
|
||||
foreignKeyRule(k.get(4, int.class))
|
||||
foreignKeyRule(k.get(4, int.class)),
|
||||
foreignKeyRule(k.get(3, int.class))
|
||||
));
|
||||
}
|
||||
}
|
||||
@ -1899,8 +1899,8 @@ final class MetaImpl extends AbstractMeta {
|
||||
this,
|
||||
map(v, f -> (TableField<Record, ?>) getTable().field(f.get(3, String.class)), TableField[]::new),
|
||||
true,
|
||||
foreignKeyRule(k.get(3, int.class)),
|
||||
foreignKeyRule(k.get(4, int.class))
|
||||
foreignKeyRule(k.get(4, int.class)),
|
||||
foreignKeyRule(k.get(3, int.class))
|
||||
));
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user