HHH-14203 DB2 requires the restrict keyword to drop the schema

The 'restrict' keyword is required on DB2.
This commit is contained in:
Gavin King 2020-09-03 11:40:41 +02:00 committed by Sanne Grinovero
parent 94b819e70c
commit c4ee4b1033

View File

@ -234,6 +234,11 @@ public boolean dropConstraints() {
return false;
}
@Override
public String[] getDropSchemaCommand(String schemaName) {
return new String[] {"drop schema " + schemaName + " restrict"};
}
@Override
public String getSequenceNextValString(String sequenceName) {
return "values nextval for " + sequenceName;