[jOOQ/jOOQ#9557] Add support for ALTER TABLE .. DROP CONSTRAINT IF
EXISTS - Added DDL interpreter support
This commit is contained in:
parent
8461680d28
commit
e6d1a04b23
@ -500,7 +500,8 @@ final class DDLInterpreter {
|
||||
}
|
||||
}
|
||||
|
||||
throw constraintNotExists(query.$dropConstraint());
|
||||
if (!query.$ifExistsConstraint())
|
||||
throw constraintNotExists(query.$dropConstraint());
|
||||
}
|
||||
}
|
||||
else if (query.$dropConstraintType() == PRIMARY_KEY) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user