提交 5332b2d9 authored 作者: Noel Grandin's avatar Noel Grandin

fix enum changes

上级 6ec2c394
......@@ -39,8 +39,8 @@ public class AlterTableAddConstraint extends SchemaCommand {
private String constraintName;
private String tableName;
private IndexColumn[] indexColumns;
private ConstraintActionType deleteAction;
private ConstraintActionType updateAction;
private ConstraintActionType deleteAction = ConstraintActionType.RESTRICT;
private ConstraintActionType updateAction = ConstraintActionType.RESTRICT;
private Schema refSchema;
private String refTableName;
private IndexColumn[] refIndexColumns;
......
......@@ -35,8 +35,8 @@ public class ConstraintReferential extends Constraint {
private IndexColumn[] columns;
private IndexColumn[] refColumns;
private ConstraintActionType deleteAction;
private ConstraintActionType updateAction;
private ConstraintActionType deleteAction = ConstraintActionType.RESTRICT;
private ConstraintActionType updateAction = ConstraintActionType.RESTRICT;
private Table refTable;
private Index index;
private Index refIndex;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论