mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#323 - DDL Generation support for foreign key cascade options
Tidy up, no GLOBAL_DEFAULT.
This commit is contained in:
1 parent
eaa48468cd
commit
83384c6f0e
3 files changed
+4
-4
No files matched your search
@@ -16,8 +16,8 @@ public class PropertyForeignKey {
|
||||
public PropertyForeignKey() {
|
||||
this.noConstraint = true;
|
||||
this.noIndex = false;
|
||||
this.onDelete = ConstraintMode.GLOBAL_DEFAULT;
|
||||
this.onUpdate = ConstraintMode.GLOBAL_DEFAULT;
|
||||
this.onDelete = ConstraintMode.RESTRICT;
|
||||
this.onUpdate = ConstraintMode.RESTRICT;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user