mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
#2118 - Generated code for @DbForeignKey reading onDelete and Ignores onUpdate
This commit is contained in:
1 parent
c66875449b
commit
aa1e3ea1bc
2 files changed
+33
-2
No files matched your search
+1
-1
@@ -457,7 +457,7 @@ public class PlatformDdl {
|
||||
|
||||
protected void appendForeignKeySuffix(WriteForeignKey request, StringBuilder buffer) {
|
||||
appendForeignKeyOnDelete(buffer, withDefault(request.onDelete()));
|
||||
appendForeignKeyOnUpdate(buffer, withDefault(request.onDelete()));
|
||||
appendForeignKeyOnUpdate(buffer, withDefault(request.onUpdate()));
|
||||
}
|
||||
|
||||
protected ConstraintMode withDefault(ConstraintMode mode) {
|
||||
|
||||
Reference in new issue
Block a user