[jOOQ/jOOQ#9557] Add support for ALTER TABLE .. DROP CONSTRAINT IF

EXISTS

- Added DDL interpreter support
This commit is contained in:
Lukas Eder 2019-11-18 11:31:33 +01:00
parent 8461680d28
commit e6d1a04b23

View File

@ -500,7 +500,8 @@ final class DDLInterpreter {
}
}
throw constraintNotExists(query.$dropConstraint());
if (!query.$ifExistsConstraint())
throw constraintNotExists(query.$dropConstraint());
}
}
else if (query.$dropConstraintType() == PRIMARY_KEY) {