Fixes for Cockroach platform

This commit is contained in:
Roland Praml committed 2022-02-25 12:10:06 +01:00
1 parent 897a97d415
commit c82f3783f0
8 files changed
+19 -25

No files matched your search

@@ -36,6 +36,12 @@ public class CockroachDdl extends PlatformDdl {
// do nothing
}
@Override
public String alterTableDropUniqueConstraint(String tableName, String uniqueConstraintName) {
// workaround for: https://github.com/cockroachdb/cockroach/issues/42840
return "drop index " + maxConstraintName(uniqueConstraintName) + " cascade";
}
@Override
public boolean isInlineComments() {
return false;